yashsingh1/xdaforums huggingface dataset:
[Nexus 10 General] Andbanyan:
Yeah it's unlocked and it shows the unlocked padlock.

Everything went fine. It did say "archive does not contain 'boot.sig'" and 'recovery.sig' and system.sig' but other than that no error messages.

Here's what the CMD looks like:

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Lev>cd C:\Users\Lev\Development\Android Stuff\mantaray-jdq39-factory-d7

9f489e\mantaray-jdq39

C:\Users\Lev\Development\Android Stuff\mantaray-jdq39-factory-d79f489e\mantaray-

jdq39>flash-all

erasing 'boot'... OKAY [ 0.023s]

finished. total time: 0.023s

erasing 'cache'... OKAY [ 0.093s]

finished. total time: 0.093s

erasing 'recovery'... OKAY [ 0.027s]

finished. total time: 0.027s

erasing 'system'... OKAY [ 0.374s]

finished. total time: 0.374s

erasing 'userdata'... OKAY [ 0.466s]

finished. total time: 0.467s

sending 'bootloader' (1280 KB)... OKAY [ 0.237s]

writing 'bootloader'... OKAY [ 0.120s]

finished. total time: 0.358s

rebooting into bootloader... OKAY [ 0.001s]

finished. total time: 0.001s

archive does not contain 'boot.sig'

archive does not contain 'recovery.sig'

archive does not contain 'system.sig'

--------------------------------------------

Bootloader Version...: MANTALJ12

Baseband Version.....: no modem

Serial Number........: R32CB039L4X

--------------------------------------------

checking product... OKAY [ 0.001s]

checking version-bootloader... OKAY [ 0.001s]

sending 'boot' (4608 KB)... OKAY [ 0.757s]

writing 'boot'... OKAY [ 0.115s]

sending 'recovery' (5108 KB)... OKAY [ 0.865s]

writing 'recovery'... OKAY [ 0.119s]

sending 'system' (522703 KB)... OKAY [ 90.880s]

writing 'system'... OKAY [ 12.925s]

erasing 'userdata'... OKAY [ 0.471s]

erasing 'cache'... OKAY [ 0.092s]

rebooting...

finished. total time: 367.976s

Press any key to exit...
[Nexus 10 General] styckx:
I see the problem...

Boot into the bootloader and type

fastboot flash userdata userdata.img

fastboot flash cache cache.img

Edit: Then

fastboot reboot
[Nexus 10 General] Andbanyan:
Hey it worked! Thanks a lot! I do see the two erasing lines at the end there now. What's up with that?
[Nexus 10 General] styckx:
No idea.. It's supposed to erase them, and then flash them.. Not the first time I've heard of the flash-all batch file not writing those two images.. Just been awhile since I've seen someone run into it.. Forgot about it.

It's no big deal as you can manually do everything the batch file does.. Or in your case follow it up with sending over the two images it missed.

Last but not least.. Once you're signed in.. Check your storage capacity.. Make sure it's reading right.. Sometimes when this happens The system will show your device showing a capacity of 6GB or so.

This has been a good example of why doing it manually is better.. You are not only doing the labor yourself, you can notice when something doesn't go right and how to immediately resolve it.
[Nexus 10 General] Andbanyan:
Yeah thanks for your help! I checked the storage and it says total space is 13.05 GB, but I have the 32 GB version, not the 16. Is there a way to fix this?
[Nexus 10 General] styckx:
Yep, 1/2 the space showing. I had a feeling that would happen..

Very simple

Back to the bootloader

plug in device

fastboot -w update image-mantaray-jdq39.zip

fastboot reboot (forget if this is needed with the update -w command or not)

That'll fix it up

