yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] tdhite:
Just to be sure, not certain what you meant here:

because the only event that I should have generated was the power button (twice, obviously -- last one to reboot).

Anyway -- I went and found an older 6.00.8 build, flashed it and tried it. Same game -- this used to work, so what's changed are kernels and firmware. We all got a firmware update that also updated the touch panel -- dunno if you make use of that at all, but if so, could be that something is out of sync given that. I noted that in the main thread too, but stuff gets buried there (as you well know) from idiotic posters not reading.

Finally, regarding this:

The virtual keys stay dark.

So what we know at this point: screen timeout/wake always works, always; toggle off, then on never works; there was a firmware update and *that* is seemingly the point things fell down (you have the firmware all in the post I gave further up).

Makes no sense -- the firmware (kernel / TP) changes, if they affected us at all, would arguably apply on timeout as well.
[Sprint HTC One (M7)] Paleryder:
I dont know if this is worth anything in your convo but im on TWRP 2.6 and when the screen goes blank (times out) sometimes it will also not turn on i get a vibration if i touch the home key or back key . I start trying power and swipe my finger where the unlock area should be and it sometimes unlocks and the screen comes back on. FWIW!
[Sprint HTC One (M7)] Phil3759:
Yes, definitely a fw issue. I spent a few hours revising my sources based on your logs. HTC phones rely on main system drivers. Despite i updated kernel, things are not fixed. I will give a last look to stock ramdisk if we need some custom binaries...

But some fw just do not well support fb_blank function
[Sprint HTC One (M7)] Paleryder:
Phil I am on your recovery and it's awesome, I don't think there is a custom recovery out there that it's absolutely bug free, thanks for all the time and effort we are truly lucky to have you and your skills on our side thanks
[Sprint HTC One (M7)] tdhite:
ROM Supplied update-binary overridden by PhilZ internal version.

Hi,

A ROM supplied update-binary is not called by PhilZ, rather PhilZ is using it's internal updater to run updater-binary scripts. I'm running 6.10.2 (which is nearly identical to 6.08.9, which acts similarly).

The process:

Run ROM updater-script in TRWP or CWM that uses the format command in which the supplied update-binary executable requires only four parameters. PhilZ always error 7's out on the update.zip with this error message:

format() expects 5 args, got 4

That message is from: PhilZ-cwm6/philz_touch_cwm6/updater/install.c -- supplied here:

. . .
Value* FormatFn(const char* name, State* state, int argc, Expr* argv[]) {
char* result = NULL;
if (argc != 5) {
return ErrorAbort(state, "%s() expects 5 args, got %d", name, argc);
}
. . .

So somehow, PhilZ is using it's own internal updater functions, not the supplied update-binary in the zips. This is causing some troubles with ROM updates we've been doing.

Can you comment on that? Should we expect PhilZ to take over the updater-script functions -- if so, that's fine, but it seems somewhat inconsistent (or a bug?).

Thanks -- still the best recovery around, imho.
[Sprint HTC One (M7)] Phil3759:
Yes

---> FAQ
[Sprint HTC One (M7)] tdhite:
USB went dead at 10.2 -- this is starting to go down the TWRP path

Hi,

I'm honestly not picking nor complaining (actually working on trying to get TWRP updated) -- it's a good recovery. Alas, the last two releases of PhilZ have really taken a step backwards, imho -- first toggle screen is broken (I know -- not your fault, but still broken -- but at least that's livable). I have a sneaky suspicion the kernel we swapped when working on the toggle screen is the culprit. No matter ...

As of both the following:

philz_touch_6.10.2-m7spr.img

philz_touch_6.12.8-m7spr.img

The USB is dead -- no mount, no kernel events, no nothing. I backed off to 6.08.9 because at least that mounts USB. It requires that one manually create the /clockworkmod/backups directory (the recovery fails to create that directory if it doesn't exist on a backup), but at least it's workable.

I'll help however I can.

[Edit]: power events do show up on the USB, just no storage events at all. Either the kernel is broken, or we need a module packed in (I suspect the former).
[Sprint HTC One (M7)] Phil3759:
The only change is stock kernel updated

I can just revert to cm kernel and drop texfat module support. You just use fuse for exfat/ntfs and live in peace. Just avoid exfat as CWM is damn slow with fuse. That's why I was using texura

I can just revert to previous kernel also which was working perfectly

The gesture to turn off screen is accessory. You do not have it on TWRP. If the timer works, than it is probably enough

So, texura vs fuse?

fuse: we go cwm kernels which probably work fine

texura: we revert to previous stock kernel

If no one reports bugs + logs, do not expect anything to be ever fixed

debugging a device when you do not own it needs time, releases and active advanced users helping. Else, usually the development stops
[Sprint HTC One (M7)] tdhite:
I hear ya on the need for help / logs / etc -- I develop also. With that said, given I don't build the code right now, I can't get to debug logs, but I can provide the attached logs so there's at least something. The first is 6.08.9 which properly reports USB storage events. The second is 6.12.0, in which case the USB does not do anything regarding storage.

The process is:

1) load recovery;

2) place OTG/USB cable in place;

3) wait for USB stick to light up (to make sure it's given time to report);

4) generate recovery.log;

