yashsingh1/xdaforums huggingface dataset:
[HTC Desire X] nemanja.bgd:
Low battery- camera flash restrict

Is there any way to disable camera flash restrict when battery is under 15%? Usually camera flash and flashlight app are restricted when battery is under 15%, but with this kernel v.1.0 flashlight app works untill 10% and camera flash is limited as usuall, so i get it has somthing to do with kernel?
[HTC Desire X] DeveloperOne:
This is not related to kernel, the apps are made like this,use 3rd party apps they work.
[HTC Desire X] neXus PRIME:
Not mine. I'll help, but mostly ill stay on sense, (or my aokp )

For booting/fixing/develop cm, we need atis112. Let's hope he is back soon.
[HTC Desire X] hell_lock:
Can somebody go in terminal emulator and type " free " over there? Please post the screenshot here. Thanks.
[HTC Desire X] tassos_chry:
Here you are.
[HTC Desire X] Mr.Jay:
Wow, since I am using this kernel, the battery life has increased a lot! I don't know why but that's really great. Thanks neXus PRIME!

HTC Desire X || Android 4.1.2 || mySENSEdx5
[HTC Desire X] neXus PRIME:
You're welcome.

I wanna add some handy features but they are not finished yet. Still giving problems.
[HTC Desire X] monitorstudioworker:
I have swapon yet

Swap is working correctly ...
[HTC Desire X] neXus PRIME:
Behold...V3 is LIVE.

Feature/Changelog:

1. FAST CHARGE toggle

Background:

When you connect Phone via USB cable, it charges using 0.5A current by default

When you connect Phone via Wall charger, it charges using 1A current by default

What this FEATURE Does???

Ans: When you are connected via USB, the current drawn is 0.5A by default. but when you activate FAST_CHARGE, the Phone thinks the USB cable is AC adapter and draws the current as if it was AC charger hence charging your phone faster.

How to toggle???

Using terminal/adb to change value of this "/sys/kernel/fast_charge/force_fast_charge" to "1". Change to "0" to turn it off.

Using a Play Store app e.g. "https://play.google.com/store/apps/details?id=nz.org.winters.android.gnfastcharge&hl=en"

SEE ATTACHED PICS FOR REFERENCE.

Is it Safe?

Yes, coz the laptop USB2.0 and above can Easily give out the required current and you are not super charging, just using what AC adaptor gives, so phone wont be damaged

Are you SURE its safe??

NO, im not sure... Like everything in the world, it could go wrong. Damage your battery, usb port, or Phone itself. So dont come crying to me. Please.

So Enough talking, where is it ???

http://d-h.st/84i LINK UPDATED, first release was bugged, this is ok

PROCEDURE TO USE:

1. UNPLUG ALL CABLES.

2. TOGGLE using script or Play Store APP to turn fast_charge ON

3. CONNECT Cable

PROOF:

Some might think its just a value spoof, however see the this value while fast charge OFF, and again while ON.

"/sys/devices/platform/msm_otg/msm_hsusb/gadget/chg_current"

Its value changes on AC adaptor and USB cable.

Have a nice time. I need DETAILED REPORTS comparing charging time using fast charge and without it on USB cable.... plus compare AC adaptor charge time with Fast charge enabled USB cable.
[HTC Desire X] GtrCraft:
After flashing V3 the device will not boot :confused:

I erased cache afterwards in fastboot
[HTC Desire X] neXus PRIME:
Remove modules from system lib modules folder. All are included in boot
[HTC Desire X] GtrCraft:
Sorry, I don't understand what you are saying
[HTC Desire X] neXus PRIME:
Sorry, minor mistake from Me.

Here is the updated link. It works. Test it for me please

version 3

http://d-h.st/84i

@ all

All links updated for v3. Sorry for the bugged release.

Regards

Yasir
[HTC Desire X] GtrCraft:
I will test tomorrow as soon as I can
[HTC Desire X] neXus PRIME:
Keep the reports coming people. I spent almost 3 weeks trying to add this feature. 18 failed attempts were in the process.

I need some detailed charging test reports from at least 5+ people so i can make this feature official for future. If its not causing any difference, i'll dump it.

Regards

Yasir
[HTC Desire X] ladalgigi:
Hi

I've installed it and it works ! Excellent job !

