yashsingh1/xdaforums huggingface dataset:
[HTC One V] Ken-Shi_Kun:
It will be easier in adb shell.

Run cmd where you have adb.exe

tipe: adb shell

you will see som gibberish and # or $ at the and and the cursor blinking. If you have $ tipe in su, then you will have #

tipe in "echo 1 > /sys/class/power_supply/battery/fast_charge" without the quotes and that's all (reboot if you like it that way)
[HTC One V] kusanagi-sama:
Permissions should be rw-r--r--?
[HTC One V] bratusm:
Like all other files in that directory: rwxr-xr-x
[HTC One V] r3d_ark:
Re: [Kernel] [PrimoU] 2013/02/15 HELLBOY

No, its "rwxr-xr-x"

The one which other files have in same folder.... Btw, try through adb, no need to set permissions, just command!!!:)
[HTC One V] Bambalazs:
Fast charge is fantastic!

Thank you Maxwen! Your are our last hero! :highfive:
[HTC One V] lilrob1213:
Hey guys I really don't wanna be a bother (or a troll), but I was wondering how I can get fast charge on any of the PrimoC kernels? I've seen the option in provision rom I think, but I don't think the feature is actually implemented in the kernel...? Thanks so much!
[HTC One V] Bambalazs:
S2W 2.0

I've got a problem and need your help in Sweep2Wake.

I want to modify /sys/android_touch/s2w_allow_stroke 1 to 0, so I set the file's permission to write, changed 1 to 0, set back to -rw-r--r--, then rebooted to apply changes. After reboot nothing changed. The s2w_allow_stroke's value is still 1!

What did I do wrong?
[HTC One V] Ken-Shi_Kun:
Try to make a copy of your file in sd for example, then modify it, and then copy it back to it's place in sys, and of course set the right permissions.

Or adb shell then type... google is your friend here.

-Or in hungarian-

másold át mondjuk az sd kártyádra a filet, ott írd át a megfelelő részeket és utána másold vissza az eredeti helyére és állítsd be az engedélyeket. Vagy adb shell és parancssorokkal (google jóbarát).

Hope it solves the problem for you.

---------- Post added at 12:13 PM ---------- Previous post was at 12:11 PM ----------

Don't know about that, but with a modified cable you are able to say if is working without the knowledge from the kernel.
[HTC One V] Bambalazs:
Köszönöm / Thank you! ;)
[HTC One V] soumojitdas:
You're the GOD of the KERNELS!!! :angel: Thanks Maxwen.. For your tireless contribution! :):):)
[HTC One V] paarthdesai:
Re: [Kernel] [PrimoU] 2013/02/15 HELLBOY

someone donate max a redbull :p so he can get wings and cope up with the comment above :p

Sent from my One V
[HTC One V] cybervibin:
Re: [Kernel] [PrimoU] 2013/02/15 HELLBOY

I miss the activity this community had a few months back
[HTC One V] sohamssd:
Re: [Kernel] [PrimoU] 2013/02/15 HELLBOY

Yeah me too, remember the cm10 nightlies? Awesome... almost every hour a new build got uploaded.. anyways good that we have 4.2.2 now:cool:
[HTC One V] r3d_ark:
Re: [Kernel] [PrimoU] 2013/02/15 HELLBOY

Yaa....we have good roms based on 4.2.2 but Wish could have a cm10.1 too....:(

Dats, can say, something unique of its kind....:p
[HTC One V] mihirengg19:
Max,

How to verify/confirm whether fast charge is working?
[HTC One V] maxwen:
compare this value

cat /sys/class/power_supply/battery/smem_text|grep batt_current

with and without fast_charge enabled

without I get typically something like this

batt_current: 294

with

batt_current: 370

BTW: you must replug your cable after changing fast_charge!

also if you boot with cable plugged it will always default

to "slow" charge
[HTC One V] ThePresence:
Re: [Kernel] [PrimoU] 2013/02/15 HELLBOY

wow you're still alive.... :eek:
[HTC One V] omnomnomkimiiee:
Would it be possible to modify the default voltages and clocks in-kernel ?
[HTC One V] 1ceb0x:
Hello guys,

I took the plunge to fix the accelerometer for our few 4.2.2 roms and I did just that. I am providing the download link here - it is the hellboy 4.2 kernel AND ONLY FOR 4.2 ROMS containing the accelerometer fix and only that!

Max - feel free to put the download link to your first page if you want :)

