Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTC U11+ problem with boot #11

Closed
sardroid opened this issue Mar 28, 2018 · 96 comments
Closed

HTC U11+ problem with boot #11

sardroid opened this issue Mar 28, 2018 · 96 comments

Comments

@sardroid
Copy link

HTCU11+ with v14 - flashing fine, after flashing the charging lamp lights up, but it's still hanging on the Android logo. After factory reset charging lamp lights not up and phone still ganging on the Android logo. When I try to do logcat in fastboot shows: waiting for device. Maybe I'm gonnaflash TWRP and then I'll try?

@phhusson
Copy link
Owner

Does adb devices -l see the device?
With TWRP, you can read logs from /proc/last_kmsg so that can be useful

@sardroid
Copy link
Author

I flashing the system.img with the command: fastboot -S 512M flash system system.img

@sardroid
Copy link
Author

c:\fastboot>adb devices -l
List of devices attached
FA7CC1E00017 unauthorized

@sardroid
Copy link
Author

I did not do a factory reset. Only reboot.

@sardroid
Copy link
Author

Flashing TWRP now to make a logcat?

@phhusson
Copy link
Owner

Yeah, you can try reading /proc/last_kmsg or /sys/fs/pstore/* from twrp

@sardroid
Copy link
Author

TWRP flashed. How to make a logcat in it?

@sardroid
Copy link
Author

I'm sorry, but I have not done it yet.

@sardroid
Copy link
Author

c:\fastboot>adb logcat
logcat read failure

c:\fastboot>adb shell cat /proc/last_kmsg
cat: can't open '/proc/last_kmsg': No such file or directory

@sardroid
Copy link
Author

Do I need root?

@phhusson
Copy link
Owner

no you don't need root. anything in /sys/fs/pstore?

@sardroid
Copy link
Author

c:\fastboot>adb shell /sys/fs/pstore
/sbin/sh: /sys/fs/pstore: Permission denied

@sardroid
Copy link
Author

Maybe the factory reset will help?

@sardroid
Copy link
Author

Only then that the charging diode goes out.

@phhusson
Copy link
Owner

ls /sys/fs/pstore

@sardroid
Copy link
Author

c:\fastboot>adb shell ls /sys/fs/pstore

c:\fastboot>

and nothing happens

@sardroid
Copy link
Author

c:\fastboot>adb shell ls /sys/fs/pstore
error: device unauthorized.
This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.

@sardroid
Copy link
Author

after factory reset:
c:\fastboot>adb devices -l
List of devices attached
FA7CC1E00017 unauthorized

@phhusson
Copy link
Owner

Right, you'll need a system.img with force authorized adb. I'll give you that in a few hours.

@sardroid
Copy link
Author

Great news:) Thank you.

@phhusson
Copy link
Owner

https://drive.google.com/open?id=1A87kqIFodmydgnzVrMEPjhkUq4B1QsUQ
This should give you access to adb

@sardroid
Copy link
Author

Thank you. After flashing, do the factory reset?

@phhusson
Copy link
Owner

it would be better to, yes

@sardroid
Copy link
Author

Oki

@sardroid
Copy link
Author

After the factory reset the phone still hangs on the Android logo and the charging diode is off.

@phhusson
Copy link
Owner

but does adb work now?

@sardroid
Copy link
Author

c:\fastboot>adb shell ls /sys/fs/pstore
ls: /sys/fs/pstore: Permission denied

@phhusson
Copy link
Owner

yeah so you got adb working. so you can adb logcat

@sardroid
Copy link
Author

adb logcat -d ?

@phhusson
Copy link
Owner

hum yeah should work

@phhusson
Copy link
Owner

https://drive.google.com/open?id=1YU4xbXUC6zRZGL2R3ULAf23ju6AME8yZ
This one also says it is an Android 8.0.0 instead of 8.1.0

@ghost
Copy link

ghost commented Mar 31, 2018

My charging LED is also always off while stuck on the Android logo, but my battery is full because I'm constantly plugged in while working in fastboot (LED works in fastboot/download)

@sardroid
Copy link
Author

I never upload a system.img without a minimum of 90% of the battery.

@sardroid
Copy link
Author

Downloading.

@ghost
Copy link

ghost commented Mar 31, 2018

BOOTED!!

@sardroid
Copy link
Author

Really??

@ghost
Copy link

ghost commented Mar 31, 2018

Latest 8.0 build seems working fine after one reboot, I went trough the setup screen fine, fingerprint and camera working, all seems stable.

Do you need logs anyway?

@phhusson
Copy link
Owner

I guess that's good news, but I'm miles away from a proper fix...

Can you dump me the content of /proc/device-tree folder?

@ghost
Copy link

ghost commented Mar 31, 2018

Regarding the other mobile data issue.

SIM card recognised fine.
It asked me to reboot when I inserted it and it asked me if I want to use SIM 1 as main sim.
It connects (I see signal bars, can call), but no mobile data.

German o2/Telefonica

Dump in a moment

@phhusson
Copy link
Owner

phhusson commented Mar 31, 2018 via email

@ghost
Copy link

ghost commented Mar 31, 2018

That took strange long to pull 14582 files
device-tree.zip

@sardroid
Copy link
Author

Affirmative-booting. @phhusson You are my hero.

@sardroid
Copy link
Author

Can I help you somehow?

@newyesor
Copy link

newyesor commented Mar 31, 2018

I have the issuse when i updated my htc u11+
I flash the treble image and it does boot.
https://drive.google.com/open?id=1YU...LAf23ju6AME8yZ
My devices is not see sd card.

How to root in this rom.

@sardroid
Copy link
Author

sardroid commented Apr 1, 2018

When I make a call, I can not hear anything in the phone. Both for outgoing and incoming calls.
@DroidAlexandra work with you?

@newyesor
Copy link

newyesor commented Apr 3, 2018

@DroidAlexandra
How to fix mobile data ?

@sardroid
Copy link
Author

sardroid commented Apr 3, 2018

@newyesor only @phhusson can help...

@edwkmho
Copy link

edwkmho commented Apr 11, 2018

File system_tmp.img provide on 11 Apr

command : fastboot flash system system.img

Result as below :
target reported max download size of 2399200000 bytes
erasing 'system'...
OKAY [ 0.293s]
sending 'system' (1488044 KB)...
FAILED (remote: data too large, 1523757300 > 1319157760)
finished. total time: 2.324s

Many thanks PHHusson. Managed to boot with the command fastboot -S 500M flash system system.img
What is not working :

  1. Mobile Network

@sardroid
Copy link
Author

@edwkmho try: fastboot -S 512M flash system system.img

@edwkmho
Copy link

edwkmho commented Apr 11, 2018

@edwkmho
Copy link

edwkmho commented Apr 12, 2018

Many thanks sardroid

@edwkmho
Copy link

edwkmho commented Apr 12, 2018

@phhusson
1.Bluetooth seems to work with connection to JBL speaker and Windows PC
2. USB-c Mic not working - when plug in phone no reaction at all.
3. Google Play Store will work for a short while then remain Download Pending, need to reboot for it to work.
4. PC cant see phone folder when connected with USB - after several factory reset PC can see the phone internal storage.
5. Fingerprint works

Do let me know if you need to capture any log.

@phhusson
Copy link
Owner

Closing since boot works now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants