yashsingh1/xdaforums huggingface dataset:
[One (M7) Android Development] Tourelle:
Locking issues

Hi so i flashed the rom and everything works fine, except for passcode setup. I tried setting up a password and the whole system froze and crashes after I pressed confirm new passcode. After force reboot I try to enter the password on lockscreen and right after I enter it whole system crashes again. Any ideas?
[One (M7) Android Development] saturday_night:
Haha, maybe read just the last page or two of this thread?
[One (M7) Android Development] sudowtf:
[MENTION=7327102]icxj1[/MENTION] : Stupid me, i can't find KA Thermal
[MENTION=7327102]icxj1[/MENTION] [MENTION=6579749]gehess[/MENTION] : i;'m always line-of-site and it won't drop from the sky, can still control & worst case, press return to home
[One (M7) Android Development] icxj1:
Kernel Adiutor from playstore, & I think there is a new Mod version on XDA labs.
[One (M7) Android Development] bbmaster123:
That's interesting and I can kinda see how that would be the issue, so glad evilcoleslaw was able to get logs :D

I'm also not used to rom development moving along so quickly, especially for an old phone like our m7's! At this rate AICP oreo might be my daily way sooner than I thought.

Very excited to try the april 19th build when you upload it, but no rush ;)
[One (M7) Android Development] Tourelle:
Ah I see now hahaha oh well no password for now I guess xD nice work on the ROM though, so far everything's smooth and almost no stutter at all
[One (M7) Android Development] icxj1:
20180420 builds. More nit picks & sepolicy. No cure for process system isn't responding or Datausage yet, unsure on screenlock & bt sound. there are a few camera fixes included, but i do not think enough to fix Snap video record yet. Maybe someone can test open camera or another higher grade camera (i will bring Snap back in soon for more testing). I believe master Dev Adrian DC is going to get that issue fixed real soon.

m7ul += https://www.androidfilehost.com/?fid=746010030569970124

m7vzw+= https://www.androidfilehost.com/?fid=890129502657599049

m7spr += https://www.androidfilehost.com/?fid=818070582850508969
[One (M7) Android Development] bbmaster123:
Just got home from work and checked the thread, flashing right now! I'll let you know how things go :cool:

EDIT: Unfortunately its still the same :( I have another m7 I'd like to try the build on, but the usb port is pretty flakey and I can't copy anything over (and it has no OS atm so I can't dl it directly either haha) I'm gonna head out for 420 but I'll check back later

EDIT 2: okay so I decided I was going to try flashing one more time before I head out, and this time it triggered the setup(yesssss) but then when I was typing my wifi password it kicked me out to the boot animation again and brought me back to the black screen... sorry, I want to help more but I can't even turn on usb debugging to get any logs :(
[One (M7) Android Development] evilcoleslaw:
Open Camera video was a no-go for me. Freeze and 'Sever Died, Video Halted'. Photos were fine though.
[One (M7) Android Development] icxj1:
Try flashing ROM only, no gapps & no root. See what happens. Was you rooted on your daily driver? Is so, did you uninstall root & or wipe system before flash?
[One (M7) Android Development] bbmaster123:
I'll try that now. This is not my main phone, I have my main m7 running ICE lollipop and then this other m7 I just play around with and test things with, after my friend upgraded. I had it rooted on every rom I put on there, but since theres never anything important on that phone, I always wipe everything before switching roms including system.

EDIT: Yea it works! rebooted and screen unlocks just fine now. okay, now ill try gapps.

-okay no before I even got to flash it kicked me back to the unlock screen. so first I flashed clean, booted, rebooted, went to settings, turned on developer options, turned on advanced reboot menu, (and also force gpu draw) and went, power, reboot to recovery, rebooted normally instead to the black screen. this time I'll try not changing the settings. whoops.

-Okay, that worked, now I'll just try some basic customization.

-nope kicked out again :s
[One (M7) Android Development] samhhmobil:
Thanks for your ongoing work.

GoogleCamera does not work anymore in 0418 and 0420 builds. It creates for any photo or video — instead of the file — an directory, “of course” an empty directory, sigh.

Footej Camera works.

OpenCamera works just only for photos, not for videos.

samhhmobil
[One (M7) Android Development] icxj1:
Gcam is working just fine on both my devices. Sigh
[One (M7) Android Development] samhhmobil:
Sigh... For me it creates instead of the file a directory with the name of the expected file (without .jpg extension).

It's really strange...

samhhmobil
[One (M7) Android Development] icxj1:
Very strange, for me it creates a picture in gallery
[One (M7) Android Development] samhhmobil:
I cleaned Gcam, deinstalled and erased DCIM/Camera.

Newly installed Gcam. When starting first, it works. :) Camera-directory is there, and each photo is there as a file,... ... but: for each file there is a directory with the same name! Closing the Gcam app. Starting the app newly, and... it doesn't work anymore, only for each tried photo there is such a strange directory again and no photo-files anymore...

samhhmobil
[One (M7) Android Development] daedric:
Here's a weird report.

I installed the 20180420, and i had no LTE/4G, and no GPS. Not even a gps map, nothing.

I flashed a sense rom (NuSeven), tested 4G and GPS and it's working perfectly. Then i flashed the 20180420 build again, and 4G and LTE is working as expected.

I'm on Sense firmware if it matters.
[One (M7) Android Development] evilcoleslaw:
I'm also getting the same problem. Photos and videos in Google Camera work fine but photos also result in an empty directory with the same name as the files being created.

Attached some logs in case they'll be useful.
[One (M7) Android Development] bbmaster123:
Okay, so you'll have to forgive my previous post since I was not exactly sober and forgot to wipe the dalvik after flashing last night. Its now working correctly, just rom and gapps! But I'm getting google play services keeps closes dialog, is there already a known fix or should I FINALLY grab some logs? haha :D

EDIT: testing some stuff. Camera pics/vid work perfectly, bt audio sounds great on my bose qc35's, might try root again later!
[One (M7) Android Development] icxj1:
Ok, you need to flash ROM & gapps together no reboot in between.
[One (M7) Android Development] icxj1:
Strange, I will look through log after while. & see if there are more reports of the same. You guys are sure google camera app did not update automatically & you are still on 4.1.006 version?
[One (M7) Android Development] bbmaster123:
Yea I read that a few pages back or something, didn't work before, but for whatever reason, it worked this time. It never triggered the setup wizard, but I'm in android right now and besides the google play issue I'm having, everything is working as to be expected. Very much liking what I see!

Now that the system is running I'd be glad to keep helping to test things :)
[One (M7) Android Development] evilcoleslaw:
Yep. I will note on mine that the photo files do always seem to be created. I'm just always getting empty directories in addition to them. So for me it's not a *huge* problem.
[One (M7) Android Development] icxj1:
Right on. All we can do is go with the flow & hang in there. O has been a real pain in the ass for most everyone from the beginning.
[One (M7) Android Development] bbmaster123:
So I've seen, I've been following the saga since probably last august/sept when the first AOSP builds Alial04 were released and being worked on. Hopefully P won't be so difficult hahaha :P
[One (M7) Android Development] saturday_night:
You wont see a bugfree android on the m7 anymore, no custom rom except for stock or gpe based roms were 100% bugfree. Best way to go after O would be try to port project treble to the m7 to get gsi roms running, source is still there on htcdev so everything whats needed for porting treble is available. Only thing whats missing, a good dev willing to try it ;p But if its working you dont need to care about roms/updates anymore there will be support till andorid z haha
[One (M7) Android Development] bbmaster123:
100% bugfree isn't really a priority, just as long as it runs well enough to be considered stable as a daily. That would be so awesome if someone could try that, but I'll probably upgrade by that point :P
[One (M7) Android Development] gehess:
The beauty of the M7 is it's now so compatible with everything I throw at it (on Nougat).

I'm running audio mods, magisk modules, nanodroid, etc. and it all just works, whereas people with newer phones report all sorts of problems I've never seen.

We'll all eventually get a new device, but for testing and/or a great little unit to keep in the car as a sound system, you can do a lot worse than the M7. It's my daily driver for now.

Here's hoping someone continues development on it for a while yet and I thank icxj1 for keeping the flame alive. :good:
[One (M7) Android Development] evilcoleslaw:
Yeah. I moved on to the Zenfone 2 bit a combination of the end of LineageOS official support and a dead proximity sensor that was annoying on anything but the stock ROM and I'm back on the M7 as a daily driver. Does everything I need, and the custom extras like dt2w really help.

Honestly the only modern feature I find myself wanting is a fingerprint scanner.
[One (M7) Android Development] bbmaster123:
I agree, been using my main m7 for 4 or 5 years now and running all kinds of mods as well, viper4android definitely being one, and is set up exactly the way I like it. But its still on 5.0.1 so its starting to show its age in my eyes. Thats when I started to look at rom development again, and thought nougat would be nice, but oreo is making great progress so I've just left my phone as is for now.

I will definitely keep this phone around for various things as well. I have 3 of them anyway, among even more phones ahhaha :P
[One (M7) Android Development] godll90:
What has me well traumatized of the roms is that when I leave the cell phone charged before sleep and when I wake up the battery is at 88%. When I return to ROM Stock the same process but this is the it is 93%.
[One (M7) Android Development] mva113:
what changes in the version from 22.04 vs 20.04?
[One (M7) Android Development] Rajeel911:
How can I get video hdr on this rom? It was there on the stock sense ROM ..
[One (M7) Android Development] icxj1:
HDR is included with Snap, until video record is fixed for Hal1 DEVICES (not just m7) it is useless. Everyone knows what works on stock sense ROM & custom N ROMs no need to report.

I am about to bring Snap back in for testing & hopefully the fix is coming soon.
[One (M7) Android Development] icxj1:
Just some source updates & suppress a few denials. Nothing fancy.
[One (M7) Android Development] hedeon76:
bt audio output to a speaker or headset is not the issue

the issue is the bt input

if i connect the phone with my car i can listen music over bluetooth very well, but if i make a call the person on the other side only hear some scratching sounds

I feel like I'm the only one with this problem. I would be glad, if someone could try this once.
[One (M7) Android Development] JaredTamana:
Note: If you're an idiot like me and enabled SELinux in AICP Extras without reading the thread, you can fix the bootloop by deleting AICP Extras' data folder under /data/data/com.aicp.extras. As an extra step, I'd run setenforce 0 in your terminal before rebooting.
[One (M7) Android Development] bbmaster123:
Ohhhhhh whoops, sorry I didn'y realize. I'd be happy to test when this out when I can, might not be today though, we only have 1 car with bt, no other bt devices in the house. But I'll def let you know!
[One (M7) Android Development] mva113:
On external speakers, everything sounds OK.If you connect the headset, the interlocutor will hear a crash. But it seems that this is a known problem and work on it.
[One (M7) Android Development] samhhmobil:
Other possibility: boot into recovery, wipe cache and dalvik/art, and the system boots again cleanly without the SELinux change.

samhhmobil
[One (M7) Android Development] Biggie_still:
Clear Recent isn't working on the latest build (22-04)
[One (M7) Android Development] mva113:
in assemblies from 20 and 22 continuous search wi-fi. he is looking for the.
[One (M7) Android Development] daedric:
Quick one!! This seems to work:

[Port][Magisk] AptX & AptX-HD for All Oreo 8.0+ (Update Jan 6th 2018)
[One (M7) Android Development] kamikazedc:
I think I have the same issue. I tap "clear all" button, and recent apps go away, but RAM is not freed.
[One (M7) Android Development] icxj1:
Every other dirty flash, slowly improves sometimes. But I'm never on a build long enough. 04-23 & 24 ram seems fine.
[One (M7) Android Development] mva113:
22.04 (clean installation) everything cleans up perfectly
[One (M7) Android Development] icxj1:
Have you tried BT settings in developer options?
[One (M7) Android Development] hedeon76:
Hello [MENTION=7327102]icxj1[/MENTION] ,

Of course I tried the BT settings in developer options. But I think they only make a difference for the output.
[One (M7) Android Development] icxj1:
Right on. Did you test the patch [MENTION=385965]daedric[/MENTION] shared?
[One (M7) Android Development] hedeon76:
Yes, my headphones has AptX capabilities, but there is no difference.
[One (M7) Android Development] houston_:
Installed the latest version from a page before:

I have to two different "night light" settings within the display options.

The one is called "Night light" (Nachtlicht in german), the other is "LiveDisplay" (Same in german).

They are position 2. and 4. in the display setting, below "Brightness" and "Adaptive Brightness".

What is this problem with datausage?

Is it present on any m7 variant?

Is it just throttled or not available?

Edit:

Setting a pin for the lockscreen is still hanging the phone.

It seems to be set anyway, at least i had to enter it after restart.

But then I wasn't able to click the "system is not responding" message and have to restart again.

I will try to catch a logcat for setting the pin.

Edit: Nope, can't open my device anymore ... Making a factory reset

Edit:

Attached the first logcat.

I was setting a pin code, after that the input froze.

The courser was still blinking and the phone somewhat responding, the dialog for setting the pin wasn't disappearing.

Suddenly the display goes dark, empty homescreen (only background), then black.

No way to reactivate the the device again.

Making another logcat in full, the first was canceled right after trying to set the pin.

Edit:

Logcat2 gives info from:

Setting Pin, confirm Pin, freeze of screen.

Keyboad still "usable" (keys change color), cursor in text field still blinking.

Until neither the keyboard was showing reaction, nor the input field cursor blinking.

Foreced restard made.

Logcat3 is giving info about the moment after restart.

Sim pin was entered, lockscreenpin was entered, screen goes dimm and black.

Starting screen by pressing power and volumekeys random.

Display not responsive, system is not answering. No way to press close or wait.

Edit:

After reboot I made the logcat and wrote the edit.

Somehow the device managed to be responsive again.

Made a soft-restart, asked for both pins again, but no system hang and entered without problems.
[One (M7) Android Development] Andrea224:
[MENTION=7327102]icxj1[/MENTION] What about Camera2 API (or HAL3, if you like it more)? Is it possible on the M7?
[One (M7) Android Development] houston_:
Another thing I just experienced:

The proximity sensor is fixed for calls right?

I just received a Telegram Call and the same thing happened again:

Prox. disabled the screen but it haven't went on again.

Someone can confirm that?

(I am using Plus Messenger by rafalense)
[One (M7) Android Development] evilcoleslaw:
Its been working fine for me for the last few builds. Every so often dt2w seems to interfere and require me to do that to turn the screen back on, but the proximity sensor isn't keeping it off at that point I think.

If it's only happening in Telegram it might be worth it to see if there's an option in the app itself about turning it off for calls or ending calls by the power button if the Android built-in option for that (under Accessibility settings) doesn't work for those calls.
[One (M7) Android Development] houston_:
Just talked to my calling partner.

Same problem was happening for him too.

So it is really not a problem with AICP but with Telegram and/or Plus.

For normal calling I had no problems today.

Thanks for your feedback!

DT2W wasn't working either, but I think I deactivated it anyway. But I can't find this option right now to check it.
[One (M7) Android Development] evilcoleslaw:
You have to use the Kernel Adiutor app from the Play Store to enable dt2w. (Under the Wake section. Root required obviously.)
[One (M7) Android Development] houston_:
Thats why I haven't found it yet...

I made a fresh install after switching back to the m7 again to try a warranty replacement of the battery in my 10.

And the last time I used this rom i had K.Auditor installed.

Thanks for mentioning.
[One (M7) Android Development] deepeeem:
No you are not the only one. I have the same problem with both my car-kit and my bluetooth ear-plug. I can hear the person on the other side perfectly, but they always complain about terrible noise.

[MENTION=7327102]icxj1[/MENTION]: thanks for all the work. This rom really reanimated my phone coming from CM12.1 :)
[One (M7) Android Development] icxj1:
So noise issue is BT mic input? [MENTION=2911962]deepeeem[/MENTION] & [MENTION=4980180]hedeon76[/MENTION]
[One (M7) Android Development] Rajeel911:
What car you have?
[One (M7) Android Development] Hopie:
m7 international.. downloaded two times, but always error 7
[One (M7) Android Development] evilcoleslaw:
Anything special about the 0427 build or just more incremental stuff?
[One (M7) Android Development] icxj1:
recovery TWRP 3.2.1-0 on m7?
[One (M7) Android Development] icxj1:
yup, just incremental source updates. No magic commits yet :p Comingup in a few days future builds will include Snap camera & video record will still be broken on the first few builds (you will just have to run 2 camera apps until fixed or uninstall it). Same for datausage, i can not fix it with out bringing it back for more testing.
[One (M7) Android Development] Hopie:
yes

i´m on the f2fs filesystem.. maybe the issue!?

edit:

back to ext4, no error 7
[One (M7) Android Development] hedeon76:
Yes, only input
[One (M7) Android Development] Tourelle:
Any news on lockscreen fix?
[One (M7) Android Development] alsys:
I'm still getting Process System Isn't Responding message at startup

Any solution?
[One (M7) Android Development] neuer31:
25$ is insane, 5$ okay, but 25$ per usage is waaaaay to expensive and I won't support people that are abusing the need of others ...

Generally devs here provide everything for free and I usually reward them by donation, but forcing is not an answer or something I will ever accept. ****ing greediness of certain humans, it is what is causing so many problems in this world :(

Rather go back to original Android 5.

Thank you very much for your guide, will check if I find S-Off for H-Boot 1.61 somewhere else for free, but afais I doubt it.
[One (M7) Android Development] samhhmobil:
I'm sorry, it's not my idea. For very early versions of hboot you may find other free solutions for S-OFF.

But if your hboot is 1.61, you have no chance, nothing else is working anymore, and you cannot downgrade to an earlier hboot, until(!) your device is S-OFF.

You have not(!) to pay every time, it's one time only, and then your device will stay in S-OFF.

If you don't want this, OK, but you have to live with the limitations, Sense-firmware and AOSP-based Roms will not interact cleanly. And all sense-based Roms (custom or stock) are some years old and have some hundreds security issues. Don't forget that.

More discussions please in one of the S-OFF threads and not here. Thanks.

samhhmobil
[One (M7) Android Development] neuer31:
Yeah I realize it stays in S-Off ... 25$ bucks is a lot and I am quite poor ... don't worry, I realize it's not the place to discuss it, maybe ask the devs, but it wouldn't be worth it, this is my backup phone as my Huawei P9 is in repair for battery issue (which XDA helped me a lot, cause it made me realize it is not a wear thingy but a problem phone side, cause the phone shuts down pretty much immediately below 0°C)

Which Android 7 ROM you can recommend me which should work without battery issues / random reboots?

Idc that much about security, because most of it comes down to how you handle stuff (ie. which websites you use, what apps you install, etc.)

Thank you so much for your help :) Really appreciate it.
[One (M7) Android Development] samhhmobil:
I have three M7's yet, and all of them I paid for sunshine (and I don't want turn that back). It is worth for this device, even I have not much money. But it's your decision.