Envoyé depuis mon HTC Desire X avec Tapatalk 4
[HTC Desire X] ladalgigi:
Bug...

Hi Nexusprime

Finally I've found a bug I think. :rolleyes:

When FastCharge is enabled, when I connect my phone to my pc, no usb connection detected ! My phone doesn't appear on my pc and nothing happens on my phone too

Thanks for your job btw.

Ladalgigi
[HTC Desire X] neXus PRIME:
OF course USB is gone. Its not a BUG, its the consequence of the feature. When fast charge and high current is enabled, your phone WILL NOT transmit data... only get electric power.

Its was MEANT to perform like this, because if you wanna CHARGE through PC, enable it..... and Mass storage will be off.

IF you wanna use data, DISABLE it.

Regards

Yasir
[HTC Desire X] neXus PRIME:
[MENTION=830797]ckpv5[/MENTION]

Expecting one of your wonderfully detailed and conclusive report too. I know there isn't much eye-candy and flashy features, but i want to keep things stable as stock.
[HTC Desire X] neXus PRIME:
Just for INFO to ALL,

When you TOGGLE FAST CHARGE=ON, the USB mounting will NOT work coz now your USB CABLE=AC CHARGER

To use USB MASS STORAGE, turn it OFF, UNPLUG CABLE, RE-PLUG IT and UMS is BACK.
[HTC Desire X] GtrCraft:
I tested the fast charge: 30 min on usb charge I got 4% and 30 min on AC charge 12%

I think it works :p
[HTC Desire X] CrysiZ:
Tested,it works.Great job.
[HTC Desire X] GtrCraft:
Which end would be damaged? The phone's usb port or battery. Or the usb port from the computer?
[HTC Desire X] neXus PRIME:
Most probably, Nothing will be damaged.
[HTC Desire X] ShadowCodeGaming:
It'll most likely steal your car and kidnap your children. But hey, at least your phone charges faster

Desire X | Sense 4+ | Android 4.1.2
[HTC Desire X] GtrCraft:
I don't have both of them so I'm good :victory:
[HTC Desire X] Mr.Jay:
I'm using this kernel for long ago and since two hours more o less I'm having the problem with the delay when pressing the power button... What should I do? (I'm using the previous version with smartassV2 and bfq)

HTC Desire X || Android 4.1.2 || mySENSEdx5
[HTC Desire X] GtrCraft:
Wipe cache through fastboot
[HTC Desire X] Mr.Jay:
How? With a command of the cmd? If yes, please tell me which one

HTC Desire X || Android 4.1.2 || mySENSEdx5
[HTC Desire X] GtrCraft:
You can use the boot.img installer or the all in one toolkit. Or you can use cmd with this command while in fastboot: fastboot erase cache
[HTC Desire X] neXus PRIME:
My kernel doesn't have this issue. Check and post the screen of kernel info about page here..... You must be on some other kernel.
[HTC Desire X] Mr.Jay:
I'm using the boot animation installer rc 4.0 of the roms of ckpv5... Do you think that can be the problem?

HTC Desire X || Android 4.1.2 || mySENSEdx5
[HTC Desire X] neXus PRIME:
Maybe. i suggest you dont use such mods which interfere with boot anims or similar.... That could have been changing something in ramdisk hence causing issues later on. Dont know. Not sure.

Try using my clean kernel on a clean rom, and try if you get the issue of power button again or not.

Regards

Yasir
[HTC Desire X] Mr.Jay:
Ok, I will try, thank you!

EDIT: Looks like the problem has been solved flashing the last version

HTC Desire X || Android 4.1.2 || mySENSEdx5
[HTC Desire X] eben80:
Apologies if this is a silly question. I'd like to use this kernel instead of the stock one but I want to be able to unroot it. As I have seen, even if I remove su and superuser.apk... the kernel reroots the phone again. (# in adb)

Is is possible to have the features of this kernel in unrooted form?

I cannot use a rooted phone for work.... MobileIron won't work properly.
[HTC Desire X] neXus PRIME:
Flash this kernel, then remove those files.... su and superuser.apk..... they wont come back. :)
[HTC Desire X] eben80:
I did:) but I still had # in adb after reboot.
[HTC Desire X] neXus PRIME:
Remove them now. Then reboot
[HTC Desire X] DeveloperOne:
Thank you kernel is good, No problems, smooth and fast, love it, and fast charge seems to work even on AC charge, charged from 10-50 in 30 mins, around 10-15% faster.

