Did you replace "nameofbootloader.img" with the file name for the bootloader?
Sent from my Nexus 4 using XDA Premium 4 mobile app
Yes I did that.
Did you replace "nameofbootloader.img" with the file name for the bootloader?
Sent from my Nexus 4 using XDA Premium 4 mobile app
My next step would be to try another USB cable, I have a feeling this is your issue
Sent from my Nexus 7 using XDA Premium 4 mobile app
With my Nexus 10 stock KitKat 4.4.4 following the instructions and successfully unlocked the devices a permanent bootloop appears (4 color cicle animation forever and device is being reported as "ID 18d1:4ee1 Google Inc. Nexus 4 / 10" with Linux).
There is no way I found to access the device with adb anymore. From bootloader you can install TWRP with fastboot, but that's it. Only restoring to factory default let me access the device on normal user level (with UI).
Any ideas or similar experience?
p.s.: Even trying to reflash with adb sideload the latest stock OS fails with some error messages about problems to mount cache.
Hi,
First download the latest image from android source (link in the second or third post)
Boot to bootloader and run this
fastboot erase system -w
fastboot erase boot
fastboot erase recovery
Now run this from the location of the unzipped image files from android sources
fastboot flash system system.img
fastboot flash userdata userdata.img
Now from the latest twrp image
fastboot flash recovery nameofrecovery.img
fastboot reboot-bootloader
Now scroll to recovery, should boot to twrp, once in twrp choose reboot system, should get a message about no root and ask if you want su flashed, choose yes
Upon reboot you will have rooted stock ROM!
Let me know if you get stuck!
Can anybody help me: I have issues writing to the internal storage. I have explained the problem in the 3rd page of this post.
I was wondering if anybody knows how to repartition our nexus 10(i believe i have symlink problems and restoring stock does not reset symlinks i believe)
Please help me I bought my nexus 10 from another country and nobody is repairing it here
Thank youu
Hi there,
First post, anyone know where I can find one, having dreadful freeze issues with KTManta kernel, apparently Omnirom is better, but the only one I can find is data & cache?
Cheers,
Kal
Hi,
Skip the root kit, will cause you more problems than worth
From bootloader flash a custom recovery
fastboot flash recovery nameofrecovery.img
Then boot to new recovery and adb sideload your ROM of choice
Am not sure how to flash recovery from here as i don't have any option for that in bootloader.No need to root, the reason for download mode is I'm assuming recovery was accidentally erased.
So just flash recovery then sideload ROM
Reboot
Done
Current List of Supporters@demkantor - All Things Nexus - adb & fastboot expert!
@lj50036 - GitHub Expert and All Around Android Guy!
@rirozizo - Battery Guru and Android Know It All!
@XxLordxX - The Unbricker!
Hi, demkantor. Thanks for helping me, man! :good:
No, I tried to flash a JB 4.3 kernel from here: hxxp://goo.gl/aI4ULX
I tried all the three 4.3 kernel versions (TX3-4.3-ANY, TX11-4.3-ANY and TX17-4.3-2000-ANY) posted at the Trinity kernell webpage, all with the same result (Status 7 error).
Now many of you have these installed, so if you can connect your device to PC through USB and are able to communicate with adb and fastboot just skip this.
If however you can not, then you need to download appropriate drivers for Windows.
You can get these through the Adroid SDK if you already have this
Or direct from the OEM following the link HERE
Or some say having the Naked Drivers works best, so try HERE or HERE or HERE
If you need help installing these then see the next chunk on adb/fastboot or feel free to ask here as well!
*Linux users just need the android rules set up, see fastboot link for how to...
Well here is many's big fear, but fear not as the terminal is not that scary!
For an in depth explanation on how to use fastboot, I highly suggest reading through THIS
It will have all you need to know and if there are any further question please feel free to ask here or in the fastboot thread.
If you have any issues running fastboot (or adb) commands, please copy and paste all input/output from terminal/cmd here so one of your helpers can assist better.
For the most part we want to use the stock firmware found here (some OTAs HERE for another use)
Download the latest for mantaray (currently 4.4.2-(KOT49H)
Now check MD5sum or sha1 for a match (Linux use terminal, windows use THIS)
If all is good lets extract the contents (I prefer 7zip but whatever)
So if all of your prep work is a success then when you type
Into a terminal/CMD you will see your serial numberCode:fastboot devices
If not be sure you are in bootloader mode (power on while holding volume +)
Also have a high quality USB cable if not the one that came with your device
*Still have issue, ask in this thread!
If you have a locked bootloader it may be wise to
Then follow the below info, if you don't want to unlock your tablet just run the flash-all.bat to get similar resultsCode:fastboot oem unlock
And now you have a bunch of images, lets erase and flash so we will be oh so clean!
*have everything backed up first! this will erase your tablet!
now after we cleaned things up, lets flash back to stock!Code:fastboot erase system -w fastboot erase boot fastboot erase recovery
(Everything should be named accordingly except for bootloader, so change this command)Code:fastboot flash bootloader nameofbootloader.img fastboot flash system system.img fastboot flash userdata userdata.img fastboot flash cache cache.img fastboot flash boot boot.img fastboot flash recovery recovery.img
Some quick notes:
If you want a custom recovery, fell free to instead flash latest TWRP or CWM or whatever.
You do not need to use stock recovery for the above to work, but you will need your custom recovery in a .img
Similarly if you want a custom ROM instead of stock you can do this, but only if your dev supplies you with the system.img, if not just boot to recovery, make a nandroid, wipe all, flash custom ROM and gapps through adb sideload.
If you still have a bootloop or a "brick" then ask us here and someone will be glad to give you personal assistance.
Or for real time help you can see if anyone is at ##Manta_Help_IRC on freenode
Quick Linux/Unix Restoring to Stock GuideFirst of all, you need to have Fastboot and ADB. To do as such open your command line and type:
Now that you have both files, you need to setup them to be able to use. As you're an Unix user you'll probably get what I'll do here, you can do it slightly different, but this way was the easiest IMO, also it makes the procedure for next times using adb and fastboot easier. Type the following:Code:wget http://www.undergroundandroid.com/developers/xLordAIOx/bin/fastboot wget http://www.undergroundandroid.com/developers/xLordAIOx/bin/adb
Now that you have adb and fastboot set up it's time to start the real thing. First of all, make sure to backup your device, as everything will be lost in this procedure! First you need to unlock your device bootloader (if it is already unlocked, skip this part). Please, go to settings, "About Device" and click multiple times "Build Number", a new tab will appear in settings, called "Developer Options", go there and enable USB Debugging. Now plug your Nexus 10 on your PC and type this to check if your device was recognized:Code:sudo mv fastboot /usr/bin/fastboot sudo mv adb /usr/bin/adb sudo chmod 755 /usr/bin/fastboot sudo chmod 755 /usr/bin/adb
If something came up it was successfully recognized and you can follow up :victory:, but it nothing appeared you may need to check this:Code:adb devices
http://rootzwiki.com/topic/258-udev-rules-for-any-device-no-more-starting-adb-with-sudo/
When you get your device recognized do the following:
Wait for the device to reboot, when it turns on again, you'll type the following:Code:adb reboot bootloader
Now follow the instructions on your tablet screen. As soon as your bootloader is unlocked the device will reboot, so you'll now download the recovery and the Superuser.Code:sudo fastboot oem unlock
Copy SuperSU to your device internal memory (that's probably empty now) and rename the .img file of TWRP to recovery.img. Now enable USB debugging again (it's explained above lol) and replug the tablet on your PC. Time for typing again! (Please, open the terminal in the folder where the recovery.img is located).Get the TWRP from here (download the .img file): http://www.teamw.in/project/twrp2/128
Get the SuperSU from here: http://download.chainfire.eu/396/SuperSU/UPDATE-SuperSU-v1.94.zip
Wait for it to reboot, and then type:Code:adb reboot bootloader
(If you want to install the recovery permanently in the device, type 'sudo fastboot flash recovery recovery.img' before issuing the command above).Code:sudo fastboot boot recovery.img
Now you probably see a screen like this:
Click in Install and select the SuperSU zip that you copied to your tablet internal memory earlier. When the flash is complete, reboot the tablet and congratulations! You're rooted :victory:.
Hope this helps anyone who may need it!
~LordSo you've decided that you don't want root anymore or you did something and want to restore to stock? That's not a hard thing to do! Just follow these steps and you'll be fine.
First you need to have adb and Fastboot ready. To do as such open your command line and type:
Code:wget http://www.undergroundandroid.com/developers/xLordAIOx/bin/fastboot wget http://www.undergroundandroid.com/developers/xLordAIOx/bin/adb
Now that you have both files, you need to setup them to be able to use. As you're an Unix user you'll probably get what I'll do here, you can do it slightly different, but this way was the easiest IMO, also it makes the procedure for next times using adb and fastboot easier. Type the following:
Code:sudo mv fastboot /usr/bin/fastboot sudo mv adb /usr/bin/adb sudo chmod 755 /usr/bin/fastboot sudo chmod 755 /usr/bin/adb
Now that you have adb and fastboot set up it's time to start the real thing. First of all, make sure to backup your device, as everything will be lost in this procedure! First you need to unlock your device bootloader (if it is already unlocked, skip this part). Please, go to settings, "About Device" and click multiple times "Build Number", a new tab will appear in settings, called "Developer Options", go there and enable USB Debugging. Now plug your Nexus 10 on your PC and type this to check if your device was recognized:
Code:adb devices
If something came up it was successfully recognized and you can follow up :victory:, but it nothing appeared you may need to check this:
http://rootzwiki.com/topic/258-udev-rules-for-any-device-no-more-starting-adb-with-sudo/
When you get your device recognized do the following:
Code:adb reboot bootloader
Wait for the device to reboot, when it turns on again, you'll type the following:
Code:sudo fastboot oem unlock
Now you'll follow the instructions on screen. When your device is unlocked, you'll have to download the stock firmware you want from one of those links:
Android 4.2.2. - https://dl.google.com/dl/android/aosp/mantaray-jdq39-factory-d79f489e.tgz
Android 4.3 - https://dl.google.com/dl/android/aosp/mantaray-jwr66y-factory-3d8252dd.tgz
Android 4.4 - https://dl.google.com/dl/android/aosp/mantaray-krt16s-factory-94413961.tgz
Android 4.4.2 - https://dl.google.com/dl/android/aosp/occam-kot49h-factory-02e344de.tgz[/CODE]
Now that you're done with your download, you'll extract the .tgz package the way you prefer. Now, open a command line in the folder where the extracted files are and (with your device plugged on fastboot mode) just type:
Code:chmod 755 flash-all.sh sudo ./flash-all.sh
The procedure will now begin. It can take some time to finish. When it ends, it's recommended that you lock back your booloader, which is as easy as unlock. Type (tablet plugged in fastboot):
Code:sudo fastboot oem lock
Hope this helps!