yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] scream4cheese:
I'm having some trouble changing from single core to dual core using franco's commands. (I'm running R69 right now)

whenever I type the following to disable hotplugging and enable dual core. It doesn't switch to dual core after I screen on/off, instead quad core is enabled. Could this be the bug franco is talking about?

echo 0 > /sys/module/auto_hotplug/parameters/hotplug_routines

What am i doing wrong? Did I miss a step?
[Nexus 4 Original Android Development] noneabove:
Try also echo 0 > /sys/module/auto_hotplug/parameters/quad_core_mode
[Nexus 4 Original Android Development] elliot.newnham:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Also un install all other cpu managing apps (like trinity or setCpU
[Nexus 4 Original Android Development] cvxbznm:
can this flash in stock rom?
[Nexus 4 Original Android Development] drawde40599:
Its working for me been using dual for last few hours

su

echo 0 > /sys/module/auto_hotplug/parameters/hotplug_routines

copyed and pasted right from Franco's post .

---------- Post added at 08:45 PM ---------- Previous post was at 08:45 PM ----------

Yes

---------- Post added at 08:50 PM ---------- Previous post was at 08:45 PM ----------

Ya I agree this version a lot better , 69 is also running flawless with stock settings 4 + hours battery
[Nexus 4 Original Android Development] cvxbznm:
dose this really save battery?
[Nexus 4 Original Android Development] drawde40599:
Doubled mine
[Nexus 4 Original Android Development] Koraboros:
If I use R69 without Franco app will it still be 4 cores?
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

R69 is Franco's kernel. Default is single core with hot plugging. You have use terminal to enable dual or quad core to your desire.
[Nexus 4 Original Android Development] Koraboros:
Oops! Sorry meant the Franco app. So R69 still has hot plugging right?
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Yes it has hotplugging by default. But you cant find the kernel using the app. You have to manually flash it via adb or recovery. It's a test kernel.

---------- Post added at 01:09 AM ---------- Previous post was at 01:08 AM ----------

It's still not working for me. It still turns to quadcore mode instead of dual core.
[Nexus 4 Original Android Development] drawde40599:
I dont think it matters but do u use supersu or super user ? Whos terminal do u use ? I use https://play.google.com/store/apps/details?id=jackpal.androidterm . have u tried revoke permissions on your terminal app uninstall and reinstall ? . as u can c I'm just guessing now but all worth a try if nothing else working
[Nexus 4 Original Android Development] Lothaen:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Sorry in advance if I am being dumb, but is there a list of all the terminal commands for the tweaks and preferences? In place of me searching through the thread each time :-?

Cheers
[Nexus 4 Original Android Development] elzafir:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

What's the definition of hotplugging?

My understanding is to enable extra core(s) according to the load of currently active core(s). Is it right?

Sent from my Nexus 4 pimped with AOKP and Franco.kernel
[Nexus 4 Original Android Development] Prod1702:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

This is right.
[Nexus 4 Original Android Development] persheshhater:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Isnt there some simpler way to enable dual core rather than typying all those commands in terminal?
[Nexus 4 Original Android Development] zephiK:
buy his app lol
[Nexus 4 Original Android Development] deepsunzhine:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I tested out r68 and 69 and its drainin my battery so fast...dunno why...going back to r53

Sent from my NEXUS⁴

ROM: PARANOIDANDROID 2.99

KERNEL: FRANCO'S R53
[Nexus 4 Original Android Development] Luigiesin:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Yes there is... If you look back, somebody uploaded a ZIP file with 3 apps inside... And he explained how to use them... Pretty straight forward and easy... That's what I'm using right now to use r69 in quad core mode.

Sent from my Rock & Roll Nexus 4

ROM: MINCO V6

Kernel: Franco r68

T-Mobile
[Nexus 4 Original Android Development] persheshhater:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I have his app

---------- Post added at 09:08 AM ---------- Previous post was at 09:07 AM ----------

Check if phone goes in deepsleep. Prolly some apk keeping it awake.
[Nexus 4 Original Android Development] eagleeyetom:
Thread cleaned from unneded discussions. There is an off-topic section, where ALL things can be discussed.

Now proceed on topic.
[Nexus 4 Original Android Development] Luigiesin:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Check your PM

Sent from my Rock & Roll Nexus 4

ROM: MINCO V6

Kernel: Franco r62

T-Mobile

---------- Post added at 12:56 AM ---------- Previous post was at 12:41 AM ----------

So I went back to r62... After a day using 68 and 69 I started noticing the lagging when hotplugging..

I tried quadcoring the kernel.. But realized it was using quite some battery.. Though it was very smooth of course. I loved the colors! And miss the now, but so far r62 has been the best performance /battery with my setup. Thanks Franco! Looking forward to your next experiment ;)

Lu

Sent from my Rock & Roll Nexus 4

ROM: MINCO V6

Kernel: Franco r62

T-Mobile
[Nexus 4 Original Android Development] mishko:
Sv: [KERNEL][GPL][N4] franco.Kernel - r53

Franco, you recommended a few specific governor settings for r61 a bunch of pages back. Can I use them for r69 as well?

Edit: 15000/0/90/1026/45000/3000/80...
[Nexus 4 Original Android Development] dannyyung:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

When you feel a bit laggy with r68/69 hotplugging, have you try to set higher speed at the governor Control. Default should be 1026mhz.
[Nexus 4 Original Android Development] remczar69:
I even tried them on other kernels and it also works ;)
[Nexus 4 Original Android Development] mishko:
Ok thanks!
[Nexus 4 Original Android Development] seriousneo:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