5) power off.

Maybe that helps? If you need debug logs -- I can try building your code in debug mode if that's what you need.

With all that said -- I am building CM11 soon to work on TWRP -- possibly I'll try to figure out the stock kernel issue with USB (it's already a bug against TWRP and sure looks like it's related to the stock kernel / modules at this point since your recovery ended up the same -- that's actually interesting news to me).

[Edit]: Hey -- I notice (diffing the logs), the build props changed as well (not just kernel). Maybe not interesting, but the working releases had:

ro.hardware=qcom

whereas the two new (failing releases) have:

ro.hardware=m7wls

Not sure that matters -- just noting (I use vim -d to diff files, dunno what you use).
[Sprint HTC One (M7)] Phil3759:
can you try to edit default.prop with correct ro.hardware and see if it fixes USB

That's surely something I changed in the cmdline passed to kernel rather

Maybe I can try to release one with just qcom like it was. I used what bootloader actually needs on the new kernel
[Sprint HTC One (M7)] Phil3759:
This is a repack using qcom hardware flag cmdline

Let me know if it fixes usb OTG

Else, I can just try to force texura module use on a cm base kernel. Should be possible...

edit: attachment removed and uploaded to main host
[Sprint HTC One (M7)] tdhite:
LOL -- was just about to unpack/repack -- glad you saved me the time!

As for the USB now -- perfect! Works like a champ. That was the issue.
[Sprint HTC One (M7)] Phil3759:
LoL

Thank you a lot for having compared and spotting that change

I will replace goo.im existing one with this

I think I will try to force load texura module on cyanogenmod kernel

That way we get the best from both worlds

Stay tuned
[Sprint HTC One (M7)] Phil3759:
6.12.8 fixed USB OTG

It is being uploaded on goo.im

Thanks [MENTION=4988866]tdhite[/MENTION] for his support
[Sprint HTC One (M7)] tdhite:
Hi, -- is it possible we missed something? The MD5 sum from the image we fixed is different than what's on the goo site -- maybe upload failed? In any event -- the one up there exhibits the same behavior so I think we didn't quite get the new copy in place.

Sorry -- 'been busy and just now downloaded the image from goo to test it.
[Sprint HTC One (M7)] Phil3759:
very wired

The date is new but when I download it too it is the old one

Seems goo.im didn't refresh my upload correctly

deleted and reuploading now

:good:

edit:

Now it seems the good one there
[Sprint HTC One (M7)] aedon:
I was wondering if it was possible to integrate the charging animation from the htc one (hboot 1.55+)

Its a somewhat full screen battery that shows percentage of charge along side the charging animation.

The phone boots into the first frame of the charge as a splash then starts the animation.

Problem is that if you dont have the stock recovery the charge animation breaks.

In Twrp it goes to a black screen that stays on for like a min then turns off.

In regular clockwork it switches to a small vertical white icon sequence that plays a charge but doesnt show percent.

Is it possible to take the animation from stock and put it in here?
[Sprint HTC One (M7)] Phil3759:
I am working on the charger with m7ul

I know how to fix it, but I need time, feedback and find best option to limit maintenance load on my side
[Sprint HTC One (M7)] aedon:
Is it possible to pull out from the stock recovery or do you have to re create it
[Sprint HTC One (M7)] Rydah:
That's awesome news. I actually came here to request this also.

Sent From My HTC One! ?
[Sprint HTC One (M7)] Phil3759:
Update 6.13.1

- fix charger bug

Refresh goo in a while if it doesn't show
[Sprint HTC One (M7)] aedon:
Hkw does the charging part work, is it it's own partition or is it just a folder of images that governs it
[Sprint HTC One (M7)] Paleryder:
Phil the recovery is like butta beautiful Thanks :)

