yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
Hi, i've bought an htc one m7 stuck in bootloader, trying to fix it.. this is what I see in bootloader

** TAMPERED **

** UNLOCK **

** Security Warning **

M7_U PVT SHIP S-ON RH

HBOOT-1.57.000

RADIO-4T.28.3218.04

OpenDSP-V32.120.274.0909

eMMC-boot 2048MB

i've tried to unlock bootloader, succesfully and after the reboot it access directly in twrp 2710 recovery (maybe the previous owner flashed it)..

so, i go in advanced, then in adb sideload to transfert a custom rom (eg. revolution) but my phone switch off the screen and my pc try to install qhsusb_dload driver, without success.. so, I press the power button for 20sec (circa) and switch off completly.. and back again in bootloader, that relock automatically every reboot...

how can i fix it? :crying:

Thanks!
[One (M7) Q&A, Help & Troubleshooting] clsA:
Unlock bootloader

flash TWRP 2.6.3.3

Enter TWRP / Wipe / Format Data / Type yes

Reboot to Recovery and push the rom to the phone

adb push rom.zip /sdcard/

Install / rom.zip
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
the problem is that a cannot flash twrp .. how can i do it?

When i unlock the bootloader through the unlock_code.bin (taken from htcdev) the phone reboots automatically in recovery twrp 2.7.1.1 .. and if i reboot the phone again in bootloader it's again in RELOCKED mode.. :(
[One (M7) Q&A, Help & Troubleshooting] clsA:
when it boots to TWRP just follow the rest of the steps
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
If i do a wipe from twrp it says "unable to mount /cache" and "unable to mount /system".. Anyway.. After this wipes have I to reboot again in the same recovery? And then? When have I to type adb commands?
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
tried it .. but "unable to mount /system /data /cache" .. and when i do reboot>recovery .. the phone doesn't reboot.. it switch down and i have to press for 10-15 seconds to switch completly off.. and than again in relocked bootloader.. :rolleyes:
[One (M7) Q&A, Help & Troubleshooting] clsA:
post your fastboot getvar all

maybe you can flash stock recovery and factory reset
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
Í

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.57.0000

(bootloader) version-baseband: 4T.28.3218.04

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: ***********

(bootloader) imei: ****************

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: TIM__401

(bootloader) battery-status: good

(bootloader) battery-voltage: 4311mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-6d8a0b9b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.201s

Thank you!

Ah.. Another thing that I have noticed is that in twrp the driver isn't installed by windows.. In "device management" I see a "one" device with a yellow exclamation (I've installed htc sync) .. Windows can't find any compatible driver in my PC.. if i look into hardware details, this is the id:

USB\VID_18D1&PID_D001&REV_0228

EDIT: about the driver i've installed it modifying android_winusb.inf adding this lines:

in x64 section .. i don't know if i done it well but now when i'm in twrp windows recognize phone, seen as "Android Phone - Android Composite ADB inteface" without the exclamation mark and if I do "adb devices" in prompt it sees my device (seen as it's serial number) and near it "recovery"..

P.S. Why every time the phone is rebooted it relock the bootloader automatically and I have to unlock again to access the recovery? :(
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Do you remember your Version Main only its not present in the getvar?
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
Nope.. I've bought this phone as it is.. :/
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Well I'm thinking flashing a firmware package may help, But i just can't find anything. What is country of Origin, Italy?
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
Yes, Italy.. But reading around, in Italian forums it seems that there isn't any ruu for cid tim__401 ..

EDIT :

I don't know if this one could help but here http://www.androidiani.com/forum/modding-htc-one/405113-ritorno-stock-tim.html

there is a TIM backup (he says already rooted) android version 4.4.2..
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
up :(

if i try to do this from recovery (using a cm11 rom)

screen switch off and windows tries to install qhsusb_dload drivers..

any ideas? :crying:

Could i try with an otg cable?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
You need to flash a firmware package, or at very least a stock recovery. I have searched all over the net but I can't find any thing not even an OTA.zip

I think your version main would be 5.12.901.3 since that appears to be the latest version with hboot 1.57. But there simply aren't any files for that.

Best suggestion I have for now is, as your able to unlock. Unlock the bootloader

fastboot flash unlocktoken Unlock_code.bin
fastboot erase cache
fastboot reboot-bootloader

and flash an unbranded stock recovery this one maybe https://www.androidfilehost.com/?fid=95864024717070745

Then use that to do a factory reset. Reboot and see if its locked. If it is unlock again with

fastboot flash unlocktoken Unlock_code.bin
fastboot erase cache
fastboot reboot-bootloader

Check to see if problem is resolved.
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
I'll try later..

But, every time that I unlock bootloader the phone automatically goes in recovery, so I can't type the second command "fastboot erase cache", because if I reboot again in bootloader is again relocked.. :/
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Ok I see, only option is to flash firmware then since that can be done while it's relocked. First we need to find it
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
And then it's the only way? If i try using an otg cable flashing a cm11? Could I do more damage?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
But how can you boot a custom rom with a relocked bootloader? Are you able to unlock flash a rom then boot to Android? Or does it relock when you reboot after flashing the rom?
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
But when I unlock bootloader and the phone reboots directly in recovery, in that session, while I'm in recovery, they bootloader isn't unlocked?

I've never tried to flash a rom because adb sideload or adb push seems that don't work..
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
It must be unlocked otherwise the custom recovery wouldn't load. So you could push and install a rom, but after its installed the rom you will need to reboot. If the bootloader locks it won't boot the custom rom.

You could also try to dd (direct dump) a stock recovery while your in custom recovery. Maybe that would help?
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
Tell me what I could try.. :(

Also, why bootloader is automatically relocked every reboot? It couldn't be possible that once the rom is installed the bootloader don't relock automatically again?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Download the 401 Stock recovery I linked previously. Put the .img file in your fastboot folder and rename it recovery.img if required.

Now Unlock the bootloader so it boots to TWRP connect your USB cable and test adb is working with

adb devices

If you get the expected output push the recovery file to your sdcard with

adb push recovery.img /sdcard

Now we can dd (direct dump) the recovery with an adb shell right from the sdcard with

adb shell

su

dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p34

exit

Now reboot the phone and Unlock if needed select recovery from the bootloader menu. The screen will turn black for a short time then display an image of a phone with a red exclamation. This is normal Hold Volume UP and press power to reveal the stock recovery menu, you can ignore the errors about mount sdcard thats also normal in stock recovery. Select Factory Reset from the menu When its done reboot. If it come back still relocked Unlock it once more hopefully for the last time :fingers-crossed:
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
First step.. Abd push.. Protocol failure...

:(

I could try using Ubuntu?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Yeah should work fine with ububtu. Protocol failure is normally outdated adb. But if you have ubuntu with adb and fastboot working definitely try with that :good:
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
Oky.. I'm downloading Ubuntu and I'll install it.. But where I download newest working adb and fastboot for Ubuntu 14.04? (sorry if I'm so ignorant)..
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Use my guide here, it's better to use ubuntu 12.04 32bit. Links in the guide ;)

http://xdaforums.com/showthread.php?p=54272479
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
Lol... I'm installing ubuntu 14.04 x64 right now.. Ok.. When the installation finishes I'll create a bootable usb and I use it as live ubuntu..
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
"adb devices" works

But

"adb push recovery.img /sdcard "

Nothing happens.. Waited 5 minutes but nothing.. No error.. Nothing.. :/

Edit: after some minute

error: protocol fault (no status)
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Ok try to copy the recovery to the sfcarx with otg if you have one. Then dd it with adb shell? I'm running out of ideas here, you said you found a link to a 4.4.2 stock Rom is the download still available all I can find are dead links. The nandroid want be any use to you but I may be able to use it to capture the Firmware you need.
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
Edit: double post
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
... Neither usb-otg drive is read.. :crying: ...

This is a TIM 4.4.2 sense 6 backup..

https://mega.co.nz/#!sAgmhKpA!TigTATX39ebL5NtKsnFRhG9-oihjFSz7IprWEPPlQxU

But in the Italian thread that I linked you previously there are other zip roms..if could interest you.. (1.28.401.7 and 6.09.401.5)

I'll come where you are and I'll kiss you if you help me in solving this big treble..!
[One (M7) Q&A, Help & Troubleshooting] clsA:
Here's an idea ...

flash this TWRP_2.6.3.3_m7_renovate.zip from TWRP and see if it sticks

https://www.dropbox.com/s/fnzfecuv8vio2u5/TWRP_2.6.3.3_m7_renovate.zip?dl=0

This one is the Stock Recovery from 6.07.1540.1 Developers Edition

https://www.dropbox.com/s/b6dry4fmjmkmohi/Stock.recovery.6.07.1540.1_m7.zip?dl=0

Same thing flash from TWRP / Install

So you know you can open those in 7zip and insert any recovery file you want and save it
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
Thanks, but.. How could I flash that zips? Adb doesn't work (push and neither sideload) .. Otg neither.. :/
[One (M7) Q&A, Help & Troubleshooting] clsA:
Here update your adb and try the push from it's directory

https://www.dropbox.com/s/suryx0pty48aotx/adb-setup-1.4.2.exe?dl=0
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
Updated adb and fastboot.. Nothing.. With the command

adb push TWRP_2.6.3.3_m7_renovate.zip /sdcard

.. Nothing happens, as in ubuntu..
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Well just so you know I'm downloading the TIM nandroid now. I can flash it and change my cid to TIM__401. Hopefully that will be enough for me to get the OTA download. Then I can extract the firmware you need :fingers-crossed:
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
I don't know what you are exactly doing now (I belive the .exe file?).. But i trust you.. *.* :fingers-crossed:
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
This backup is CWM or TWRP backup ? I think its a CWM backup but best to make sure
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
I don't know... In that thread to flash that backup they say that have to install philz touch 6.07.9 recovery.. It could be?

Edit: this is that recovery download link

https://dl.dropboxusercontent.com/u/14254858/philz_touch_6.07.9-m7ul.img

However, take a look directly in the first post of this thread..

http://www.androidiani.com/forum/modding-htc-one/405113-ritorno-stock-tim.html

Despite is in Italian, i think that you understand more than me..
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Looky what I found :) :good:

Downloading the OTA now, When its done i can extract the firmware.zip and upload it for you ;) Then you can flash the firmware and finally unlock your bootloader :D
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
But, i flash it through fastboot, right?

Ok, you'll tell me what i have to do.. But now, I'm loving you, despite I don't know if we'll have success.. :D
[One (M7) Q&A, Help & Troubleshooting] alray:
Just to let you know that I have experienced a "Protocol failure" last week when pushing one of my nandroid (using latest sdk and drivers). It was caused by a loose usb port on my computer. So maybe trying a different usb port or cable could help.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
[MENTION=4362670]Angel2k6[/MENTION]

The firmware is uploading here are instructions for flashing. I will edit this post to include the link to the firmware. After you have flashed the firmware go to www.htcdev.com and go through the Unlock My Bootloader process again to get a new Unlock_code.bin then use it to Unlock your bootloader :good:

Download this 6.10.901.5.zip https://www.dropbox.com/s/d2ilioaf6hy5pc8/6.10.901.5.zip?dl=0 put it in your fastboot folder.

Boot your phone to the bootloader and connect fastbootusb, Now in the fastboot command line type

fastboot erase cache
fastboot oem rebootRUU

--- case sensitive ---^^^

Your phone will reboot to a black screen with silver HTC logo. This is ruu mode we can now flash the firmware.

fastboot flash zip 6.10.901.5.zip

The first flash is just a pre-update. The screen will go off and then return to ruu mode. Flash the zip again immediately.

fastboot flash zip 6.10.901.5.zip

The second flash will flash the firmware, the progress bar on the screen will not reach 100% this is normal ;) as long as the command line has finished it's output it's done.

fastboot reboot-bootloader

Now unlock with a new Unlock_code.bin :)
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
I have done all that you said me.. But after the last step, in unlocking bootloader, the phone rebooted and I'm in this situation!

What have I to do now? O.O

View attachment 3122230
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Thats the stock recovery :) Hold Volume up and Press the Power button to see the menu. Factory reset and Reboot the phone it probably wont boot because you need to flash a rom but first check bootloader unlocks ok ;)
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
Holding volume up and pressing power button lead me in this situation.. And is "stuck" there..