Regards,

1ce

Hellboy4.2 - Accelerometer FIX
[HTC One V] maxwen:
done - thanks!
[HTC One V] Confused.brit:
How can I track down if im getting a problem with device, ROM or Kernel?

I'm seeing memory problems.... I cant seem to run more then one app at a time before i get ANR's for everything else. Its major issue because one of the things going ANR apparently controls whether it can find the ringtone.

Latest Hellboy downloaded in goomanager then flashed with All-in-one toolkit, CM10, accoding to the updater its the latest. TeamWIN recovery.
[HTC One V] android_murphy:
Issue with Installing App via ADB

Hi max,

I am having an issue where i am unable to install applications directly from Eclipse via the "Run as Android Application" command.

This issue exists for both PA 4.2.2 build and Evervolv 4.2.2 builds being used with the hellboy 4.2 kernel. I have asked 1c3b0x if he knew about this issue, but he has mentioned that this might be an issue with the kernel.

Adb error gives a permission denied error when it tries to unzip the file. Logcat is attached.

Further investigation produced the following results:

this fails with an error

adb install myApp.apk

however the command following works properly as it installs from sdcard instead

adb install -s myApp.apk

This leads me to believe there is some problem with the assigning of permissions when the application is pushed by adb onto /data/local/tmp.

also the adb umask is shown as 077. so only root would have permissions to open the file and i think that is the reason why it is failing to install while using the internal storage directory. I checked on another phone i have lying around and the umask for that phone is 000 and applications get installed just fine via eclipse/adb. Also other ROMs with any other Hellboy Kernel yields 000 umask and works just fine.
[HTC One V] maxwen:
well - if then its a ramdisk issue

will take a look later
[HTC One V] maxwen:
well - this is a 4.2 change

look here

https://github.com/android/platform_system_core/blob/master/rootdir/init.rc

this is the default init.rc template for 4.2

search for the lines

...

mkdir /data/local 0751 root root

# For security reasons, /data/local/tmp should always be empty.

# Do not place files or directories in /data/local/tmp

mkdir /data/local/tmp 0771 shell shell

...

In older ramdisks /data/local/tmp was created like this

mkdir /data/local 0771 shell shell

mkdir /data/local/tmp 0771 shell shell

I dont know what you mean with "adb umask"???

permissons of /sbin/adbd are always

-rwxr-x--- root root

on all my devices - also on the HOV with CM10

so this is definitely not an issue :)
[HTC One V] android_murphy:
Hi thanks for the info and for looking into this issue. However the permissions for those two directories is not an issue. The issue is that anything created in those directories gets created with the permission rw-------

However earlier it used to be created with permissions rw-rw-rw-

So this is where umask comes into the picture. It is actually defining what the default permissions would be applied. So adb install command writes the file with permissions that cannot be read by the system while installing the applications.

By "adb umask" i meant the the umask that the adb shell provides. You can check that by typing umask in either adb shell or terminal emulator.

Hope this helped in explaining the issue :).
[HTC One V] maxwen:
well actually I have no idea where the adb umask comes from :)

EDIT:

well I know now :)

https://code.google.com/p/android-s...re&r=eb68fa8153d97f5f8b6d9062fcf91fe393e3bff3

so replacing init and adbd in the ramdisk is my last idea for this
[HTC One V] maxwen:
[MENTION=3371132]android_murphy[/MENTION] - try this one

http://cyano-rob.tuennerhoff-edv.de/Maxwen/boot-HELLBOY-42-201302150110.img

this is ONLY for android_murphy - dont grab that image!!!
[HTC One V] android_murphy:
Hi max... thanks a lot. I'll try it and let you know. Don't have time to breathe these days. :crying:

Will let you know by tomorrow.
[HTC One V] android_murphy:
My good sir U ROCK. Whatever you did, it worked :)

Didn't need to set ro.adb.secure=0. Worked perfectly without it. umask is now 000. And file permissions are rw-rw-rw.
[HTC One V] heross:
Hello maxwen,

