yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 3 Android Development] Eleo:
But doesnt cleaning cache decrease responsiveness and fluidity? I mean when cache are there, apps should open faster since the data is already stored on cache storage, when the cache is cleaned, apps form the data in cache and then open it, which should decrease the overall fluidity of apps work and system ui responsiveness. It was also said to decrease battery life upon cleaning cache frequently, because it requires apps to form cache each time it is required and this consumes battery... Am I wrong?
[Galaxy Note 3 Android Development] 6h0st:
If you don't use your phone it decreases battery life, by running the clear cache script. On the other side if you use your phone a lot and open a lot of apps and have left a couple of hundred ram available, cleaning recent tasks and cache makes your phone very smooth. It can avoid panics too. Clearing cache to often will decrease battery life and affect fluidity.

It is a lot to talk about this and opinions are devided.
[Galaxy Note 3 Android Development] stoychod79:
Shouldn't LMK do that automatically for you, mate, without the need of using a cron job or doing it manually?
[Galaxy Note 3 Android Development] 6h0st:
It does but only if low memory level is reached and it doesn't clean ram it only kills tasks that it thinks are not necessary by scanning usage pattern that also slows your phone.

Plus the cached processes are wrong most of the time. Take a look. You will find apps that are not used often but are cached.
[Galaxy Note 3 Android Development] 6h0st:
I don't use these often. Talking tom was opened once on friday. The other are just services just being ready to use.
[Galaxy Note 3 Android Development] stoychod79:
OK, I got it, mate. And yes I regularly check the running and cached process and often see apps I haven't opened or rearly use... Could then share the code you use for the cron job if it isn't too much of a trouble so we can test?
[Galaxy Note 3 Android Development] 6h0st:
This is the cron installer with 3 tasks. (flush cache, clean junk, update hosts).

Do not flush if you have Phronesis 4.1 because it will overwrite cron tasks you have from rom. Just extract and use the needed files.

http://ghost.com.ro/download/Cron_installer_Ghost.zip
[Galaxy Note 3 Android Development] PokemonTotalWar:
Will this improve performance or battery by any measurable amount?
[Galaxy Note 3 Android Development] ocujos:
What do uhosts, flush & sclean commands do?
[Galaxy Note 3 Android Development] PokemonTotalWar:
Update hosts, flush cache, (s)clean junk.
[Galaxy Note 3 Android Development] gelomon:
[MENTION=4326291]6h0st[/MENTION] Seems like autorotate is broken since 1.1l version
[Galaxy Note 3 Android Development] PokemonTotalWar:
Auto rotate works fine for me (SPR), what model is your phone?
[Galaxy Note 3 Android Development] 6h0st:
Do you have auto-rotate working if you flash back 1.1k? Or a different kernel to see if this is kernel related?

Did you remove any apps from rom? Like email.app.
[Galaxy Note 3 Android Development] Andrew59:
Autorotation works with any version of kernel (9005) at both ROMs in multiboot. And I haven't stock email at one of my ROMs.
[Galaxy Note 3 Android Development] stormy_ugur:
for me previous version was better. new version draining battery faster.
[Galaxy Note 3 Android Development] simonk206:
Auto rotation works today with 1.1m. Yesterday it don't work :confused:

Battery drains more since 1.1l and at 1.1m too. With 1.1k battery was better. (same settings set in kernel auditor since 1.1k!!)

EUR n9005 MagMa NX UN3
[Galaxy Note 3 Android Development] zack483:
Reflash the kernel.

Use fast chargr script.

Name file : 99fast_charge

#!/sbin/phantom/sh

# How it works:
#
# Change values from [ echo " x " ] with the ones available
# ... x being the option available.
#
# Dont use other values - it won't work!
# 4 sections/places to edit available
############################################
echo "0" > /sys/kernel/fast_charge/failsafe
############################################

# Selecting custom values mode
# 0 - disabled
# 1 - substitute AC to USB
# 2 - use custom mA (default)