What's the default I/O scheduler for r53? What's the best for battery life?
[Nexus 4 Original Android Development] Arstoien:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

The IO scheduler doesn't affect battery life, only performance. The default is deadline, I believe.

Sent from my Nexus 4
[Nexus 4 Original Android Development] mjehan:
Default for R53 is ROW. Change it to deadline for a smoother experience. Turning off Fsync helps too.
[Nexus 4 Original Android Development] Bluewall:
Wrong, this does affect the battery life. All depends how long to governor uses higher frequencies. Since higher frequencies need more power, I think you understand why :)

If it wouldn't affect the battery, we would all use the CPU clocked at 1.5Ghz all the time for the 4 cores :p
[Nexus 4 Original Android Development] trailblazerz11:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Uhhh he's talking about IO scheduler.. Not CPU governor... ;)

I wouldn't say IO scheduler has no impact on battery but very minimal.
[Nexus 4 Original Android Development] Arstoien:
Yes. It was also Franco's words that the I/O scheduler doesn't affect the battery life.
[Nexus 4 Original Android Development] rocklee80:
AW: [KERNEL][GPL][N4] franco.Kernel - r53

Heard that noop as io scheduler saves a bit battery?
[Nexus 4 Original Android Development] trailblazerz11:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

My thought (guess) is that something like noop first in first out has less overhead then a more complicated scheduler that has to sort and prioritize requests, maybe means use more CPU cycle?

I'm probably wrong and it would make no noticeable difference in battery anyways which is why I said very minimal. :)
[Nexus 4 Original Android Development] Bluewall:
Appologies to all of you guys, thought he was talking about CPU :D might need another coffee lol.

I/O scheduler impact should be very minimal yes :P
[Nexus 4 Original Android Development] jabbeboy:
Have a question, I have the r69 and really like the colours. But how many cores is online and how does it work when I launch a game? Is it always single core? Or have I got it all wrong.

I don't really notice any problems at all with the r69, and with quad core enabled all the time, it drains battery?