Do we have the ability to restore a twrp nandroid?
[Sprint HTC One (M7)] Phil3759:
Yes

Nandroid Settings
[Sprint HTC One (M7)] Paleryder:
Update working perfectly
[Sprint HTC One (M7)] galaara98:
Phil is it possible, practical to add a passphrase / PIN to use recovery

Case in point, my kid rebooted my phone to recovery... Cause he was bored and curious, and because of a fairly intuitive interface and useful settings (kudos to you) installed a incompatible kernel that I had in my normal download area

Not to protect from the thief or hack, just to keep idle minds out
[Sprint HTC One (M7)] rootlinux:
Hey Phil, can you get with me?

Need to ask you something.
[Sprint HTC One (M7)] Phil3759:
You can always ask here if it is device related or main thread if cwm dev related
[Sprint HTC One (M7)] rootlinux:
OMJ and I created a flashable recovery package.

We included your recovery and I wanted to get your permission to have it in there.

If not I can remove it.

It is an Aroma installer that flashes in recovery.

http://xdaforums.com/showthread.php?t=2656065

Please let me know if it is ok or you want it removed.
[Sprint HTC One (M7)] Phil3759:
Sure

No problem to redistribute my files, but just give credits and link to main thread
[Sprint HTC One (M7)] rootlinux:
I gave you credits when I made the post. Just wanted to make sure you were ok with it being included.

Thanks brother.
[Sprint HTC One (M7)] Phil3759:
Update 6.19.6

Fix charger
[Sprint HTC One (M7)] rootlinux:
Thanks bro.

Hopefully I get my ONE back unbricked soon. :)
[Sprint HTC One (M7)] rootlinux:
Updated my flasher with latest.

Can't test till my device gets back from repair.
[Sprint HTC One (M7)] Phil3759:
Update 6.43.6

F2FS flag is now enabled in recovery for ability to convert between f2fs <-> ext4

Data backup migration is also possible

All f2fs migration things are explained in the FAQ
[Sprint HTC One (M7)] galaara98:
Phil,

Is it possible to have the recovery support encrypted /data

(Ask user for PIN...etc.)

When I encrypt my phone,

AOSP > settings > security > Encrypt phone. I can no longer mount my /sdcard while in recovery (which is a symlink to /data/media/0 and therefore was encrypted by the above process)

Is it doable? Would that feature have to come down from CWM? If so how do I get my "wishful thinking" to the right folks

Aaron
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADR USR:
Gentlemen, Bricked Galaxy Advance.

situation:

Downloading mode: Yes, ODIN recognizes.

Recovery Mode: No. See a bizarre Screen "buggy"

Attempting to flash:

STOCK ROMS: Various.

Error displayed:

<ID:0/005> NAND Write Start!

<ID:0/005> hidden.img.md5

<ID:0/005> kernel2.bin.md5

<ID:0/005> kernel.bin.md5

<ID:0/005> modem.bin.md5

<ID:0/005>

<ID:0/005> Complete (Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

Attempt to Downgrade:

<ID:0/005> SetupConnection..

<ID:0/005> Initialzation..

<ID:0/005> Set PIT file..

<ID:0/005> DO NOT TURN OFF TARGET!!

<ID:0/005>

<ID:0/005> Re-Partition operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

I got flash stock kernel (From LQ4 ROM) and PASSED.

But the situation remains as shown.

Is there any way of flashing any other kernel or CWM/TWRP using ODIN?

I believe that is the only chance now.

I need to recover RECOVERY Stock or not to try to flash something for him.

Thanks for any help you can give me.

NOTE: I've tried changing ports, reinstall SAMSUNG Drivers, and all other common solutions.

Now I need an expert. Or experienced in this type of situation.
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] bobfrantic:
Here is a stock JB kernel thanks to shut_down, use odin 1.85 to install. Put this in the pda of odin making sure only reboot and f.reset time are checked, nothing else other than pda. it has saved my azz a few times, hope it helps for your situation. good luck :)

StockJBKernel
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] shut_down:
Recovery Mode: No. See a bizarre Screen "buggy"

Like TV with no signal?
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADR USR:
Thank you. I'll try this too.
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADR USR:
exact.
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] shut_down:
I had same problem. Couldn't get it fixed by myself, tried to restore backup, to flash firmware... At the end I zook it to service, and got it fixed. Did not go for warranty because I had binary counter at 4. It cost me about 20 $.

