yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] Optimusman:
So far 34u auto is running amazing!!! I don't know from a few hours use battery seems better and a definite improvement in fluidity and smoothness! No random closes or reboots, my data seems to be working great as well as WiFi! To me 34u is a great improvement, thanks defconoi
[Nexus 4 Android Development] spirosun:
which did You use exactly?
[Nexus 4 Android Development] -iNCEPTiON-:
It didnt work for me .. I dont know why :( I have moved to CM11S :)
[Nexus 4 Android Development] Optimusman:
34uautosmpLpreview kernel on top of 4.9L preview, didn't update to 4.9.1 due to the fact only fixed stock WiFi bug, and I'm not using stock kernel
[Nexus 4 Android Development] snapdesign:
help?

[MENTION=1050103]sykopompos[/MENTION] can you please take a look at this logcat? Google Dialer FC while in call or after call and then it stays awake...please take a look if you have a spare time...or anyone else who can help me...thank you!

it was between 15:00 and 15:15...
[Nexus 4 Android Development] manueltts:
[MENTION=1316336]defconoi[/MENTION] I've been testing and definitely something happens with the kernel since 29u when Lpreview is installed as secondary on MULTIROM. installed 4.9 beta "stock" and 4.9.1 (just in case) and both boot without problem. If I flash 26u or 27u, no problem (just kernel, not SuperSU, not UKM). if I flash 29u, 30u, 31u... Until 34u: bootloop.

It is an install from 0 as secondary Rom, first condition: untouched, boots. Second condition: kernel 26u or 27u, nothing more, boots. Third condition: as second but with kernels 29u and up: doesn't end boot process... at 30-45 min.

As primary ROM, it has no problem for me, I think (didn't test, because didn't show up itself).

Cheers!
[Nexus 4 Android Development] spirosun:
as above! same problem!!! I have L on multirom as second one and maybe thats why new kernel doesnt work!Trying to swap roms and check.
[Nexus 4 Android Development] aviz1911:
[MENTION=1316336]defconoi[/MENTION] Thanks for bringing all autosmp commits at one place ;) and also faux zram with several optimizations. I don't know if your kernel works with 4.4.4 rom's. If it doesn't consider adding support for it(in your free time) So people can have this beauty on kitkat roms too :D
[Nexus 4 Android Development] manueltts:
+1
[Nexus 4 Android Development] Gu$houn*:
No problems here, guys, I'm running 4.9 as a secondary ROM and all is booting just fine, no bootloops at all and I was been running ale those previous versions of ultra kernel too ...

P.

// + SuperSU and UKM 2.9
[Nexus 4 Android Development] manueltts:
And doing a clean install of 29u-34u? I mean, with no previous data, dalvik or caché?
[Nexus 4 Android Development] Gu$houn*:
I don't wipe anything when flashing new kernel, it's not necessary imho, only wiping Synapse data ...

P.
[Nexus 4 Android Development] manueltts:
I know, I don't either. But if someone arrives to this amazing port, flashes beta 4.9 and any of the last 6 Ultra kernels as second Rom... My tests say to me that he/she will have problems. Indeed my current test is (1)booting up with 27u, (2) install apps and set up, and then (3) flash one of the last ultras. Which is what I've done naturally since I've following this development before 29u. Let's see what happen.
[Nexus 4 Android Development] spirosun:
how to enable autosmp? and could you describe what is it
[Nexus 4 Android Development] manueltts:
Page 663 and up (down? , forward?, whatever): http://xdaforums.com/showthread.php?p=54554796
[Nexus 4 Android Development] AndroidReborn:
Don't forget.. I still had 42. % left..

And six hours is amaaaaazing.. I got 6 hours on android 4.3 too,but with 2 percent left(practically same usage :)

This only shows how much better this new version of android is, and how good this port is. Once again, kudos to the developer.
[Nexus 4 Android Development] CalicoJeb:
This port is Amazing - you should really try to see what the issue is/was its a Guarantee you would enjoy it.