and thx for your kernel42 for evervolv. Works great, but Systemsound(TTS) is relatively quiet. Have this to do with the kernel?

Now i have a featurerequest for next update. Sorry i hope this is allowed. :o

I hav seen and heard on a HTC One amaizing Sound quality and loudness with FauxSound support... but need KERNEL!!!

We can have louder Sondquality with app called FauxSound or TricksterMod in PlayMarket ... but our KERNEL need to be edit and add an info patch: see links to githubs in PlayStore

Is it possible to do this kernelmod for our HOV, or we have the wrong hardware?
[HTC One V] maxwen:
I am not willing to buy fauxsound to test

if you are - tell me then I will provide you a test build

BTW: you need the TPA version of the app
[HTC One V] Steam.:
I have fauxsound already - but I'm still on the KISS kernel.If you can implement it there that would be awesome.A switch to 4.2 is going to happen in the near future, but i'm sticking to the original f/w for the moment.

EDIT: scratch that, build for hellboy aswell.gonna try 4.2 in the morning, or the one after that.
[HTC One V] maxwen:
HELLBOY 4.2 version

http://cyano-rob.tuennerhoff-edv.de/Maxwen/boot-HELLBOY-42-201305060032.img

KISS version coming soon
[HTC One V] Steam.:
i just bought the TPA version, gonna test tomorrow.Thanks for your efforts!
[HTC One V] maxwen:
KISS version

http://cyano-rob.tuennerhoff-edv.de/Maxwen/boot-TK-USB-201305060044.img
[HTC One V] maxwen:
OP updated to latest build

includes new "double tap to wake" feature (dt2w)

to enable use

echo 1 > /sys/android_touch/s2w_allow_double_tap

does NOT include fauxsound patches until tested
[HTC One V] omnomnomkimiiee:
What is echo 1 ?
[HTC One V] sohamssd:
Wow! Double tap on the softkeys should be really interesting:) thanks for that! Also, will double tapping while the screen is on will put it to sleep??
[HTC One V] Steam.:
fauxsound does not work.In the TPA app, i move the sliders but there's no change to the sound at all.

In the original FauxSound app, I get this:

wasn't able to try hellboy as I got a status 7 with the 4.2 zip, which means redownloading
[HTC One V] 1ceb0x:
we all love maxwen!!!
[HTC One V] heross:
Hello maxwen,

and thx for testversion with Fauxsound. I have now flash the Kernel and test with TricksterMod App. There will be no show the option for Soundsettings.
[HTC One V] sohamssd:
Hi maxwen, how to disable dt2w?:)
[HTC One V] maxwen:
redownload boot-HELLBOY-42-201305060119.img

forgot to merge latest ramdisk changes from ice
[HTC One V] maxwen:
read

think

think again

and then ask such a question :)
[HTC One V] Seraz007:
n00b question but how do i enable ? :D:D:o
[HTC One V] sohamssd:
Read

Think

Think

Think again. Or better yet read his previous post:D

And I'll see bout disabling it max. Since you said it that it should be really easy. Thanks:)
[HTC One V] maxwen:
if you know the diff between 0 and 1 it should be easy :D
[HTC One V] Fikus011:
:D Oh just tell him for god sake..

echo 1 equals enabled

echo 0 equals disabled

P.S. Max buddy i seen this for htc one ,be kind and add it on Kiss git please,thanks :)
[HTC One V] Seraz007:
oh for god's sake plz tell me how to enable in EXACT steps:o:o:o:o:o:o

noob in here xD
[HTC One V] Fikus011:
1.open terminal emulator

2.type su and hit enter

3.type echo 1 > /sys/android_touch/s2w_allow_double_tap and hit enter

4.type exit and enter

5.repeat step 4

and you're done
[HTC One V] 1ceb0x:
this has sw2, fast charge and no mem killer defined in ramdisk?:)(for ev ofc)

thanks a ton max!
[HTC One V] Seraz007:
thnx!

stupid 8 thnx per day rule! xD :p;)
[HTC One V] maxwen:
same ramdisk as your kernel linked in Evervolv OP