And random reboots exist less or more in ALL custom roms, even with the correct firmware, and I even have had a random reboot with HTC-Sense stock firmware L 5.0.2, it happens (seldom, but happens) there too.

What roms I can recommend is not topic in THIS thread, sorry.

samhhmobil
[One (M7) Android Development] icxj1:
Haha! [MENTION=5624690]lucyr03[/MENTION]
[One (M7) Android Development] gehess:
Before jumping to conclusions, the reason they charge money at all for Sunshine is because the devs had spent a lot of time making a number of bootloader unlockers previous to Sunshine and didn't get enough donations to cover expenses. Sunshine was/is the only fool-proof solution, so they decided to balance the situation.

If Oreo isn't working out for you, try XenonHD Nougat for now. They're still keeping that updated with the latest security patches. https://xdaforums.com/htc-one/orig-development/rom-xenonhd-5-0-2-beta1-27-12-14-t2986038
[One (M7) Android Development] neuer31:
Still doesn't justify the price, additionally I could imagine they would have sold a lot more if they made a fair price ... sounds like a mix of greediness and punishment ... he won't get my money for sure, I will never support such behavior :mad:

It's not Sense based and thereby for S-On users not recommended as it will kill your battery (as samhhmobil explained to me) - thx for the suggestion though :good:

My final decision is to keep the stock 5.0.2 until I get my phone back which is in repair.
[One (M7) Android Development] gehess:
Whatever man, just 'cause something sounds greedy to you doesn't mean reality agrees with you. It's certainly nothing to get mad about.

As for Sense based ROMs, I've heard good things about ViperOne https://xdaforums.com/showthread.php?t=2334294

Don't know if/how it works with S-On, but it might give you more options than stock.
[One (M7) Android Development] starboi4eva:
Using this rom a few days now. Its nice and smooth. Only buzzkill is the random reboots. Can't wait till you add fast charge because my m7 is a bit of a power hog.
[One (M7) Android Development] n0j0e:
I have two M7, one with latest HTC firmware, one with latest GPE firmware. Running Resurrection Remix 5.8.5 (Nougat 7.1.2) on these devices and can't see any difference since month. Try it, when rr doesn't work well try Xenon HD or Slim Rom (also Nougat).

Send with much love & Android.
[One (M7) Android Development] icxj1:
here you go test it out & let me know. dt2w button in settings is not compatible i will remove it in next builds. just like in the past root & use KA to activate. My Unofficial's will be using this kernel from now on, along with prebuilt KA-mod. (not included in this build). Also test camera & video record in this build...trying to fix video, you never know camera may be completly broken. haha!

m7ul_dt2w += https://www.androidfilehost.com/?fid=818070582850498045