Maybe clean install, load no apps and see what happens

I've been playing with CM11s since yesterday, got to admit its pretty nice, not as smooth as this Andy L port though. its the first time I've tried CM since getting my N4, always wanted to try it.
[Nexus 4 Android Development] AndroidReborn:
I don't know... . Tbh. Everything was stock. Battery saver was always on though.

With the same usage I got 6 hours on android 4.3 too.. However I just had 1 percent left at that time... Here I had 41 %

Pic in above post.
[Nexus 4 Android Development] migueldbr:
lol dude are you leaving your phone screen on without touching it or something?because 6 hours SOT and still 42% left from what i have seen with the nexus 4 on xda is impossible. Either your stats are wrong or you're not using it on normal usage...Because then you could get to 10 hours SOT if you keep up the same usage. not that im saying you are a liar, but it seems almost impossible...

EDIT: ok, i just saw you said battery saver was always on. In that case it makes more sense=p
[Nexus 4 Android Development] musa47:
Flashed it over 33u. Checking performance now in intelliactive with boost 1. Formerly was using slim governor which was giving a very good performance.
[Nexus 4 Android Development] defconoi:
Thanks, as requested here is a 4.4.4 Kitkat Kernel that is in anykernel format and should work with all Kitkat rom's

Version bump to 35u:

autosmp set to default hotplug(disable all hotplugs in synapse before reboot)

Faux zRam Added.

Repatched in kexec, because of problem reports

Kitkat Users Flash: (fixed)

https://mega.co.nz/#!ikJS0S7A!zrdPpoJfWEfLBxgnTXxniWJ5Equ04byOcU2gsPSdL8E

Android L Users Flash:

https://mega.co.nz/#!zsokUTRY!kefScnsSFicCjIDCao1Agdpr8QdkZ8mY-1rn1O0tYmI

Alternatively L users can flash Kitkat version, but init scripts depend on busybox installed.

Enjoy ;)

I have not tested Anykernel version on kitkat, let me know if it works ;)
[Nexus 4 Android Development] jayfallen:
This autosmp BlackMagic is real awesomeness
[Nexus 4 Android Development] Gu$houn*:
35u L working flawlessly here, great job again [MENTION=1316336]defconoi[/MENTION]

P.

[sntfrmnxs4]
[Nexus 4 Android Development] manueltts:
35u L not working as secondary for me yet. Going back to 27u_v2. Gonna try KitKat now.
[Nexus 4 Android Development] ramjet73:
Dev-Host Mirrors for Ultimate Kernel 35U (Obsolete)

Updated mirrors for 35U version are in subsequent post.

ramjet73
[Nexus 4 Android Development] aviz1911:
Dude are you the cousin brother of ironman :p ???

Thanks for those every second updates you provide and the aosp version. Now your kernel became a complete package :good:
[Nexus 4 Android Development] defconoi:
hold off on kitkat version, i need to update anykernel script
[Nexus 4 Android Development] CalicoJeb:
Cousin or brother?

No...... I submit ...... He IS Ironman!!
[Nexus 4 Android Development] gregbrooker:
hey guys, I want to try out this ROM again but i'm still getting the error "Unfortunately, Update Device has stopped" each time after first flash, randomly while using the ROM and each time I try to shutdown and when it reboots.

I'm coming from a v4.4.4 ROM (PURITY) using TWRP 2.7.1.0.

1) I do a full wipe, cache, delvik cache, factory reset, everything.

2) Install ROM (downloaded it multiple times to make sure it wasn't a corrupt file)

3) wipe cache & delvik cache again

4) allow to reboot

--error--

I am able to use the phone but that error comes up endlessly during the phone setup.

Did I miss a step? I even swapped my recovery to CWM and the same results.

Any help would be greatly appreciated, thank you.
[Nexus 4 Android Development] aviz1911:
Is cousin brother wording wrong ?? In India we usually use that :confused:
[Nexus 4 Android Development] Gu$houn*:
You can try one more thing, flash kernel, ukm /if you want/, reboot to bootloader, power off, turn on and see ...

