yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] sykopompos:
And kk kernels don't work on L. We did trace why that was happening even though we stopped trying to solve it since we had gotten a couple kernels supported by the developers that were L specific so we might just be able to solve this.

Since the IP routing is basically the same between the n4 and n5 and it works on the n4, we got something working there that we don't here.

It could be any amount of things. My first place to look would be to try using the IP binaries from mako and see where that gets us.

The next would be to see if we can get it working back on that aosp build with the preview binaries but using a L kernel to see if it is a preview and/or preview binary issue.

Another thing would be to try reverting to the old kk qcril binaries lime we did with the kernel/radio test but just try the qcril stuff to see if that is what is messing the routing up
[Nexus 5 Android Development] sykopompos:
I really don't think that it is the kernel though. I would think it is either a preview binary or qcom's proprietary ril files and if it was that, then it is probably the qcril.db or the tunneling apk
[Nexus 5 Android Development] bsm471:
There still is a WiFi tethering app out there that works on L... I found it a couple of weeks back... I'll see if I can find it... Personally I like the built in tethering better
[Nexus 5 Android Development] sykopompos:
If you can find it, it could be a temporary solution while we try to figure out why the built in isn't working or maybe be able to use it to figure out how it is working so please do find it if you can
[Nexus 5 Android Development] bsm471:
Here it is... It works for me... I get a error the first try and then close the app restart and it works but data flow can be a little slow sometimes

https://docs.google.com/file/d/0Bx236HUYxCtUQkx3N0VGZU9mcFE/edit?usp=docslist_api
[Nexus 5 Android Development] ramjet73:
Are you using that successfully with the official L preview ROM, this ROM, or both?

If there is an app to work around an L preview issue (in this case WiFi tethering) that's no different that what's been done for a lot of other things already.

ramjet73
[Nexus 5 Android Development] bsm471:
I've been using with this ROM, haven't gone back to the official since this came out... It is just a app work around that works and from what I can tell doesn't use any of the system tethering files so it may not be any help to fixing the problem, but these guys using the ROM and needing tethering can make use to it
[Nexus 5 Android Development] ramjet73:
Yea, that's the most important thing.

If they have a viable workaround to the tethering problem they aren't forced to go back to KitKat.

I wonder what happened to all those testers that were anxious to get a tethering solution for this ROM. I guess they gave up when the patched ROM disk alternative didn't work. :(

It's working for me too! :cool:

At least now there is an alternative for users that can't live without WiFi tethering to stay with this ROM.

Thanks for finding that and passing it on. :highfive:

Edit1: BTW, that was using B6 with the Linear 3.0 kernel for me.

Edit2: The speed was actually pretty good for me. I was able to stream NetFlix pretty reliably for about 5 minutes over my T-Mobile LTE connection.

ramjet73
[Nexus 5 Android Development] sykopompos:
Another keep sleep night.

Can you do me a favor and grab a logcat when turning it on and off? And then the built in tethering so I can see what is going on between the 2 and maybe be able to use what I see from the app, to fix the built in tethering
[Nexus 5 Android Development] rachanta:
RACER Update

http://xdaforums.com/showpost.php?p=55231739&postcount=329

Fresh cleaned up build after a rebase. Working well with BBW.

btw I dirty flashed BBW + Racer Kernel over the Vomer LPV. Everything works like a charm including undervolting surviving reboot [MENTION=4404203]daniel84cs[/MENTION] apart of course from known issues with the ROM.
[Nexus 5 Android Development] ramjet73:
OK. I'm going to reboot and do the stock hotspot first so that's clean, then try the app that [MENTION=976056]bsm471[/MENTION] shared.

Do you mind if I use the Linear 3.0 kernel instead of the default? I really don't think the kernel is the problem in this case and it's working fine with the app.

You really should try to get some sleep.

Maybe if I get the WiFi hotspot logcat for you reading that will put you to sleep. :fingers-crossed:

ramjet73
[Nexus 5 Android Development] ramjet73:
Logcat is attached.

Here's what I did:

1. Connected from my Note 8.0 tablet to the Nexus 5 hotspot and toggled it off and on three times until I got the "connected" status.

2. Tried using Chrome and Play Store and both timed out on the network connection.

3. Turned off the built-in hotspot.

4. Started the Wifi HotSpot app, with no errors on the first startup.

5. Connected from my Note 8.0 tablet to the hotspot on the first try.

6. Browse with Chrome and run about 30 seconds of Netflix successfully.

7. Shutdown the HotSpot app.

