Showing posts with label fastboot. Show all posts
Showing posts with label fastboot. Show all posts

Saturday, 24 October 2015

Solved Boot Loop After Factory Flash Build mdb08i in fastboot on my Nexus 5X



Hi guys,

I was getting boot loop every time I tried to factory flash mdb08i from https://developers.google.com/androi...s/images?hl=en on my Nexus 5X. I flashed this build more than 5 times and let the device run 20+ minutes during boot animation.

I generally used method 2 from Nexus 5 tutorial since that was the tutorial I used on my Nexus 5:


Code:


fastboot flash bootloader C:\image-hammerhead-krt16m\bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:\image-hammerhead-krt16m\radio.img
fastboot reboot-bootloader
fastboot flash system C:\image-hammerhead-krt16m\system.img
fastboot flash userdata C:\image-hammerhead-krt16m\userdata.img
(Note: this command will wipe your device (including \sdcard), EVEN if your bootloader is already unlocked.)
fastboot flash boot C:\image-hammerhead-krt16m\boot.img
fastboot flash recovery C:\image-hammerhead-krt16m\recovery.img
fastboot erase cache
fastboot flash cache C:\androidimage\cache.img


However, the missing piece that solved my boot loop was to also run this command at the very end

Code:


fastboot flash vendor vendor.img

I normally have a batch script that runs all the commands for me.

How I found out about flashing vendor.img:
I found this issue only after I factory flashed mdb08i that I accidentally immediately flashed chainfire's modified mdb08i boot image for enabling root. After flashing chainfire's modified mdb08i, my Nexus 5X passed the boot animation but gave "Internal device error". So I looked up the error and found this thread: http://forum.xda-developers.com/nexu...xus-9-t3112827

I also tried other methods as mentioned in this thread but no luck with it on my end but perhaps will help others: http://forum.xda-developers.com/nexu...image-t2527382

Hope this help others who are also stuck on boot loop after flashing mdb08i on their Nexus 5X.



Gen 4 Tablet 6" Red Triangle and Fastboot not working



Tablet boots to red triangle
I can get past this by holding volume up + power, but have to do it every time.
Not rooted
did the factory reset
Have adb and fastboot, adb sees the serial number
Bought a fastboot cable, but does the exact same thing, from Atomic Market
http://www.amazon.com/gp/product/B00...ilpage_o00_s00

Now what do you suggest?
thanks



Bootloop and unable to get into TWRP recovery after flashing with fastboot



I installed an older version of TWRP and accidentally wiped all data. Now there is no OS installed and normal booting results in bootloop.
But when I hold power and volume button, I always get fastboot instead of TWRP recovery. I tried flashing twrp-2.8.7.0-cancro.img but I still get booted into fastboot instead of TWRP recovery.
I tried unplugging USB cable, then rebooted normally and then rebooted with volume and power buttons but couldn't get TWRP loaded.
Is there a way I can get back my Mi4i to MIUI, or get TWRP recovery working?



Friday, 23 October 2015

Obtaining fastboot on the Lenovo A3000/S6000H



Hi there,

I'm trying to connect to my Lenovo S6000H via fastboot, but instead of getting a response from an OEM command, like dmesg, I get:


Code:


$ fastboot oem dmesg
...


just an elipsis? Has anyone else got fastboot working on their Lenovo tablet? (holding down power + vol+ and selecting '[FASTBOOT mode]' will allow you to enter fastboot)

EDIT: Yes, I have the correct udev rules – using 'fastboot flash' works, just not fastboot oem.



Fastboot vars dump



I'm not sure if this will help developers in creating custom images, but there's lot of info here. I find it interesting that the device name is NOT BLU-related.....it's the GIONEE6795_LWT_L1


$ fastboot getvar all
(bootloader) max-download-size: 0x8000000
(bootloader) partition-size:flashinfo: 1000000
(bootloader) partition-type:flashinfo: raw data
(bootloader) partition-size:userdata: 32000000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:cache: 1a800000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:system: b3800000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:tee2: c60000
(bootloader) partition-type:tee2: raw data
(bootloader) partition-size:tee1: 500000
(bootloader) partition-type:tee1: raw data
(bootloader) partition-size:expdb: a00000
(bootloader) partition-type:expdb: raw data
(bootloader) partition-size:frp: 100000
(bootloader) partition-type:frp: raw data
(bootloader) partition-size:logo: 800000
(bootloader) partition-type:logo: raw data
(bootloader) partition-size:para: 80000
(bootloader) partition-type:para: raw data
(bootloader) partition-size:secro: 600000
(bootloader) partition-type:secro: raw data
(bootloader) partition-size:recovery: 1000000
(bootloader) partition-type:recovery: raw data
(bootloader) partition-size:boot: 1000000
(bootloader) partition-type:boot: raw data
(bootloader) partition-size:lk: 60000
(bootloader) partition-type:lk: raw data
(bootloader) partition-size:seccfg: 40000
(bootloader) partition-type:seccfg: raw data
(bootloader) partition-size:protect2: a00000
(bootloader) partition-type:protect2: ext4
(bootloader) partition-size:protect1: a00000
(bootloader) partition-type:protect1: ext4
(bootloader) partition-size:nvram: 500000
(bootloader) partition-type:nvram: raw data
(bootloader) partition-size:proinfo: 300000
(bootloader) partition-type:proinfo: raw data
(bootloader) partition-size:preloader: 40000
(bootloader) partition-type:preloader: raw data
(bootloader) off-mode-charge: 1
(bootloader) warranty: no
(bootloader) unlocked: yes
(bootloader) secure: no
(bootloader) kernel: lk
(bootloader) product: GIONEE6795_LWT_L1
(bootloader) version: 0.5
all: Done!!



Nexus 5 Stucked in Fastboot Mode



Hi,

I have a Nexus 5 (d820) stucked in fastboot mode.

After doing some research, I got the TWRP working as recovery.

When I try to wipe, or flash any rom, even the original ones, I got some errors regarding read-only partitions.

I can LOCK and UNLOCK the boot at will... I can access fastboot/adb, etc...

How can I be sure my memory is defective? (I know it is probably the problem)

Anyone tried to replace the memory? (No warranty anymore)

Thanks for any help!



Troubleshooting eMMC with fastboot or adb.



Hi guys,

My Nexus 5 (hammerhead D821 (E) ) died on me two day ago. It's showing the google logo without any progress and then restarts itself.

I can boot into bootloader from the device. If I issue <adb devices> command it won't show any devices however when using <fastboot devices> it finds the device's ID.

My devices was running the latest official marshmallow 6 when it happened (it was working just fine for more than a week).

Currently my device is in <lock state - Locked> I tried issuing <fastboot oem unlock> command without any success. The phone would run the command shows the <lock state - Unlocked> then it shows <erasing...> (I left the phone for 10Hours, no change) .

It won't finish nor respond unless I reboot the device into bootloader again.

I'm using the google USB drivers and universal drivers for my phone, they seem to be working, showing as android bootloader interface in my system (win7). I can't boot into recovery mod from the bootloader it will just show a black screen until I restart the phone.

I'm suspecting my eMMC is dead, my knowledge with adb and fastboot is limited, I would appreciate to hear your feedback regarding the issue.

Is there are way I can run some low level diagnostics commands to understand if its dead?

Can I revive my phone in anyway as I can't flash anything at the moment while the device is in <lock state - Locked> .

Waiting to hear from the experts =) thanks in advance guys!
Alex



Thursday, 22 October 2015

Cannot access fastboot phone reboots into recovery



As the title says my phone will just reboot into twrp recovery and give me a black screen. Is there anyway i can make it boot normally or just boot into fastboot so that i can flash stock recovery? phone was working correctly and i had this problem when i tried to make a factory reset.



Wednesday, 21 October 2015

Fastboot doesn't recognize my Asus zenfone2 on my ubuntu14.04



On the normal boot mode, my Asus zenfone2(ZE551ML) running android 5.0 is listed when I type adb devices. Then, I put the phone to the fastboot mode by adb boot bootloader. When the phone is already entering the fastboot mode, fastboot devices returns no result. But, lsusb listed the device's details including vendorid, productid, and device name.

I have tried to modified the 51-android.rule, run fastboot as root, change owner of the /dev/bus/usb/, re-install and update the android-tools. But my ubuntu still can not detect the zenfone2 on fastboot mode.

Moreover, I connect my other phone(Redmi2) which also on fastboot mode and it can be detected seamlessly. Also,when I tried to connect the zenfone2 to other ubuntu PC, it can be detected.

Has anyone ever encountered and solved the similar problem? Or perhaps have an idea what is the potential cause?

Any help will be appreciated! Thanks.