P.
[Nexus 4 Android Development] himzz0007:
which governer u using ?
[Nexus 4 Android Development] Gu$houn*:
Intelliactive, I mostly don't change the default kernel settings.

P.
[Nexus 4 Android Development] manueltts:
Found out by myself, lol. 1st try booted great, but I lost root. Now reflashed SuperSU and UKM, but something cleared dalvik, so waiting "android is updating". Now better to wait for your update.

And... I think [MENTION=1316336]defconoi[/MENTION] isn't brother, nor cousin, nor cousin brother, nor Ironman himself... He's Ironman's father.
[Nexus 4 Android Development] defconoi:
35u Anykernel for KitKat or Android L Fixed:

https://mega.co.nz/#!zsokUTRY!kefScnsSFicCjIDCao1Agdpr8QdkZ8mY-1rn1O0tYmI

---------- Post added at 12:08 PM ---------- Previous post was at 12:07 PM ----------

Thanks,

could not properly thank you:

Sorry, you are limited to 8 thanks per day

lol

i may have to remove superuser edit in the kernel, my script is interfering with supersu, uploading new zip

---------- Post added at 12:13 PM ---------- Previous post was at 12:08 PM ----------

https://mega.co.nz/#!i14A2J4L!9dUg8iNHOdy-miDwGY-QXazB3Zk-yxsYq0CMGXnz0RM

removed supersu interference
[Nexus 4 Android Development] CalicoJeb:
Good one .... lol :laugh:
[Nexus 4 Android Development] ramjet73:
Dev-Host Mirror for Updated 35U (Android L Only)

Replacements for original versions:

defcon-35u-L-Preview_mako.zip (Android L)

The KitKat version has been updated subsequently and is mirrored in a later post.

ramjet73
[Nexus 4 Android Development] Vinnom:
Wow guys,

Congrats to you. This port is great, very smooth =)

Trying today, later I'll try some other kernel ^^
[Nexus 4 Android Development] spirosun:
defcon is the best
[Nexus 4 Android Development] AndroidReborn:
I'm using it for WhatsApp + hangouts + moon reader pro, background sync on with 2g data.... 10 hour SOT would be like a dream come true ;)
[Nexus 4 Android Development] ph37rd:
Are you flashing any kernel? Or just keeping stock L preview 4.9.x?

Since you're not against losing anything, you might try doing a factory image reset. Start from a known good point.

Once you've done that and have done the custom recovery, do the following (this is using TWRP):

0. Download 4.9.1 L Preview

1. Backup your KK stock install as a clean point

2. Click wipe

2a. Click advanced

2a1. Select cache,system,data,dalvik

3. When complete, back out to main menu and select install.

3a. Select your 4.9.1 L Preview

4. Reboot (will take awhile)

5. Let everything update

6. Reboot

7. Play with it awhile. You'll have to check your APN as they get screwy with the preview.

If you decide to try a kernel, install it after you do the ROM, call it 3b. Now do two extra steps: 3c instead of rebooting to system, back out to main menu and reboot to bootloader. 3d now select power off from the boot loader menu. After its off, power on and pick up at step 5.

If a kernel Dev has changed voltage/frequency tables, the power of step makes sure the new takes are initialized.

I'd suggest making sure everything work stock before meeting with any kennels. Once you have that established, pick up at 3b.
[Nexus 4 Android Development] manueltts:
KitKat 35u fixed version is making Slimkat do my entire family homework by itself, my phone now is more productive than myself. Great!

L 35u 1st or fixed version as secondary, no luck. Neither with [MENTION=3296383]Gu$houn*[/MENTION] advice. Is there any kind of log I could take for you [MENTION=1316336]defconoi[/MENTION]? Since it's not on flashing, and it doesn't boot, I don't know how to take log (and which).
[Nexus 4 Android Development] himzz0007:
u uploaded it previously too....is their any diff bw previous 35u or this 35u
[Nexus 4 Android Development] ramjet73:
Yes, click on "Replacements" in my update post for the [MENTION=1316336]defconoi[/MENTION] post with the explanation for the updates.

ramjet73
[Nexus 4 Android Development] manueltts:
I think [MENTION=1050103]sykopompos[/MENTION] is going to blow our minds at any time. This team is something to follow over devices. Cheers!
[Nexus 4 Android Development] defconoi:
I uploaded a newer 35u in place of those, replaced the URL, that version adds install-recovery-2.sh to system/etc to work well with supersu
[Nexus 4 Android Development] himzz0007:
i am on previous 35u so this i just flash over it..or first dirty flash rom and then flash this??
[Nexus 4 Android Development] MOBILEMINT:
No updates for the next android l version yet other than 4.9.1?☺
[Nexus 4 Android Development] ramjet73:
Not yet.

The 5.0 version will be next whenever [MENTION=1050103]sykopompos[/MENTION] has time to finish it.

ramjet73
[Nexus 4 Android Development] manueltts:
Do you guys know if there are working flashable zips of stericson's busybox 1.22-1? Couldn't find one.
[Nexus 4 Android Development] MOBILEMINT:
couldn't wait haha this port is amazing!
[Nexus 4 Android Development] spirosun:
me also! Sykopompos go back to work ! ::)
[Nexus 4 Android Development] hmillos:
5.0 is gonna be legendary
[Nexus 4 Android Development] spirosun:
And probably one of the last :)
[Nexus 4 Android Development] defconoi:
http://xdaforums.com/showthread.php?t=1929852
[Nexus 4 Android Development] manueltts:
[MENTION=3296383]Gu$houn*[/MENTION] [MENTION=4787750]spirosun[/MENTION] [MENTION=1316336]defconoi[/MENTION] [MENTION=1050103]sykopompos[/MENTION]

I think I've made wrong my previous tests. If my last tests are right kernels 29u and on have problems with beta 4.9.1 (which is intended to work with stock kernel, by the way). There should be no problem with beta 4.9.

Bottom line:

Install 4.9 if and only if you're going to flash custom kernel (at least [MENTION=1316336]defconoi[/MENTION]'s ultra).

OR

Install 4.9.1 if and only if you're staying with stock kernel.

I don't know the cause of this, but those are my results.

Cheers!

Edit: thanks for the busybox link [MENTION=1316336]defconoi[/MENTION]! (can't thank you properly, 8 thanks limit)
[Nexus 4 Android Development] ramjet73:
The 4.9.1 version of this ROM only fixed the WiFi disconnect when out of range bug with the default kernel. Custom kernels should work equally well with 4.9 and 4.9.1 without having to flash the now obsolete "wfi fix" zip.

ramjet73
[Nexus 4 Android Development] uniextra:
hi just installed and since first boot i have problems...

First on the first conf screen when it ask the language... i dont have the bottom icons (back menu...)

i managed to get into the homescreen by skiping wifi settings and now i get reboots all the time....

tryed also getting intto TWRT but seams not to be present anymore... how can i proceed¿?
[Nexus 4 Android Development] T-luvR:
Hey guys i tried b4 +31u but i dont have wifi!:( what to do?!
[Nexus 4 Android Development] defconoi:
flash latest 4.91 and flash latest 35u kernel, UKM, busybox, then you should be set
[Nexus 4 Android Development] spirosun:
My problem was caused by Multirom, I set L as first one and boot perfectly with latest kernel!

Summary:

Use andoid L port as first rom and will be OK :)
[Nexus 4 Android Development] gregbrooker:
Thank you for your reply,

I have only flashed the ROM staying on Stock kernel. I have use WUG Fresh to revert to stock 4.4.4 and started from scratch but got the same issue, that's why I thought that I was going something wrong :( I'm gonna try again with this kernal I see everyone talking about, let's see if it works.
[Nexus 4 Android Development] RealSlimShadyMC:
W0000000t!!!!!! Google released defconfigs for 3.10 kernel!!!! Only thing is, I dont see msm8960 on there, which is the S4 Pro code
[Nexus 4 Android Development] kingracer:
I've tried to install 35u, for L Preview via TWRP 2.7.1.0 and it says "failed" all the time. Re-downloaded 3 times... Should i use version for KitKat? I'm on 4.9 beta 4 :)

Upd. After 4th redownloading it workd ><
[Nexus 4 Android Development] ph37rd:
You should get it working before you mess with adding a custom kernel. Adding the kernel in there just adds another element to figure out the problem.

The method I gave you is a known path to get your preview installed and working.
[Nexus 4 Android Development] sykopompos:
So what kernel are we up to now? Over 9000????

Morning fellas BTW, I got a nice 12 plus hours of sleep I believe

Sent from my LG-D851
[Nexus 4 Android Development] himzz0007:
s4 pro not included i think

s4 pro code is apq8064
[Nexus 4 Android Development] ph37rd:
Slacker
[Nexus 4 Android Development] manueltts:
I know, but that was what I found. But after flashing SuperSU and UKM, or first reboot, idk, bootloop again.

Yep, this is the answer. That's my daily driver setup. I was just fighting because some people want it as secondary, and they could have the same problem.

But is a problem caused by multiROM & 29u-35u kernels, so idk where the problem lies. For a while I surrender. I'm gonna stick with L as primary.

By the way, do you know if there's any trade off on battery or performance when ROMs are as secondary?

Cheers!
[Nexus 4 Android Development] sidnoit22:
So can you rape our asses with new update. :D

No offense.
[Nexus 4 Android Development] defconoi:
the anykernel version might not work, i'll take a look at that later

edit: forgot a line in script, working now with cm11 temesek
[Nexus 4 Android Development] manueltts:
For me is working
[Nexus 4 Android Development] ramjet73:
Careful, that's borderline for XDA.

I'm surprised you didn't get the automatic asterisks.

ramjet73
[Nexus 4 Android Development] sykopompos:
So I have been doing some research on what is possible here to go back to a current aosp. To go back we would need to make some sacrifices and it wouldn't be a port per say anymore.

Like to fix Bluetooth would mean to go back to kit Kat Bluetooth and lose the Bluetooth le features (I don't know if those even work to be honest, there seems to be tons of bugs in the preview Bluetooth anyways)

Obviously to update the egl drivers we would lose the open gl 3.1 code which no device but a 805 can support and that isn't even on the market yet so that isn't really a loss there.

Should be able to keep the new audio changes but there really isn't anything to support it yet

Should be able to keep most of the APIs but in doing so we will be accepting some of the problems that come along with keeping them like the lock screen bugs.

So in essence, it would become more of a hybrid ROM between current aosp and some L but not all of it. This would completely change everything and probably bring a whole new set of issues that we could fix (mostly anything aosp can be fixed) and we can add on merging more L back in.

I leave this decision up to you guys

Sent from my LG-D851
[Nexus 4 Android Development] defconoi:
Fixed 35u Anykernel:

https://mega.co.nz/#!flIwiQTb!AflJDI4cWRctR8aaUuI2w_GFeJJKoMdyvPtObFR5S6E
[Nexus 4 Android Development] keviv77:
"Anykernel" means will work both on KitKat and L???
[Nexus 4 Android Development] ph37rd:
The idea in the beginning was to create a working port. That has been accomplished minus the SELinux stuff.

Anything beyond that scope should become another thread as a custom ROM.
[Nexus 4 Android Development] 0.0:
+1. I agree
[Nexus 4 Android Development] googleygoggles:
Some people like this ROM as is already. (Like me :D:D:D)

I say make it a vote.

Change everything and make it a hybrid ROM like/thank [MENTION=1050103]sykopompos[/MENTION] post

Of you think we should keep it as is like/thank this post.

And other options are welcome.

You have 3 days to vote.

Sounds fair? :)
[Nexus 4 Android Development] 0.0:
when you say "some L but not all of it", what do you mean by that? what would we lose by going hybrid (besides Bluetooth LE)?
[Nexus 4 Android Development] ramjet73:
Dev-Host Mirror for fixed defcon-35u-Any-Kernel_mako.zip