I doesn't being noticed in regular use?
[Nexus 4 Original Android Development] trailblazerz11:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Hotplugs cores as default. Search r67-test post by franco for instructions to dual core and quad core.
[Nexus 4 Original Android Development] jayjay2244:
Tried r67 becuase i hate the colours in r68/9 but got random crashes in apps and when locking screen with music it would reboot. Back to r53 :( shame i love r69 apart from PA colours.

---------- Post added at 02:22 PM ---------- Previous post was at 02:19 PM ----------

Disabling Fsync can cause corruption of files which cant be good.
[Nexus 4 Original Android Development] tlslaj0417:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

hmm i am using r68.. basically it is very good on battery life when it is idle. at the second cycle, i use much on wifi + whatapps, i use perfmon to monitor the cpu core at real time, i discover that whenever i am typing words on keyboard , sometime it will goes up to 4 cores, or 2 cores..(drain battery fast here)but when i stop writting, it will back to 1 core online only with 384Mhz all de time...is that hotplug routine prob or normal case?

Edited: i tested to use keyboard on messenger with monitor on perfmon, it acts normal. just use 1 core and sometime 2 cores. is that mean is the prob of whatapps?
[Nexus 4 Original Android Development] realfelix:
AW: [KERNEL][GPL][N4] franco.Kernel - r53

Makes me think even more that whatsapp is just as badly coded as facebook.
[Nexus 4 Original Android Development] scandalousk:
I think so too. Just try scrolling through your contacts in whatsapp. It lags as hell.
[Nexus 4 Original Android Development] persheshhater:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Never noticed such lag.

---------- Post added at 05:24 PM ---------- Previous post was at 05:22 PM ----------

R62 was the dual core one right?
[Nexus 4 Original Android Development] vinnyutd6899:
still on r62 :good:

with stock kernel with minco rom v6 i would get 17 hours a day 4 hours screen on time 30 mins of calls a day 70-80 sms a day and still have around 20% battery left at end of day :cool: (wifi 70% of the day 3g 30%)

with r62 whick is just as smooth as stock!! minco rom v6 i still get 17 hours a day 4 hours screen ontime 30 mins of calls 70-80 sms but at end of the day i have had 40% + battery left at end of the day :good::good::cool::cowboy: (wifi 70% of the day 3g 30%)

Auto brightness

screen on time is mainly browsing forums, twitter, facebook and sending sms.

Listen to about 30 mins of podcasts a day.

google now switched off

location switched off

facebook to update only when opened

twitter to update only when opened

podcasts to download only when on wifi and plugged in (04:00 am)

wifi 70% of the day 3g 30%)

Before r62 i would try francos kernels but always go back to stock as i forund them to be not as smooth as stock! with r62 i find it to be just as smooth as stock! i have now found MY milestone version.
[Nexus 4 Original Android Development] DesertVelo:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Yes.... think R6"2" with dual core
[Nexus 4 Original Android Development] yokuyuki:
After a few days on r68 and r69, I've been finding that idle drain isn't as good as r53. Shame though because I like the colors.
[Nexus 4 Original Android Development] tory13579:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Hey guys

Is there a way to enable dual core mode on boot? Right now I am just echoing 0 every day to hotplug_routines and it resets on reboot. I know in Linux say Ubuntu you would just add "echo 0 > /sys/modules/auto_hotplug/parameters/hotplug_routines" to /etc/rc.local. is there something similar to android? Or am I just blind and missing the set on boot setting in the app?

Also, what is the terminal command to enable quad core mode over dual core?

Thanks in advance!
[Nexus 4 Original Android Development] formicae:
I'm finding it pretty good. Didn't have much of a chance to use my phone yesterday, maybe 45 minutes of screen time. About 16 hours off the charger, went to sleep with 74% left. About half/half wifi/H+.
[Nexus 4 Original Android Development] murdah204:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Guys try these colors if you don't like the r69 colors. Change it in the Franco Kernel app or in the Nexus 4 Display Control app... Or any Color Calibration app.

Blue: 245

Red: 244

Green: 240

Looks much better in my opinion and battery life on r69 is amazing with stock settings and -125 Undervolt
[Nexus 4 Original Android Development] Arstoien:
It's "echo 1 > /sys/module/auto_hotplug/parameters/quad_core_mode" without the quotes. As for the auto run, you can do that with Tasker. Could be another way but that's what I'm using.

Gosh, I feel like Tasker promoter in this thread, I'm sorry :D
[Nexus 4 Original Android Development] formicae:
Those are the r69 defaults, chief.
[Nexus 4 Original Android Development] jan.ringas:
You could put a script containing the line(s) you want to execute on boot in etc/init.d.

It has to be "echo 0 > /sys/module/auto_hotplug/parameters/hotplug_routines" ("module" without the "s"), though ;)
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Are you sure? Because when I hit the button in the app to set my colours to kernel defaults, they go back to 255/255/255.
[Nexus 4 Original Android Development] persheshhater:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Lol yeah that was the best for me too!
[Nexus 4 Original Android Development] Testraindrop:
Yes the Kernel defaults are those mentioned before, you'll see if you fresh flash the kernel, if you hit the default button in the app it uses the app defaults (255). not kernel defaults.
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I just tried that and I see what you mean, thanks.
[Nexus 4 Original Android Development] kCelsius:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