echo "2" > /sys/kernel/fast_charge/force_fast_charge
# ____^(edit)_______________________________________1

# Adjusting charging values
# available levels for AC (for failsafe enabled mode)
# (1000/1100/1200/1300/1400/1500/1600/1700/1800/1900/2000/2100 )

echo "2000" > /sys/kernel/fast_charge/ac_charge_level
# ____^^^^(edit)_____________________________________2
# available levels for USB (for failsafe enabled mode)
# ( 460/500/600/700/800/900/1000/1100/1200/ )

echo "500" > /sys/kernel/fast_charge/usb_charge_level
#_____^^^(edit)______________________________________3

#available levels for WIRELESS (for failsafe enabled mode)
# ( 650/800/900/1000/1100/1200 )

echo "650" > /sys/kernel/fast_charge/wireless_charge_level
#_____^^^(edit)___________________________________________4
sync

Saved it to folder init.d.

Reboot

Ignore the 'power and battery' section on kA.

:silly:
[Galaxy Note 3 Android Development] ammar_maher:
Reflash and found the script...thanks
[Galaxy Note 3 Android Development] choosetobelieve:
Hi All,

I found that the latest version T is very good except the battery drains extremely fast if I listen music or watching videos. Is there any way to improve it? I cannot use per app mode at moment due to the rom issue after I have installed the second language. Thank you
[Galaxy Note 3 Android Development] tt1991tt:
I was reflash T version, copy that script to init.d reboot but still having 2000mAh when charging :confused:
[Galaxy Note 3 Android Development] |mickey:
:confused: so what's wrong? That what is suposed to happen when you choose option 2 and leave the value default?
[Galaxy Note 3 Android Development] tt1991tt:
What value need to be changed :confused:? I just copy source and create script file to init.d folder
[Galaxy Note 3 Android Development] kramer04:
Is it possible to have the min freq of GPU under 100Mhz ?

I don't know how to do.

I am on 1.2t.

Thanks.
[Galaxy Note 3 Android Development] Gregbol:
the lowest frequency for gpu phantom 1.2t is 27Mhz

wait a few seconds at the same place where you took the screenshot in kernel and look at the top left what you surrounded

Envoyé de mon SM-N930F en utilisant Tapatalk
[Galaxy Note 3 Android Development] kramer04:
That's why I ask because it's never under 100Mhz.

I use Phantom KA.
[Galaxy Note 3 Android Development] zack483:
The script i gave is already edited the max value.

Did u mean 2000mAh is mA?

"mAh" is milliampere per hour, its for capacity measure.

"mA" is the milliampere for the charger output to charge ur phone.

Use "Gsam battery monitor" app to check the current charge or "ampere" app. U can get it on playstore.

If u get lower mA, sometimes its depends on ur cable. Cheap cable always low mA.

Edited: my bad. The fast_charge script i share is the original one. U must edited it to max value before save it to init.d
[Galaxy Note 3 Android Development] Eleo:
Maximum charge is 1200 on your script? Are you sure? Check attachment please.

All he needs to do is to change that value to what he likes and then execute the script with ka/init.d (or reboot).

So, no. The script that you shared is the stock one that comes with phantom kernel and not edited the max value

:o

You probably shared the stock one from sbin/scripts rather than the edited one from system/etc/init.d folder
[Galaxy Note 3 Android Development] zack483:
My bad.

Wrong copy paste. Hahahaahahahaha

Its supposed to have 21000

:laugh: :laugh::silly::silly:

This the one i use

#!/sbin/phantom/sh

# How it works:
#
# Change values from [ echo " x " ] with the ones available
# ... x being the option available.
#
# Dont use other values - it won't work!
# 4 sections/places to edit available
#####################################################################

echo "2" > /sys/kernel/fast_charge/failsafe

# Selecting custom values mode
# 0 - disabled (default)
# 1 - substitute AC to USB
# 2 - use custom mA configured through sysfs interface (see below)
# __________________________________________________________________1

