General :: Flashing LK Bootloader On Nexus 5?
Apr 23, 2014
I have LK bootloader source code which I need to build and flash to a Nexus 5 device.
* I got the source code from the Code Aurora website
* I made a guess which branch is the stable branch I need, because I found no mention of it anywhere (I took "kk_2.7-stable", where kk means kitkat)
* On a Debian 7 stable machine, I installed a GCC cross compiler from Deb packages built using Emdebian tools
* I made a guess which target to compile, because the exact chip name didn't have its own: I use msm8960
* I created some symlinks to the cross-building tools because the makefile and the debian cross-building tool names are different
* I ran 'make msm8960' and the build was successful (I also tried earlier with NDK prebuilt GCC but it failed)
* I got a bunch of files with no idea what to do with them
* I attached the device to the computer and re-flashed the stock bootloader to make sure it works
* I checked the fastboot screen: Bootloader unlocked, secure boot is on
* I tried flashing the 'lk' binary file I got from the build process, but fastboot says:
sending 'bootloader' (1702 KB)...
OKAY [ 0.239s]
writing 'bootloader'...
FAILED (remote: invalid bootloader image
)
The size of the file is much smaller than the size of the stock bootloader, but I don't know if it matters or what exactly I need to flash. I did a lot of web search, including here on XDA, but found no evidence of struggling with flashing the bootloader.
How do I flash the bootloader after I build it?
View 7 Replies
Feb 15, 2012
[Q] IS IT NECESSARY TO UNLOCK BOOTLOADER BEFORE FLASHING KERNEL FOR SONY XPERIA... and also need a latest flashtool tutorial link..
View 1 Replies
View Related
Aug 1, 2013
My phone is stuck in boot-loader screen and not even showing me Google logo on selecting Start from boot-loader screen, when connect charger then also it shows me boot-loader screen
Steps which i followed to install 4.3 manually is:
1. fastboot erase boot
2. fastboot erase cache
3. fastboot erase recovery
4. fastboot erase system
5. fastboot erase userdata
6. fastboot flash bootloader <bootloader_filename_.img>
7. fastboot reboot bootloader
8. fastboot flash radio <radio_filename_.img>
9. fastboot reboot bootloader
10. fastboot -w update <Rom_filename_.img>
Step 1-9 executed successfully but at step 10 while writing system.img installation got stuck and i waited for 40 mins but nothing happened
Repeated above step 3 times. Need to recovery my nexus 4 to its normal state
View 7 Replies
View Related
Jun 30, 2012
Yesterday I got a sort-of-refurbished Nexus S (I9023) which was apparently not in such a good shape...Had problems flashing the system and userdata partitions (kept saying they were flashed fine but after reboot went back to their previous state).
I followed some tip without actually reading up on it and ended up formatting my bootloader partition.
Now, what I get is just a black screen no response or anything but using a tool called UnBrickable Mod I can get it back to fastboot mode and then boot into a recovery image and have adb access.
All in all, I am currently stuck cuz I want to flash a new bootloader image but what i get when i do that is:
Code:
~ # nandwrite /dev/mtd/mtd0 /bootloader.img
Skipping bad block at 0x00000000
Skipping bad block at 0x00040000
Skipping bad block at 0x00080000
Skipping bad block at 0x000c0000
Writing at 0x00100000
Writing at 0x00140000
Writing at 0x00180000
Writing at 0x001c0000
nandwrite: not enough space in MTD device
I have read that NAND blocks tend to go bad when continuously being flashed, but 50% bad blocks on the bootloader partition? Seems pretty unlucky... Is it possible to resize the partitions without any JTAGing or writing custom bootloaders?
View 1 Replies
View Related
Aug 18, 2013
So, my issue is that I simply cannot unlock the bootloader of my Nexus S (i9020T). The phone's connecting to my computer via Samsung Android ADB Interface as seen under the Device Manager. I see the proper device ID when I type "fastboot devices" into the adb command prompt. Then, when I type "fastboot oem unlock" the phone starts the unlock verification process -- I select yes, the phone restarts, but it goes back to the stuck Google screen. Then, if I pull the battery and go into fastboot mode directly, bootloader's still locked. I've tried this quite a few times and same result -- same result trying to unlock w/ toolkits like WugFresh's NRT.
I've also tried to solve it w/ all versions of Odin. None of them detect my phone even after installing Kies w/ drivers. I think I have the required drivers though since I can command the phone fine through adb. And Odin should need bootloader unlocked to work anyway so it won't work if bootloader cannot unlock.... I've even tried a few other things like pushing recovery and bootloader images onto the phone via adb, but these also failed due to the locked bootloader. All options seem to require an unlocked bootloader.
I also cannot enable USB debugging under phone settings either b/c I now can't get past the Google logo/fastboot mode menu. I don't think this is required to unlock bootloader through adb though.
Background: Phone had the latest auto updated version of Android when the phone all of a sudden turned off in the middle of the night recently. Weird b/c the battery was basically full. It now always gets stuck on the Google logo upon normal restart. It goes into fastboot mode OK if I remove the battery and press power/vol. buttons -- I then first tried the restore and recovery functions there, etc, but no effect.
To add, one of the first things I tried was to do a manual factory data reset in the recovery menu (selecting 'yes' to erase all data).
And I tried adb sideload of the OTA .zip file. But installation was aborted. The following appeared immediately under the regular adb sideload instruction in the system recovery menu (under "Now send the package you want to apply to the device..."):
Finding update package...
Opening update package...
Verifying update package...
Installing update...
file_getprop: failed to stat "/system/build.prop": No such file or directory
Installation aborted.
View 1 Replies
View Related
Feb 12, 2014
how would I go about flashing a stock rom to a bricked nexus 4? ( wont boot or boot into recovery)
View 6 Replies
View Related
Nov 20, 2013
Last week, I flashed my LG Nexus 4 (16GB) phone with stock Android 4.4 (Official Image), before that I was on CyanogenMod 10.1.3 Stable.
Now, for some reason I didn't like the stock 4.4 and tried to Flash back my CyanogenMod 10.1.3 from CWM "Install ZIP" but the problem I'm facing is that it CyanogenMod doesn't boot, hangs on "Spiral Splash Screen". Then I tried Flashing CM 10.0 stable, still loops into boot forever and at times boots (after 15-20 minutes of booting on spiral splash screen) and doesn't recognise SIM card, Camera, Storage, WIFI or anything.
Then after getting fed up with this I tried flashing MIUI V5. This also takes a 15-20 to boot and fails to recognise - SIM, WiFi, Camera etc.
So lastly like a loser I flashed back my Android 4.4 it works fine.
I've my boot-loader in unlocked state.
and Yes before flashing CM or MIUI, I did - wipe data/factory, wipe cache, wipe dalvik cache from CWM Recovery.
So I want to get back into CyanogenMod 10.1 stable.
View 2 Replies
View Related
Apr 1, 2010
[SOLVED] Relocking your Bootloader - xda-developers
View 8 Replies
View Related
Jul 13, 2010
(I'm mainly posting this here for people who don't regularly use XDA-Forums and might not have seen this).
View 9 Replies
View Related
Mar 22, 2010
I have tried multiple things, but I'm still stuck at the boot loading screen with the X.
I had cyan 5.0.4. - I wiped and flashed to 5.0.5 and now i cannot get past the boot.
I've tried booting back into recovery and wiping and doing a nandroid recovery to 'amon's recovery 1.7.0' but to no avail.
View 12 Replies
View Related
Jul 30, 2010
[How-To] ROOT Your Nexus One without Unlocking the Bootloader. ALL ROM'S! - Google Nexus One Owners | Google Groups. Ok, I posted this on my Google Groups page where I was able to Tidy it up and update it easier. Sources credited and applied. I did this on 2 N1's. No wiping, no data loss, both T-Mobile with FRF91. No data loss, no wipes, no nothing. The only reason you will have to wipe or anything is if you want to put a custom recovery on it and a custom ROM.
View 14 Replies
View Related
Nov 12, 2010
Just ordered an ATT nexus one (getting rid of the pos Samsung Captivate), and I would love to root it and put on a different rom. I have no problem following the guide that is stickied, but I was wondering if z4root (z4root - Android app on AppBrain) works on the n1? I see some appbrain comments saying that it DOES work. Are there different versions of the bootloader and such that it will or will not work on? Also, which modem and kernel do you guys suggest me using (battery life is most important)?
View 9 Replies
View Related
Oct 9, 2010
Lost root since updating to 2.2.1? Here's a new one click solution!
[APP]SuperOneClick v1.4 (Root, Enable Non-Market App, Get UNLOCK code) - xda -developers
View 14 Replies
View Related
Apr 30, 2010
I've been trying to load amonRA's recovery for my nexus one. I've managed to unlock the bootloader, and gain SU permissions. But for the life of me,I cant seem to flash the new recovery image. I've used better terminal, and it says that theres no flash image found. But I have Put it on SD Card. I've copied the text correctly and I cant get it to flash. I've also tried to downgrade the radio to get better reception, and its saying that the update isn't signed. Is there something still locked up?
View 6 Replies
View Related
Mar 1, 2010
I was wondering what kind of results people are really seeing doing this/how to do this.
View 23 Replies
View Related
Sep 2, 2010
I bought a Nexus One second hand off eBay but it seems to be broken. I plug it into the wall with a battery, orange/green led. In wall without battery, orange/green led. Off wall with battery, orange/green led. How can I fix it? I have tried entering recovery mode but just isn't working. Battery has been charging all day. I have never had an android or nexus so don't really understand whether this is an abnormal behavior,
View 2 Replies
View Related
Mar 9, 2010
I've been struggling to get my Nexus One up and running with the Sense UI. I unlocked the bootloader and rooted it (it all worked as far as I can tell) but whenever I try and flash a new ROM onto the phone I get the error E: no signature E: verification failed I have tried many different ROMs from Cyanogen mod and just a standard Nexus One ROM, but I've had no luck in getting this to work. Plus, when I just return to the original state, my WiFi is out of commission and as an AT&T subscriber (I have two lines so it's not the end of the world), I rely heavily on WiFi for my nexus.
View 4 Replies
View Related
Oct 10, 2013
i have htc wilfire s and i want to root it,but my hboot version is very old ,it is 0.90 and i do not find any correct method to update it.
if i follow htcdev methods it shows bootloader error.. as shown in the screenshot.
View 1 Replies
View Related
Dec 30, 2012
Is it possible to get into the boot loader screen on the Vizio co-star? Any root methods yet?
Phone: Samsung galaxy s2 t989
Rom: Jedi knight 6 4.0.4
Kernel: Jedi kernel 2
View 7 Replies
View Related
Apr 7, 2012
if i want to downgrade my FW from .62 i must unlock bootloader? there is no way to root .62 fw, right?
View 2 Replies
View Related
Apr 30, 2013
since I own a Neo V which is locked, and the service menu in the phone says that the Bootloader cannot be unlocked. if I unlock my SIM lock(probably with TurboSIM, since thats the cheapest solution), would that enable me to unlock my bootloader, and start the real modifying of my phone?
View 1 Replies
View Related
Feb 1, 2013
I want to restore official Xperia S ROM, but I need to relock my bootloader (or maybe not ), so can I do this on CM10 ROM, which needs to have unlocked boot loader?
View 1 Replies
View Related
Feb 21, 2014
My Lava Mtab MG7 has become locked due to too many wrong pattern attempts. I can't log into the Google account to unlock it. I wanted to enter recovery mode to wipe data (hard reset). But I don't know the combination of key presses to enter the bootloader. I have tried the following:
1. Vol Up + Power
2. Vol Down + Power
3. Vol Up + Vol Down + Power
View 3 Replies
View Related
Aug 20, 2013
I've been following the instructions on the HTCdev website for unlocking the bootloader on my HTC sensation XE. Ive made it to the last step and acquired the unlock code from HTC. I then copied that to my computer and followed the last step "fastboot flash unlocktoken Unlock_code.bin" but I get an error message in the CMD promt "remote: unlock token check failed"
I have made sure that the .bin file is in the correct directory (c:Android).I have USB debugging enabled and fastboot disabled.
View 1 Replies
View Related
Oct 14, 2013
i want to know if it's possible to root an Android without unlocking the bootloader. My problem is I don't want anything wiped off the phone. I'm trying to get past the lock screen, because I found this phone in the street, so I want to get the numbers in it to try and return it. I've heard you can bypass the lockscreen if it's rooted. It's a Samsung Galaxy S Mesmerize, (or Fascinate).
View 3 Replies
View Related
Aug 31, 2012
I am trying to install GAPPS on an emulator, but to do that, i need to reboot into the bootloader. How do i do that?
View 2 Replies
View Related
Jun 14, 2012
i recently broke my last phone, so i had it replaced and this one is running 2.3.6, i tried using that black white screen (cmd?) with the options ex:
1. unlock root etc.
2. CWM install/root etc etc. x. debugging etc
but no luck. When i reach the rsd lite portion of the first section, my phone just boots up into the os and rsd lite gets cancelled. ( i chose 2.3.4)when i first got it, i could do everything fine, but i couldn't boot after installing 3 different roms. but when i install clean software it works just as it should
View 5 Replies
View Related
Jul 28, 2012
Now that the mempodroid hack based on the memory leak discovered by Aedla has been blocked (since about kernel 2.6.42, and android 4.0.3), are there any remaining ways of getting root access without re-flashing the bootloader? Alternatively, any pointers to how I would find (or build) a bootloader for a tablet based on rockchip RK29 board (for which I'm unlikely to be able to get detailed documentation)? Or is there any way to downgrade the kernel without root access?
View 1 Replies
View Related
Sep 16, 2012
I successfully unlocked the bootloader on my xperia x8 via flashtool put on custom kernel nAa 14 and miniCM7 Yay.Everything is fine apart that I want to change network because they have much better deals etc.I went to the 3 network shop and tried to put in the Sim, it took it in loaded but wouldnt register with the network , in fact I tried last week when I was on stock kernel and gingerxperia and it asked for ''unlock code'', today it didn't ask for unlock code took it in but wont register.I guess there must be some sim lock or something.
Maybe it is unlocked but something to do with Radio pehaps nonetheless my current Network works fine.here's my S1 LOG if any good. after unlocking BL of course
Welcome to S1 identify tool
16/09/2012 17:16:15
16/09/2012 17:16:15 TO CONNECT NEXT PHONES
[code]....
View 1 Replies
View Related
Apr 29, 2013
So I made the mistake of attempting to root my new HTC one V without knowing what I was doing. I currently can't get past the bootloader screen. I've attempted installing the RUU for my phone with no success. I've resorted to extracting the rom.zip from the RUU, renaming it PK76IMG.zip (required for hboot to recognize it) and putting it on my sd card. Everything works fine up until the end when it says "hboot version is older! Update failed"
View 2 Replies
View Related