so if its there its here too :)
[HTC One V] maxwen:
just use the file synaptics_3200.c from HELLBOY source

its exactly the same for KISS

will provide a KISS version later
[HTC One V] maxwen:
thats no excuse for learning and trying not beeing a noob anymore!
[HTC One V] Seraz007:
good point!
[HTC One V] Fikus011:
Thanks a lot mate,will do that for now.

Git pull can wait,no hurry :good:
[HTC One V] maxwen:
better wait

just found a small issue with this

need to update git later
[HTC One V] Fikus011:
No problem,i just added the file in kiss sources i have ,i can always revert later,have not compiled anything with this driver yet.
[HTC One V] heross:
Hello maxwen,

i have flash kernel 201305060119 in evervolv and now s2w is not working properly. Turn on device is ok, but now a simple click at the backbutton turn off the device,. so i can not go back in any menus or leave apps.

now i have clean cache and dalvik, but no amendment.
[HTC One V] sohamssd:
Thank you guys:p also max, is using double tap on the capacitive keys possible to wake it and doing it again to put the device to sleep?
[HTC One V] maxwen:
that is the issue I wrote just above :)

as a workaround for now disable direction dependent s2w
[HTC One V] maxwen:
makes no sense
[HTC One V] maxwen:
OP updated for latest build

Sorry - I introduced some S2W bugs :)

but I have enabled now fauxsound by default

so if it still doesnt work with the TPA app

I am out of ideas
[HTC One V] maxwen:
I have no idea if TrickserMod needs the same things then

the fauxsound app. So if you really want to test you need

the fauxsound app
[HTC One V] martijn99:
how do i enable double tap to wake? srry noob question :$
[HTC One V] zekerijah:
fikus explained it just few posts back
[HTC One V] martijn99:
thanks didnt saw :$$
[HTC One V] ijayesh:
Thanks max :D :):thumbup:
[HTC One V] sonrics1993:
Does smartmax governor available for based cm10 ROMS?
[HTC One V] Seraz007:
yes
[HTC One V] maxwen:
See OP - now yes :D
[HTC One V] ihor2284:
Thanks

where to read the description of the mode of operation "smartmax"???
[HTC One V] maxwen:
search in hox+ forums

but actually it is similar to smartass
[HTC One V] bratusm:
[MENTION=4683552]maxwen[/MENTION]

Well, you did it again... :victory:

Now, Hero as you are, what can we expect next? :fingers-crossed:
[HTC One V] Aashuk Mehta:
In short you are asking for an eta:p
[HTC One V] maxwen:
ignored :D
[HTC One V] :
maxwen, is it that this kernel doesn't support TURBO BOOST mod? (the 4.2 version, latest one)

As I tried to use this mod: http://xdaforums.com/showthread.php?t=2145133

And terminal emulator is not showing any swaps since I asked from that thread and said that he thinks the kernel doesn't support that mod. Is hat true and is there anything to do to get this working?
[HTC One V] Cr3sc3nt:
This is not a kernel issue. This issue was resolved in the 4.2.2 thread. The rom was not compiled properly.

