yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] doublehp:
I have HTC One M8, rooted, htcdev, soff, RUU and so on ... with stock HTC ROM.

I want to have UMS (USB Mass Storage) on it. UMS was available untill Android 4.2, and seems to have been removed from 4.3. UMS does not seem to be about hardware, but about software. So, I bet my phone can do ... the question is how ? And if not, why ? In order of preference:

- tuning stock rom ... but I stopped dreaming about this

- rebooting to recovery. TWRP does not allow UMS (not even MTP); but I am ready to change recovery if it can help.

- changing kernel, with stock HTC ROM

- changing ROM

I can understand that Google is very stupid, and could ... remove such a desirable feature. I come here to ask Flar2 if there are reasons that really prevent putting it back, and why I could not find any app, mod, plugin (for Xposed for example), or recovery doing it. Spent 3h30 in google, and I am getting out of nerves on this.

And pease, DO NOT tell me about alternatives; I have been reading about alternatives for 3h. I come here to talk about UMS only.
[One (M8) Original Android Development] Captain_Throwback:
I'm confused. The stock ROM has UMS as an option - HTC put it back. You just have to choose "USB File Sharing" instead of "HTC Sync Manager" in the drop down when connected via USB.
[One (M8) Original Android Development] kennypow3rs:
Think he's referring to being able to access your phones storage or SD card while in recovery. It used to be a feature in previous android versions but not anymore. You do mean seeing your phone as a drive in my computer while in recovery right? No recoveries do that anymore. You just have to sideload or have the files on your microSD card.
[One (M8) Original Android Development] Captain_Throwback:
This kernel would have nothing to do with recovery. I think recovery was just mentioned as a side point.

But you are correct; this is no longer possible in recovery.
[One (M8) Original Android Development] dsmpampis:
Does anyone know this wake lock?

Thanks in advance!

By the way the 0.19 feels snappier than the 0.18! Now I'm testing the battery ? life!

Tspatalked with my (refrigerator look) HTC One_M8!
[One (M8) Original Android Development] dsmpampis:
And something off topic, why I have 3 Google Play services on? Is it safe to hibernate them?

Tspatalked with my (refrigerator look) HTC One_M8!
[One (M8) Original Android Development] WTFunk:
That's the wakelock when I'm using Google play music. It's probably more than that though, I believe it also includes things like keypress sounds.
[One (M8) Original Android Development] doublehp:
Where ? In options ?

Never saw that on my new phone (Android 4.4.2, updated to 4.4.3).

---------- Post added at 10:52 PM ---------- Previous post was at 10:47 PM ----------

I am talking ONLY about seing my uSD card as mass storage on PC. This used to be possible in my old Android 2.3.5, and in the recovery for this old phone. The phone used to behave like a SD to USB adapter.

Recovery is mentionned as an acceptable solution, if it can not be done easily in Android.

---------- Post added at 11:06 PM ---------- Previous post was at 10:52 PM ----------

I search just every where ... in Options, I have just nothing about USB. The ONLY line I have about USB in options, is USB debug in developper.

After connecting the cable, I have 3 lines in systray:

- "usb connected: tap for settings" ... telling me things about Wifi and Bluetooth (why the hell ?), when i tap USB, it says me to choose between clever network, modem, relay, or mirrorlink. All this is networking, not UMS.

- MTP: when i tap, nothing happens.

- debug: tap to disable it.

Tripple checked my version: android 4.4.2, Sense 6.0, rom 1.54.1020.10, API HTC SDK 6.17

You say they put it back ... since when ? which version ? how do I update ?
[One (M8) Original Android Development] deagleone:
So you wanna talk about ums?

Is there a special reason why spamming this thread with probs that are surely not kernel related?

Google removed it because mass storage mode does not allow the phone to mount /sdcard while connected to PC So blame Google, or M$ (for FAT licenseing) and don't Spam this Thread...

Save deagleone's habitat, donate InserCoin Team
[One (M8) Original Android Development] Captain_Throwback:
Sounds like you're not using Sense. Sorry, I didn't see you mention that. It's available on Sense. Maybe try a Sense ROM and then flash this kernel on it so it's at least relevant to the thread? ;)

If all you wanted was some ideas about this from [MENTION=4684315]flar2[/MENTION], a PM would've been more appropriate, don't you think?

