yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] Formhault:
Tell that to my girlfriend's S4 Mini, which is getting slower day by day when it comes to taking photos.

TRIM is, for flash memory, like what Defraggler is for hard disks. It is a big deal.
[G2 Android Development] 60nine:
i just hope you don't have a ssd drive with trim disabled in the OS...
[G2 Android Development] Maxximo88:
Dorimanx 8.0.1 on CloudyG3 2.0 is perfect.

Great work man! :good:
[G2 Android Development] jgcaap:
Guys need some help. Searching dorimanx code for cpu boost on git hub. But I am new at this xD can someone help?

Thanks
[G2 Android Development] blastagator:
Ya I had seen the 16mb limit posted somewhere. The image comes out to a hair over 12mb. I'm still fiddling around with it. I'll update if I figure it out.

Thanks :)
[G2 Android Development] m1trand1r:
didn't I saw you on some other side?...like s2 side?...by now you should/could know that q/a thread is opened for questions as yours? Don't you feel the same ?[emoji33]
[G2 Android Development] wadamean:
Oh okay then but that's why I never get Samsung since it's always bloated with heavy ui and software.
[G2 Android Development] Formhault:
I do. :)

Yeah...

Let's end the OT here. We did enough :(
[G2 Android Development] snowlin:
How do I delete this post using xda app on mobile? Lol

I was trying to search if anyone else is experiencing the Wi-Fi being automatically turned on
[G2 Android Development] leos0000:
Can i flash this is kernel on cloudy g3?thanks advance
[G2 Android Development] jgcaap:
Hmm sorry in fact wasn't sure where to ask since this was dorimanx work... Not sure if someone will be helping me on questions and answers. Hehe. I am trying to check a good code for a kernel I am developing. Since this is a dev thread I thought was the best place. I apologize for any inconvenience :)
[G2 Android Development] 60nine:
to search the thread or not to search the thread? that is the question...
[G2 Android Development] wadamean:
Read the op
[G2 Android Development] cybernetus:
by the way you are using the d802 version of this kernel ?
[G2 Android Development] m1trand1r:
Have a lot of fun bro...and I bet [MENTION=2376110]dorimanx[/MENTION] is very happy to see ya here:D
[G2 Android Development] penser:
Could someone please rehost D800 8.0.1 on dropbox or mediafire or something? Downloads fail from both Dorimanx mirrors when I run any Cloudy* ROM and I currently don't have a PC capable of downloading and moving files to my phone.
[G2 Android Development] wadamean:
Get the dorimanx Ota app in playstore
[G2 Android Development] penser:
That's another problem. Play Store is broken as well. "Error retrieving information from server. RPC:S-7:AEC-0" I also get 7 instead of the 0 sometimes. Rebooted, cleared dalvik + cache, removed google account and re-added, nothing works.
[G2 Android Development] duki994:
[MENTION=4570470]oTeMpLo[/MENTION]

CPU bugged you. Unaligned access didn't work as it should and cpu stuck. Perhaps GCC compiler made some misaligned load instructions for exFAT module. Did you use USB memory or anything formatted as exFAT?

I heard of this happening on other ARM based computers/phones.
[G2 Android Development] dorimanx:
/drivers/cpufreq/cpu-boost.c

Sent from my LG-D802
[G2 Android Development] dorimanx:
I am fixing bugs and adding new stuff since 8.0.1

So next build will be much better.

Now battery stuff :)

6:30 hours after unplug, and no drain at all.

Device was in stand by.

Now 30min of reading xda and other stuff, and still 97% :)

Who want some?

Sent from my LG-D802
[G2 Android Development] Tinchoska:
I want some of that my friend!!!!!!

Enviado desde un lugar muy muy lejano con mi D806
[G2 Android Development] Darius129:
freeze

Hey dori, today phone freezed 2 times, one while on battery, one while charging. First one i was at gallery and second while opening xda app. Needed to hard reboot. Im on a g3 ported rom so i am not complaining, just ll send a log if u would like to look at it. Maybe ll find something :) Thanks for great and hard work. Have a nice day!

I am on 8.0.1

7 G3 Rom
[G2 Android Development] dorimanx:
Thanks, i am here to read logs and solve bugs... so all good.

After log scan.

Try to untick the core control in thermal section.

Untick hack for fast charge even if using usb.

Alucard detected bug in his hotplug gov and fixed, its not critical just performance drop...

Wait for next release, should be better :)

Sent from my LG-D802
[G2 Android Development] oTeMpLo:
No I did not.... use any exfat formatted device or any usb device at all.
[G2 Android Development] Darius129:
So fast, thanks dori :) Always waiting for a next release :D :good:
[G2 Android Development] xanthrax:
There's something related to g3 roms, definitely, I was struggling to find and understand why the charging is slower, why the battery drain, why the battery icon shows charging (again) after unplug using the betas 7.9/1/2/3 and 8.0.1 but... Restoring my 10 days old Pardus nandroid, clearing cache and dalvik, deleting and adding back my Google account solved all problems thus, before posting any problems keep in mind, stock G2 roms are currently supported not other ports, at least mention which roms you're using when reporting bugs

Sent from my Darkside of LG G2
[G2 Android Development] Darius129:
Hope u re not mentioning my report, cuz I told my rom and added that it's not a complain and I am aware it's for stock roms normally :) Still, it must be told. U re a great helper too here Xanthrax
[G2 Android Development] rebar71:
I have had this happen a couple times as well.
[G2 Android Development] iall5tar:
This is becoming like a drug... Can't live with it! XD need to flash!

=)
[G2 Android Development] Lycidias:
Maybe because the Fake AC charger hack?
[G2 Android Development] duki994:
[MENTION=4570470]oTeMpLo[/MENTION]

Strange. Part of your log says:

....

Alignment trap: not handling instruction e1901f9f at [<c0a29ad4>]

Unhandled fault: alignment exception (0x001) at 0x00000041

Internal error: : 1 [#1] PREEMPT SMP ARM

Modules linked in: exfat

......

I know that this errors happen when GCC compiler misaligns load instructions for kernel modules (exFAT here) when compiling. Especially large modules. ARM loads all memory below given adress (when misalignedment happens) unlike x86, due to trying to align misaligned adresses, and than rotating them. Some of this errors can be fixed with allowing alignment exceptions in GCC, but may bring unstability or crash.

Also might be strange one time bug.

Someone correct me if I'm wrong, or just talking stupid :laugh:

It's best for [MENTION=2376110]dorimanx[/MENTION] to look at your log.
[G2 Android Development] xanthrax:
No, I've spoken generally not for you specifically [emoji4]

One must be a great helper for himself in the first place and then for the others, I'm still learning pal, but it is always nice to share experience [emoji4]

Sent from my Darkside of LG G2
[G2 Android Development] Lycidias:
Hey, I just saw that the headset Icon at the statusbar does not disappear, so i have no Sound from the Internal speaker because phone is always in headset Mode. This started 2-3 hours ago while the phone was in my pocket. A restart didn't helped. In this 2-3 hours i haven't used the phone and there wasn't a headset or something else connected so i don't know if it is a Hardware or Software Problem. I use viper Sound and have FauxSound installed but never had a Problem. When i now plug in/out my headphones it does not detect the change, always headset mode

Logs:

http://www11.zippyshare.com/v/58954180/file.html
[G2 Android Development] xanthrax:
No, this is system UI related

Sent from my Darkside of LG G2
[G2 Android Development] dorimanx:
TRIM data + system REQUESTED!

Trim challenge accepted! :laugh:

https://github.com/dorimanx/LG-G2-D802-Ramdisk/commit/089239a834d20034785f1c171bb8cf4979fb14f9
[G2 Android Development] dorimanx:
and restart dont help??? hmm. can be something stuck in ROM.

try to backup ROM. then install CLEAN..

if still stuck in headset, then it's hardware bug.

if all ok. something with your active ROM.

Kernel provide control for ROM to tell it if headset connected.

then do huge amount of things :)
[G2 Android Development] iko11:
I can't believe this battery life it's amazing, i saw some reports kernel has problems with G3 based roms but i don't agree. I disabled fast charge, it's not slow, acceptable time. Every release getting better, Alucard Governor and Hotplug doing great job, i enjoy to listen music even with default headphones anymore, thank you for your work dori