Here's the link http://xdaforums.com/showthread.php?t=2230656&page=78 check post #774 and #779
[HTC One V] :
Thanks, will check it out and try use that system.zip
[HTC One V] r3d_ark:
After flashing the latest kernel on cm10, when i open sdcard, it aometimes says direcrory ont found..opening parent folder... But when i open it again, its f9...it happens sometimes only...must be a kernel issue coz before that,it was f9
[HTC One V] Seraz007:
dude cm10 whaaat? :o:)
[HTC One V] r3d_ark:
Ya...:(:(:(:(:(:( come and see.. Im soo busy with studies that 24hrs before i saw a spider web and a spider on my keyboard+u cant see the alphabet on my keyboard due to dust....:p:( so,no time to try new rom...:(
[HTC One V] Seraz007:
well that suckz :(
[HTC One V] maxwen:
no changes in kernel in that area
[HTC One V] comscier:
do a scandisk on your SDcard from your computer.

try with another SDcard

My own experience, I used my phone a books downloader, ending up with 30000+ files on my 32GB SDcard... (30 books, around a 1000 files each)

1 month later... icons/shortcuts start disappearing from homescreen, file manager can only browse portion of my sdcard.

want to copy a 10GB video, so I did a exfat format on my sdcard, mount it back to phone... phone can no longer recognized the card...

re-format it with fat32... card died... whatever I copied to it, scandisk... a % of the files disappear...
[HTC One V] JamesInsights:
Guys what are some recommended settings for this kernel
[HTC One V] maxwen:
depends on your usage profile
[HTC One V] Fikus011:
Max can you please take a look at this https://www.codeaurora.org/gitweb/q...it;h=1634906fde3140db973950ef4b0ed53a6767375e

and this https://patchwork.kernel.org/patch/2329401/

I would appreciate your thoughts on this :)

P.S. I did make changes to my local source,but i screwed up in elevator.c file,just wanted to know have you heard of this sched before ,and is it worth of time for HOV.

Here is the fork of kiss i did if you want to push any experimental stuff without adding it to your kiss source,just let me know what it is.

https://github.com/fikus011/primou-kernel-KISS

Thanks.
[HTC One V] maxwen:
Well - I can add ROW scheduler but is has no advantages against

BFQ - only in benchmarks :)

I added it for the HOX+ but never use it :)
[HTC One V] Fikus011:
Leave it then,i just needed to hear that ;)

Thanks :)

P.S. I'm quite happy with bfq,dont need more bloat in the kernel.:good:
[HTC One V] maxwen:
Anyone experiencing crashes with latest version

please try test build 201305202359 available

at the usual location
[HTC One V] rakeshbro:
Hi max @ 1st thank you.

M confused which 1 should i flash i am using this rom

shpongle [beta][20130521.

Thx.:)
[HTC One V] maxwen:
latest from OP
[HTC One V] rakeshbro:
Sorry i didn't get u.:eek:
[HTC One V] Aashuk Mehta:
Op means original post = first page of the thread

Pick the latest one from there :)
[HTC One V] androys:
hardware backlight does not turn off

At first, many thanks for you work on our HOV kernel.

when restoring a backup image, the hardware backlight does not turn off automatcally for along time untill the phone is manually waked up and screen is locked manually. After that, everything is smooth. But happens on every reboot. Not a big issue. Attaching the logcat.

boot-HELLBOY-42-20130520 by Maxwen

ROM-SHPONGLE-20130521

Thanks again.
[HTC One V] rakeshbro:
Actually m not asking about op,m asking about which 1 should i flash. On the main page it's showing the lastest version is

201305202359

Changelog:

-reverted to BFQ v5.1 - v6 causes problems

-smartmax update

And then i opened the mf link and then i see that there is so many links so i have searched for v201305202359

And i see that there is 3 file in there with this v201305202359 name (cm9,c10 and another is 42).

So which 1 should i flash for SHPONGLE v20130521.Thx.:good:
[HTC One V] Cr3sc3nt:
well shpongle is based on JB 4.2.2, cm9 based on ICS, cm10 based on 4.1.2 which do you think?
[HTC One V] rakeshbro:
Well then 42 is the answer.:D
[HTC One V] Nishblueweapon:
Hey max,i think the latest build has some issue with smartassv2.

I tried to run it with deadline scheduler. It worked for a while but it went into a deep sleep later.

Had to reboot via adb later.

Check if anything is wrong.
[HTC One V] sonrics1993:
Please
[HTC One V] maxwen:
havnt changed anything on smartass in ages

and BTW - if you dont provide a last_kmsg file in case of an crash

your posts are just ignored
[HTC One V] sonrics1993:
I just add "please" cause the other guy did not do it
[HTC One V] Nishblueweapon:
Oh oh sorry for that Max totally forgot.i was at work that time so. Next time if happens I'll do it.:thumbup:;)
[HTC One V] heross:
Hello maxwen,

is there any way you can incrase the standardvolumes from the internal Speaker in your Kernel? I use often my HOV to navigate in my Car and i hear the Navigation instructions via TTS very bad.

I have Test many apps which increase the volume. However, they only amplify music and have no effect on the TTS sound.

The internal speaker could give so much more volume. Is this a problem of the ROM, or kernel side you can increase the system volume?

Thx Lothar
[HTC One V] mrcorey:
Thats more of a Rom thing. You may have luck changing it with volume+ but not sure on jb.
[HTC One V] heross:
No, i mean no equalizer app, this only distort the sound.

I mean a general higher line level voltage to the internal-speaker.
[HTC One V] whoshotjr2006:
I believe the sound control levels can be modified by tweaking a file in /etc. An xda forum search should tell you what you need to know. Good luck. And now back on track to kernel talk.
[HTC One V] eoghan2t7:
Maxwen

Is there anyway we can add this to your kernel as it might help use bypass the s-on problem by using a this

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

To use your kernel to load another kernel from the cache partition for example. If this was added ROM devs will only need to mod the updater script to instead of failing to flash a kernel in recovery to only copy the boot.img to a partition on the phone.
[HTC One V] maxwen:
s-on is no problem for me
[HTC One V] Aashuk Mehta:
But maybe you should consider it just saying don't want to piss anyone off :rolleyes:
[HTC One V] eoghan2t7:
You can flash boot.img in recovery if so how on earth are you doing it because as far as i know boot images can only be flashed on a computer using fastboot. Hence my question mostly for users that are not near a computer all the time having such a feature would be a god send by enabling those users to just copy the boot.img to the required place and reboot there phone to boot from the new boot.img. think of it as the kernel on the boot partition becoming a boot loader for the boot.img.
[HTC One V] Aashuk Mehta:
Cant agree more im not near a pc most of the times as im not adviced to leave bed and the pc is in the drawing room so this may come in handy and can help users to get rid of the fastboot fuss

Max any thoughts??:)
[HTC One V] bandit97:
What if you did a CWM/TWRP backup of just "BOOT"?
[HTC One V] eoghan2t7:
Then effectively you would be backing up the bootloader think of it this way:

1. Flash kexec enabled kernel via fastboot to the boot partition making it a bootloader never to be touched again unless kexec gets updated with improvements etc..

2. Place for example hellboy kernel in /system/boot/boot.img

3. Reboot

4. Kexec enabled kernel then looks for the boot.img and loads it once loaded it kills off the kexec kernel and leaves the loaded boot.img to run the installed rom.

This will allow use flash aholics to update kernels when we are away from are computers.
[HTC One V] sohamssd:
+1 I'd like this.
[HTC One V] Snyper0012:
Is this kernel init.d compatible?

Sent from a One V running 4.2.2 shpongle and tapatalk 4
[HTC One V] omnomnomkimiiee:
Yes.

Sent from my magical penguin
[HTC One V] Paresh Kalinani:
SD Card isn't detected by apps!

After the latest update, my SD Card isn't detected! Surprisingly, only Solid Explorer detects it. Gallery, Camera and all other apps ask to insert an SD Card.

Using the latest CM9 Kernel on UnOfficial CM9 ROM.
[HTC One V] idroid2324:
Its a prob with all android 4.0.
[HTC One V] :
Well that sucks... One more great dev leaving... But good luck anyways maxwen!!!
[HTC One V] Seraz007:
awesome! the Oppo is definitely a gr8 phone ;) :highfive: :D :cool:
[HTC One V] sohamssd:
Hard bricked?:eek:

---------- Post added at 09:51 PM ---------- Previous post was at 09:50 PM ----------

Thank you for all that you did to one v mate:thumbup:

The development days were good while they lasted:'(
[HTC One V] lars1216:
I would use that as primary to be honest. I used both the X+ and the find 5 for a half an hour (friends own them) and I liked the find 5 so much more. But hey your choice. ￼ congratulations on the new device and have fun with it. And thanks for all your work. ￼
[HTC One V] Aashuk Mehta:
Wtf oppo find 5 as secondary!! Wat is your primary phone then nexus 5:eek::eek:

Anyway congratulations on the new phone I really appreciate your work you were one of the few people that made my experience with HOV wonderful so best of luck with your future devices :thumbup::thumbup:
[HTC One V] eoghan2t7:
Once I get my laptop back from repairs I will start work on this kernel and add features or bug fixes etc.

Thanks Max for all your hard work and enjoy the oppo ;)