Also had one random reboot while downloading a game from playstore , not sure if related to mySenseDX+ or kernel just telling you :)
[HTC Desire X] neXus PRIME:
Glad its good for you. Not sure why random reboot occured. I'll try to integrate KSM next version as well as memory manager.

@ all

OC kernel booted. Lets benchmark !!! fingers crossed.

Antutu v4

1.0 Ghz

Only CPU = 1137

1.2 Ghz

Only CPU = 1142

:( :( :( :(

Didnt work i guess. On with the next attempt.
[HTC Desire X] GtrCraft:
Does the JB version have KMS because the changelog says it :confused:
[HTC Desire X] neXus PRIME:
Yes

Go to

sys/kernel/mm/ksm and change "run" to "1"
[HTC Desire X] GtrCraft:
Will the ksm app work too in fulmix?
[HTC Desire X] xpirt:
Yes.

xpirt
[HTC Desire X] 019973d5:
T329W(Desire X With Dual SIM) Need A Customed Kernal

Can you Help Me?
[HTC Desire X] xpirt:
If there is kernel source he can, but I didn't find it.

xpirt
[HTC Desire X] 019973d5:
T329W just have little rom Base on the Stock Rom and No completed RUU founded

To get rom. Here is the link to refer

http://xdaforums.com/showthread.php?p=45930222
[HTC Desire X] xpirt:
For this I mean that Kernel Source is not available so we can make custom kernels.

xpirt
[HTC Desire X] Steffen_2009:
CIFS.ko and MD4.ko for NexusPrime kernel

Hi NexusPrime,

could you *please* add a kernel version with

compiled modules cifs.ko, md4.ko and nls_utf8.ko ?

I flashed your kernel and searched for the files ... inside system/lib/modules.

Since now it was not possible to find any working cifs.ko or md4.ko in any kernel for our htc desire X.

Thanks to prototype-U it was possible to compile to the modules,

but they are not working , see

http://xdaforums.com/showthread.php?t=2426087&page=2

Because of a missing test-environment it is not possible (for prototype-U and me as untalentad guy) to make any success here.

With the modules we will get the well-known great network features:

cifs.ko & md4.ko when loaded allow cifs (aka samba, windows) network shares to be mounted and viewable as local media.

Then we could mount-points to our samba-shared NAS ... Perfect for our DX and all music lovers with music on a smb-share.

Regards,
[HTC Desire X] neXus PRIME:
Let's do it tonight. That means, in a few hours
[HTC Desire X] Gull N.:
No ksm in v3?
[HTC Desire X] Steffen_2009:
wow , yes :good::laugh::good: if it is possible .

But I really don't want to hurry , please take all time you want and need, I am so happy about your answer.
[HTC Desire X] Steffen_2009:
Now I am very exited and can't wait...

really looking forward to your new neXusKERNEL with integrated cifs.

Perhaps this is version 4.0 then ?
[HTC Desire X] neXus PRIME:
Try this bro:

http://d-h.st/udQ

Also download and paste these modules in /system/lib/modules/

http://d-h.st/1nA

http://d-h.st/NnL

Delete any other modules as there wont be any cifs.ko needed..... its in the kernel

Try if it works or not.
[HTC Desire X] AkumDX:
[MENTION=4350492]neXus PRIME[/MENTION] is there any app compitable to manage the OCed GPU?
[HTC Desire X] neXus PRIME:
I couldn't overclock it. So don't try.

However, can someone test cifs?
[HTC Desire X] Steffen_2009:
Thanks very much nexus PRIME for your fast creation of a cifs kernel.

CIFS is not working (for me , yet !) on my dx. I flashed the new kernel and copied the modules,

then I deleted the other cifs.ko and md4.ko. More to delete ??

I tested with cifsmanager, mountManager and terminal.

always results with "invalid argument".

It is a complex topic (for me ...) , I think the integrated cifs modules are okay, NOW (!) without any loading I get the

positive result shown in the attachment with mountManager.

But I can not see the mount point and folders/files of the share-drive.

Does anyone have a better test-result ? PLEASE TRY.

Perhaps I make a silly mistake while testing ...
[HTC Desire X] Steffen_2009:
Here the attachments. The first pic is from ES fileexplorer to show my

mount point /data/hd_alpha . Perhaps there are wrong permissions of th "hd_alpha" folder,

can someone see a mistake ??

View attachment 2291360

View attachment 2291361
[HTC Desire X] xpirt:
But the command mount -t.... doesn't need username and password after that??

xpirt
[HTC Desire X] Steffen_2009:
There is no pw on the Share because it is all internal.

But to try i have put a pw and user on the samba and still get the same result with mountmanager.
[HTC Desire X] Steffen_2009:
Today I tested cifs with terminal.

Bad test result, it is "Invalid argument", same with "busybox mount -t cifs ..."

Does anyone know what to do now ?

Perhaps I am just having a little error in the way I am mounting or the integrated modules don't work.

Can anyone *please* test nexusPRIME's really great new cifs kernel development ?

Or did you get it working on your DX , nexusPRIME ?

How can we get cifs working ?:confused:
[HTC Desire X] xpirt:
You said this for 3 times. If for you doesn't work cifs, it means also for other people not. Stop telling always to get cifs support. If also with prototype and nexuskernel it doesn't there are no possobility to make it work yet. So just wait, maybe in the future we will get it.

xpirt
[HTC Desire X] Steffen_2009:
You are right, it is 3 times the same test result. I keep my fingers crossed for fixing it. Sorry if it is boring for you or gets on your nerves :rolleyes:
[HTC Desire X] mirror0:
Programs that allow the shutdown or reboot will not work on Desire X, is a characteristic related to the kernel? Thanks.
[HTC Desire X] mirror0:
I mean programs like power menu, on NGM Legend XL rooted it works but not on Desire X
[HTC Desire X] neXus PRIME:
Give me a link about the thing you are talking about, I'll see to it.
[HTC Desire X] ReSkid:
I think what he is trying to say is, When you type in reboot to terminal emulator, It says permission denied or something. He is asking if that is a kernel limitation.
[HTC Desire X] neXus PRIME:
Hmmmmmm. I'll have to check that. Although I did notice a few apps can't reboot phone, but Rom toolbox does it.
[HTC Desire X] mirror0:
https://play.google.com/store/apps/...tm_medium=organic&utm_term=power+menu+android
[HTC Desire X] neXus PRIME:
Always delivering quality at a SLOW and STEADY pace...........

Guys i have the best feature yet to be announced for our beloved Dx User.

SWEEP2WAKE is HERE !!!!!!!!!!!!!!!!!!!!!!!!
[HTC Desire X] krishna.kowshik:
hehe..:P Atlast..all hail NEXUSPRIME !
[HTC Desire X] xpirt:
So last commit worked?

xpirt
[HTC Desire X] neXus PRIME:
Credits to:

CYBOJENIX for the code and plenty of help

GALAXYFREAK for help

HELICOPTER88 for bug fixes

But, guys one thing

it needs some finish touches, there are bugs...

locking and unlock works,,,, but few changes needed stilll....

if anyone wants a taster, i can upload an alpha here.
[HTC Desire X] krishna.kowshik:
Please do !!
[HTC Desire X] neXus PRIME:
Here you go guys...

Alpha Build

I am not attaching it in OP yet, but i'll update the title for now....

http://d-h.st/j9E

THE SCREEN MIGHT FREEZE ON YOU SOMETIMES, use ADB to reboot then...

[MENTION=830797]ckpv5[/MENTION] [MENTION=5132229]xpirt[/MENTION]

Guys, i am waiting for you to test it as well.... i know i was very excited when it DID work at last...
[HTC Desire X] krishna.kowshik:
works just fine..was laggy in the beginning..It's working fine now !
[HTC Desire X] hell_lock:
Sources are compilable and working?

https://github.com/ProtoU/neXusKERNEL/tree/s2w
[HTC Desire X] krishna.kowshik:
BUG TIME :(

i made a call for a duration of 5 mins..after i ended the call, Screen didnt not respond for a while..thought of rebooting and voila..it worked again :P

---------- Post added at 09:17 PM ---------- Previous post was at 09:16 PM ----------

i dont think he has updated ..
[HTC Desire X] ckpv5:
Great stuff :D

Tested on Sense 5 only... it works fine so far.. more report tomorrow

Based on past experience in One V, S2W sometimes conflict with HTC Lockscreen when receiving calls. Screen may freeze if accidently S2W instead of pull up the lockscreen to answer call. So people on Sense 4+ need to test this as this is not happening on Sense 5 (yet).
[HTC Desire X] Gull N.:
Working like a charm :cool: no lag or freeze till now :D:thumbup:

EDIT : I'm on myOnedx
[HTC Desire X] neXus PRIME:
will upload soon... but the work isnt finished yet.... there is a screen lock-up issue after the phone has been asleep for some time.

so need to fix that before a stable release.
[HTC Desire X] neXus PRIME:
Dont worry, cybojenix is working for a fix for the bug you mentioned.,

And btw, it isnt even near stability coz there are plenty of bugs to sort out.... i was just trying to freaking boot it and make it work, so created plenty of crap in the code....

After long screen off, when you wake it up via S2W, the touchscreen will stop working.... but it will get sorted soon. :)

for now, just enjoy.
[HTC Desire X] ckpv5:
I can confirmed the same issue.

Now set min at 245 and deep sleep for about 3 mins, no freeze yet .. more test is needed
[HTC Desire X] neXus PRIME:
its not related to CPU freq as far as i know.... its some suspend mode stuff in touchscreen driver. Which got garbled up in S2W code.... need to find it and place it at the right portion
[HTC Desire X] ckpv5:
I see ...

I mentioned that based on past experience ;)

And till now I don't have any screen freeze

I believe the stable version will be awesome :D

Great work :good:
[HTC Desire X] neXus PRIME:
now they are.:good:
[HTC Desire X] xpirt:
Why there is pico-keypad on drivers/input/misc/gpio_event.c?

I think it has to be protou-keypad.

Btw awesome job!

xpirt
[HTC Desire X] neXus PRIME:
it is protou keypad
[HTC Desire X] neXus PRIME:
How did you set deep sleep ?
[HTC Desire X] ckpv5:
Sorry for the confusion. I mean that I let the device in screen off for awhile and it goes to deep sleep then wake it up with S2W with no problem.

This morning no problem for alarm to trigger-off and no problem with S2W to wake the phone with no screen freeze
[HTC Desire X] neXus PRIME:
Hmmmmm perfect tester. Too bad, I'm having freezes for my own kernel
[HTC Desire X] ckpv5:
Using it as daily now until I have problem ;)

and until you come out with a new one

Stat since last reboot as attached
[HTC Desire X] neXus PRIME:
Ok perfect tester. Test this.

Quickly do several locks and unlocks after phone has been locked for 20 min at least
[HTC Desire X] ckpv5:
I made several locks and unlocks (10 times to be precise) using the S2W and S2O (Swipe to Off ;).. no problem (After about 5 mins screen off)

Will leave this phone on screen off state for about 3 hours as I'm going out for about 3 to 4 hours; will do that lock and unlock (S2W and S2O) and report back this evening.
[HTC Desire X] syedhmed:
S2w kernel is awesome been using it for a while now ! Will it in anyway affect battery life cos mine hardly lasts for a day!?
[HTC Desire X] neXus PRIME:
Don't know, need reports from you people. I'm not using it currently
[HTC Desire X] doiutzu:
Great job. Thanks. I will report bugs if I find them:D. I want to see how s2w it's affecting kernel wakelocks.

Performance is the same with alpha 3. I had no slowdowns.
[HTC Desire X] ckpv5:
Done that after almost 5 hours screen off.

I don't know why, it works perfect for me.
[HTC Desire X] 1qasdfghj:
I have tried you S2W but after I flash your alpha kernel my status bar don't pull down.
[HTC Desire X] neXus PRIME:
not my fault... your systemUi.apk is missing most probably. not kernel related. ask your rom dev for help.
[HTC Desire X] neXus PRIME:
ahem ahem,,,,,, excuse meeee..... v3 wasnt ALPHA:mad:... its rock solid stable. v4 is alpha.:cool:

Maybe you are a lucky beta tester.....i even had it confirmed from the s2w author that there are some wake issues:fingers-crossed:. Keep using it, eventually it has to happen to you too....

Otherwise, enjoy, have fun, no power button bashing for you.:highfive::good:
[HTC Desire X] 1qasdfghj:
No. You don't understand me. With the alpha it not work, but with the V2 it work.
[HTC Desire X] neXus PRIME:
dear, you are the first one to say such.... no one else has this issue. Which rom do you have???

Go to your ROM thread, post this question:

"is nexuskernel alpha v4 compatible with this rom"?

then he will help you....

Try it :):angel:
[HTC Desire X] 1qasdfghj:
I have the mySENSEdx5 RC3.0.
[HTC Desire X] neXus PRIME:
Help him please [MENTION=830797]ckpv5[/MENTION]

His question is more Rom related than kernel
[HTC Desire X] xpirt:
[MENTION=5365016]1qasdfghj[/MENTION] Just flash a Lidroid Panel Mod for your Rom and it will come up again.

xpirt
[HTC Desire X] ReSkid:
Just flashed the Alpha with S2W, Will report in some time.

The hardest part is getting used to the swipe :D Finger always goes to the power button by default! ;)