LG-D802 Cloudy G3 2.0+Dorimanx 8.0.1
[G2 Android Development] Lycidias:
Just made a Clean install and the Problem is still there :(

I think i will send it to LG
[G2 Android Development] merlin21:
Thx for trim support!

Like seen on git it means that in performance profiles the trim is enabled automatically - so it mean that dorimanx himself chooses it's a good thing? I don't want complain please don't misunderstood, but why i got a lower write speed yesterday after running manual trim with lagfix app?

That's what i don't understand ?
[G2 Android Development] iall5tar:
Definitely, you are THE MAN

<3 (no homo)
[G2 Android Development] asterixb:
name this program for battery??
[G2 Android Development] suhiiii:
Don't quote everything :mad:

Battery monitor widget
[G2 Android Development] luv2increase:
Cloudy 2.0 has battery drain problem. Cloudy 1.3 does NOT has drain issue.
[G2 Android Development] xanthrax:
Good, I wasn't curious enough to try them...

Sent from my Darkside of LG G2
[G2 Android Development] R0i_:
[MENTION=2376110]dorimanx[/MENTION] Here I leave the paragraph 3.4.3.2 ukm g2 adapted the D802 at: All ITS variants , stock , POAs , g3 port .

http://www.mediafire.com/download/h6szzkzwza66z1i/UKM_v3.4.3.2.zip

It is what suits me for my g2 kernel and works great.
[G2 Android Development] dorimanx:
App dont mean any thing, results are random.

Think what if in the same time you run the test, some other app in ram dis some jobs can be any thing, and by this used some i/o power. And your result was lower...

I have tested ROW reading after stopping the ROM black screen, only adb access.

And after trim, my test show 15% more speed on write I/O

So its good to be used by dev haha...

Sent from my LG-D802
[G2 Android Development] dorimanx:
Interesting, that is Neos work adapted.

I will check it out, but i have set all i want for now in synapse, maybe in time i will add more.

Thanks for help with this port.

Sent from my LG-D802
[G2 Android Development] kamil004:
Excelent!!

Thanks for TRIM support, im waiting for next kernel version :)
[G2 Android Development] vPro97:
I can't be the only one here feeling that the upcoming release is going to be one of the most important ones =) thanks dori!
[G2 Android Development] blastagator:
F2FS

Just to let you know (as it looks like maybe some confusion in the thread): The f2fs module in your kernel works fine. I formatted cache f2fs and rebooted. It didn't automount, but I was able to manually mount the cache with

mount -t f2fs /dev/block/platform/msm_sdcc.1/by-name/cache /cache

Therefore, the kernel support is working, just not auto mount.

How are you mounting the /system /data and /cache partitions? I saw those aren't in the fstab anymore.
[G2 Android Development] Formhault:
EXT4 is here to stay. At least until Google decides it's time for the next big leap forward in terms of filesystem : F2FS, or whatever it is they decide to use when the time is right (who knows, maybe they'll create their own FS; don't forget, F2FS was created by a Samsung engineer).

We got so many EXT4 optimizations (fs-related, so they must be for EXT4, right?)... and besides, F2FS not only doesn't work flawlessly, but the performance gain is somewhat debatable.
[G2 Android Development] LuketaD2:
Yes!

Hue mode on: Eu uso do D802 pois é o mesmo para o D805 ;)

Hue mode off
[G2 Android Development] dorimanx:
i know its working, but thanks for testing :)

for now we mount using ext4 for all partitions.

here we do this on boot.

https://raw.githubusercontent.com/dorimanx/LG-G2-D802-Ramdisk/kitkat-ramdisk/ROOT-RAMDISK/fstab.g2

https://github.com/dorimanx/LG-G2-D802-Ramdisk/blob/kitkat-ramdisk/ROOT-RAMDISK/init.target.rc#L45

when time comes, i will change this. or invent some sort of auto config based on filesystem type check.

Dont try to change, as this loaded from kernel on boot. and will be back to original state.

till then, we wait.
[G2 Android Development] dorimanx:
Hmm, yes, there will be many WOW things :)
[G2 Android Development] carlos67:
Who knows, maybe Synapse & Trim in next version? I think it's going to be a BIG release and a moment for Dori's excellent creation.

8.0.1 is rock stable & gloriously smooth, can it get any better? I mean really?
[G2 Android Development] dorimanx:
i will tease you!

how about setting each core for different min/max freq and different gov?

think of things we can do with this setup?! still think it's cant be better!

I will give you full Async quad core! :)

BEFORE!

root@g2:/all_cpus # grep . *
grep . *
scaling_governor_all_cpus:ondemand
scaling_governor_cpu0:ondemand
scaling_governor_cpu1:ondemand
scaling_governor_cpu2:ondemand
scaling_governor_cpu3:ondemand
scaling_max_freq_all_cpus:2572800
scaling_max_freq_cpu0:2572800
scaling_max_freq_cpu1:2572800
scaling_max_freq_cpu2:2572800
scaling_max_freq_cpu3:2572800
scaling_min_freq_all_cpus:300000
scaling_min_freq_cpu0:300000
scaling_min_freq_cpu1:300000
scaling_min_freq_cpu2:300000
scaling_min_freq_cpu3:300000
root@g2:/all_cpus #

AFTER:

root@g2:/all_cpus # grep . *
grep . *
scaling_governor_all_cpus:ondemand
scaling_governor_cpu0:ondemand
scaling_governor_cpu1:nightmare
scaling_governor_cpu2:alucard
scaling_governor_cpu3:HYPER
scaling_max_freq_all_cpus:2572800
scaling_max_freq_cpu0:2572800
scaling_max_freq_cpu1:2419200
scaling_max_freq_cpu2:2265600
scaling_max_freq_cpu3:1958400
scaling_min_freq_all_cpus:300000
scaling_min_freq_cpu0:300000
scaling_min_freq_cpu1:300000
scaling_min_freq_cpu2:300000
scaling_min_freq_cpu3:300000
[G2 Android Development] mynNeyl:
I'm kinda jealous of your result :(
[G2 Android Development] wadamean:
I somehow wasn't able to achieve that result with that rom.
[G2 Android Development] iall5tar:
Yo [MENTION=2376110]dorimanx[/MENTION] you ? killing me softly with this posts... ?
[G2 Android Development] m1trand1r:
Mate....really.....reading your posts here and there makes me pull hairs out of my head[emoji111] [emoji122] ....i'm sorry....but you are crazy dev indeed....:D...in a good way ofcourse.....I want to sleep for 10-15 dayz w/o waking up in mid for time to pass faster.....to finally get my ass up here and start from scratch again:D....I just can't. wait anymore .....arghhh ...[emoji33] [emoji33] [emoji33]
[G2 Android Development] drivenby:
Omg...this is what the prophecies have spoken about!

Could it be....is [MENTION=2376110]dorimanx[/MENTION] the chose one O_O
[G2 Android Development] m1trand1r:
Yes....he's the One they call [MENTION=2376110]dorimanx[/MENTION] :D

Didn't you know that already ?:p

Look at his legacy....he left for many....and you'll realize it very fast:D
[G2 Android Development] leos0000:
Guys wich version good for cloudyflex rom?thanks :)
[G2 Android Development] m1trand1r:
Ummm..,is it Q/A thread version ?:p
[G2 Android Development] leos0000:
I just ask im new in lg g2 ..just got few days ago.if u can help .help please
[G2 Android Development] dorimanx:
News Update!

09/10/14

Kernel 8.1

*Fixed OndemandPlus CPU gov.

*Fixed Long vibrates bug when typing.

*Added support for Synapse Kernel control app! BIG Thanks to @neobuddy89 for help!

it's like STweaks but can show live data from kernel controls.

for now it's will control the thermal driver.

*Added support for USB Simple PPP modems. (WWAN PPP).

*Added support for USB to Serial adapters.

it's a module that can be loaded by some app for USB adapter.

*Merged fix for CMA RAM pages.

*Merged Multi CPU Policy code by @alucard_24

that allow us to set different freq for each core, and different cpu gov!

All controls are in STweaks. :)

*Fixed Force Fast Charge and made it super smart! :)

Now it's will on/off it's self if battery is above 95% to preserve battery LIFE.

as fast charge can in time reduce battery life if used till 100%

Will charge fast when in ON state, or Manual state.

also added MAX 300mA as requested, to force slow charging to prolong battery life, if fast charge is not needed.

*Merged fix to alucard hotplug from DEV. will improve hotplug performance.

*Merged kernel code alignment fix.

*Merged some new functions for kernel drivers future use.

*Removed old panels hack, as JDI/LGD panels fixed on kernel install.

*Fixed GPU update button in STweaks.

*Added copy of /data/.dori/ files to /data/.dori_bkp folder before profiles reset!

In this new build profiles will be reset on first boot!

*Added Anti Fast User function in boot script, that will not allow user to open STweaks till it's service loading controls, to prevent BUGS and mess.

User will be denied access to STweaks till all ready! (app will OPEN/CLOSE!)

*Added SElinux control to STweaks Other Tab, you can set Enforce or Permissive.

*Added File System TRIM support! will be run on boot!

And user can push TRIM NOW in I/O Tab in STweaks. if it's show 0 then all was OK.

Also we can now set to run TRIM on /system + /data

every day at 6:00AM in CRON Tab, active by default!

*Removed not used tuner modules from kernel image.

This kernel OPEN huge ARK Door to Asynchronous CPU CORE.

User can have so many combinations that i cant even imagine!

Power can be saved or have mega boost when needed!

Different CPU Govs can provide different boosts to cores.

Many BUGS fixed in code. and new stuff added.

So have fun testing this beast. :)

Report when you can and tell me/us how it's going.

Kernel has evolved! to new species :)
[G2 Android Development] dorimanx:
the last one :)
[G2 Android Development] leos0000:
Thanks alot man for amszing kernel.going try now thanks
[G2 Android Development] g.paganini:
I dont know what to say, I'm on cloudy G3 which the kernel is not optimized for and it's snappy as f**k. It haven't even settled down but I have a feeling it's a bomb. I think that some performance issues that I previously had with 8.0.1 are gone. Still early to speak about battery life. Awesome work [MENTION=2376110]dorimanx[/MENTION].
[G2 Android Development] c_brown93:
I am getting non stop SOD on CloudyG3 with new 8.1. Clean flashed. ):
[G2 Android Development] Diechel:
Flashaholic, going to fire up DorimanX OTA

Much commits to kernel, love to try it

Thanks dori

Really like HDD led, indeed as commented on github needs to be inverted.
[G2 Android Development] 60nine:
cloudy g3 v2.0 rom on d802 variant

updated to 8.1... set the parameters in stweaks, rebooted... led blinks forever with black screen...

force reseted the device, booted normally but the stweaks settings went back to default...

no problems whatsoever with previous kernel version
[G2 Android Development] c_brown93:
Same exact issue.
[G2 Android Development] dorimanx:
What you have set?

And why to reboot? Settings are instant, no reason to reboot...

Sent from my LG-D802
[G2 Android Development] dorimanx:
Its for wifi not mmc... network access blinks :)

Sent from my LG-D802
[G2 Android Development] 60nine:
core 0 & 1 alucard (max 2.3 / min 600)

core 2 & 3 ondemand (max 2.0 / min 300)

hotplug - alucard

min screen off 1.1ghz

governor sample rate 25000 (with power save mode)

auto oom low/medium

dirty bg ratio 40

dirty ratio 50

sweep to sleep disabled

everything else default

i also noticed, when i changed the values and pressed the "apply" button - empty toast was shown (ie. "sweep2sleep control: " - nothing shown after the ":" )

after forced reboot, all values changed show in the toast...

i'll try to reboot now to see if everything goes well this time

i changed the values after reboot again - toast showed

edit:

after reboot, changed values stick (this time i went with alucard on all cores)...

but "empty" toasts happen again when i try to apply the new values to any parameter on stweaks...

edit 2:

opened stweaks again, i got the "...or no root access" message

closed the stweaks, reopened it - everything ok (even values are shown in toasts)

weird...
[G2 Android Development] wadamean:
Dang dorimanx it's like toys'r'us in the update for all the combinations available for the cpu. Thanks so much! Will take time to get used to but so worth it! Just one question in the cpu 3 and 4 would it make a difference with whichever governor we put on? Reason I ask is since I'm always running extreme battery profile, the cpu only maxes out at dual core.
[G2 Android Development] Mystique:
[MENTION=2376110]dorimanx[/MENTION]

Thank you for the settings backup folder.

Greatly appreciated.

Sent from my VS980 4G
[G2 Android Development] leos0000:
I got 23k antutu :( with latest kernel
[G2 Android Development] 60nine:
you clearly are a newbie...
[G2 Android Development] dorimanx:
If cores are off, then not matter.

Sent from my LG-D802
[G2 Android Development] dorimanx:
Who cares. Its not about stupid bench app.

Sent from my LG-D802
[G2 Android Development] leos0000:
Yea man .i use first time lg g2 before i use s5
[G2 Android Development] dorimanx:
On boot wait little longer before you start stweaks.

Then open. All should be fine.

Tested many times.

And no need to reboot....! I never posted that any one must reboot after settings change.

Use synapse app to see if what you set is ok.

Sent from my LG-D802
[G2 Android Development] Rapoooo:
What is it with 8.0.1 and 8.1 that later? :confused:
[G2 Android Development] wadamean:
That's what I imagined but wanted to make sure. Thanks

---------- Post added at 06:27 PM ---------- Previous post was at 06:26 PM ----------

Yea who cares about that benchmark. Clearly you haven't searched this thread. There have been users with with kernel achieve 38k.
[G2 Android Development] leos0000:
How i can turn on all cores? Thanks
[G2 Android Development] wadamean:
It's super easy!! Geez. Before all that go profiles and select extreme performance and Alright you go to the hotplug tab and scroll down and turn on all four cores in the max cores online and also under it there is the boater thing and select the nuclear boost which is four cores. And put min cpu in all at the max. That way you get the insane mind blowing battery chugging performance
[G2 Android Development] 60nine:
i assumed that opening stweaks too early could cause this...

i never reboot after settings change...

i rebooted just because i wanted to see if i'd also get the black screen as the other user with the same rom mentioned before me...

thanks for the quick answer... cheers
[G2 Android Development] Rapoooo:
Someone able to answer?
[G2 Android Development] wadamean:
The op clearly states what is changed and updated. Simple stuff to understand. Luckily dori doesn't put the real raw changes with commit github codes which are a whole new language
[G2 Android Development] 60nine:
another thing

in synapse, gpu freq jumps from 27 to 200mhz (min/max is set to 200/450 in stweaks)

when i change min/max to 320/450, freq jumps from 27 to 320...

like min/max freqs are switched or smtn (or am i missing something)
[G2 Android Development] cybernetus:
Hey mate thanks, i will send an PM in portuguese to talk about our phone.
[G2 Android Development] dorimanx:
8.0.1 is 8 + 0.1, and 8.1 is 8 + 1, who is bigger?

The one that bigger, the last one.

Ahhh... some people just amaize me.

Change log in first page is for you.

Read it.

Sent from my LG-D802
[G2 Android Development] Rapoooo:
But I mean what the newer 8.1 or 8.0.1?
[G2 Android Development] 60nine:
which is bigger number - 8.1 or 8.01?

or i didn't understand your question

---------- Post added at 03:51 AM ---------- Previous post was at 03:50 AM ----------

facepalm fest
[G2 Android Development] Rapoooo:
There is not just asking whether the time 8.1 is not newer than 8.0.1 because 8.1 was not previously
[G2 Android Development] 60nine:
ok, i'm lost (and i'm sober)
[G2 Android Development] dorimanx:
Its 5am and i am answering from my bed.

8.1 is the new kernel. If that is not clear, use stock, and let me sleep.

Sent from my LG-D802