EDIT: Just re-read your post, and I'm confused. You have the 4.4.3 update already? You don't have a notification that says "HTC Sync Manager" when you connect via USB? I have that stock on my device, and that's how I select UMS mode.
[One (M8) Original Android Development] doublehp:
To ask if the issue is about kernel, or not. If the feature depends on a kernel module, then, this is a kernel issue: module probably removed, absent in my ROM, and I will need to change kernel.

Me, not using sense ? re-read your message: you quoted the part where I say I have Sense 6.0. Shall I add more details in my signature ?

I came here because I was said to come here.

I thought I had 4.4.3; in fact no: 4.4.2. (edited the previous post to strike the wrong info)

I do have "HTC Sync Manager" in system info bar; and the phone does offer an UMS device: 20MB disk containing Windows drivers. My SD card is 16G; so ... 15.980MB missing ... When I tap on that line, nothing happens. What's your config ?

I came here for an other reason: some one tells me that UMS depends on some kernel driver; but does not tell me which one; and I don't know how to list the modules of my kernel. I don't have /proc/config*
[One (M8) Original Android Development] Captain_Throwback:
When I tap on the "HTC Sync Manager" in the Notification drawer, I get a pop-up that allows me to select between "HTC Sync Manager" and "USB File Sharing" modes, the latter being the UMS mode you seek. I have a 128GB microSDXC card in my device, and choosing that mode while the device is connected to the computer allows me access the card in UMS mode. I'm uncertain as to why you don't get that pop-up.
[One (M8) Original Android Development] skulldreamz:
Well stop talking ot in his thread. Go make your own thread about why you want USB mass storage. And for the record, there is a something you can do to keep USB mass storage. Its called Linux + permissions
[One (M8) Original Android Development] trismegistos:
Will there be ever an update on the gpe edition?
[One (M8) Original Android Development] Jazz2000:
Android 4.4.4 GP Edition?
[One (M8) Original Android Development] DeeZZ_NuuZZ:
No need for it as in 4.4.4 there are no kernel changes so the one for 4.4.3 will work fine ;)
[One (M8) Original Android Development] Jazz2000:
That Sounds good. ? thx for the answer.
[One (M8) Original Android Development] andreasyeah:
Maybe he has to format his extSD to FAT or something. I don't get the notification you're talking about neither
[One (M8) Original Android Development] Captain_Throwback:
This'll be the last OT post from me on this subject (sorry [MENTION=4684315]flar2[/MENTION]), but here are the screenshots from my device and computer:

My SD card is formatted exFAT. Perhaps that is the reason I have the option and others don't?
[One (M8) Original Android Development] scrubsja:
Flar2, I am now on IC 3.0.7 removed the sd card and still getting a boot loop after the device settles down on 0.19. I am totally stumped. I would really like run your kernel :(
[One (M8) Original Android Development] flar2:
/proc/last_kmsg would tell me what is happening.
[One (M8) Original Android Development] aboveusonlysky:
My wake gestures barely work. Was like that on ic 3.0.7 had the same problem on .5 too. Running art with dalvik opt
[One (M8) Original Android Development] sardelisp:
i have the same problem in this kernel and thats the only reason i don't use it..

i have the dot view case and is really annoying one in five times it works..

something is going wrong

only [MENTION=4684315]flar2[/MENTION] can help to solve this

probably he knows whats going wrong..:fingers-crossed:
[One (M8) Original Android Development] flar2:
The gestures thing is just a huge headache.

They all work perfectly for me, even with the dot view.

I addressed several firmware variations already but several roms have separate settings and the whole thing is a mess.

If you don't do the custom options it's the same as stock from the kernel's perspective.
[One (M8) Original Android Development] andreasyeah:
I chose stock HTC Gestures in Aroma and everything is great with Dot View
[One (M8) Original Android Development] nodiaque:
Install latest HTC sync manager with drivers, then remove HTC sync manager but not driver. Connect your phone, it will appear as an mtp device (like a camera). Double click on it and browse sd and internal mass storage. That's your problem, Windows issue.

---------- Post added at 09:36 PM ---------- Previous post was at 09:33 PM ----------

You can't format in fat a 128gb partition, it has to be exfat and that's the default format, or ntfs but then I'm not even sure android would see it
[One (M8) Original Android Development] BadAzDB:
I'm getting a 1013 wakelock that's killing me rn. Anybody know a solution?
[One (M8) Original Android Development] Savant:
Look it up on google because I don't know what that could be? Have you tried rebooting and see if the wake lock persists?
[One (M8) Original Android Development] BadAzDB:
It has something to do with media but I don't know how to stop it
[One (M8) Original Android Development] shawn0223:
I get that wake lock even listening to anything through headphones
[One (M8) Original Android Development] Hayaku:
As shawn0223 said, music played goes to that wakelock, as well as touch/lock sounds.
[One (M8) Original Android Development] donmarkoni:
He said exFAT. ;)
[One (M8) Original Android Development] b0gd4n:
is there any easy way for you to implement a feature that disables the gestures completely?
[One (M8) Original Android Development] DeeZZ_NuuZZ:
You can disable them in settings/ screen etc and motion gestures...no need for a module inside kernel...it's already in stock Rom there
[One (M8) Original Android Development] b0gd4n:
this does not work.