There was an article on PocketNow about Franco kernel!
[Nexus 4 Original Android Development] tory13579:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Thanks guys for the info! I am doing tests between quad core mode and dual core mode to see the battery life hits and speed. That way I can know if I want to run quad core24/7 or dual core
[Nexus 4 Original Android Development] Arstoien:
Isn't the default rgb 245,244,240? You initially said 244,240,245 (in a different order).
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Lol. I just saw the video on YouTube. It was about franco's kernel on the N7.
[Nexus 4 Original Android Development] cobyman7035:
has anyone gotten 6 hours wifi SOT using 1500mhz speed on any kernels/ROM combo? or this is impossible
[Nexus 4 Original Android Development] drawde40599:
I dont no if u got working but I'm finding I have to activate dual core first then quad will work , just entering quad first is doing nothing for ME . can't get quad core skript to work also but dual core skript fine . dunno not big deal thought ID share for u and anyone else having issues ( didn't see anyone else having issue tho )
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I got it working by using those zip files uploaded earlier by a member of this forum. It works magically!

---------- Post added at 02:43 PM ---------- Previous post was at 02:42 PM ----------

And I also uninstalled trickster mod app. That app would not allow me to enable dual core! Bastard!
[Nexus 4 Original Android Development] kioshi:
Possible if you turn Google now off, live right under a cell tower, and just text message on phone.
[Nexus 4 Original Android Development] SleemLDJ:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I'm trying to understand something guys.

I'm running R69 with Franco default settings.

It runs on single core almost when I do nothing or not run a heavy task on the phone.

Does it mean when I begin to run a heavy app, some more cores get activated or its permanently single core no matter what app or what heavy duty the phone runs.

Also what threshold value makes it run dual core instead of single?

Sorry for noobness.

Sent from my NeXus⁴
[Nexus 4 Original Android Development] eyahl:
AW: [KERNEL][GPL][N4] franco.Kernel - r53

This is how it works... :p
[Nexus 4 Original Android Development] rxmxsh:
I presume you did this via Tasker?
[Nexus 4 Original Android Development] deltatux:
Pretty much, when idle, the CPU will only run a single core, then when you add more load, the more cores it will online. As for the threshold, the values aren't well documented yet, so it's best to wait until Franco explain the values in the changelogs.

deltatux
[Nexus 4 Original Android Development] scream4cheese:
It's possible to reach 6 hrs of screen time on wifi. Remember, it all depends on what you're doing and what services or options are enabled that will cause battery drain that you don't need. I was able to achieve 4-5 hrs of screen time with wifi and data on throughout the day. And a battery time of 15-19 hours. I have achieve that goal using MiNCO, CM 10.1, Paranoidandroid, and AOKP. I usually leave kernel settings on franco's default settings as well.
[Nexus 4 Original Android Development] Vanhoud:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

How did you do this?? Do tell :)
[Nexus 4 Original Android Development] scream4cheese:
I tested it out and it seems like it stays on one core on whatever I'm doing. From browsing the web or playing a game. it stays single. (No pun intended) You can make it dual core by following the post below.

Type this in terminal emulator to enable dual core:

echo 0 > /sys/module/auto_hotplug/parameters/hotplug_routines

Here's the link to franco's post. It says R67 but it's for R68 and R69 as well. They're pretty much the same.The only changes are the implementation of the color you'll get when you apply them.

http://xdaforums.com/showthread.php?p=37636812&highlight=just+pushed#post37636812
[Nexus 4 Original Android Development] scream4cheese:
Here you go!

Click, extract and install!
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Yes, you're right. I didn't go back to double-check the values before, but I noticed they weren't 255/255/255.
[Nexus 4 Original Android Development] SleemLDJ:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Thanks for the help.

I decided to test something.

On idle it was single core. So I tried to open NFSMW. It changed to 3 cores.

Changed back to a core after closing the game. Which is good right?

Save battery when heavy apps aren't running.

If I discover any lags I will switch with the terminal to two cores.

Thanks again.

And Thanks Franco

