Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,547 Members 45,474 Now Online
XDA Developers Android and Mobile Development Forum

Unable to boot

Tip us?
 
JunkTardis
Old
#1  
JunkTardis's Avatar
Junior Member - OP
Thanks Meter 3
Posts: 13
Join Date: Jan 2013
Location: Hereford

 
DONATE TO ME
Default Unable to boot

Okay so this is my first thread here, so I apologize if this has already been covered. My problem is this.

I have an unlocked bootloader and TWRP recovery installed. I installed VenomROM without a hitch. Phone has been working superbly for the entire time. I decided in developer options to give ART a try, so I switched from Dalvik to ART. The phone requested that I reboot the device, so I did. But now the device refuses to boot into the OS at all. The HTC splash screen comes up, then the ViperONE bootscreen and it just hangs on this. If I do a hard reset using the power and vol up key to reboot, it just repeats the procedure over again. If I leave it for a prolonged period it doesn't do anything, just stays hanging. I have connected it via USB and tried using fasboot recovery commands and fastboot bootloader commands but it just says 'error device not found'.

Is there any way to enable Dalvik through USB or reboot back into TWRP?

Essential info:

HTC One M8
Latest TWRP Recovery
USB Debugging (Not enabled, cant enable it if I cant get into the phone)
 
jaythenut
Old
#2  
jaythenut's Avatar
Senior Member
Thanks Meter 1472
Posts: 5,066
Join Date: Sep 2012
Quote:
Originally Posted by JunkTardis View Post
Okay so this is my first thread here, so I apologize if this has already been covered. My problem is this.

I have an unlocked bootloader and TWRP recovery installed. I installed VenomROM without a hitch. Phone has been working superbly for the entire time. I decided in developer options to give ART a try, so I switched from Dalvik to ART. The phone requested that I reboot the device, so I did. But now the device refuses to boot into the OS at all. The HTC splash screen comes up, then the ViperONE bootscreen and it just hangs on this. If I do a hard reset using the power and vol up key to reboot, it just repeats the procedure over again. If I leave it for a prolonged period it doesn't do anything, just stays hanging. I have connected it via USB and tried using fasboot recovery commands and fastboot bootloader commands but it just says 'error device not found'.

Is there any way to enable Dalvik through USB or reboot back into TWRP?

Essential info:

HTC One M8
Latest TWRP Recovery
USB Debugging (Not enabled, cant enable it if I cant get into the phone)
best thing is go to recovery factory reset and flash viper again
get to recovery by power vol down just in case you dont know
The Following User Says Thank You to jaythenut For This Useful Post: [ Click to Expand ]
 
strikerdj2011
Old
#3  
strikerdj2011's Avatar
Senior Member
Thanks Meter 173
Posts: 571
Join Date: Jan 2011
Location: Galashiels (Scotland)

 
DONATE TO ME
Quote:
Originally Posted by JunkTardis View Post
Okay so this is my first thread here, so I apologize if this has already been covered. My problem is this.

I have an unlocked bootloader and TWRP recovery installed. I installed VenomROM without a hitch. Phone has been working superbly for the entire time. I decided in developer options to give ART a try, so I switched from Dalvik to ART. The phone requested that I reboot the device, so I did. But now the device refuses to boot into the OS at all. The HTC splash screen comes up, then the ViperONE bootscreen and it just hangs on this. If I do a hard reset using the power and vol up key to reboot, it just repeats the procedure over again. If I leave it for a prolonged period it doesn't do anything, just stays hanging. I have connected it via USB and tried using fasboot recovery commands and fastboot bootloader commands but it just says 'error device not found'.

Is there any way to enable Dalvik through USB or reboot back into TWRP?

Essential info:

HTC One M8
Latest TWRP Recovery
USB Debugging (Not enabled, cant enable it if I cant get into the phone)
there is 2 flashable zips in nexus 5 forum to swap between dalvik and art cant see why they shouldnt work can all ways ask and just side load them and flash them in recovery
Phone - HTC One M8 Grey

Network - Vodafone Uk