I tried all 3 gesture options from the kernel aroma installer and then went to settings in the phone and disabled the gestures.

The results in all 3 cases are the same:

right after a restart, the gestures appear not to be working. however, after leaving the phone alone for 5-10 mins, the gesture start working again.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Hm I disabled them and they never worked then until I enabled them back...using the stock gesture option...you can also disable them with xposed modules for sense 6 or so
[One (M8) Original Android Development] b0gd4n:
i'll try that as well.

thanks
[One (M8) Original Android Development] nodiaque:
He said maybe because it's in exfat, implying it might be in fat if it doesn't work
[One (M8) Original Android Development] Captain_Throwback:
I've had a 128GB card formatted FAT32, which is why I mentioned it. It is possible. It's also completely unrelated to this kernel.
[One (M8) Original Android Development] digitalhigh:
[MENTION=4684315]flar2[/MENTION] -

I'm using this on my M8VZW GPE ROM, and it's just awesome.

However, I've got one small problem...I can't get CIFS to work. I've tried both CIFS and Mount manager, and both report "invalid device", which I take to be indicitave of the app(s) not being able to find the CIFS module.

So, is there anything special I need to do to get CIFS to work properly? Insmod or something?
[One (M8) Original Android Development] Mentalmuso:
I'm pretty sure that wakelock is something to do with the Audio enhancements that is baked into kernel. The low power audio is disabled from my understanding.
[One (M8) Original Android Development] jlevy73:
I don't think low power audio is disabled because when I install viper4android, it requests that it be turned off as it interferes with it.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
v4a always wants to disable it even if it's disabled, but this kernel doesn't disable it...only project era sound mod by zeroinfinity or manually...

and disabled LPA doesn't has anything to do with the wakelocks..
[One (M8) Original Android Development] doublehp:
Thanks; will try.

Thanks. Will try.

The limits for FAT32 are 2TiB for 512B/sec disks, and 16T for 4k. Various Windows versions will refuse to do it above 32G; some will accept; all Linux accept.

This can not be related. The essence of UMS is to let the usb host mount the card, and transform the phone in a passive SD card reader. With UMS, you can format the SD in NTFS, or any other exotic FS you like. That exactly the point of UMS, and why I need it. In particular, when the SD has more than one partition, MTP sees only one; UMS gives you access to all.

Original UMS topic was: http://xdaforums.com/showthread.php?p=53750624

I will report any success and failures over there. And will stop following this thread.

Captain_Throwback claims he got UMS ... pretended to proove it, but refused to answer constructive question: on which hardware, with which software setup ? I have been specific about my hardware and software setup; he was not.

Thanks to those who tried to be constructive.

Bye (unsubscribing this thread NOW).
[One (M8) Original Android Development] p50kombi:
Dude what is your problem.

Captain is trying to help you as much as he can...

Calm down man...

**********

Sent from a tin of baked beans using some chewing gum, tinfoil, a piece of string and a manual written by MacGyver
[One (M8) Original Android Development] akapaul26:
Edit.

Sent from my HTC One_M8
[One (M8) Original Android Development] TheAnarchist1:
I am not typically one to ask such basic questions.... but can this kernel still be used with the 4.4.3 Maximus Sense build? Just making sure before I do anything stupid!

[MENTION=4684315]flar2[/MENTION]
[One (M8) Original Android Development] jlevy73:
Yes it can.
[One (M8) Original Android Development] evilive27:
I tried this kernel with 4.4.3. Everything works except WiFi. My WiFi breaks but that could be just me. Can someone else try and see ?
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Because in 4.4.3 update there are kernel changed its Better to not use any custom kernels.for now !!
[One (M8) Original Android Development] jlevy73:
Sorry my bad. I have the N5 and for some reason was getting the two devices mixed up. Apologize for the bad advise :(

Thanks [MENTION=3193263]one-[/MENTION]M8-Master for providing the correction information.
[One (M8) Original Android Development] sachinaik:
Guys

Can I disable vibration completely using this kernel ?

The vibration feedback during call has a mind of its own.

Even if it's disabled for some numbers it gives vibration and some doesn't.

The SIM provider send some mags like how much charged for last call when the call ends . There is vibration feedback on that even if vibration feedback is disabled for all mags.

M fed up....

Please help..

Can't we disable the vibrator module at kernel level ?
[One (M8) Original Android Development] :
There is a xposed module to disable those messages from your carrier
[One (M8) Original Android Development] robgo:
Wake-up gestures seem a bit less responsive now with .19. I have the non movement gestures disabled and stock/slide to sleep enabled but sometimes when I remove my phone from the pocket, tap to wake doesn't work. It coincides with the ambient light. If it is a bit overcast sometimes it doesn't work. Or if the room is slightly dark it doesn't work.
[One (M8) Original Android Development] Rauch:
Does this kernel function in 4.4.3 w/ the 2.x fw?
[One (M8) Original Android Development] mobileman88:
Other than the GPE roms, I only found one Sense rom which is the MaximumHD rom on 4.4.3. Which rom do you intend to use it on?
[One (M8) Original Android Development] Rauch:
Maximus HD 6.0.1
[One (M8) Original Android Development] sachinaik:
Can u pls tell me the module name....
[One (M8) Original Android Development] Galaxysm:
Can't seem to download?
[One (M8) Original Android Development] WinterApocalypse:
I'd just tried running .19 on MAximus 6.0.1, and it made the entire device lag, and WiFi also did not work at all. I would advise against flashing this with 4.4.3 based Sense roms.
[One (M8) Original Android Development] mobileman88:
Thanks for your party. Was almost about to flash it. Does a dirty flash recover from the problem?
[One (M8) Original Android Development] royalchild:
How can I restore vibration? I reduced it and I didn't like it.
[One (M8) Original Android Development] mobileman88:
Your can do it using trickstermod
[One (M8) Original Android Development] JayRolla:
Reflash kernel.
[One (M8) Original Android Development] kartiksood1:
forgot basics...is s off required to flash this kernel...thnx
[One (M8) Original Android Development] Garmig:
No, S-Off is not required to flash custom kernel.
[One (M8) Original Android Development] WinterApocalypse:
A dirty flash WOULD reflash the stock kernel.
[One (M8) Original Android Development] v-b-n:
Flash this to revert to Maximus kernel -> http://vps.sanrana.com/temp/maximus_6_kernel.zip

(Contains boot and modules)
[One (M8) Original Android Development] mobileman88:
Good
[One (M8) Original Android Development] Galaxysm:
Can someone upload sense .18 for me? Link doesn't wanna work :(
[One (M8) Original Android Development] kartiksood1:
hi..i have downloaded .18 from the link itself, worked fine

try again, should wrk..
[One (M8) Original Android Development] Galaxysm:
Nope...anyone know why this happens?
[One (M8) Original Android Development] bamboosensei:
Do you have an adblocker installed? Something like AdAway?
[One (M8) Original Android Development] Galaxysm:
Yes could that b it? Well I got it already. Used pc to download instead. Thanks guys.
[One (M8) Original Android Development] flar2:
I guess there will be a bit of a lull as we await HTC's release of source code. According to footballer, HTC will proably be moving their Sense ROMs to 4.4.4 very soon. I'm guessing that is when they will release the updated kernel source.

Apologies for not updating things I've been extremely busy this summer and I have vacation coming up. So there probably won't be any updates until the end of July. But there are some great things on the way, including a new elementalx website and the long awaited elementalx app.

I will also look into the CIFS problem at that time.
[One (M8) Original Android Development] ShyamSasi:
That's a lot of good news :)
[One (M8) Original Android Development] jlevy73:
Enjoy your vacation and time away from developing.
[One (M8) Original Android Development] lukes91:
Many thanks dude :) enjoy your holidays and have a lot of fun ;)

Sent from my Venomed Mate
[One (M8) Original Android Development] mobileman88:
You have been busy. Have a good vacation.
[One (M8) Original Android Development] Johnny424:
Enjoy your vacation Flar. I Look forward to 4.4.4 and L releases on the m8..thanks for all your time and effort
[One (M8) Original Android Development] HD2Owner:
guide-snapdragon-801-clocking-voltage
[One (M8) Original Android Development] chrisokaly:
Custom light senor values