P.S. Instead of Samsung logo i was getting that no-signal TV image.

Послато са GT-I9070 користећи Тапаток 2
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADR USR:
Bad news.

I will not waste my time then.

Well, I'll try a bit more before giving up.

why does this happen?

Odin can not write anymore?

I got flashing a kernel. No WRITE ERROR. But did not give any result.
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] shut_down:
Try with JB firmware couple times. Didn't figure out what was it. :( Recovery said some problem with csc. Try with guide for downgrading from JB to GB too.

And to me it just started without any reason. I restored a backup from twrp, booted. Rebooted and got bootloop, tried to restore backup again and after that got that messy screen...

Послато са GT-I9070 користећи Тапаток 2
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADR USR:
I've tried these things. MAs'll try some more.

Give news (good or bad) later.

Thank you guys.
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] frapeti:
Make latest cocore kernel odin flashable and flash it, then you should have recovery
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADR USR:
HOW? There is a 6.2 cocore flasheable with ODIN?

If not ... How Do I?
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] shut_down:
Try this, if it works.

http://d-h.st/2qS
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] psychoticmoe:
Were you able to fix this? Im having the same exact issue and i have tried, not everything, but def a lot!

Any input would be greatly appreciated
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADR USR:
The solution was to send for warranty service.

No problems even with the counter changed.:)
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] jaycm1130:
did they change the mobo?..
[One (M7) Q&A, Help & Troubleshooting] NGO5:
Not sure how much confidence I have in Gorilla Glass but screen is just over a month old and I see two minor scratches. I babied the hell out of this phone, so I'm not even sure where they came from.

I figured I'd try to "buff" one of the scratches out which worked on my previous phone....not so much here. I used Meguires car polish and lightly rubbed at the scratch. It seemed to lessen the intensity of the scratch but now there is this...haze...where I used the product. If I wipe it away, the phone looks fine. After some use, it almost attracts the dirt/grime and you can see where I polished the screen which leads to me to believe there is some sort of coating I polished off.

Any way to fix this? Should I return it and get a new one?
[One (M7) Q&A, Help & Troubleshooting] ArmedandDangerous:
You definitely polished a coating. There's an oleophobic coating that minimizes oil left behind from our fingers, and it actually also helps in preventing scratches. I'm a little confused from your title. Did the scratch occur while polishing, or did you want to say it's scratched and you want to polish it?
[One (M7) Q&A, Help & Troubleshooting] NGO5:
Sorry, it was scratched and I wanted to polish it out. The thing is, there is no evidence of anything until it starts collecting dirt. Otherwise, even under direct light, you can't see any difference.

I'll probably take back...my camera has been giving me issues as well. I'm past the 14 day grace period so I'm not sure what my next steps are.
[One (M7) Q&A, Help & Troubleshooting] Riyal:
Like the previous poster said it's oleophobic coating that was removed when you applied the polish. You could reapply it on your screen by using any liquid glass product.

Maybe you can try this? http://liquidglassshield.com/

It's not a real oleophobic coating but it should be practically the same.
[One (M7) Q&A, Help & Troubleshooting] chc31:
Well I polish my screen too, screen protector and I get the same effect. Polishes do that, and they do that on your car as well. They're meant to protect metal so applying it to glass will give you a haze and, not attract dirt but the oil allows it to stick and it will show off more.

How do I know this? I used polish on my windshield. Same tthing. Try to wash it off lightly with soap. The other comments may be right but I think it's mainly the polish that did that
[One (M7) Q&A, Help & Troubleshooting] Xerro-Five:
Possibly, but the bare glass underneath will still hold oil like crazy since the olephobic layer is gone there. I use the Oakley hydrophobic lens cleaner solution on my screens that don't have a coating and it works quite well. It definitely makes it easier to wipe oils off and fills in very minor scratches. Of course it's not as good as the gorilla glass coating, and the biggest problem is you have to reapply it once every couple weeks if you are using the screen frequently. Maybe the coating recommend earlier in the thread is better?

I guess alternatively you could just go the extra step and wax the screen... Vehicle wax is pretty good at repelling things but the polish does nothing like that by itself. Not common but neither is the situation ;)
[One (M7) Q&A, Help & Troubleshooting] chc31:
Hmm, true haha, don't use armor all wax, it sucks! Nufinish maybe?