Rom - SinLessROM GPe v3.2.0 | Google Play Edition | 4.4.4

Kernel - SinLessKernel v2.1.2

Overclock - 2.5 ghz all 4 cores



Past Android Phones

Htc Desire / Htc Desire HD /Samsung Galaxy S1 / Samsung Galaxy S2 /

Samsung Note 1 / Htc One X / Htc One X+ / Samsung Note 2

Galaxy S4 / Huawei P6 / Nexus 4 / Htc One / Nexus 5
The Following User Says Thank You to strikerdj2011 For This Useful Post: [ Click to Expand ]
 
JunkTardis
Old
#4  
JunkTardis's Avatar
Junior Member - OP
Thanks Meter 3
Posts: 13
Join Date: Jan 2013
Location: Hereford

 
DONATE TO ME
Quote:
Originally Posted by jaythenut View Post
best thing is go to recovery factory reset and flash viper again
get to recovery by power vol down just in case you dont know
That did not work at all, the entire phone was completely frozen on the Venom bootscreen. I did manage with some fiddling to get into Recovery. I did Power+VolUp to force reboot the device, then when the screen went black very quickly switched and did Power+VolDown to enter HBOOT and go to TWRP from there. Painstaking, and took a few goes. Luckily I still had my VenomRom on the USB Stick and after trying multiple different options in TWRP I made sure I had a backup of my data, and reinstalled Venom fresh with a full wipe. I tried doing just an install over it, as that's worked in the past - but the issue persisted. A full wipe was required.

For future until this bug is resolved, if you want to try ART on the One M8 with Venom, make sure to have a nandroid backup to hand as always. Mine was 2 days out of date, but no real loss to me

Thanks for your help!
 
graffixnyc
Old
#5  
graffixnyc's Avatar
Forum Moderator / Recognized Developer
Thanks Meter 4594
Posts: 5,513
Join Date: Jan 2011
Location: New York City

 
DONATE TO ME
Do an adb pull you should still have adb access at the boot screen.
/data/property/persist.sys.dalvik.vm.lib is a textfile containing one of two values: 'libart.so' or 'libdvm.so'. You can change from ART to Dalvik simply by editing this file.

Ex: adb shell 'echo libdvm.so >/data/property/persist.sys.dalvik.vm.lib'

It's because deodexed roms can't use art

Sent from my HTC One_M8 using Tapatalk

One day some of the kids from the neighborhood carried my mother's groceries all the way home. You know why? It was outta respect." -Henry Hill

Devices:
 


Current Phones:
HTC One M8 Gray 32GB + 128GB SD
Oppo Find 7a 16GB + 64GB Card
OnePlus One

Current Tablets:
Sony Z Ultra GPe (Phone but use as a tablet)
Samsung Galaxy Note 10.1 2014 Edition 32gb


All new members should watch this:
http://www.youtube.com/watch?v=JmvCpR45LKA


Follow me on twitter! http://www.twitter.com/graffixnyc

G+: http://gplus.to/graffixnyc
The Following User Says Thank You to graffixnyc For This Useful Post: [ Click to Expand ]
 
JunkTardis
Old
#6  
JunkTardis's Avatar
Junior Member - OP
Thanks Meter 3
Posts: 13
Join Date: Jan 2013
Location: Hereford

 
DONATE TO ME
Quote:
Originally Posted by graffixnyc View Post
Do an adb pull you should still have adb access at the boot screen.
/data/property/persist.sys.dalvik.vm.lib is a textfile containing one of two values: 'libart.so' or 'libdvm.so'. You can change from ART to Dalvik simply by editing this file.

Ex: adb shell 'echo libdvm.so >/data/property/persist.sys.dalvik.vm.lib'

It's because deodexed roms can't use art

Sent from my HTC One_M8 using Tapatalk
That has actually helped me, and I appreciate it. I'm relatively experienced and comfortable in doing a lot of Android things such as bootloader unlocking and editing system files but I had no clue that deodexed roms can't use ART. I should submit a warning to the VenomDevs to grey out or hide the option in Developer Options or at least provide a warning
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes