yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Whosdaman:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Edit: I'm currently running latest CM10.1 nightly and latest Franco test kernel (the weird 2 core one. Fruit ninja isn't smooth anymore, but battery is better. :P)

Does anyone else get terrible WiFi signal in general with the Nexus 4? Nothing I have tried has fixed it at all. I'm constantly around -20db lower on my Nexus 4 than on my iPhone 5 or laptop. Hell, I knew Samsung had WiFi issues too with the Nexus S and Galaxy Nexus, but c'mon LG too?! And now I'm to the point where I would rather use my full strength HSPA+ than my weak WiFi. Coincidentally, I am leading a bounty right now to bring T-Mobile WiFi calling to the Nexus 4 (and they are close!), however the terrible WiFi signal strength has me worried if I can even stay connected walking around the apartment. I haven't caught it disconnecting yet it the living room, but it gets close...at a point where the poor signal strength setting would kick in and disconnect it.

I don't know, but Franco I know you are the man, and I assume this might be able to be tweaked in the kernel to try to amplify the WiFi antenna? Anything really. If its not possible and I just went on this rant for nothing then just PM me instead. (Saves face lmao)
[Nexus 4 Original Android Development] alanwyl:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Is there a difference between

CPU 0, 1 online and

CPU 0,2 online?
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

No, not really. They're just separate CPU cores. They're like the cylinders in a car. If you don't need em all, turn em off! When you do, FIRE THEM UP! Vrooom!
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Lolz... Are we drifting to a reverse hot plug? 4 cores on while asleep and 2 cores when the screen turns on? ;)

sent from my r53-Franco nexus 4
[Nexus 4 Original Android Development] superleeds27:
Strange drain overnight for some reason.

Checked BBS nothing that looks dodgy or anything. Seems like it slept fro a while, straight line, then for some reason starting to bend of rapidly.

Ill do a log if i get chance.

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

Have you noticed that you'll get more screen time with a continously use of the phone vs using it intermittently, mainly due to wakelocks
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I did notice that .. Why do you think it's because of wake locks?

sent from my r53-Franco nexus 4
[Nexus 4 Original Android Development] trident167:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Overall, r53 works better for me compared to test r61 or r62.

Sent from my Nexus 4
[Nexus 4 Original Android Development] javacody:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

No thanks. I don't eat excrement.

2 points and them I'm done.

1. Your post is a prime example of why there are 20 new pages a day.

2. Franco has a full time job, does development on MULTIPLE kernels and apps, has a life (pretty sure), supports MULTIPLE kernel threads on xda, yet he still manages to keep up with reading this thread. And ENGLISH ISNT EVEN HIS FIRST LANGUAGE!

If Franco does all that, then its simply a matter of respect. Please read. Please search.

Make your Mama proud.
[Nexus 4 Original Android Development] Prod1702:
I do not believe there is anything that can be done. When you plug in the USB the phone starts to charge. Android resets the battery info because it will be different because of the charge on the battery. You will have to get a app that is like betterbatterystats. Thats the name of it in the play store. There is a option on that to give you info based on last boot. It also gives other options as well.
[Nexus 4 Original Android Development] stivy73:
+1

Other kernels with USB fast charge enabled?

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] zephiK:
Fast charge is probably disabled by default. At least that's how it is for me when I flashes. You can also toggle fast charge using francos app, use a file manager and open the file if it's 0 then it's off by default. Not that difficult
[Nexus 4 Original Android Development] ceroglu:
R13 has been the best for me. It is super smooth with no lag and the most important is that the battery seems to be a lot better. 3hrs off the charger, 30 min screen on and 15 min of voice calls and still at 90%(wifi off). My device was getting warm on previous builds but hasn't gotten warm at all since flashing R13. Great job man!
[Nexus 4 Original Android Development] 2weiklang:
I cannot find the settings for fast charge in the app. Can anyone give a hint here? Love to see that switched on.

Thanks!
[Nexus 4 Original Android Development] zephiK:
You have to type the command in terminal or buy his app to toggle it on and off.
[Nexus 4 Original Android Development] Rafase282:
How to Enable Fast Charge without the app

adb root or remount

adb shell

Add USB Fast Charge - to enable: echo 1 > /sys/module/msm_otg/parameters/fast_charge

and that is it.

I don't have the app and since I normally use a different kernel I have no intention of buying the app in the near future unless I stay on this kernel (so far it has become my preferred as I'm able to make my phone stick to the lowest frequency), so for those who do not have the app either, enjoy!
[Nexus 4 Original Android Development] zephiK:
Trickster mod is a good free application that most people use but it isn't fully supported on this kernel but it might. Not sure if it supports fast charge for the n4
[Nexus 4 Original Android Development] Prod1702:
Its under Custom Kernel Settings on the latest update to his app.
[Nexus 4 Original Android Development] andrewjrr:
version 9 is working so well for me i didn't even want to update, but sounds like 13 is even better.. cant wait to try it. amazing work francisco!
[Nexus 4 Original Android Development] leets4uc3:
R12 and r13 have been flawless. Using francos interactive setting and 384-12XX. No lag what so ever and scrolling is smooth as can be. I don't play games really just surf and listen to music.
[Nexus 4 Original Android Development] tweaked:
Awesome stuff.

Just bought the app to show support!
[Nexus 4 Original Android Development] Treatcon:
Franco if you need a bumper let me know. I'm in Belgium and when mine come in I can blast one to you. Just got 5 and estimated shipping was 3-5 days.

Sorry for off topic.
[Nexus 4 Original Android Development] terranox:
Franco, can you add UV to Kernel?

Its good for battery life!!

Thanks!!

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] Prod1702:
Plz use the search button about this. Franco has already said why he is not allowing UVing right now on the kernel. Asking the question over and over again is only going to piss him off.
[Nexus 4 Original Android Development] terranox:
Amazing kernel!!!! Look my battery life!!!!

ROM cyanogenmod 10.1 - 9dec

Kernel francisco.franco.r13

The battery can improve more, insurance!!!

I think if Franco does well, the battery performance may exceed to razr maxx.

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] Redmed427:
That's freakishly long!
[Nexus 4 Original Android Development] b4ifuru18:
My phone will not go into deep sleep after flashing r13
[Nexus 4 Original Android Development] zephiK:
mines deep sleep. you have a bad app causing it to wakelock? use betterbatterystats to find out which app it is.
[Nexus 4 Original Android Development] b4ifuru18:
After further though I remembered having downloaded and installing the latest CM10 release. I didn't do a dirty flash, but I did not wipe dalvik cache after restoring my apps via backup, leading me to think that it had something to do with it.
[Nexus 4 Original Android Development] Svenmaster:
im still using r61 test.

interactive governor with recommended values except highspeed freq, i set it to 704mhz instead 1026mhz.

its still blazing fast without micro lags.

for me it gives just the best smooth experience.

and it seems to be still very battery friendly.

the guys of u who tested r61 and say its not that smooth should test recommended interactive governor settings.

above_highspeed_delay 15000

boostpulse_duration 100000

go_highspeed_load 90

min_sample_time 45000

target_loads 80

timer_rate 30000

highspeed_freq 1026
[Nexus 4 Original Android Development] NoLunchBox_:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Idk why everyone isn't liking r62 man I love this build! All other builds for some reason made my phone warm (I hate it). Now I uv'd by -175 across except 1026mhz that was by -100 only.

But so far its been really smooth! No keyboard lag for me, no warmness and its been good on battery! Give it sometime to settle people. When I replaced my filter and battery in my car it took like 3 days for it to fully settle in! Give it time :)

First battery cycle:
[Nexus 4 Original Android Development] Ulver:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

First cycle with r62.

My overnight idle drain seems to have increased from the other night, and I'm not sure why. My setup is the same. We'll see what today brings as I will mostly be on 3g/h all day.
[Nexus 4 Original Android Development] DesertVelo:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Which IO scheduler are you using? Row?

Thanks!
[Nexus 4 Original Android Development] Svenmaster:
nope, im using cfq, as it was set as standart. didnt test row yet
[Nexus 4 Original Android Development] tanjiajun_34:
The UI is smooth. However try playing Subway Surfer. You can see the visible micro lags while playing.

I prefer to use the Interactive settings on r23.

above_hispeed_delay 20000

boostpulse_duration 80000

go_hispeed_load 60

hispeed_freq 1026mhz

min_sample_time 80000

target_loads 90

timer_rate 20000

timer_slack 80000

Better performance to me. But still I think my S3 performs better than my N4 in games :(
[Nexus 4 Original Android Development] yokuyuki:
Because then during idle, your phone still drains a considerable amount of battery.
[Nexus 4 Original Android Development] cobyman7035:
is r53 supposed to run on only ONE core? im using perfmon and it only see one cpu core with %age useage
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

You have 5 hrs + of screen time and you're saying you're not getting god battery life? LOL

Most people would love to have what you have there.
[Nexus 4 Original Android Development] resynx:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I think it kicks up then other cores when they're needed.
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

But 1min of idle should cost less battery than 1min of screen on time ....

sent from my r53-Franco nexus 4
[Nexus 4 Original Android Development] qtekker:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

If I slowly scrol through text, then after about 8 centimetres the whole screen stutters. After the stuttering it scrolls smooth until 8 cm further. Then scrolling will stutter again.

I have this behaviour on a lot of apps (if not, all) like tapatalk, engadget, chrome browser.

Any idea what's the cause?

I'm on stock rom + franco kernel.
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Which Franco kernel version?

sent from my r53-Franco nexus 4
[Nexus 4 Original Android Development] qtekker:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

53,61,62
[Nexus 4 Original Android Development] derlotse:
The point is more.. well, better to explain it on an example:

scenario one: whe you use your phone, you always switch screen on for 100s, then off -> CPU is online for 100s plus some more time until deep sleep, let's say 10s -> 110s active phone per 100s screen on

scenario two: when you use your phone you alway switch screen on for 10 s, the off -> CPU is online for 10s plus some time till deep sleep: also 10s -->> times ten this makes: 200s active phone per 100s screen on!

=> scenarion one gives you a longer total screen on time over one battery cycle

so here the receipe to get 5+ hours screen on time:

put your phone to flight mode, set sleep time to never and leave it on your table. don't forget to make a screenshot, before the battery dies ;)
[Nexus 4 Original Android Development] troysyx:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

After two days of testing 62 I've found that its extremely responsive and is great at performing, however it is not a friend of the battery (at least for my uses).

Unlplugging at 5:25am to 8:00am and listening to music for about an hour and a half almost, I'm down to 62% already.

Luckily with my job, I'm by a power source all the time so its not a huge problem, but might be a no go for someone that doesn't readily have a cable or charger around.

Still, love the smoothness and the response that this one gives me. Great work Franco

Sent from my Franco'd and Xylon'd Nexus 4
[Nexus 4 Original Android Development] jackalomg:
Hey guys I am just frustrated I have my usb fast charge on and my device seems to identified from my pc as media device and in the battery stats it shows AC charging. Is that possible? When I remove the cable and insert it back again my pc doesn't recognize the device as media device and battery stats show AC charging. My version is the r53.
[Nexus 4 Original Android Development] franciscofranco:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

That is how it works, why the frustration?
[Nexus 4 Original Android Development] immunityx:
Ok so I have tested r62-test for awhile now...

General UI functions are fine performance wise...except sometimes stutters when loading heavy websites.

Gaming wise... performance went down hill espically in graphics intense games like NFS Most wanted, other games like modern combat 4 lags badly when there is alot of things going on. Temple run 2 has small stutters.

Battery wise i gained 15min extra screen time then normal if that.

This is compared to both r61 and 53.

Just my review...also this was done on a fresh stock firmware flash rooted
[Nexus 4 Original Android Development] yokuyuki:
That's how fast charging works. The USB cable is fully devoted to providing power instead of power + data.
[Nexus 4 Original Android Development] lightosx:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

NFS plays very smoothly for me on r62, couldn't get a single stutter. Doing a full battery test today, will report my results back when they're in.
[Nexus 4 Original Android Development] troysyx:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

That's working like it should. If you want fast charge on, the ability to copy files to your computer is lost. It will say that it's connected as a media device, but it really isn't. If you want to transfer files between your phone and computer just turn fast charge off and transfer. Just turn it back on when you're done :)

Sent from my Franco'd and Xylon'd Nexus 4
[Nexus 4 Original Android Development] jackalomg:
The problem is that is recognized as media device (when it shouldn''t) and I can transfer files between the pc and the device and it still shows AC charging. Is it really AC charging or its just shows it? I am fairly new to Nexus 4 and I don't know the appropriate charging times to compare. I don't care about transferring files I just want usb fast charge nothing else.
[Nexus 4 Original Android Development] kangi26:
As Franco kind of said a few posts ago

Lets all play nice here. There is no need to lash out at other fellow users. If you're frustrated with their post, just pass it by and continue on to something else.

Thanks all
[Nexus 4 Original Android Development] troysyx:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Ooohhhhh OK, now I understand. That is odd. What ROM are you using?

Sent from my Franco'd and Xylon'd Nexus 4
[Nexus 4 Original Android Development] jackalomg:
CM 10.1 20130131 nightly.
[Nexus 4 Original Android Development] farangutan:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I don't turn off any background services unless I know I'll be away from a power source. Usually indoors so brightness turned down. This is from yesterday, and I watched a 3-hour YouTube clip mostly on data. This is on Franco's r62.
[Nexus 4 Original Android Development] meangreenie:
Its normal, N4 always connects mtp... fast charge only helps where chargers are identified incorrectly as USB which limits the charge to 5amps which is all you will get out of a PC USB port whatever it says USB/AC.

Summary... Fast charge won't speed up USB charging from your PC. N4 will show up as media device when connected to PC, you cab only change it from media mode to photo mode... mtp/ptp.
[Nexus 4 Original Android Development] jackalomg:
It is strange because my device shouldn't be recognized as media device but it is. The usb fast charge should prevent this but it not preventing it (it still shows AC charging on battery stats) though. May be it's my cyanogenmod rom.
[Nexus 4 Original Android Development] m57:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I know what he's talking about and it happens with me all the time. On my galaxy nexus when I used to plug it in with fast charging enabled it never used to show up on the PC.

With the n4 it shows up first time you plug it in and I have to unplug it and reconnect again and then it works as it should.
[Nexus 4 Original Android Development] meangreenie:
Holy Christ... Doesn't matter what mode it says, PC USB port puts out .5 amps... That's it no more unless you harware mod the innards of your PC

Don't know about about old nexus but N4 connects up as mtp, unplugging it then back in means you lost connection because you didn't click disconnect USB on your PC. You are not suddenly magically getting more amps through your USB cord.

Edit.... Meant .5 amps of course.
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I forgot who it was but whoever posted their stock kernel franco app backup for me.... I copied it to my kernel backups folder and did a restore using his app.... Now my phones been stuttering like crazy all the time whether its unlocking the home screen or swiping through apps....

Yes... I did try wiping dalvik/cache.... No help.... Arghhh

sent from my r53-Franco nexus 4
[Nexus 4 Original Android Development] JNewms:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Wiping cache won't do anything for the kernel. Reflash your rom and gapps. Then flash Franco kernel again. I advise against using that backup again. If you want stock settings there's an option for that in Franco app.

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

No not true. Base value is 100mA USB2, 150mA USB3. Unless the device firmware specifies it's a high powered device it will only get the bare min. However if your computer is USB 3 and you classify the device as high powered it is possible to pull ~900mA out of it, maybe even more depends on the computer itself. USB2 max ishould be the 500mA mentioned above.

Edit: To be clear I'm unsure if our devices are classified as high or low powered, nor if the fast charge mod messes with this specifically. Just stating that it is possible to get more than 500mA