echo "2" > /sys/kernel/fast_charge/force_fast_charge

# Adjusting charging values
# available levels for AC (for failsafe enabled mode)
# (1000/1100/1200/1300/1400/1500/1600/1700/1800/1900/2000/2100 )
# __________________________________________________________________2

echo "21000" > /sys/kernel/fast_charge/ac_charge_level

# available levels for USB (for failsafe enabled mode)
# ( 460/500/600/700/800/900/1000/1100/1200/ )
#____________________________________________________________________3

echo "1200" > /sys/kernel/fast_charge/usb_charge_level

#available levels for WIRELESS (for failsafe enabled mode)
# ( 650/800/900/1000/1100/1200 )

echo "1000" > /sys/kernel/fast_charge/wireless_charge_level
#_____________________________________________________________________4
sync
[Galaxy Note 3 Android Development] Eleo:
I am still not sure whether you are serious or joking... but that is also not correct. The value range is from 1000 to 2100. Not 21000. Even though it says in increments of 100 (1000/1100/1200/1300...) you can select values inbetween too, like 1254mA charging (and detect that current).

But you still cant have 21000. You have to remove one additional zero for it to be correct.
[Galaxy Note 3 Android Development] zack483:
Omg. Thanks [MENTION=4598795]Eleo[/MENTION].

My fault. Wrong edit. If u dont said it i wouldn't notice it. Its because i flash new rom, i dont backup the script, i edit new one everytime i flash new rom. :eek:

Yes it supposed to 2100

# Adjusting charging values

# available levels for AC (for failsafe enabled mode)

# (1000/1100/1200/1300/1400/1500/1600/1700/1800/1900/2000/2100 )
[Galaxy Note 3 Android Development] 6h0st:
You need to enable Adreno Idler, if you want to have 27 MHz instead of 100 MHz as idle (min) GPU frequency on d.v.1.2t.
[Galaxy Note 3 Android Development] mak1989:
hy 6h0st,how to enable adreno idler in 1.2t?where is this option?
[Galaxy Note 3 Android Development] 6h0st:
It's enabled by default, but you can change it from KA, in GPU section.
[Galaxy Note 3 Android Development] mak1989:
ok but why i can't see min gpu 27mhz?
[Galaxy Note 3 Android Development] Rjhncrz:
Adreno Idler will make your minimum GPU frequency to 27. That's why Adreno Idler needs to be enabled. Because Minimum frequency set to be 100, if you turned off or disabled Adreno Idler, it will not go to 27Mhz. It will stay at 100 as a minimum. That's how Adreno Idler works.
[Galaxy Note 3 Android Development] kraken77:
I dont think adreno idler was the culprit. On all version including T, i still can see 27mhz on idle. You need to update your KA. Im using build 15. But still, you need to enable adreno idler.
[Galaxy Note 3 Android Development] RamHa:
Yeap, no answer at all... :confused:
[Galaxy Note 3 Android Development] grumpycoder100:
Simple. Make a nandroid backup of your ROM that is working fine, then flash the kernel. If the ROM successfully boots up, then congratulations phantom kernel does work on SM-N9002. If you get stuck in the splashscreen or bootanimation for more than 15-30mins then phantom kernel doesn't work on SM-N9002. Then this way you are able to help out other similar model users, preventing any confusion and further questions about compatibility of this kernel. All the best and good luck! :)
[Galaxy Note 3 Android Development] mak1989:
adreno idler is on but i can't see 27 mhz in the min gpu frequency....where i find new ka version?
[Galaxy Note 3 Android Development] kraken77:
Here mate

https://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549

Test and report.
[Galaxy Note 3 Android Development] kramer04:
I use Phantom KA made by [MENTION=4326291]6h0st[/MENTION] for phantom kernel.

https://xdaforums.com/showpost.php?p=73364264&postcount=3022

When you install it Adreno Idler is off so check it to on.
[Galaxy Note 3 Android Development] thanhquan:
kernel phantom for js01lte ?

fan from vietnam
[Galaxy Note 3 Android Development] 6h0st:
No, sorry.
[Galaxy Note 3 Android Development] |mickey:
Hello guys, I've come across a different and weird issue...

fI've been using 1.2t alonjg with vx1 rom from NXTeam or some reason fastcharge stopped working, showing (within Ampere) that it was charging as default 1200 mah... I decided then I'd delete and get the fastcharge script again from sbin/phantom, and to my amazement there is no phantom folder or scripts to be found anywhere...

I'll be reflashing the kernel, but thought it was best to report this weird issue...
[Galaxy Note 3 Android Development] tt1991tt:
Yeah, I mean 2000mA. I was save 99fast_charge script from your post to init.d folder and restart after reflash kernel, but it still not have 2000mA. Now after I copy 99fast_charge script from /sbin/scripts to init.d folder, it working ;)

---------- Post added at 09:58 AM ---------- Previous post was at 09:55 AM ----------

Please read or search before ask a question like that.

Đọc kỹ đi bạn trẻ, js01lte = sc02f, và ko có mã đấy trong link download là không hỗ trợ nhé ;)
[Galaxy Note 3 Android Development] 6h0st:
New dev.ver. 1.2u / 1.2u* is up.

Enjoy!
[Galaxy Note 3 Android Development] muzliamir:
Thank you brother
[Galaxy Note 3 Android Development] AttoR:
I will try your kernel for the first time... hopefully satisfy... keep working :good: :D
[Galaxy Note 3 Android Development] Rjhncrz:
Thanks [MENTION=4326291]6h0st[/MENTION] for the special mention. And for another great kernel version will download it now?
[Galaxy Note 3 Android Development] FrncscDrJr:
Where can I find the MOD? So I can enable Double tap to wake feature..
[Galaxy Note 3 Android Development] Rjhncrz:
https://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549/page129
[Galaxy Note 3 Android Development] moroo:
Thank you

Very smoooth and the battery is very good

and the DoubleTap2Wake Works perfectly :good:
[Galaxy Note 3 Android Development] zack483:
If i enable AOD, and disabled double tap to wake, the phone still can't go deep sleep right??:confused::eek:
[Galaxy Note 3 Android Development] 6h0st:
[emoji16]

AOD consumes even more battery than doubletap2wake, because the screen is on and uses CPU and GPU as a service. It consumes battery even if it's not enabled. Both will not let phone to enter deep sleep.

AOD is ROM related, it can function differently depending on witch ROM you use.
[Galaxy Note 3 Android Development] zack483:
And one more thing, I noticed,

On 1.2t, fastcharge script enabled, gsam showing 2100ma when charging ,

But on 1.2u, using fastcharge script enabled, gsam showing 1200ma. :eek:

Edit: sorry. Now it showing 2100ma. Maybe my gsam misscalculation after i flash new 1.2u. haha. My bad.
[Galaxy Note 3 Android Development] 6h0st:
You have to disconnect and reconnect the charger after using the script/charge charging parameters.
[Galaxy Note 3 Android Development] blackhawkwww:
Weird.

In the latest 1.2u version, I can't set the settings with scripts, which is working fine in previous 1.2t version.

All settings seems like set to default even after I reboot the phone a few times.

Anyone experience the same?

Edit: Fastcharging script also not working.

Edit 2: Problem solved. It seems like a bad flash. The phantom and scripts folder were missing and gone. I reflashed the latest version. Now, everything is intact.
[Galaxy Note 3 Android Development] Rjhncrz:
1.2u has different frequency values if you are still doing the same UV values from 1.2s or 1.2t.. it will not work & you'll just getting random reboots. New freq values of 1.2u is 288, 1420, 1574, 1881, 2035, 2265... but most like to stay at 288, 1420, 1574, 1881.
[Galaxy Note 3 Android Development] 6h0st:
Actually, latest Phantom gov will hit all CPU frequency steps, but most likely choose to stay on 288, 1420 (sync speed), 1574 (med speed), 1881(high speed). Near to/and 883 when screen is off, depending on load (useful when using dt2w).
[Galaxy Note 3 Android Development] 6h0st:
Here is a possible scenario of Phantom governor:View attachment 4320764
[Galaxy Note 3 Android Development] choosetobelieve:
Can I understand that the default kernel is running at 1881 maximum which is similar with underclocking the cpu? Thanks
[Galaxy Note 3 Android Development] Eleo:
PLEASE be thorough.

Check the attachment.

Read the "time at x freq".

Now think again.

Do you see 2265MHz? Do you see it stays on 2265? Does it mean you underclocked CPU? Have you observed Phantom governor freq on previous kernel versions? Do you see the difference now?
[Galaxy Note 3 Android Development] 6h0st:
It's not limited to 1881. It hits higher frequencies if load is high enough for a while. But you can tweak hi_speed to max if you want more speed, with the cost of battery life, of course.

Underclocking is when max frequency is caped under the CPU's max frequency table or the frequency table is modified to use max frequency under the possible max frequency offered/guaranteed by the spects of the producer of the CPU/GPU.
[Galaxy Note 3 Android Development] choosetobelieve:
I got your point. But please allow me to ask something I want to know so I can learn as well.

I see 2265, I see 2265. I see Mr Eleo.

---------- Post added at 09:19 AM ---------- Previous post was at 09:03 AM ----------

Hi Dev,

For your view, what is the best way to save some battery while watching YouTube and listening music if there is way?

I usually underclock the gpu. Thanks
[Galaxy Note 3 Android Development] 6h0st:
About Dt2W:

From my estimation, if DoubleTap2Wake (Dt2W) is enabled, with screen off and phone being idle, you'll get an extra 1.5% to the normal consumption rate.

I might be wrong, but this is my test result. Waiting results from you if interested.

Update:

Keeping the touchscreen powered for a long time is not a good thing either (not sure)...I think this can shorten it's lifespan. On the other hand it saves the power and/or home button's life... And it's kind of cool. [emoji6]
[Galaxy Note 3 Android Development] 6h0st:
In the latest d.v. (1.2u) I've updated intelli-plug to be battery friendly when watching videos (YouTube app included here), usually it goes well with phantom gov, because it will use just 1 core, but you can use other govs if you don't need high frequencies (can cause laging if tuning is not done correctly). Lazyplug has a similar profile (lazy) that is being used in the same way (when watching videos). So these two hotplugers are recommended. Not both enabled at once! Just one.

You can use smartmax_eps when listening music (even YouTube, but not with intelli-plug, I think). I think it's the most energy saving gov, but expect lags when using this gov.

...Or you can tune Phantom gov to use lower frequencies. Your choice. Other options are available.