defcon-35u-Any-Kernel_mako.zip

This is the KitKat version only. The Dev-Host mirror for a fixed Android L version is available in an earlier post.

ramjet73
[Nexus 4 Android Development] defconoi:
Yes
[Nexus 4 Android Development] ramjet73:
Scratch that. I didn't realize that "anykernel" would also work on the L preview.

Now I'm confused about why we have two versions. :confused:

ramjet73
[Nexus 4 Android Development] 0.0:
[MENTION=1316336]defconoi[/MENTION] how do I enable the "clear VFS cache after boot" and "auto FS writeback delay mode" zram options in an init.d script? I can't use faux clock app anymore if I use the interactive GPU governor since it'll always switch it to performance
[Nexus 4 Android Development] sykopompos:
well here is for reference https://developer.android.com/preview/api-overview.html

we can keep 95% of the new framework but we would lose the graphics (we can't use them anyways on our device), the bluetooth enhancements.

I should be able to keep all the audio, lockscreen, enterprise, art and generally L. Basically it would be working from the other direction, instead of trying to merge back in current aosp into the preview to update it, we would essentially be working from current aosp and merging in L
[Nexus 4 Android Development] sykopompos:
I can actually fix the selinux stuff and reenable it no problem, I have done so much research on it to make anyone's eyes bleed.

What I meant was working it from the other direction. Work from aosp up instead of trying to work from the preview down

Sent from my LG-D851
[Nexus 4 Android Development] ph37rd:
My thought would be to fix the SELinux stuff, keep the port as a port. Now then create your AOSP version as a custom ROM.
[Nexus 4 Android Development] DirgeExtinction:
So are these two the same kernels that can be used on L?
[Nexus 4 Android Development] defconoi:
Yes you can use either, anykernel is for KitKat or L, only difference is the non any kernel is for android L only. The any kernel format requires busybox for init.d.
[Nexus 4 Android Development] keviv77:
Anyone undecided can thank me
[Nexus 4 Android Development] -iNCEPTiON-:
I have tried it and I didn't like it at all.. Some apps are not compatible as well and setting menu really sucks lol !! I think I will stay with CM11S as the camera app and gallery apps are awesome !! I just need a good kernel to flash on that rom now :)
[Nexus 4 Android Development] ramjet73:
Somethings else to try

For anyone that wants to try something really different, the Nexus 4 is the only phone and one of only three devices that are officially supported for the current version of Ubuntu Touch (the others are the Nexus 7 2013 WiFi (flo) and Nexus 10 (manta) tablets).

Frankly, the current version of Touch feels a little like going back to Froyo or Gingerbread, but it is making steady progress and updates are posted every 2-3 days. It does require a Linux system for initial setup (I used Ubuntu 14.04 LTS) but the installation itself is pretty simple. It uses a funky dual boot configuration which replaces the recovery partition with it's own boot code but that allows a power on sequence to still go straight to your primary Android system. There is a function to restore the default recovery in the Ubuntu Android app that is very quick and easy so it's really no big deal.

After the excitement of using the Android L preview on a device that isn't supported, it might be a nice change of pace to run a preview operating system that is supported on the Nexus 4, although probably not as much fun. ;)

There are forums on XDA for Ubuntu Touch but they aren't very helpful at this point since Canonical has changed direction and product names several times and most of that stuff is out-of-date.

ramjet73
[Nexus 4 Android Development] ph37rd:
Have you tried Firefox OS? Very slick.
[Nexus 4 Android Development] sykopompos:
It bothers me that they use cm as a base, it bothers me that 99% of aftermarket android uses cm as a base

Sent from my LG-D851