considering this is one of the few custom sense kernels for the m8, and seems the only one that's been updated in the last month, i figured I'd pose the question in this forum....

I remember a while back reading that light sensor values could be modified within the kernel. ie, rather than the standard 0,10,40,90,160,225,320,640,1280,2600,10240... just seems the sensor picks up 2600 or 10240 all the time, and for ROMs with custom auto brightness settings, it would be nice to pick up values between 2600 and 10240.

S0... Is there any way of going about trying to incorporate such a customization feature in this kernel? Better yet.... Does anyone even know if such a modification is even possible?

BTW.... here is what I was referencing. from the old HTC Desire days.

http://xdaforums.com/showthread.php?t=1277700
[One (M8) Original Android Development] Alpione:
All,

Strange issue here. Just got the M8 and used ElementalX on the Nexus 5 for quite a while.

When I install it here, I get an Android System Stopped message. This is on the base Sense factory ROM, even immediately after a factory reset. I can swap back in the factory boot.img and everything works fine. Reproducible every time.

Any ideas? Thanks.

Edit: More details. AT&T variant. Firmware: 1.58.502.1

A
[One (M8) Original Android Development] MassStash:
Like this in venom rom tweaks?

Should be possible kernel level tho

More details. S-Off, which kernel options picked, etc please
[One (M8) Original Android Development] Alpione:
S-On

Default kernel modules, though I've tried it with a few combinations. No overclocking/undervolting.

Installs fine and actually seems to work fine (slide to sleep, etc), but Android gives that error message within 2 minutes of boot every time.

Thanks.
[One (M8) Original Android Development] chrisokaly:
ahhh, yes, similar to that, but I can achieve that using LUX from play store. I'm talking about the values themselves (224, 320, 640, 1280 etc....) I know ive seen ROMs for other phones where the light sensor picks up different values (for instance, MIUI ROMs for the GS3 picked up different sensor levels from Touchwiz, and CM based ROMs picked up different levels than those) Reason i bring this up it is seems the light sensor is almost always reading 2600 or 10240, and mostly 10240... even when not in direct sunlight. So if I'm going to try and tone down the brightness, it kinda sucks that I have to leave 10240 so high to compensate for outside, as well as bright inside lights. If the sensor could be "opened up" to get more values between 2600 and 10240 it could lead to better auto brightness settings. Again, i THINK this is possible with the right codes because of what I said before....different ROMs picked up different values under the same lighting conditions on my previous phone the Galaxy S3, but I do not have enough knowledge about coding to know for sure.
[One (M8) Original Android Development] tmorterlaing:
Did you ever come to any conclusions about battery life in .19?

(Everyone else) I really want a kernel that's better than standard kernel for battery by default (without messing around with voltages and CPU freqs), I'm not interested in performance because the phone does NOT need performance improvements....is this a good kernel in that way?
[One (M8) Original Android Development] My Beer Belly:
Anyone know if able to use this kernel on an Android 4.4.3 based rom? I've been using it on ARHD 8.1 and below but there were all 4.4.2 based. The newest ARHD 9.1 is 4.4.3 based and it's being said in that thread that it is incompatible with this kernel.
[One (M8) Original Android Development] p50kombi:
You can't use this kernel, neither has it been said on the ARHD thread that you can I think, unless I missed that post.

You just have to stick to stock kernel until the source comes out..

Sorry bud....
[One (M8) Original Android Development] My Beer Belly:
Thanks for the help. It hasn't been said you could use it in the ARHD thread, it was actually said you couldn't. But I wanted to confirm here because it seems best to ask in the kernel's actual thread.
[One (M8) Original Android Development] TheAnarchist1:
Thread search

I asked this a bit ago when trying Maximus (first 4.4.3 Sense rom). The answer is yes, if you want your wireless to not work.

Otherwise I suggest you just stay put until they release the source (as stated above)

Jesus....that sounded rude, even by my standards. :p
[One (M8) Original Android Development] p50kombi:
ah, sorry..

I misread your post...
[One (M8) Original Android Development] My Beer Belly:
I'm fairly certain there is an issue with the search function. I'm not sure if it's settings related but every search either returns no results or way too many. Even I search something I know is in the thread, I still receive no results.