Any menus appear..

View attachment 3122235
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Hold Power until Phone shuts off and reboot
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
It's the same..

Nothing.. :(
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
What Happens if you manually load the stock recovery from the bootloader menu?
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
And now I can access only recovery.. Nothing in bootloader .. I don't know if i have to lough or to cry.. :D
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
How could I access bootloader right now?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
So it boots directly to the recovery even if you hold Volume down + Power?
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
Nope.. Now doesn't boot neither in recovery.. :crying: ..
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
:( Nothing at all, what about when connected to your pc does the pc detect anything?
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
Qhsusb_dload ... :(
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Well you can try this http://xdaforums.com/showthread.php?t=2770684

I'm not sure it will help though. It seems like the mainboard has failed. Normally the reason for qhsusb_dload :(
[One (M7) Q&A, Help & Troubleshooting] Angel2k6:
I will try tomorrow.. But i don't think that will work.. Do you think that a jtag could fix the problem?
[Sony Xperia E3] vinay:
I am have problems with album app which came with device. I,ve updated it to latest but problem is still thare. The problem is that images open as black and even thumbnail are black or yellow lines. See screenshot attached.
[Sony Xperia E3] vinay:
Solved after 4.4.4 update.
[XDA Assist] Darth:
Hi,

All I can suggest is checking related apps on the play store. You can ask about it here,

> Android Development and Hacking > Android Q&A, Help & Troubleshooting

But you seem to be asking for a fairly complicated solution... You may be overestimating the capabilities of a phone app.

Perhaps I'm wrong, so feel free to ask in the section I linked.

Good luck!
[XDA Assist] IODroids:
Can you suggest me 2 different applications for this.

I am looking for solutions either paid or free
[XDA Assist] Darth:
I've never used such apps. Again, ask where I've suggested, or try a google search... Or browse relevant apps on the play store. ?
[XDA Assist] IODroids:
Can you please move my topic there
[XDA Assist] Darth:
We keep Assist threads here, you can copy your opening post contents and make a new thread in the section I linked. ?
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] mangurian:
Nothing on this came up for the note 10.1 specifically. I use an 8013 with Gnabo v8 KitKat installed.

When my N8013 reaches full charge, I get a message telling me to unplug it. Why ? (Is this just a stupid message or is there really a reason?)

If I am not going to be using the tablet, are there any differences (in battery life, recharge numbers, etc)

caused by keeping the charger on or not?

I have seen many opinions on L-I batteries in general, but nothing specific to the SAMSUNG charger and note 10.1 (2012).

I am looking for something beyond "I do this" or "I believe."

Anybody out there have some tech knowledge on this ??

Many thanks.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] jimyv:
I know on my 8013 with the old bootloader and Kit Kat it will not charge powered off and often acts funny while charging anyway. I personally cycle my batteries on all devices from full to empty and have not had any battery replacement problems..

the last time I attempted to leave one plugged in all the time was a cheaper phone a couple of years ago and the battery swelled up and almost exploded. Besides the normal dangers of just having a plug in hanging out of your device all the time could wear out your socket. I like my device too much to leave it plugged in all the time and take a risk. & I do believe it would be a risk IMO.

now I use a kernel and it allows modification of charging amperage and that may help to lower that for constant plugin and I would feel safe when I have my tablet in my vehicle and plugged in to a low or trickle charger on a mount and leaving it constant. But personally under normal use and not dash mounted I would never consider leaving it plugged in constant. You should try it and report back any hardware damages jk. I have not read of any..

and you're just asking besides like the common sense things ?like saving energy ?, or reduceing heat passing through your charger and device, because of constant electricity flow, remember the more heat you are causing in piece of equipment the more damage and wear and less overall time you get out of that device whether it be a charger, battery, circuit board etc.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] mangurian:
Thanks for opinion.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] jimyv:
well of course they are designed to stop charging when they are 100%. the real question is how far down will it allows to discharge before it starts charging again? My experience is almost none ...you'll never see it leave a hundred percent. so basically you're charging all the time and cycling the charger unit . you have also modified your device and even unmodified ones there are no guarantees such as life. And anything plugged into a plugin is using some amount of current. And I have burned up several chargers through many devices by leaving them plugged in to the devices for extended periods of time while in use.I can say for certain leaving them plugged in constantly you are going to be buying chargers at the very minimum.