Sent from my NeXus⁴
[Nexus 4 Original Android Development] Arstoien:
For you and the others asking: http://xdaforums.com/showpost.php?p=37695197

If you use Tasker, you can also do it to run on system boot. I assume you'd know how to do it if you used it. If not, pm me and I'll help you (and anyone else).

PS: They already answered you, too slow :)
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I am not doubting that this is the behaviour that you noticed, but I don't think that's the intended behaviour. Franco said that hot-plugging is back, so it should add and remove cores according to load. Although of course he did also say the routines are different now and this is a test build.

Maybe try playing with the "online a single core threshold" value in the app?
[Nexus 4 Original Android Development] jtwlbz:
i am running r69 and isn't it too dark?

white has to be more white in my opinion..i am in auto brightness mode..
[Nexus 4 Original Android Development] scream4cheese:
Are you asking or are you telling?

Everyone was complaining it was too dark and such. So now it's lighter on R69. You can adjust the color yourself using this app:

https://play.google.com/store/apps/...xLDMsImNvbS5iaWdleWVzMHgwLnRyaWNrc3Rlcm1vZCJd

Or use franco's app if you have it already. If you dont have it, here it is.

https://play.google.com/store/apps/...251bGwsMSwxLDEwOSwiY29tLmZyYW5jby5rZXJuZWwiXQ..
[Nexus 4 Original Android Development] cobyman7035:
i tried this, doesn't work on r62, i clicked on quadcore but it still shows 2 cores only when using perfmon cpu app monitor
[Nexus 4 Original Android Development] casonswag:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Turn screen off and on to activate
[Nexus 4 Original Android Development] cobyman7035:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Yep still doesn't work I turned off the screen

Google Voice via my NeXus⁴ using XDA Premium
[Nexus 4 Original Android Development] formicae:
r62 is dualcore 24/7/365 with screen on. Try it on r69.

Edit: for proof:
[Nexus 4 Original Android Development] eyahl:
AW: [KERNEL][GPL][N4] franco.Kernel - r53

Exactly, that's it!:thumbup:
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I've been using r69 on dual for almost three hours now. It's drains my battery slightly more than on it's single core mode but its okay. It's fast and smooth.
[Nexus 4 Original Android Development] tory13579:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Damn... I just now got my init script done too. Well thanks anyways I will use this instead :D
[Nexus 4 Original Android Development] JNewms:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

You'll need to wait until your second charging cycle to get a real idea of how it will be on battery

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] persheshhater:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Next time better say you cant instead of showing you do not know how to;)
[Nexus 4 Original Android Development] starscream92:
On r67 with the new hotplug routine (not tweaked to go dual- or quad-core), and battery life has been amazing.

Almost 20 hours with 4 hours of screen time. Auto-brightness turned on, GPS turned on, Location History turned on, Google Now turned on, little to no WiFi, and HSPA+ always turned on. This was all with about an hour of listening to music.

Awesome, awesome kernel, Franco. Thank you so much for your work! This is the only kernel on which I can go out all day with my phone without having to worry about battery life. Performance is not too bad at all. It's not as smooth as Linaro-compiled kernels like Motley's, but with the new hotplug routine the balance between battery and performance is a lot better.

I also really appreciate the ability to UV. The Krait CPU on this S4 Pro SoC is able to run with really low voltages without any issues. Helps saves battery and reduce heat (pet peeve of mine). Granted, I only undervolted by -100 mV across the board, to compromise for ensured stability (and it has been extremely stable) :)
[Nexus 4 Original Android Development] deepsunzhine:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Help here so i dont **** my phone up......i can set the voltages 100 les than its shown on the board????...for example the first one i can set it to 750mv and the sexond ine to 775mv and so on????...thnx

Sent from my NEXUS⁴

ROM: PARANOIDANDROID 2.99

KERNEL: FRANCO'S R53
[Nexus 4 Original Android Development] persheshhater:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Try decreasing by 25.
[Nexus 4 Original Android Development] deepsunzhine:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Should i see some battery increment with 25 ????

Sent from my NEXUS⁴

ROM: PARANOIDANDROID 2.99

KERNEL: FRANCO'S R53
[Nexus 4 Original Android Development] kioshi:
it was a sarcastic reply to the user....

lighten up...