8. Collected the logcat.

Hope it helps you get some sleep. ;)

ramjet73
[Nexus 5 Android Development] Ben36:
What are the radio issues?
[Nexus 5 Android Development] monkboy24:
I've found the best value to be between 92-93. Any higher and the sound will distort.

---------- Post added at 05:42 AM ---------- Previous post was at 05:38 AM ----------

That's a good question as I haven't had any issues with the radio.
[Nexus 5 Android Development] Ben36:
All this needs is a kernel with undervolt control.
[Nexus 5 Android Development] sykopompos:
Radio issue is kit Kat kernels take down the radio. Isolated it down to the qmuxd or qcril and reverted them back to kk versions fixed the radio but took the camera socket out
[Nexus 5 Android Development] sykopompos:
I tried hunting that one. It is a preview bug I haven't been able to touch yet
[Nexus 5 Android Development] syphern:
I have to say after fixing the sound issue this rom is so good. Feels like a daily driver. Fast fluid stable.
[Nexus 5 Android Development] stefanthehuman:
Hello, I realize the MMS bug is fixed upon editing the Hangouts settings but I honestly for the life of me cannot figure it out. Can someone post what they did to get it to work please and thanks, I can provide my provider's APN settings if someone needs them. Also if we need to flash the 4.4.4 radio would someone be kind enough to share the correct one?:laugh:

I appreciate anyone's help!
[Nexus 5 Android Development] hasdroid:
I have an issue with camera in all apps!!

It's work but if I take a photo I have freeze and (can't connect to the camera) message ?

Ant fix?
[Nexus 5 Android Development] ramjet73:
I'm not having that problem.

Did you do a clean flash (format cache, dalvik, and data)? If so, please get a logcat and post here.

ramjet73
[Nexus 5 Android Development] hasdroid:
Yes I did a clean install!!
[Nexus 5 Android Development] thelegendofzeth:
I had it too several times, ended up coming back to PA. Tried to take logcat but failed, then changed the rom.
[Nexus 5 Android Development] ramjet73:
Great!

Then please get a logcat and post it here.

[MENTION=1050103]sykopompos[/MENTION], did you see my latest PM about the ramdisk update?

ramjet73
[Nexus 5 Android Development] nighthammer:
Quick question. On the preview, Sprint users could not successfully tether. Not sure what the root of that issue was, but is does anyone know if Sprint users can tether?

-NightHammer
[Nexus 5 Android Development] sykopompos:
I just did and responded. My service is cutting in and out so crazy here at this new location that even reading the threads are difficult
[Nexus 5 Android Development] ramjet73:
How to report problems with this ROM

I made this post in the Nexus 4 thread a while back, but most of it still applies to the Nexus 5 version of this ROM. The kernel for this ROM is limited to the default right now but that may change in the future.

Here's a good post with an overview of the various logs and how to collect them.

Tethering works with this ROM for T-Mobile so you should probably try, but your plan may need some tethering allowance for it to work.

ramjet73
[Nexus 5 Android Development] sykopompos:
I'm trying to figure out why the camera is going screwy for a few people but for the general it is working perfectly fine and not being replicated.

I'm gonna need more detailed information and of course logs.

Did you do a tibu restore (MMS restore has caused some screwy behavior with incompatible sqlite db) what apps that you have installed that could be possibly causing issues, things of that nature.

The more info, the better.
[Nexus 5 Android Development] lucas.scott:
So.. trying to figure out whats happening here, but I am not getting Heads Up notification.

I do have an Android Wear device connected, and it gets the notifications.Disabled Wear completely and the issue remains.

Thoughts?

---------

Im an idiot... only L apps have support from what I am seeing... Sorry :*(
[Nexus 5 Android Development] MidnightDevil:
No bash intended, but, unless I haven't understood properly, this rom requires to force an ip address to the wifi interface in order to connect?

I can tell for sure it is not a preview issue since I'm able to connect to most wifi without forcing an ip.

Can you shed some light here please?

Thanks :)
[Nexus 5 Android Development] sykopompos:
It has been a issue with static WiFi on the preview. Regular dhcp WiFi works perfectly fine
[Nexus 5 Android Development] lucas.scott:
I haven't had that issue yet. Connected to home and work WiFi automatically .
[Nexus 5 Android Development] daniel84cs:
Racer Kernel Updated the link is here http://xdaforums.com/showthread.php?p=55231739
[Nexus 5 Android Development] ramjet73:
That kernel just keeps racing along... :rolleyes:

ramjet73
[Nexus 5 Android Development] ekowanz:
I really enjoy this racel kernel.. Great dev with great rom
[Nexus 5 Android Development] ramjet73:
Does he have a ROM too? Or did you mean kernel?

ramjet73
[Nexus 5 Android Development] ekowanz:
I mean this rom and racer kernel. Been testing the linear 3.0, i got a random weird lag. I use it for 5 hours. Now back to racer and nothing happens, all working well with b6 slim
[Nexus 5 Android Development] stewartk:
Racer for me too . did dirty flash and racer kernel . no problems with root or any other apps .
[Nexus 5 Android Development] mosd:
installed racer kernel and now my phone is lagging so much! Its barely useable. Even the ring when loading is lagging. Trying to wipe cache and dalvik to se if it helps!
[Nexus 5 Android Development] flightsimmer:
I just tried this app and it worked great! My Nexus 7 connected and I successfully browsed the net, so I call it a win! Now I can stay sane during my 6 hour road trip with the in-laws.

---Edit---

I also found this post - http://xdaforums.com/showpost.php?p=54067884&postcount=3041 - which has some ADB commands to to try with a semi-explanation of what the issue is, and this post - http://xdaforums.com/google-nexus-5/help/android-l-simple-script-fix-wifi-usb-t2826720 - with a script for said commands. I tried the script last night prior to using the posted tethering app and was unsuccessful. Hopefully somebody can make sense of what the script and commands do and get things working natively.
[Nexus 5 Android Development] rachanta:
Bbw 6 with racer

TESTED

Running good after a dirty flash over 5.9. I had to flash RACER kernel twice to get it to boot. I also installed bubble launcher. It is a practical solution for clearing notifications, except its own notification that you will need to keep.
[Nexus 5 Android Development] sykopompos:
I know how to fix this now now that I know what the issue is :D
[Nexus 5 Android Development] ramjet73:
Interesting that the ADB "fix" for the Nexus 5 also requires toggling the hotspot to get the DHCP server started. That must be what's happening on the Nexus 4 as well, it just doesn't have the problem with routing on the back end.

Note his comment: "and yes, my provider gives me nat'ed private ip addresses"

Most carriers provide Internet addresses via DCHP so I doubt that script will work for the majority of users.

I wonder if the reset of the DHCP server could be scripted as well. That server should just be a service (daemon). That would at least make it a little easier for the Nexus 4 users.

ramjet73
[Nexus 5 Android Development] sykopompos:
Reading more into this and how WiFi and IP addresses work, I believe this is actually the static IP bug also just we are seeing a different effect of it on the n5 so it might be a 2 birds one stone type of deal :D

See the improvements we made just spreading out to other devices?

A problem on one turns out to be a more easily resolved issue on a different device which gives a solution to both because the problem has been identified.

It seems like most of these more easily figured out problems exist on the n5
[Nexus 5 Android Development] ramjet73:
Well it's not working yet and based on past experience with routing problems and hotspot apps fixing it won't be easy. The Evo 3D had to have a "routing fix" option checked for it to work with the most popular WiFi tethering app at the time.

Did that logcat I got for you last night give you anything useful?

ramjet73
[Nexus 5 Android Development] rachanta:
[MENTION=1050103]sykopompos[/MENTION] this is the fastest ROM ever even with -50mV UV. Great work making LPV a serious contender for daily driver. Well done team BBW!
[Nexus 5 Android Development] sykopompos:
I haven't had a chance to look at it yet (reading logs on a phone is terrible but I will after work)
[Nexus 5 Android Development] DigitalUnderground:
MMS not working on my end on AT&T when it worked on 4.4.4 ROMs. My sister and I tried exchanging first day of school pics and I can't download hers and mine won't send to her
[Nexus 5 Android Development] ramjet73:
Kernel Updates

The most recent versions of the Racer and Linear L kernels have been added to the kernel post.

ramjet73
[Nexus 5 Android Development] stefanthehuman:
Yes Fido in Canada with the correct APN settings MMS not working either.
[Nexus 5 Android Development] ramjet73:
Have you guys tried send and receiving with the hello sms app? You may still have to turn off WiFi.

I'm not suggesting that as a long term alternative, just a way to isolate whether the problem is the Hangouts app or something at the system level.

ramjet73
[Nexus 5 Android Development] stefanthehuman:
Yes sir, and Hello works, I haven't tried turning WiFi off, and its worth noting my plan does not provide wifi MMS
[Nexus 5 Android Development] ramjet73:
I don't think sending MMS with WiFi on works for anyone on L. For some reason the required cellular data connection isn't activated until it is turned off, even though that happens properly on KitKat.

ramjet73
[Nexus 5 Android Development] _INSPIREed:
I find textra SMS to be a better option . it has an option in settings which will turn off WiFi for you when sending and receiving MMS, and turn it back on once MMS is done being sent/received.
[Nexus 5 Android Development] paztine:
ATT

Unfortunately I can't make comment regarding your situation because I am on TMobile network..I know there's an MMS apps flying around that can solve your problem..but I forget what is called..
[Nexus 5 Android Development] turydios:
In low coverage sites or just 2g, I run out of Internet, it is best Flash the new radio? would have better coverage? thank you for this amazing rom, great job.

<< Turydios >>
[Nexus 5 Android Development] piperx:
8sms works great for texting here, will try after work for mms
[Nexus 5 Android Development] ramjet73:
I was using the KitKat radio until about a week ago and then switched to the L radio and haven't noticed much difference, but I haven't done any quantitative measurements.

All the Nexus 5 radios are here for anyone that likes to play around with changing them.

ramjet73
[Nexus 5 Android Development] tyea:
I definitely get better Bluetooth media control response.
[Nexus 5 Android Development] GuestK00150:
hey all!

I just jumped over from the official preview and thank anyone helping for the great work!

Really liking it. I'm sorry that I cannot help much myself but I saw the tethering discussion and there was a thread with a script that worked great on the official preview. I can not test it this week because I'm not at home, but perhaps anyone wants to try or it helps fixing the problem...[emoji3]

http://xdaforums.com/showthread.php?p=54369697
[Nexus 5 Android Development] daniel84cs:
Guys can someone give me the page with the changelog Kernel Linear. I've looked everywhere but I can find only one closed.
[Nexus 5 Android Development] sykopompos:
Use chrome and translate since it is an Italian website

http://www.androidiani.com/forum/modding-google-nexus-5/410894-kernel-kk-l-linear-linaro-gcc.html
[Nexus 5 Android Development] daniel84cs:
I am Italian thankyou....:)
[Nexus 5 Android Development] ramjet73:
LOL!

Then you can translate Italian to Russian just for the challenge. ;)

ramjet73
[Nexus 5 Android Development] googleygoggles:
No... Translate English to Italian to Japanese to Arabic to French to ancient Greek to ancient Egyptian to roman to Spanish to russian and then back to English :D
[Nexus 5 Android Development] ramjet73:
Someone was kind enough to send me the Linear L 3.x kernel changelog in English via PM so I'm posting it here:

Linear 3.1 / 3.1-L - Sept 4, 2014
revert disable crc check

Linear 3.0 / 3.0-L - Sept 3, 2014

Build with new Linaro GCC 4.9.2-2014.08 toolchain optimized for Cortex-A15
enable Moto memcpy enhancements
msm8974: Adapt memutils optimizations from msm8960pro
ARM: dts: msm: i2c: change clock rate to 19.2 MHz
sched: Fix memory leakage in build_sched_groups
sched: Micro-optimize the smart wake-affine logic
sched: Implement smarter wake-affine logic
mm: ksm: Optimize defaults
msm: thermal: Relax temperature thresholds
wake_timeout: allow longer timeout duration
disable crc check
msm: rpm-regulator-smd: fix request suppression policy
cpufreq: Manage only online cpus
PM: Introduce suspend state PM_SUSPEND_FREEZE
arm/crypto: Add optimized AES and SHA1 routines
readahead: make context readahead more conservative
vfp: compile with neon
lib/int_sqrt.c: optimize square root algorithm
arm/dts: hammerhead: Optimize panel init/uninit sequence
set haptic feedback 75
tweak fifo_batch
revert:
ARM: be strict about FP exceptions in kernel mode
ARM: add support for kernel mode NEON
ARM: crypto: add NEON accelerated XOR implementation
ARM: 7835/2: fix modular build of xor_blocks() with NEON enabled
ARM: only allow kernel mode neon with AEABI
BFQ-v7r5
BFQv7r4 scheduler
ZEN scheduler

ramjet73
[Nexus 5 Android Development] daniel84cs:
Linear work very well, simple and stable, I use the same voltage table of The franko kernel.....:)
[Nexus 5 Android Development] B@RRY78:
In dutch :)
[Nexus 5 Android Development] ramjet73:
I tried the script exactly the way it is documented in that post and still can't get upstream access to the Internet from my Galaxy Note 8.0 tablet. I was able to "connect" after resetting the hotspot a few times but that is the same result I got without the script.