Hey hey, why not get a screen protector? I've gotten one from eBay that's flawless 3 weeks after getting the phone. At least that way, you won't have to worry about the screen anymore; you have a new layer.

Plus the scratches will keep coming. At least when you have some on a screen protector, peel the film off and get s nee one - gone forever. What do you think?
[One (M7) Q&A, Help & Troubleshooting] Nippero:
Also, about gorilla glass being easy to scratch, its really still like any other glass. Stuff like sand will still scratch it.

My last phone had GG and I found out that my earring (quartz mineral stone) left little scratches on it, nothing else scratched it though. And it lived in my pocket daily for about a year with no case or screen protector. So GG isnt all that bad, it just wont protect against EVERYTHING.
[One (M7) Q&A, Help & Troubleshooting] Xerro-Five:
Mothers wax is where it's at :D haha. But seriously that's all I use on my vehicle. I always start off saying "I don't need a screen protector" but I always end up with one later... For exactly the reasons you mention! But I hate the way they feel
[One (M7) Q&A, Help & Troubleshooting] chc31:
Haha I'll probably buy one, on sale for me here. Yea I can understand, but the key is to keeping it clean all the time. I have an idea actually, first thing would be to have a lint cloth with u always but if you can get your hands on "stoner invisible glass rain repellent" from a store. I heard about it somewhere in Xda and it is AMAZING. use it for ur car too of course haha but put just a dot or 2 on your screen protector, buff it and you'll never see oil and fingerprints again. If u do, it will be after a couple of days perhaps. It's amazing. Buy it for your car but use it for your phone too :)
[One (M7) Q&A, Help & Troubleshooting] ArmedandDangerous:
Or get the Spigen Glas.t and never have to worry again. Oleophobic, and actually rated tougher than Gorilla Glass itself :P
[One (M7) Q&A, Help & Troubleshooting] Xerro-Five:
Yeah I actually use that stuff and it is awesome! Never used it on anything but my vehicle though... It's mostly acetone but it does leave behind a repellant coating. The acetone will react with some plastics of screen protectors, but you may be on to something here! Honestly there isn't a better glass cleaner out there :thumbup: maybe even using the Oakey stuff on a screen protector?

This thread has taken a funny turn lol
[One (M7) Q&A, Help & Troubleshooting] duckysempai:
I ended up scratching mine too. I thought having a flip case would protect my phone but, I constantly clean my phone screen. I'd say about 10-15 times a day. And just once, there must have been a bit of git or sand on my cloth and it left its mark :( I have a screen protector on it now. Covers it up nicely.. but knowing it's still there annoys the hell out of me lol
[One (M7) Q&A, Help & Troubleshooting] Matt:
Sorry to hear that mate, maybe I should invest in a screen protector :) haven't used one ever
[One (M7) Q&A, Help & Troubleshooting] chc31:
Hahaha yes it has! Ebay is your friend, lots of great protectors. Just don't buy zagg, terrible.

Yea you could try it, why not? Not sure how it works, never used it, but as with anything you will apply on a screen, because with a touchscreen you're poking and rubbing, it will wear off in a few days. 2 more mins of your time for 2-3 days of clear screening, works well o think :P

Sent from my HTC One

---------- Post added at 04:45 PM ---------- Previous post was at 04:44 PM ----------

Sent from my HTC One
[One (M7) Q&A, Help & Troubleshooting] altimax98:
I use RainX lol.... works surprisingly well
[One (M7) Q&A, Help & Troubleshooting] VictorC:
^^^ This! This is my worst nightmare... I baby the hell out of my phones and, like you, I clean my screen all day long. I just don't stand smudges and finger prints on it so I use my eye-glasses cloth. And every time I use it I closely inspect it so as not to have some sort of debree on it that could damage the screen... I know, its crazy... All this cleaning and inspecting takes up tens of minutes of my day :eek:
[One (M7) Q&A, Help & Troubleshooting] Riyal:
Pardon if I'm talking about another product but as far as I know RainX is a brand of wiper blades lol! You clean your screen with a wiper blade?
[One (M7) Q&A, Help & Troubleshooting] altimax98:
Lol yes.. but they make a spray treatment that I spray onto a rag and wipe it down with. Leaves a nice slick coating that resists finger prints and I hope scratches a little
[Samsung Epic 4G Touch] third son:
Hey gang!

Does WiFi direct to a WiFi dongle work on any 4.2 ROMS ?

Just wondering....