for me if Samsung is asking me to do this it is because they have it designed into their product for longevity reasons. They have millions upon millions of hours invested into wear dating these products used in a specific manner Who am I to try to reengineer the wheel. to me it's not even an arguable discussion do what's your opinion wishes you to do. Again I'm sure they know more than you..about what's best for their devices. For if longevity only.

I'm sure if you needed a detailed analysis of what's going on with your hardware when you're plugged in maybe Samsung technical hotline could be assistance to you. Seems to be more of a hardware engineer question to me..imo

of course with root privileges you can pretty much set up any charge schedule you would like to do as far as when to begin charging when to shut off charging screen off screen on etc and how much amperage you wished to consistently charge..

so basically if you are going to use the device against the design. (portable) then you should probably set up your own charging parameters and behaviors. To extend your device life. For example when I have mine in dock position in my vehicle .it is set to only charge 1 amp from charger key on power only and screen on while charging . And this allows my device to cycle on the battery when vehicle is not running. Reduces heat in my unit. and does not burn up my chargers
[MDA Compact II Software Upgrading] TheGiant:
Look here:

http://www.t-mobile.de/privat/0,1788,13082-_,00.html

First you must scroll to the right under "Klingeltöne und mehr", click on "Software / Konfigurationen" and then on "Geräte-Software".

So, the Cracks can cook a full functionally unbranded AKU 3.3 rom...

Greets
[MDA Compact II Software Upgrading] youser:
Wow, I never expected this to happen.

Here's the link:

-> http://www.t-mobile.de/downloads/t-...ku3.3_38222_382117_026921_tmo_de_ger_ship.zip
[MDA Compact II Software Upgrading] sloba:
yeah,very nice,but what about english rom,nothing yet on uk domain
[MDA Compact II Software Upgrading] volkir:
Right, i'm waiting for english version too....
[MDA Compact II Software Upgrading] jfran:
So what are the upgrades and changes my german friends

rgds

Jim
[MDA Compact II Software Upgrading] Oszi:
http://msmobiles.com/news.php/5857.html
[MDA Compact II Software Upgrading] Oszi:
Language Pack Installation

Language Pack Installation for Pocket PC

The Language Pack installation application runs within the Update Loader on first boot of a device and enables that user to select the OS language. This feature allows partners to build single ROM images and SKUs that can be targeted at multiple regions. All other languages are deleted from memory after booting in the selected language

This is an aku3.3
[MDA Compact II Software Upgrading] nocturne.op.15:
hmm, i wasn't trying this rom, but IMHO this rom will not containt multilanguage option. simply because it was not distributed through t-mobile sites all over the world in the same time.

remember this is just an option - and therefore it will be used only for devices that are widely sold all over the world, probably not for out charmers.