Sent from my Slim Bean powered Mako
[Nexus 4 Original Android Development] kioshi:
How were you using your phone to obtain 6 hours + settings if you could provide? Thanks
[Nexus 4 Original Android Development] pqee:
I just tested mine with r62 and AOKP and with FastCharging enabled, connecting the USB cable shows AC charging but doesn't show MTP device at all. If I disable FC, then it's back to USB charging and I now get the MTP connection on my PC. This is how it worked on my previous phone, Samsung Captivate, so this is the expected behavior for me.

Having both AC Charging and it showing up as an MTP device would confuse me too.
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Good sir, please don't be a parrot. Although it is true that it's been said many times that clearing cache and dalvik does nothing regarding to the kernel.... It is a valid thing to try when things aren't working correctly. Also as stated earlier in post #101137 there does not exist a "revert to stock" option in Franco's app if you didn't make a backup. Also your advice of not using that backup image again is pretty obvious considering it messed my phone up.

I rebooted into twrp and flashed the kernel posted in #10134 by ctfrommn and all's good now in stock kernel land. Then I'll head to r63 to compare.

sent from my r53-Franco nexus 4
[Nexus 4 Original Android Development] spaceman860:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

You have to reflash your ROM because when you flash Franco kernel it replaces the ram disk

Sent from my Nexus 4
[Nexus 4 Original Android Development] JNewms:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I had tried to help you and got attitude for it... Won't make that mistake again

Sent from my Nexus 4 using Xparent Skyblue Tapatalk 2
[Nexus 4 Original Android Development] bleuf1sh:
you're saying that if i use franco's app to make a backup .img of stock... then flash franco's kernel .... then use his app to restore the stock .img ... i have to re-flash my rom....... doesn't sound so true......
[Nexus 4 Original Android Development] JNewms:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Also, clearing the app's data did successfully put me back to stock settings. But, it sounds like you already know everything

Sent from my Nexus 4 using Xparent Skyblue Tapatalk 2
[Nexus 4 Original Android Development] bleuf1sh:
help is appreciated.. and i appreciate the effort.... but what you wrote made it seem like you didn't even read what I wrote..... Was I wrong in any part of what I said? because i'm all about learning new things and if there is then please let me know?
[Nexus 4 Original Android Development] ctfrommn:
No no no! The backup image the app creates can just be flashed back. You never "have to" reflash your Rom, simply flashing the stock kernel and then whatever other kernel you want will work just fine. The stock kernel overwrites whatever else is there and gives you a clean slate. And Cache/Dalvik has nothing to do with a kernel and wiping it for kernel changes is completely unnecessary.
[Nexus 4 Original Android Development] bleuf1sh:
stock settings....? i think we have a miss understanding here.... i wanted to go back to stock kernel to remember what it felt like before i judged the performance of the new franco kernels......

---------- Post added at 09:30 PM ---------- Previous post was at 09:27 PM ----------

take a look here:

http://xdaforums.com/showpost.php?p=37398884&postcount=10140

He kindly posted his stock backup that he made ..... and i flashed it using franco's app.... that's what caused issues.... seems like you can't flash other peoples backups?
[Nexus 4 Original Android Development] ctfrommn:
I would imagine that would be the case....I never use backups anyway as it takes all of 10 seconds to flash stock kernel and then kernel of my choice.
[Nexus 4 Original Android Development] JNewms:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Yes, it seems there was a misunderstanding, I read it and thought you meant stock settings for the kernel.

I did read what you wrote, and from the way I had read it I thought I was helping. But getting responses like that is disheartening when trying to add something helpful

Sent from my Nexus 4 using Xparent Skyblue Tapatalk 2
[Nexus 4 Original Android Development] bleuf1sh:
True, the stock zip you provided solved my issue after i flashed it through twrp........

Also.... Although it makes sense that the Cache/Dalvik aren't kernel related.... it is something that you clear when you aren't sure what is causing the issue... even franco told someone to do it when things were acting strange: http://xdaforums.com/showpost.php?p=37360495&postcount=9891
[Nexus 4 Original Android Development] zFayZz:
Whats your brightness and other settings?