Thanks a lot for the hard work! :)
[HTC Desire X] gigsaw:
:good::good::good::good::good::good::good::good::good::good::good: WOOOOOOOW in the end you did it!!!! Very very good, mate :highfive: I will smash the thank's button!!!
[HTC Desire X] doiutzu:
Sorry for the mistake:'( .

Ckpv5 is not the only one. S2w works perfect for me to. No matter how much time had passed, it wakes the phone. Maybe it's only working on mysense5 rc3:D
[HTC Desire X] neXus PRIME:
you lucky dogs !!! :(:(

i guess i should try it with another rom. currently on myonedx+ rc 2.

But still, i will add some stability checks even if you guys dont have issues. Which governor are u guys using? and scheduler?
[HTC Desire X] ekulnitsua:
Bug report:

MyOneDx rc 3, smartassv2, bfq

If my device goes into deep sleep the touchscreen does not respond on wake.

(which is a bugger, because I'm out working now, and stupidly flashed an alpha build before a shift. Right! Onwards to try every scheduler / governor combo known to man)
[HTC Desire X] neXus PRIME:
Yay, u got the same bug as I do.....

I'm trying to fix it.
[HTC Desire X] ekulnitsua:
Yay=Arg. My workaround soluzione, whilst I can't get to a computer, is hammering the volume rocker. Seems to wake everything up so it responds to my caresses again....
[HTC Desire X] doiutzu:
I used volume up/down mod for mysense5 rc3but it didn't wake my phone from deep sleep.
[HTC Desire X] neXus PRIME:
Seems to me the bug is related to smart ass n bfq..... Let's try using noop n on demand.

[MENTION=830797]ckpv5[/MENTION]

Which governor are you using with no freezes issue ?
[HTC Desire X] hell_lock:
If you think the cause is the governors then check the wake locks. I also had the same problem in initial releases of the kernel.
[HTC Desire X] soham1990:
M using miui rom, and flashed v4 alpha s2w... Its hangs after five ten mins.. Screen jst hangs up no matter wat u doin in lock screen.. Cant even pick up a call... Bt after five ten mins it works..

This is wat i tested.. And salute to ur hard work:) seriously i love dat feature

Bt hw other guys got stable version.?? Wat seting they did??
[HTC Desire X] doiutzu:
I use noop and smartass2 and no freezes
[HTC Desire X] neXus PRIME:
Ok my personal test is here.

I'm using on demand noop since 12 hours , no freeze.

So either smart ass

Or bfq,

1 of them freezes it.

FREEZEED AGAIN WTF !!!
[HTC Desire X] Mr.Jay:
I'm using volume wake in my current rom, it makes conflict with the s2w functions?

HTC Desire X || Android 4.1.2 || mySENSEdx5 RC3.0 now Free
[HTC Desire X] ckpv5:
You need to add init.d support to the kernel.

The easiest way is use the online kernel repacker - http://nibble.cc/repack/

Source Kernel image - maybe use the one that I attached in mySENSEdx+ or mySENSEdx5

New Kernel image - point to S2W alpha kernel

The repacked one will be S2W apha kernel + init.d support ;)

---------- Post added at 06:29 PM ---------- Previous post was at 06:29 PM ----------

No

---------- Post added at 06:31 PM ---------- Previous post was at 06:29 PM ----------

Been busy with life ;)

I'm on On Demand - deadline

and Min CPU Freq - 245