yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Edge Questions and Answers] Chocolina:
T his is something I have been dealing with for 3 months and I'm fed up...

About once every week or two, I turn off my device for a few hours to give it a rest. However, every... single... time I power on or reboot my device, my phone greats me with SIGNIFICANT amounts of lag just after boot.

Eventually in a few hours everything runs smooth, but when I boot or reboot my device will lag behind nearly 500 to 3000 milliseconds.

Just now I pressed my power key and it took my phone nearly 10 whole seconds to turn off or react to any hardware keys. And I'm just coming off smart switch so I have no installed apps. So I'm as clean as stock, but I've still had issues like this since day1

Does anyone hear have any earthly idea why my s7 lags for hours if I reboot/boot?
[Samsung Galaxy S7 Edge Questions and Answers] erick161:
What kind of SD card do you have? I used an old one when I got the S7 and it lagged horribly, overheated etc. As soon as I took it out it was better.
[Samsung Galaxy S7 Edge Questions and Answers] Leejay1953:
Have you tried cleaning the cache via recovery? LJ
[Samsung Galaxy S7 Edge Questions and Answers] lvalice:
Samsung Evo 64GB, Read 30MB/s, write 18MB/s. Its nothing fancy but it is just a tier above standard Class 10 speed. It shouldn't be a hindrance to my performance.
[Samsung Galaxy S7 Edge Questions and Answers] Darkmatter0603:
Try clearing the system cache?
[Samsung Galaxy S7 Edge Questions and Answers] natefish:
The cache thing may work. It also has to do with how many apps run at startup and how much ram those apps use. In my experience, that has the biggest effect.
[Galaxy S 4 Q&A, Help & Troubleshooting] sherry94:
is there any rom with best battery life and no heating issue for s4 i9500 :confused:
[Galaxy S 4 Q&A, Help & Troubleshooting] kingdevil731:
depends if you want a tw based or cm/aosp based one ?
[Galaxy S 4 Q&A, Help & Troubleshooting] jitendra purohit:
Ale note 5 port or any rom based on that.and mokee 5.1.1 too.
[G 2014 Q&A, Help & Troubleshooting] elsaq:
Hi!

I have the official stock ROM 6.0, I´m trying VR with an VR glasses for smartphone.

Well the main problem I have is that my Moto G 2014 do not play any video at 60 FPS VR, only plays sound, not image.

The same video at 30 FPS VR is playing fine.

Is my phone not enough powerfull for playing VR at 60 FPS??
[G 2014 Q&A, Help & Troubleshooting] raththaran:
im on cm13...........my moto g can play 60 fps videos up to 1080p res...........

use VaR's VR video player.....
[G 2014 Q&A, Help & Troubleshooting] elsaq:
With specific apps for VR playback I have the same problem, maybe I have to switch to a custom ROM, but I´m still in warranty...
[Galaxy S III Mini Q&A, Help & Troubleshooting] usernome:
How do I change the number format ?

From xxx xxxx xxx to xxxx xxx xxx ?

I couldn't find .
[G3 Android Development] mostafaz:
Be Sure ! If you benefit to the other's you will see it's effect.

Imam Ali (a.s.)

If you don't believe in any religion and don't fear the Resurrection Day, at least be free in this world.

Imam Husayn (a.s.)​

Q&A in 2nd post

Features/Changelog in 3rd post

Mod & Tweak in 4th post

Flash at you own Risk !

Download directory

Kernel Source Code: https://github.com/mostafa-z/Gabriel_MM

Ramdisk Source Code: https://github.com/mostafa-z/MM_RAMDISK

There is a file named "compile.log" in kernel zip file

that says which branch i used for build process

[ Stweak support added from V 1.7 ]

Big thanks to these kind Developers, who shared their works​
[G3 Android Development] mostafaz:
Mod & Tweak

1- Bullet_93 UKM_Mod ( synapse ) 010716

Bullet_93_Mod 1.3

2- Tasker instruction
[G3 Android Development] bl0odmo0n:
Niceeeeeeeee I loveeeeee it always best on LP and now in MM
[G3 Android Development] toks420:
f400 variant pls...

Pls support f400 i would like to use this kernel as daily driver........
[G3 Android Development] mostafaz:
you know i'd failed for fF400 with LP, i will try again, if you know anyone who build stock MM for F400 please introduce him/her to me,tnx

i should get sources,step by step during the time
[G3 Android Development] Hucci:
Great to see you on MM builds [MENTION=5175597]mostafaz[/MENTION], thank you for your work.
[G3 Android Development] spiritpaze:
Any reviews? Performance, battery life, feeling?
[G3 Android Development] cultofluna:
Great performance......

For battery life is to early.......

( UBERTC 7.0.0 )

Cpu elementalx

Gpu alucard

D855

FULMICS 5.3
[G3 Android Development] davidez25:
Inviato dal mio LG-D855 utilizzando Tapatalk
[G3 Android Development] cultofluna:
Hat do you mean different file?....

D855

FULMICS 5.3
[G3 Android Development] davidez25:
Yes

because there are 4 files, the difference between them?

Inviato dal mio LG-D855 utilizzando Tapatalk
[G3 Android Development] khanhcuong:
Exfat

Pls support exfat for sdcard

Great builds, thank you for your work. :good:
[G3 Android Development] NatusVincere:
Can you not read? ^^

Which means one contains slim governor(among other governors included) compiled with ubertc 5 and the other one with ubertc 7, and another pair with elementalx governor.
[G3 Android Development] Brady Lin:
When I use 64GB sdcard, it seems that i can't use. Please support exfat. Thank you!
[G3 Android Development] nkirk:
Thaks dev for the kernel. Will be my daily driver going forward.
[G3 Android Development] Thanhtho96:
Slim for battery life

Elementalx for performance

Right?
[G3 Android Development] mostafaz:
Both are performance oriented and very simillar.i just let users choose which one they decide to have.

You can disable gboost in governor settings & lower down differential & ramp up sample_rates & lower responsivness ...
[G3 Android Development] bl0odmo0n:
how can i get better battery life in this kernel? download slim version?
[G3 Android Development] dcop7:
Another thing, what is the default cpu sync threshold? I saw 1728 MHz but after flashing Synapse/OPT - STK versions, now I saw 960... Strange...
[G3 Android Development] mostafaz:
i will recheck source for next build, thank you :)

[MENTION=1698538]BuLLeT_93[/MENTION]

bro you did a brilliant work, keep it up :good: :)
[G3 Android Development] mostafaz:
oh i think you were talked about cpu-boost sync_threshold , right? it's 96000 as default

[MENTION=4161740]dcop7[/MENTION]

i backported cpu-boost from 3.10.y kernel, it may have some problem for our 3.4 kernel, did you have any special condition that sync_threshold goes to 1700 ?

i also thinked about alucard touch-boost that so simple but powerful ...

about reboot i think i should continue update for what i started, codes may search for particular parameters that may not suit yet,
[G3 Android Development] mostafaz:
HELLO F2FS

after working hard (physically and mentally !) we can have f2fs on /system , /data , /cache

i hope we can have it officially with 1.4

Thanks God

FulmicsROM:/ # blkid /dev/block/platform/msm_sdcc.1/by-name/cache
/dev/block/platform/msm_sdcc.1/by-name/cache: UUID="42cc1a6b-8a34-4631-a953-dad026228822" TYPE="f2fs"
FulmicsROM:/ # blkid /dev/block/platform/msm_sdcc.1/by-name/userdata
/dev/block/platform/msm_sdcc.1/by-name/userdata: UUID="e6e5ffa2-047b-4bc0-968a-3a20fd920440" TYPE="f2fs"
[G3 Android Development] deutsh:
What's exactly the "UKM " ?
[G3 Android Development] dcop7:
Universal Kernel Manager.
[G3 Android Development] BuLLeT_93:
Add Synapse support for this kernel.

Really good job my friend :D
[G3 Android Development] dcop7:
Just had another soft reboot. Do you need more logs?

I will try to flash v1. 3 over stock kernel. Maybe it will solve the soft reboots
[G3 Android Development] mostafaz:
no bro

what i've found is

PC is at sched_clock+0x74/0x84

seems i need fix/update on "arm/kernel/sched_clock.c" poll.

i should check even i had new code in it or not

need more time ;)

edit: i don't have much code on it, it should taste a big hit
[G3 Android Development] wisnuhadi23:
I have noticed that the max frequency does not stick. In fact, I cannot seem to set it properly. It always goes back to 1267 Mhz whenever I set it. I cannot disable MPdecision hotplug either.

I am on Bullet's UKM mod. Yes, I have tried restarting and clearing Synapse data. If log is needed, I can provide it.

Edit :

So it seems that Synapse still shows MPDecision being enabeld even though it's not. Upon seeing it on Kernel Auditor, it is actually disabled.
[G3 Android Development] dcop7:
That happens when the phone gets too hot. It is normal. It is thermal kicking in. It will revert the max freq when it gets cooler
[G3 Android Development] mostafaz:
k, we should check and you can check the cpu temperature,FYI if it's going high your max freq going down
[G3 Android Development] manchucka:
Looking forward to vs895 version, though not pushing.
[G3 Android Development] sachs:
What place in Synapse?
[G3 Android Development] BuLLeT_93:
MISC section!
[G3 Android Development] sachs:
No here...
[G3 Android Development] BuLLeT_93:
Wait, what kernel u use? Have u flashed the UKM v1.1 posted some page back? I see WAKE section in your screenshot but this don't exist here...

And also Power Suspend and Led Control entries.
[G3 Android Development] sachs:
1.3 Gabriel + UKM 1.1
[G3 Android Development] wisnuhadi23:
Restarting the synapse from the option will solve the problem.
[G3 Android Development] BuLLeT_93:
Very strange. Here and for other users this is the MISC section.

Try to Restart Synapse from TOOLS section, if not work flash uninstaller and reflash UKM 1.1.
[G3 Android Development] cultofluna:
I can not stick cpu min freq....

Has always same value as cpu max freq.....
[G3 Android Development] BuLLeT_93:
Uninstall Kernel Adiutor.

Try to Restart Synapse from TOOLS section!
[G3 Android Development] cultofluna:
Thanks [MENTION=1698538]BuLLeT_93[/MENTION], tried that but didn't work....
[G3 Android Development] niko626:
Try clearing your data for Kernel Adiutor and Synapse, use only one kernel tool.
[G3 Android Development] cultofluna:
Also that have tried....
[G3 Android Development] Marcovanbasten:
Hi guys, thanks for your works.

Could someone please post the stock original kernel for people coming from an other kernel ?

Many thanks.

LG G3 Fulmics 3.7 / Xceed B1
[G3 Android Development] mostafaz:
Convert EXT4 to F2FS ( /system /data /cache)

* This Instruction tested with TWRP 2.8 (your recovery should support F2FS)

* Supported on /system /data /cache

* Make sure to backup all data because it will be erased during the process

* Make a full backup with TWRP and copy TWRP folder to your computer

* You can do this Instruction over /system /data /cache (or just one or both of them)

* You may experience a little bit delayed phone start-up

1. Navigate to Wipe menu

2. Select Format Data and type "yes"

3. Back out of that menu to "Wipe" menu again

4. Select "Advanced Wipe" button

5. Check ONLY System box (Not more than one at a time)

6. Select "Repair or Change File System"

7. Select "Change File System" Button

8. Select F2FS button

9. Return to Advanced Wipe menu

10. Repeat steps 5-9 only selecting Data and Cache instead of system

11. Navigate to Mount menu , Enable MTP and copy TWRP folder to your phone (You had backup of Rom,Kernel,etc)

12. Navigate to Settings menu and Select "Use rm -rf instead of formatting" (you can uncheck before reboot)

13. Navigate to Restore menu and Restore each Partition you Converted to F2FS (/system , /data , /cache or all of them)

14. Flash latest Gabriel Kernel and enjoy it

* If you want to back to EXT4 just make sure item in step 12 is unchecked and Disable MTP in mount menu, Repeat steps 5-9 with EXT4 or Format Data

* If you don't disable MTP in related to step 11 while formatting /system /data /cache you may have this error

E:mkfs.f2fs -t 1 -r 16384 /dev/block/mmcblk0p43 process ended with ERROR=1
E: Unable to wipe '/data'.
E: Error changing file system.

just Disable MTP and format them to F2Fs

# elinux-f2fs

# wikipedia
[G3 Android Development] moh sat:
Wow the best kernal forever

Can you optimiz this kernal with the battery drain
[G3 Android Development] mostafaz:
for battery stick with bullet_93 configs

or stay tune for other users one

have fun ;)
[G3 Android Development] Antidote03:
Thx for the amazing kernel mostafaz .. But i have one problem if you guide how i can fix it .. Flashed v1.3 U7 from stock kernel and got SD Card corrupted Tap to fix ...Rom fulmics 5.3 ... In stock kernel my sd was working perfect .... Thx in advance
[G3 Android Development] BuLLeT_93:
Hey man, Kernel Adiutor conflicts with Synapse even if not use it.

Uninstall Kernel Adiutor.

Uninstall Synapse.

Redownload all 3 files for the ukm and reflash it.

Sure this will solve.

Not yet available, very soon :P
[G3 Android Development] mostafaz:
if you can see that in twrp it means gabriel doesn't support its file system yet.

i already have exfat support, and no f2fs on sdcard yet.

what is the file system on that?

edit: oh gotcha !

there is no module in 1.3, sorry my bad

you can copy modules to 1.3 zip file or wait till i reupload them again,

i'm sorry for that ;)

FIXED
[G3 Android Development] dudeawsome:
what is better u5 or u7 for the d851
[G3 Android Development] mostafaz:
feel more smoothness with U7 and may drain battery faster

v1.4 with U5 should be better than past, i mean i'm on f2fs (/data & /cache) and it's smooth on both U5 & U7
[G3 Android Development] dudeawsome:
so which one do you recommend to flash
[G3 Android Development] :
U5
[G3 Android Development] BuLLeT_93:
WTF! :o
[G3 Android Development] why always me:
quick question after I update from 1.3 to 1.4 do I have to flash UKM again?
[G3 Android Development] cultofluna:
Very nice mate.....

Waiting patiently for your configs....

D855

FULMICS 5.3

GABRIEL 1.4
[G3 Android Development] BuLLeT_93:
Not needed :)

Very soon man :)
[G3 Android Development] Fragin 11:
What are actual benefits of having partitions formatted in f2fs? Just want to know if it's worth doing.

LG G3 D855

ROM: Fulmics 5.3

Kernel: Gabriel 1.4

Recovery : TWRP 3.0.2-0
[G3 Android Development] theoverfiend:
Okay first thanx For the Kernel and the Synapse mod...

No Problems when running

Only one Thing won't work for me...

If i change the format to f2fs by the restore the restore act will change the system and the cache back to ext4 the only partition wichbkeeps the f2fs is Data.

Also by reboot i got the enterpassword 30/30 screen...

So fare i stay with ext4

D855

Fulmics 5.3

TWRP 3.0.2

Gabriel 1.4
[G3 Android Development] d9ny:
I've got diff setup cpu menu here on synapse...is it ok?or i just do wrong?i've been uninstall kernel adiutor and just do flashing step of your synapse mod but that i've got...any suggestion please...

Edit: restarting synapse resolve the problem...thanks anyway...
[G3 Android Development] 87mpi:
hi guys, what is the differnce between use synapse or kernel adiutor?

which of the two it is recommended to use?

the guide to convert ext4 to f2fs is tested on twrp 2.8.7.0?

many thanks
[G3 Android Development] CrownC:
Anyone else had a problem disabling the MPDecision?

i can choose another hotplug but can't unchoose MPDecision

im on 1.4 U5 STK 855
[G3 Android Development] mostafaz:
please read the two linked page in instruction post or at least see the pictures ;)

i don't enabled encryption with f2fs (cm13 i think enabled),by the way /data has encryption mount point flag but it;s working for you. i did this instruction 2 times,dirty rom and clean install over instruction. :silly:

i will update ext4 as well ;)

thanks for report

we have more control over system with synapse :good:

tested on 2.8.7 , i will test with 3 asap have time ;)
[G3 Android Development] BuLLeT_93:
Already disabled by sistem, even if button was checked, then there's no problem :)

Surely u haven't activated rm -f function in recovery, here works fine with clean install and restoring the backup :)

---------- Post added at 04:24 PM ---------- Previous post was at 03:24 PM ----------

UKM v1.2 Uploaded

Updated UKM Uninstaller to V3 for better Cleaning of Synapse

Updated Synapse to 0.44 Version

The Update v1.2 of UKM delete MPDecision from HOTPLUG section (No longer Available) and improve the load speed of Synapse at boot :)

DOWNLOAD

Install all the 3 files with numeric order!

Enjoy!

​
[G3 Android Development] dcop7:
I had another reboot with 1.4... I've attached the logs. I will revert back to 1.1 for now. Thank you.
[G3 Android Development] 87mpi:
is it possible to backup all data on external sd card for change file system to f2fs without copy backup on computer or there is the risk to format all data on the external sd during the conversion process?

could someone please explain me how to create a bug report log?

many thanks
[G3 Android Development] mostafaz:
Congratulations to us, it's different log :good:

i mean it's a progress that have different from past

i will going for it, thanks you
[G3 Android Development] 87mpi:
hi [MENTION=5175597]mostafaz[/MENTION], when i try to change data file system to f2fs i received that error:

E:mkfs.f2fs -t 1 -r 16384 /dev/block/mmcblk0p43 process ended with ERROR=1

E: Unable to wipe '/data'.

E: Error changing file system.

how can i resolve?

system partition has correctly formatted in f2fs

many thanks
[G3 Android Development] mostafaz:
you can copy them to sd and remove sd card -i didn't check this but it can format, making back up is safe

if you have reboot or anything that you think is not usual and if debug parameters are available you can produce a log to help for debugging, eg : in smartmax cpu_govenor there is a parameters named "debug_mask", if you set in on it will write it functionality to kernel log like i'm going up and at another time decide to going down and etc

if you have reboot you can make log after boot up or in recovery, see this moderate instruction or just after boot-up go to kernel adiuto > settings > Debugging and touch last kernel message ( it will save last log to your internal sd )

in synapse Tools > save last_kmsg, save dmesg driver (logcat is for rom developers)
[G3 Android Development] mostafaz:
hey

make sure that you disabled MTP in mount menu (it shows you Enable MTP), if it's mounted (ready to use read/write) means using by system or process and you can't change it, if you messed up with them just reboot to recovery and try again.

and for converting them make sure step 12 is unchecked, you passed /system and it would be ok, just go with MTP
[G3 Android Development] 87mpi:
i have tryed all it but the error was always the same :crying:

i also flash the latest twrp 3.0.2.0 but format data is denied..

can you help me please?

many thanks
[G3 Android Development] mostafaz:
sure

lets be same :

1- i have twrp 2.8.7 by jon777 _ link

2- backup all data & move them to safe place (formating data will wipe internal storage and sd-card will be safe)

#navigate to advance menu and push fix permission

3- uncheck item at step 12

4- remove cable and make sure mtp is not enabled

5- wipe > format .. type yes

6- wipe > advance > select data > change file system > f2fs

7- check item in step 12 and restore data

check this instructions

i will check more
[MENTION=6592190]87mpi[/MENTION] check the attachement picture, it says MTP disabled and /data is free to go
[G3 Android Development] 87mpi:
many thanks [MENTION=5175597]mostafaz[/MENTION] , i will try later

i have another question about synapse config.. i don't see entropy option, and in my kcal config saturation has value 255 :confused:

EDIT:

Many many thanks to [MENTION=5175597]mostafaz[/MENTION] ! your instructions worked perfectly and now i have formatted system data and cache in f2fs! i coming back to twrp 2.8.7.0 and it works fine!
[G3 Android Development] BuLLeT_93:
Entropy was already set to 256/512 to have constantly 4096kb Random.

Kcal in Synapse is more scalable and accurate than Adiutor, +1 in Synapse was +0.5 in Adiutor :)
[G3 Android Development] mostafaz:
he already say best answer ;)
[G3 Android Development] Simone98RC:
Hi [MENTION=5175597]mostafaz[/MENTION] ,

the usage of Synapse for kernel modding is almost useless, since the software is ugly (almost from my point of view), the profile creation won't work and after reboot I lose all the customizations with the warning message about an "unhappened" instability.

Obviously I flashed UKM before installing Synapse (as you mentioned).

Now I'm trying Kernel Adiutor, but there are some settings that can't be changed: they are min/max frequency and cpu boosting, probably tcp alogrithm too.

While changing zRam amount make device unusable and extremely slow, even after reboot.

Hoping to not run in censorship, the difficult of changing parameters (according to my experience) is common to all the other stock-based kernels.

My opinion? Try to provide better support in Kernel Adiutor (e.g. release a modded apk).
[G3 Android Development] 87mpi:
which value i must set to obtain value 75 in a scale from 128 to 383? (255 is the stock value)

i must set any entropy option or not is necessary because is already activated?

many many thanks! :o
[G3 Android Development] BuLLeT_93:
75 was 203 in Synapse :) entropy was already activated, will be customizable in next ukm release.

Synapse is one of the best app for modding kernel, together with Stweaks, from many years. Here and for all other users (in all kernel that have Synapse support) all works fine, profiles save correcly and also settings stick after reboot.

Probably there's a problem/conflict with some apps installed in your device.

We don't need fashion show if an app is very flexible and efficient.

U can use Kernel Adiutor, it work fine, just need to Uninstall UKM and Synapse to avoid conflicts.
[G3 Android Development] theoverfiend:
The evil rm...

That was the reason maybe tappt it two times...

Shame on me
[G3 Android Development] Fragin 11:
Can anyone with same (without recovery) configuration try to shut down their G3?

Check whether it will power off without led blinking forever.

It will help me to figure out the culprit of my problems.

LG G3 D855

ROM: Fulmics 5.3

Kernel: Gabriel 1.4 U5

Recovery: TWRP 3.0.2-0
[G3 Android Development] 87mpi:
hi guys, i think that there is a bug... when i set the cpu minimum freq to 300mhz ,after some time the freq will return to max...

how can i resolve it?

many thanks
[G3 Android Development] theoverfiend:
Don't think thats an Kernel bug... Maybe comes from Kerneltool.

At my device settings stay at what is set...

Check your tool best way clear data of app than uninstall...

Than install synapse
[G3 Android Development] 87mpi:
mmm..i'm not sure..

i did a clean installation of synapse, and before installation i follow the instructions of bullet93

:confused:

Edit: [MENTION=5175597]mostafaz[/MENTION] [MENTION=1698538]BuLLeT_93[/MENTION]

i have tryed with 1.4 and 1.5 with kernel adiutor and when i set min cpu freq to 300mhz i don't have any problem, but when i set gpu max freq to 389, it auto up to 578 after sometime..

in synapse the opposite occurs, the cpu min freq is auto up to max freq (1728) and gpu max freq remains to 389.

i think it's strange :confused:
[G3 Android Development] bloodstorm666:
The OPT and STK versions for the vs985 broke all my services. Had to do a restore
[G3 Android Development] mostafaz:
i will remove them all, until found a solution with kernel or rom

thanks and sorry
[G3 Android Development] bloodstorm666:
No worries. Testing makes perfect :)
[G3 Android Development] mahmoudshab:
charging

Charging is very slow why? please fix it
[G3 Android Development] mostafaz:
Mine charging around 1:10 h

change cpu governor as i mentioned in first page

tell me you config and temp settings
[G3 Android Development] mostafaz:
[MENTION=1698538]BuLLeT_93[/MENTION]

please see the v1.5 change log
[G3 Android Development] BuLLeT_93:
U're monster bro, i've some work to do for tomorrow :D
[G3 Android Development] Fragin 11:
Will it be your profile? #waiting

LG G3 D855

ROM: Fulmics 5.3

Kernel: Gabriel 1.4 U5

Recovery: TWRP 3.0.2-0
[G3 Android Development] mahmoudshab:
I only use your smoothness profile and i enable core control
[G3 Android Development] theoverfiend:
Will there be U7 or just U5?