GPU underclocking is ok for YouTube (I don't think it has that much impact, though), but pointless for music listening (screen is off, no GPU activity).

Do more testing and see. Sharing the results can help me too with the Kernel development.
[Galaxy Note 3 Android Development] Eleo:
LOL:D

Home/power button lifespan is waaay longer than touchscreen's. It is good that you provided that option but I dont think of any usage other than "bragging" to LG users (my personal point of view). Havent tested it for long run for now but on shinto I had too much "unlock in pocket" event even though I selected it to be "not unlocking" when proximity is blocked on its synapse app.

Though I have also seen users who broke their home and/or power buttons on note3 before breaking touchscreen too

:silly:

I just wrote down questions that you should have asked yourself before posting that question. I see you like to post questions on threads without even reading. That was pretty straightforward. I urge you to read thoroughly before posting. It is for your own good.
[Galaxy Note 3 Android Development] choosetobelieve:
I did read. I have my reason to ask based on my own observations from usage.
[Galaxy Note 3 Android Development] Rjhncrz:
Lol the guy is on the move again to drag someone down. Tsktsktsk
[Galaxy Note 3 Android Development] kraken77:
Bug, if LTE only were selected, and then restart the phone, theres an fc error com.phone something like that. Had to flash lss kernel to fix the error, then when phone boot up, select any connection mode except LtE only and reflash back phantom kernel. Aspire Rom.
[Galaxy Note 3 Android Development] Rjhncrz:
I get that a lot before. I used a kernel cleaner which you can find it here on XDA. it is a flashable cleaner. Which clean everything. No leftovers, and you wont get that bug after that.
[Galaxy Note 3 Android Development] 6h0st:
Can't believe this! I found a bug in intelli-plug related to scaling down duration of CPU cores.[emoji31]

That's why I was getting micro lags in everything.

I've fixed it now. Going to compile again all Kernel variants... After I recheck again the code. Will realease the fixed version today with dev.ver.1.2u*
[Galaxy Note 3 Android Development] 6h0st:
All variants of dev.ver. 1.2u* are up and available for download now!
[Galaxy Note 3 Android Development] Eleo:
Hmm when downloading zip or img (for hlte) from ghost.com.ro it says "not found". And the folder on MEGA is empty...

Are you still updating or smth wrong on my side?
[Galaxy Note 3 Android Development] xcal_tau:
Thanks ghost for your continuous development on note 3. By the way, i never use intelli plug, it to much jumping frequency and on off cpu core.

I still using bricked plug on all version, more optimized based on my usage.

And about your med frequency, it superb! Now more tweakable tuning.

I change med freq to 729mHz, sync to 1247mHz. Way cooler and still performance show.

Your default setting cpu gov phantom, still jumping to hig frequency for playing music/video.

And about gpu adreno idler setting, your new value, 10, 10, and 1, even make it more lag.

Dont u think you should gain it?

I set main to 20,20, and 3. You can test it.

Thanks
[Galaxy Note 3 Android Development] appleff4:
as it seems to be...
[Galaxy Note 3 Android Development] atarek:
Hello,

I've downloaded it from http://ghost.com.ro/phantom-kernel/download/ through mobile browser

and now it's not found so shall i re download when it's available again.

Edit: i didn't flashed the downloaded one yet but i have it on mobile storage.

Regards,

Ahmed
[Galaxy Note 3 Android Development] 6h0st:
Technicality difficulties...

Last minute change...

Please wait... Upload still in progress.
[Galaxy Note 3 Android Development] 6h0st:
(Shell we try again?!)

Ok. File upload complete.
[Galaxy Note 3 Android Development] Eleo:
Yeah

No problem:good:
[Galaxy Note 3 Android Development] maniwaraich:
great kernel lov u ghost for that
[Galaxy Note 3 Android Development] Ashford21:
Can someone tell me why the Phantom Kernel 1.2t is much smoother and battery friendly, compare to 1.2u which i have tried yesterday it was laggy but i don't know if it's more battery friendly than 1.2t because i reflash 1.2t again since there's no tweaks needed it's so perfect imo, compare to the other kernels. :)
[Galaxy Note 3 Android Development] xcal_tau:
You should download the latest version of 1.2.u. The fix version, see the download page 1.2.u*
[Galaxy Note 3 Android Development] Ashford21:
so the release yesterday has bugs and it's been fixed now, so probably it's much smoother now and battery friendly than v1.2t i'll try it later and give a feedback. :highfive:
[Galaxy Note 3 Android Development] xcal_tau:
Yup, give it a try. It should be smoother
[Galaxy Note 3 Android Development] Dan0v:
something wrong with my fast charge, i didn't set the 2000 value as shown
[Galaxy Note 3 Android Development] Eleo:
Did you reboot after saving changes? Or did you execute the init.d script from kernel adiutor after saving changes? Did you edit the script in /system/etc/init.d folder or in /sbin/scripts folder? We need to know these before going further with troubleshooting.

For some reason you have cropped the attachments and we cant get some of the info asked above.