Edited: Fixed command line.
[Nexus 10 General] Andbanyan:
Still showing 13 GB (with the "-w" after the "update") Had to individually flash userdata and cache still - maybe something there?
[Nexus 10 General] styckx:
..... Brain storming.. Try running it again (update -w), but open your cmd prompt by `run as administrator" this time.. For some reason it seems to be skipping the format process..
[Nexus 10 General] Andbanyan:
same thing with "as administrator". Is there a way to manually format from fastboot maybe?
[Nexus 10 General] styckx:
There is... but..

God I'm dumb

fastboot -w update

Switch the command and option around... I had it reversed.. I'm an idiot sometimes..
[Nexus 10 General] Andbanyan:
Yeah I did do that. "-w" before update.
[Nexus 10 General] styckx:
I don't know why your system is refusing to initiate the format.. Did you just today install the Android SDK or have you always had it installed? The only thing left I can think of is your platform tools are outdated

I'm going to run it on my PC to show you what the output *should* be like.
[Nexus 10 General] Andbanyan:
Good call on the platform tools being outdated. I had downloaded it all today, but I just ran SDK Manager and it said there was an update available. After installing that, everything seems to work OK. It was definitely using an old fastboot as there are more options for it now. Not sure why.

Anyway, everything works perfect now! Thanks so much. I really owe you one.
[Nexus 10 General] styckx:
Woohoo! So awesome.. Look at it this way.. You just got a lot of trouble shooting experience in and have a much better understanding how these things work.. The toolkits just can't replace hands on experience. :) Glad you're updated.. Now go install some games and relax. :good:
[Nexus 10 General] Andbanyan:
Yeah no more toolkits for me. If something goes wrong there is just no way to troubleshoot. This was an awesome learning experience and I have you to thank! Thanks so much for taking the time to help me through this. I'm glad there are still folks like you out there :)
[Nexus 10 General] rxnelson:
Good on you for seeing this through. I agree with the need for a comprehensive how-to thread. I am spoiled by efrants gnex and nexus 4 threads and referred to them even when needing some help with n10.
[Nexus 10 General] akhil7j:
You have really helped both of us a lot. And the way you helped is awesome. There are only few ppl like you who take so much pain in helping others. Ppl get frustrated when newbies like us ask very basic questions. Thanks again for helping in a great way.

A big NO to toolkits from now.
[Nexus 10 General] styckx:
I don't help out often anymore to be honest.. Well at least to the degree I did with both of you. It really depends on the person at the other end. A lot don't want to actually do anything, they just want to click a button and have it be fixed for them.. I've seen other members try to help out people the right way (like I did with you two) and get cut off in the middle of it because the person they were helping decided to download some toolkit in the middle of being helped and got lucky that pointing and clicking fixed their current dilemma.. In turn they still learned nothing. I threw that post out there about installing the SDK and setting up a system wide path on a whim hedging a bet with myself no one would bite on it. So when you actually did it and were ready for more I was shocked.. The someone else followed it... I was double shocked. :laugh:
[Nexus 10 General] joe2262:
I started using toolkits after suffering a cerebral hemorrhage the summer before last but they are a curse when things go wrong. Setting up the global path for the SDK then I'll be on my way.

Thanks for wall the instructions.
[Nexus 10 General] dannyboy22:
So, I too saw hundreds of download notifications after ugrading. They seem to have stopped now.

Did you ever get an answer as to what was happening?

I thought it was Google drive, but I shut it off and still was getting the downloads. :confused:
[Nexus 10 General] joe2262:
HELP

fastboot oem unlock -> went fine

flash-all -> no command

Edit...

Forget it, 4.2.2 here.
[Nexus 10 General] trickster2369:
OK, I don't believe in dumb questions, so here goes:

If I have a backup of the original os from right after I rooted and unlocked, can I restore that and take the update? Then restore my current rom and be back in business?

Sent from my Nexus 10
[Nexus 10 General] wptski:
I think you need a stock recovery to get the OTA. There is a stock recovery posted for 4.2 but not 4.2.1. I assume your talking about the OTA while on 4.2.1, correct? If the recovery from 4.2 would work with 4.2.1, you could Fastboot that recovery to get the OTA. I might even try that myself.
[Nexus 10 General] trickster2369:
Let me know if it works. :)

Sent from my Nexus 10
[Nexus 10 General] akhil7j:
Actually I had done the rooting with Paul O Brien's Superboot. Hence when i was stuck, i posted the problem there but the thread was not so live. I saw 2 others in the same situation I had. So when i started getting help from you, I suggested both of them in the other thread to follow this thread. That was the reason of your 2nd shock. ;)

Cheers.!

PS: Nexus 10 is rocking on 4.2.2 and loot restore already done. Battery life has improved a lot and Chrome FC are almost gone. Minor lags in gaming is still there but hopefully with the next update, it will be fixed.
[Nexus 10 General] wptski:
The recovery is old as father time, same used in 4.2.2.

I pulled the recovery from the JOP40C download, restore my Nandroid of JOP40D, Fastbooted the recovery but it wouldn't get the update. So I went to the Google Services Framework app, stopped it and cleared the data. Back into Settings, checked for update, found it, downloaded and installed it. Make sure you have OTA RootKeeper to get your root back.

Reinstalled TWRP, backed up 4.2.2, restored my ROM and I'm back. I did try 4.2.2 much at all but at least I got the OTA without installing the full manual download.
[Nexus 10 General] strongergravity:
Excellent work sticking with him on that! You're an asset to the Android & XDA communities.
[Nexus 10 General] jpmanchester:
Flashes fine with root and non-stock root

Just received it OTA and was able to install without flashing stock recovery or anything... I'm rooted, stock ROM, CWM Touch Recovery. Made a backup of everything and used OTA root keeper just in case. But CWM Touch Recovery handled it all. Actually really impressed as it's never been this easy lol.

CWM detected no signature but asked if I wanted to bypass. Said Yes and it installed.

Then went to reboot and it warned that it might flash stock recovery and asked if I wanted to let it flash stock recovery. Said no.

Then asked if I wanted to keep root. Said Yes.

Booted up and it was 4.2.2, root was still intact, all apps and everything were there.

Easiest OTA update I've had yet.
[Nexus 10 General] wildpig1234:
So my n10 just gave me the notice that update to 4.2.2 is downloaded and ready to be instaled. But I am rooted. Do I need something like cwm touch recovery to keep my root after installing the update or can I just go ahead and install the update and all my progs and root are still OK?
[Nexus 10 General] springy:
Use this:

https://play.google.com/store/apps/details?id=org.projectvoodoo.otarootkeeper
[Nexus 10 General] wptski:
Cool! Didn't think it would work with a custom recovery. I wonder if it'll work with all custom recoveries without a hitch?
[Nexus 10 General] DHemenway:
It worked great with TWRP for me. I used RootKeeper to protect my rooting, then downloaded the OTA and used the sideload feature of TWRP along with the adb sideload command to perform the upgrade. After rebooting I restored the root from RootKeeper and my Nexus had been running beautifully on 4.2.2 since then.

---------- Post added at 04:20 PM ---------- Previous post was at 03:54 PM ----------

Would like to thank styckx for helping these people. Following your debugging logic and your direct hands-on approach instead of using a "kit" was informative and educational even though I didn't have the issues they experienced. Well done.

As a reminder to new users, once you have a working upgraded system, make a nandroid backup, then copy the backup off your nexus and onto your desktop computer or cloud storage.

The sdcard storage where the backups are kept on your nexus is part of the data partition. If something happens to that partition (wiped, formatted, corrupted, etc) your recovery backup will also be lost unless you have it stored somewhere else.
[Nexus 10 General] wildpig1234:
Very nice. Worked great. Thnx
[Nexus 10 General] akhil7j:
Yeah, this was the toolkit which spoiled my device. Anyway if it works on your, its your luck.
[Nexus 10 General] bigmatty:
Hi! I read this, and then read ahead to see a couple possible problems & thus a couple possible fixes, and decided to take the plunge! Everything worked out great - thank you for making such an accurate and simple to understand post!

Anyways, I had one or two questions (& created an account here to ask you them)...

1) You did not specify to then install SuperSU as a system app, which I see is now an integrated choice for SuperSU. My 'root' seems to be working great as is - should I change it to a system app?

2) (This is not an important question, just trivia for my brain) I see that the .zip for the TWRP install is at v 1.00, and that 'then update via store' is recommended. I did update to 1.10 via store, but I am just ~curious~ why the .zip is not the current version? Is it becuse the .zip is a further modificaton of the actual .apk file and would thus take the dev more time to code?

Thanks again!

bigmatty
[Nexus 10 General] styckx:
To answer #1 - I've never installed it as a system app. I honestly wouldn't even know the advantage of doing that except it would make it not uninstallable via normal means. ie: The market..

2. The author has a thread on xda where he posts a flashable zip: http://xdaforums.com/showthread.php?t=1538053

I just linked directly to the newest version he released at the time. Since that post he updated numerous times but the links to previous versions still work. ie: He's constantly updating his product. I'm going to edit my post to avoid this little bit of confusion. It isn't a big deal but I can see maybe how it could confuse some folks..

I can't believe my little tutorial here is still chugging along helping others. :good:

P.S. I also edited in that post the TWRP install. I had directed to download 2.4.1.0 when now 2.4.2.0 is the newest version. I just edited it to direct whoever to grab the newest version instead of a specific version.
[Nexus 10 General] Dyamont:
Thanks for the URL
[Nexus 10 General] bigmatty:
Thank you again! Fantastic and accurate answers. I upgraded my TWRP this AM after reading your post, I swear it must have been updated only in the last couple days, LOL :)
[Nexus 10 General] styckx:
Yep. They just updated TWRP yesterday.. :)
[Nexus 10 General] bigmatty:
just an fyi that i used this post of yours, also with great success, to go back to stock for continued troubleshooting. thanks again!
[Nexus 10 General] funkpod:
FWIW, go to https://www.youtube.com/watch?v=ZNEXCY-wHpw

at about 3:30 he deals with this
[Nexus 10 General] udimars30:
If anyone is not rooted and has upgraded to 4.2.2 here for rooting and installing CWM! :cowboy:

http://xdaforums.com/showthread.php?t=2144831
[Nexus 10 General] Johan1976:
Can I use the "install from zip" in Team win recovery to install an OTA zip file?

Followed by clear cache/dalvik then this seems to be the fare most simplest and easiest solution?
[Nexus 10 General] italia0101:
I take it this isnt flashable in CWM or twrp
[Nexus 10 General] :
One change I just noticed after updating is that connecting your Nexus 10 to your computer by USB will bring up a prompt on your tablet asking if you know the machine and if you want to remember it.
[Nexus 10 General] lKBZl:
Thanks oneman! I might try to do this in a few days in case the ota doesn't show up for me, hopefully in Spain it won't take long to appear!
[Nexus 10 General] tcrews:
adb sideload update was painless...

Stock rooted Nexus 10 with TWRP recovery....

On tablet:

boot to recovery, advanced, adb sideload, swipe to begin,

On PC:

adb sideload "name of update".zip

Vooodoo OTA rootkeeper restored root, GooManager re-installed recovery.
[Nexus 10 General] lKBZl:
Yea but what I asked was if I have stock rom and stock recovery. Can I do that also?
[Nexus 10 General] italia0101:
yea just sideloaded it like a boss .
[Nexus 10 General] thafngame24:
Will adb sideload method wipe your device? I too currently have stock Nexus 10, rooted with TWRP recovery. I keep checking and have not received the ota yet...i have voodoo ota rootkeeper ready to rock to backup root so it can be restored after the ota. Seems like you had same setup as me. Just want to make sure I do this correctly =). Thanks
[Nexus 10 General] teodor_ch:
I was

STOCK, unlocked and rooted

stock recovery too

restart to bootloader and boot into recovery

select update from ADB sideload

from my pc

reboot and have fun in less than 5'

used Voodoo OTA Rootkeeper to restore root in 1"
[Nexus 10 General] italia0101:
didnt wipe mine and i sideloaded it :)
[Nexus 10 General] tcrews:
No, it will not wipe your device, it just runs the OTA update to patch the system files.
[Nexus 10 General] SayWhat10:
Can somebody post the changelog?
[Nexus 10 General] thafngame24:
So i just tried to sideload and everything seemed fine but after it finished transfering the file... i got an error that says "assert failed; apply_patch_check("/system/app/Wallet.apk" "22e2da730d7b9853ab409fa914a67cc94e84cd0e", "695

E: Error in /data/media/0/sideload.zip

(Status 7)

So my sideload failed. Any clue on what happened???
[Nexus 10 General] kennynguyen20:
so its out? change log?
[Nexus 10 General] Chluz:
Do you have Google wallet installed in a country where it's not supported? In any case try un installing it
[Nexus 10 General] thafngame24:
no... but i think i know the problem.... wallet comes as a system app and it wasnt working properly so i uninstalled it with titanium and installed it from the market, which installs it as a non system app... i need to move wallet back to a system app and then i should be ok
[Nexus 10 General] onemandivision:
my post was just a method that should work no matter what the user had installed previously. just sideloading an ota update doesn't have to work in all cases (depending on what kind of rom / mods the user had installed). on the other hand it shouldn't hurt to try the sideload, there are lots of assertions to prevent incompatibilities
[Nexus 10 General] :
I'm currently on stock 4.2.1 with root and Clockwork Recovery, but I'm not getting any OTA update. Is there any reason why not?
[Nexus 10 General] thafngame24:
can anybody point me to where i can download the wallet.apk that came with the nexus 10 in the system/app folder? I uninstalled it with titanium and it appears i need it to apply this ota. thanks
[Nexus 10 General] xXFallenXx:
Is there a change log for this update? I can't figure out what it actually fixes.
[Nexus 10 General] StormtrooprDave:
Can you flash this zip through cwm?
[Nexus 10 General] :
Just side-loaded the update to my Nexus 10, and whilst I kept my SuperSU I seem to be unable to use root? Whenever I do, I get an error that I don't have root. Can anyone advise me what to do? Thanks.
[Nexus 10 General] CazeW:
Could someone upload their stock JOP40D libchromium_net.so file from system/lib? I seem to have done something to that file (even if I don't remember doing it) and it's keeping me from installing the update.

EDIT: NVM. I fixed it by replacing the files it was complaining about from the factory image, patched them by reinstalling the 4.2.1 OTA and then installed 4.2.2.
[Nexus 10 General] StormtrooprDave:
Yes you can
[Nexus 10 General] jackie_jagger:
Does anyone know what this means

"Assert failed: apply patch check ( emmc://Dev/block/platform/DW.mmc. 0/by-name...."
[Nexus 10 General] Matthileo:
No idea what it means, but I got it too.

Verifying curent system...
assert failed: apply_patch_check("EMMC: /dev/block/platform/dw_mmc.0/by-name/boot: 4716544 : 52b[...*long string of characters*]b38ac")
E:Error in [update file]
(Status 7)
[Nexus 10 General] jackie_jagger:
Yes that's the exact error I'm getting. I installed 4.2.1 OTA and it went through smoothly but I can't seem to get through with this.
[Nexus 10 General] Sheolrock:
It means the update was aborted because it couldn't confirm that you are on the correct device, version, etc. Your device should still be fine to boot up.
[Nexus 10 General] Matthileo:
IIRC it means that a file has been changed from stock, and because of that the OTA won't be performed.

I fixed all the /system files that were screwed up, and now I'm getting this one, but I can't figure out how to fix it.
[Nexus 10 General] springy:
I thought those messages about failed to apply the patch was due to something in your device which is not completely stock, i.e. some modify things in /system/ or that you not using stock recovery or stock kernel...
[Nexus 10 General] lKBZl:
Anyone can share adb and say if I need any special drivers? Kinda noob with adb and not so good in english so it's a good mix...
[Nexus 10 General] Johan1976:
Got the same message! :(

I am supposed to be complete stock rom wise but I am rooted and Ktoonez kernel. It says something about /boot so maybe it requires stock kernel? I will actually try and restore stock kernel.

Yup! Thats it! It checks for stock kernel! Now I am 4.2.2 :)
[Nexus 10 General] spacecasespiff:
Me I'm all stock and I'm going to just sit back and wait for it to come. In not in a hurry and I love reading about all the issues people are having trying to load this up. Its a lot easier if you are just patient.
[Nexus 10 General] styckx:
If you changed the stock kernel to a custom kernel then you aren't stock.

Stock means stock. Stock doesn't have a selective meaning.
[Nexus 10 General] Matthileo:
I'm on KT's kernel as well. How did you restore to stock kernel? I don't have a /system backup.
[Nexus 10 General] Johan1976:
Sv: Android 4.2.2 OTA Update

I did a backup of boot partition before I installed KtoonseZ kernel. I wanted to know I could get back to stock kernel if custom kernel screwed my system. :)

Skickat från min Nexus 10 via Tapatalk 2
[Nexus 10 General] jackie_jagger:
would it work if you shared the boot partition back up with us? I can't seem to find a stock kernel flashable zip.

EDIT: I just heard that now we can quick toggle settings from the quick settings menu. Long press on WiFi or Bluetooth to enable/disable them, those on 4.2.2 could you confirm?
[Nexus 10 General] Matthileo:
Damn! My oldest backup is 12/something and I'm still on KT.

I don't have a backup of /boot from before I started using his kernel. I probably got rid of it because his was so stable.

Was wondering this myself...
[Nexus 10 General] Johan1976:
TWRP backup of 4.2.1 stock boot is here <>

Unrar and place the folder in TWRP/BACKUPS folder in sdcard.

Longpress on wifi and bluetooth works :)

Edit: Removed link since there now are full 4.2.2 image available.
[Nexus 10 General] aqtrans:
Yep. I'm on 4.2.2, and long-press of Wifi and Bluetooth quick setting tiles turns them on and off!

Also to get stock kernel back, you should be able to download and extract the boot.img from the factory image available here: https://developers.google.com/android/nexus/images#mantaray

Then just "fastboot flash boot boot.img" to flash it, and from there try to sideload the 4.2.2 zip once more.

Looking through the JOP40D ota zip I downloaded and used earlier, doesn't look like boot.img was touched in that update, so hopefully that should do the trick.

I personally just started completely from scratch, using the flash-all.sh script included in the JOP40C, sideloading to JOP40D, then sideloading once more to JDQ39.

From there I 'fastboot recovery' flashed CWM Touch, and then flashed the Superuser 3.3 zip from here courtesy of craig: http://d-h.st/oOo
[Nexus 10 General] teodor_ch:
Guys just got a crash/restart while idle.

4.2.2 here

I have been playing all afternoon with chrome and chrome beta with no restart but now at idle it crashed.

So disappointed...

At least they are less frequent
[Nexus 10 General] Matthileo:
Thanks. That seems to be working so far. I'm on 4. 2. 2 Now

[sent from my nexus 10]
[Nexus 10 General] lKBZl:
Can anyone explain me the commands I have to type to flash 4.2.2 on stock rom and kernel? And also if you could share the adb I would appreciate it much. I ask this because I didn't understand the steps that someone posted below. Sorry for my english...