It would be good if other users of this ROM who are anxious to get the built-in WiFi hotspot working test it too, but in the meantime we do have a WiFi tethering app that works as fallback.

ramjet73
[Nexus 5 Android Development] psycho693:
Just curious has anyone tried WiFi tethering with the L radio?
[Nexus 5 Android Development] ramjet73:
Yes, I'm using the L radio right now.

The problem definitely has to do with upstream (Internet) routing since activating the hotspot kills web access for phone apps too but the fix seems to be somehow network specific.

I would be interested in the test results from anyone else that tries the script since I could be missing something but I am using Root Explorer and the Stericson busybox exactly as recommended.

ramjet73
[Nexus 5 Android Development] bsm471:
I got the same results with the script as you did so unless we both did something wrong its not working
[Nexus 5 Android Development] brooklyn718941:
I don't know what's keeping me from flashing this. I'm running Google's preview and its awesome as is
[Nexus 5 Android Development] ramjet73:
If you think that's awesome you don't need this. ;)

Now, just try not to flash it. :laugh:

ramjet73
[Nexus 5 Android Development] brooklyn718941:
I just don't want to lose my internal storage like I did before
[Nexus 5 Android Development] psycho693:
I would recommend trying it again ;)
[Nexus 5 Android Development] bdcrim:
This doesn't redirect internal sd card storage, correct?
[Nexus 5 Android Development] ramjet73:
Do only a "factory reset" in the wipe menu of TWRP and I guaranty you won't lose you simulated SD card on internal storage. The reason you lost it with the official preview is that it flashes the entire data partition as an .img file.

You will have to restore your apps and redo your settings but that's a small price to pay for the improvements this ROM offers over the official preview.

Do not "dirty flash" this ROM over the official preview because there are too many things that are different.

What do you mean by "redirect"?

For most current phones the simulated "SD card" is part of the internal storage and located in the /data/media folder. In a sense that's "redirected" since the portion of that directory that represents the current user's "SD Card" (there can be multiple users with Android) is mounted as /sdcard in the root of the file system.

ramjet73
[Nexus 5 Android Development] brooklyn718941:
I'm going to give it a shot. Thanks for your help

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

Where do I find the new version?
[Nexus 5 Android Development] sykopompos:
Second post. Bbw is still in testing till the weekend
[Nexus 5 Android Development] bdcrim:
Sorry, should have been more specific. My experience several months ago with the preview build yielded multiple instances of my SD card contents. It appeared in data/media under legacy and O (several layers deep), in storage under legacy and O and also in SD card under the same. I attempted to reinstall a TWRP backup and even though I could see it with Root Explorer, TWRP could not find it. I realize the SD contents are currently in several folders on kk and it seemed to duplicate with every preview build I flashed. Sooooo, if I flash this rom, is their a possibility that I will have that same issue. Sorry to be long winded. Thanks
[Nexus 5 Android Development] sykopompos:
Nope, we don't like screwiness with own sdcard, how else would we access our huge collections of bunny pr0n?
[Nexus 5 Android Development] hondajohn88:
You're correct about the SD card being re-directed. KitKat and L look in different locations for the SD card, so when you switch back and forth between KK & L, that's where you run into problems. That's happened to me a BUNCH of times, however in Vomer's L Preview thread somebody found a fix for that (I'll try to find the link and edit this post when I find it). Install terminal emulator on your phone and give it root access (Type SU in the command line then <enter>), then there's a command to put in the terminal emulator that tells L where the SD card is. After entering that you'll see your folders and files again. Nothing lost & no formatting data again :)

I definitely recommend trying this ROM over the standard L Preview...this one kicks arse! :good:

EDIT:

Here are the terminal emulator commands. There are two you can try. I think it was the second one that worked for me:

open a terminal window and type

su <enter>

restorecon -FR /data/media/0 <enter>

or type

su<enter>

restorecon -r /data/media/0/* <enter>
[Nexus 5 Android Development] bdcrim:
Thanks for the help. Been watching this thread from day one. About ready to pull the trigger.

---------- Post added at 09:34 PM ---------- Previous post was at 09:32 PM ----------

:)
[Nexus 5 Android Development] hondajohn88:
You're welcome :) I got the terminal commands up in my edited post, but here they are again:

try opening a terminal and type

su <enter>

restorecon -FR /data/media/0 <enter>

or type

su<enter>

restorecon -r /data/media/0/* <enter>