yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] csk1jw:
WiFi Hotspot

This is exactly the same issue we have for WiFi hotspot

https://bbs.archlinux.org/viewtopic.php?pid=1221799

Hostapd failed to initialize properly. I don't know how to fix it yet.

Can someone help to check if WiFi Hotspot is working on CM-13 or other devices on Marshmallow custom ROMs?
[LG Optimus 4X HD] terirem:
Not on this rom. It sets up hotspot without error, but no other phone can find it. Logcat has bunch of errors...
[LG Optimus 4X HD] csk1jw:
Thanks, I believe it is the same issue. I did some experiment, if I forced the hostapd to ignore the error and continue, I was able to get the WiFi hotspot broadcasting the SSID. My laptop was able to see it, but still couldn't connect. The error was from nl80211_set_mode() in driver_nl80211.c from wpa_supplicant_8. There seemed to be a code reorg in wpa_supplicant from Lollipop version to Marshmallow version, but the way nl80211_set_mode() was called looked similar, so I think I can't simply ignore the error.
[LG Optimus 4X HD] ze7zez:
It works without problems Beanstalk 6.15 on Nexus 4.
[LG Optimus 4X HD] csk1jw:
Thanks. Look like Nexus 4 is using qcnwcn driver. At least, the Marshmallow frameworks changes is good.

Can anyone checkout Nexus 5 with Marshmallow custom ROMs? Nexus 5 is using the same bcmdhd driver as LGP800, but a different model BCM4335 instead of BCM4330. So the only diff is the firmware.

I believe Samsung Galaxy S2/S3 is also using BCM43xx chip.
[LG Optimus 4X HD] ze7zez:
You quickly get a concrete answer when the question you point to the appropriate users. In the post "Which devices have ANT + hardware" you will find a list of smartphones with the appropriate chipset. Good luck.

p.s.

Devices with Broadcom 4329/30 (as in P880) is very much.

You can find them by searching the ANDROID DEVICE SPECIFICATIONS DATABASE.

https://www.google.pl/search?q="Broadcom+4329/30"+site:http://specdevice.com
[LG Optimus 4X HD] squinzia:
I'm having issue with gps fix in this rom, did u change something from old aosp lollipop from moltenmotherboard? thx for your work
[LG Optimus 4X HD] csk1jw:
GPS should be able to fix, but it can take some time, up to 2 mins sometimes. LGP880 GPS experience cannot match any of the recent phones, even for cheap phones such as Moto G based on Snapdragon 200/400 chipsets. I did not change anything, but Google changed quite substantially in the frameworks from Lollipop to Marshmallow on GPS location provider.

And, we are not alone...

https://code.google.com/p/android/issues/detail?id=190376

Network location should be instantaneous when WiFi is available. If you like to turn OFF WiFi occasionally, you should enable "Allow WiFi Scanning even when WiFi is turned OFF" to improve location acquisition.

Please describe more on your GPS problems so that I can see if I can replicate the scenarios that you are using your GPS. I mostly based my GPS experience using Google Maps and navigation.
[LG Optimus 4X HD] ze7zez:
Confirmation
[LG Optimus 4X HD] squinzia:
I'll try to re-flash the rom, maybe something went wrong.

The problem is that I've good gps fix only with the old aosp rom (I remember there where some fixes about that)

With this it's like before: right now the phone is outdoor and fixed 2 sats in 15 mins. (checking with androts gps test)

Network location is ok

Here maps always says "waiting for gps"

Ps. In androts gps test, when I have fixed let's say 5 or 6 sats and i'm in the 3rd tab, if I switch to the compass view or the radar view tabs, it loses all the fixed sats. That didn't happen on old lollipop aosp rom.
[LG Optimus 4X HD] csk1jw:
This may happen occasionally, and more likely if Maps was closed due to ANR. My guess is some garbage cleaning process was still happening in the background and GPS wasn't being shutdown properly. One solution is to close Maps using the "BACK" button and wait for while before restarting Maps. Don't use the "HOME" button. If you happen to use the HOME button, then you should remove Maps from recent apps view.

Google Maps has improved in time and now in the navigation mode (or Driving mode) it will actually tell if real GPS has locked. The arrow icon will turn into BLUE when GPS has locked.

I think this is expected and probably due to Google changes in frameworks. Even on Google Maps, switching between MapView and Driving mode seems to toggle GPS acquisition state and cause GPS to relock. Anyway, GPS hot relock should be fast even on LGP880. Typically, I can have mine relock in less than 10s.

Thanks for reporting the GPS issue. I am quite surprised that most people don't or for those who still keep this phone just don't use phone GPS for navigation.
[LG Optimus 4X HD] csk1jw:
Thanks. I will look into kernel changes on bcmdhd from Google msm-3.4 and tegra-3.10 for Marshmallow.
[LG Optimus 4X HD] csk1jw:
Fixed WiFi hotspot

I root cause and fixed WiFi hotspot finally....

I felt stupid of myself, there is nothing wrong in the frameworks, kernel or wpa_supplicant_8. It is an init.x3.rc issue:p:p

It looked like I was missing the "oneshot" in the p2p_supplicant init invocation. Hence, when frameworks terminated the wpa_supplicant in preparation for hostapd, init restarted it and made hostapd driver configuration failed.

Finally, we are really at feature parity with Lollipop ROM.

For those who have the knowledge and don't want to wait for new build, you can fix this by updating init.x3.rc through unpacking/repacking boot.img and initramfs.

@@ -286,8 +268,9 @@ service p2p_supplicant /system/bin/wpa_supplicant \
class main
socket wpa_wlan0 dgram 660 wifi wifi
disabled
+ oneshot
[Off-topic] daveedem:
I love this site and ppcgeeks and I know there are a lot of us that float between the 2 sites.

Anyone know what's going on over there with the site outages over the past few days?
[Off-topic] fronz:
good question! they need faster servers!
[Off-topic] edufur:
i like them too

I also love this site as well as PPC geeks. I would ask that you all consider my site as one that we can make a success as well. i need some members, content, and moderators. its at: www.cookedpda.com

hope to see ya all there.
[Off-topic] tc3jg:
I was wondering the same thing everytime i click on the website i get a page that says "internal error"
[Off-topic] ovendoor:
I hate to be "that guy"...but do you realize the same discussion is happening 2 threads below this one with essentially the same title?
[Off-topic] nautica2450:
no matter what, you are and always will be 'that guy'.... lol
[Off-topic] origins81:
ONLINE...

*HEADS UP!!* Seems ppcgeeks is online but barely, seems Mike is still trying to iron out the bugs, a lot of the threads are closed and unsearchable
[Off-topic] momof4rugratz:
any clue when they will be up and running again...
[Off-topic] mariner_heart:
the site is back with new servers. enjoy!
[Off-topic] momof4rugratz:
hmmm think mms will work again to send pictures on the mugul
[Off-topic] Pibe38:
While the app was mainly hosted at PPCGeeks, it has nothing to do with their servers, so the fact that the site is up unfortunately means nothing for Sprint users and the MMS hack :(
[Off-topic] momof4rugratz:
bummer. this stinks I can't send pictures even using my email I type cell#@vzwpix.com comes back undeliverable but I can sent to sprint customers @pm.sprint.com any clue what happening
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] XDAUserII:
I am about to buy a New T-Mobile Samsung Galaxy Note 4 (SM-N910T), and just need to make sure that it would be possible to downgrade the Note 4 from whatever Android version is installed on it to Android 4.4.4 (KitKat).

I checked SamMobile and currently the known Android versions on the Note 4 (SM-N910T) are listed below along with their respective baseband numbers.

My question is this: can all of the basebands (Android versions) listed below for the SM-N910T be downgraded to Android 4.4.4 (Baseband: N910TUVU1ANK4 or N910TUVU1ANJ7 or N910TUVU1ANIH)?

SM-N910T - Baseband number/Android version List:

Date (Baseband) Android Version

2015-11-30 (N910TUVU2DOK2) 5.1.1

2015-11-30 (N910TUVU1COG2) 5.0.1

2015-08-10 (N910TUVU1COD6) 5.0.1

2014-11-24 (N910TUVU1ANK4) 4.4.4

2014-10-17 (N910TUVU1ANJ7) 4.4.4

2014-10-11 (N910TUVU1ANIH) 4.4.4

I definitely need to know this before I buy since I'll be making the purchase online, and won't be able to know which Android version/Baseband version is being shipped in the new package.

Would anyone please help with this question?
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] noob4598:
No sir. Once on dok2 5.1.1 your locked in. I made that mistake. As long as it's before the latest 5.1.1 your good
[XDA Assist] armaninyowph:
Please teach me how to replace toast with snackbar. I don't like the toasts on my lollipop. Unfortunately there is no xposed module for that
[XDA Assist] DC07:
Hello and thank you for using XDA Assist,

Please ask in our noob friendly Q&A section:

[Ask Any Question][Newbie Friendly]

Good Luck

DC07
[Moto G 2015 Q&A, Help & Troubleshooting] leo88sandy:
Few days back I flashed my Moto 3 with Resurrection Remix OS , due to some Mobile Data Speed problem i decided to install Stock ROM again, during this, device go into bootloop n after lots of try installed stock 6.0.1 , but now problem is when i restart my mobile it goes in bootloader directly den after clicking START it starts normally from their .. whats wrong with dis ?? How can i SOLVE dis problem, please HELP anyone , Thanks in Advance
[Fire Q&A, Help & Troubleshooting] Imanol Garbar:
I had my Kindle 5gen, with CM12 and i wanted to install another rom. The problem was that, because of multiple thing, the recovery was set to amazons, lost the boot access and only could enter in recovery to adb or fastboot. The problem got even worst when i installed a Firmware "update-kindle-37.5.2.2_user_522053820" so it could boot as a fire.

Now it doesnt turn on. I connect it to the PC and i can hear it conecting and disconecting. In Device manager i can see it conecting as a Unknown device and then into MT65xx preloader. The thing is that all this happens fast so i cant do anything to stop it and i tried holding the Power bottom and the power and up bottom as well.

I really dont know what to do now. Search everywhere with no luck.

Tried Amazon Fire 5th gen super tool, tried soupkit with cygwin64 and kindle unbrickv01 and nothing...

Im desperated...
[Fire Q&A, Help & Troubleshooting] DB126:
Wrong forum; CM11 is not an option on this device (2015 5th Gen 7" non-HD) .
[Fire Q&A, Help & Troubleshooting] Imanol Garbar:
yeah my bad, it was CM 12, anyway i had a CM something but now i have nothing.
[Fire Q&A, Help & Troubleshooting] shabuboy:
Hmm, there is some of misinformation it seems... and sadly, not enough research was spent to see what you wanted to achieve it seems...

Fire 5th, cannot have the recovery such as TWRP or CWM installed. If you have 5.0.x you can tether of it, but it can't never be installed.

See Q5: http://xdaforums.com/amazon-fire/help/help-thread-question-noob-friendly-t3205441

If the stock Amazon recovery is gone, you have a bricked device.. If you have Amazon recovery, you can go back to stock (stay within the version you had, do not downgrade, or you will brick it), check the link above following Q5, there will be two unbrick methods at the bottom. Select the one based on your version 5.0 vs 5.1 or later.
[Moto G Original Android Development] adinkwok:
Hi falcon people!

This is my modified kernel with some kernel optimizations and some compiler optimizations.

The goal of abyss is to achieve improved performance/battery without the cost of stability.

I will not be overhauling this project with changes that are not logical to add.

This kernel should work on the latest 7.x.x (and maybe 6.x.x) roms like CyanogenMod and any other AOSP based rom.

How does one achieve this?

- build kernel with an optimized toolchain

- use compiler optimization flags (experimental)

- remove redundant code

- improve existing code with more efficient code

- reduce/increase speed of timers (depends on what type of function)

- etc. (most are not easy to explain)

Built with Linaro GCC 4.9 optimized for Cortex A7 with vfpv4 technology

Is there actually a performance improvement?

With all the changes added up, there should be. Whether or not one notices the difference is another thing.

Personally, I do feel the performance difference. It is easier to notice the difference with lower level specs like ours.

For those interested in how the kernel optimizations will benefit/work, please look at my github source and read the commit messages.

For those interested in how the compiler optimizations/hacks will benefit/work, please look at this article.

Downloads:

Discontinued

Source:

GitHub

Asking for ETA's won't be necessary because I use this kernel as my daily driver.

I do not mind if there's some non-development/off-topic discussion here, just no discussion about other works that is nowhere near related to mine.

Also, please refrain from comparing works here; it really kills the spirit of development. Go do that in some other thread.

XDA:DevDB Information

abyss kernel for aosp roms, Kernel for the Moto G

Contributors

YoshiShaPow, arter97, flar2, Christopher83, Cl3Kener, frap129

Source Code: [url]https://github.com/abyss-kernels/falcon[/URL]

Kernel Special Features: MAJOR KEY

Version Information

Status: Nightly

Created 2016-05-10

Last Updated 2016-12-18
[Moto G Original Android Development] adinkwok:
Don't like the defaults?

Use Kernel Adiutor to change the settings!

Frequently Asked Questions:

Is this a custom kernel?

I was asked this question once, and it posed as a real good question. I do not consider abyss to be a "custom kernel" per se, but more so as a modified kernel. The patches and features that go into this kernel do not make it customizable. What they do is improve what has already been implemented. It is like swapping a car's engine for a better one rather than just adding LED flooring lights and fancy car mats.

Can you add [this] and [that] feature to abyss?

Something I pride myself with this kernel is that it does not have a bunch of random, useless features or patches mashed into it. Everything put into this kernel is thought out well and tested. I see a lot of works being made popular because it has [this] and [that] feature when really, it's nothing revolutionary. As a matter of fact, most things added to any kernel will not make it 5x better than any other kernel. Most of the time, simple is better; and in this case it definitely is!
[Moto G Original Android Development] adinkwok:
Main Patches and Features:

- intelliplug (default hotplug)

- intelliactive governor

- KCAL Control Driver

- kexec hardboot patch for Multirom

- USB Force Fast Charge patch

- Abyss Optimizations (compiler)

- disabled debugging for more performance throughout

- lots of patches for better performance here and there... too many to list

How to install:

Download kernel from Basketbuild

Boot into TWRP recovery

(If you're coming from a different kernel, dirty flash current ROM)

Flash kernel zip

Reboot
[Moto G Original Android Development] xRyzer:
Nice job bro ! [emoji3]

Thank you for this awesome kernel [emoji6]
[Moto G Original Android Development] zydes:
this work with both cm and aosp or aosp only
[Moto G Original Android Development] adinkwok:
It will work on any 6.x.x AOSP based rom (CyanogenMod included). The only roms it will not work with to my knowledge are Omni and SlimSaber.

edit: turns out it works with them
[Moto G Original Android Development] zydes:
nx rom based cm work?
[Moto G Original Android Development] Eurofighter_ty:
Can you add OC made be [MENTION=4792450]h2o64[/MENTION] ? Really is a the difference if you do the benchmarks and in real life just a little so is true OC..
[Moto G Original Android Development] adinkwok:
Yes, most likely.

I will look into it.
[Moto G Original Android Development] amarc78:
Works just fine with Omni so far, SlimSaber would probably work also. Nice to see another kernel for us from you, Thanks!
[Moto G Original Android Development] adinkwok:
Updated the OP and my earlier post. Thanks for testing
[Moto G Original Android Development] Carlos Arriaga:
Thanks ? this kernel work perfeft
[Moto G Original Android Development] zydes:
in androidfilehost you have kernel for falcon or condor carlosarinaga
[Moto G Original Android Development] adinkwok:
Perfect example of OT that development threads should not have. No more of these type of posts^ please.
[Moto G Original Android Development] zydes:
soory for my post

can u add feature underclock for yuor kernel
[Moto G Original Android Development] adinkwok:
Sorry, I won't be adding underclocking to this kernel. There really isn't much of a need for underclocking a phone. In the long run, battery consumption will not be changed, maybe only at the slightest.

Also, the more frequencies added, the slower a CPU governor works. Most governors run calculations based on cpu load, checking whether or not it needs to move up or down a frequency step. By adding more steps, the cpu will throttle slower.
[Moto G Original Android Development] adinkwok:
Just updated the kernel with frandom support. Also added some ramdisk modifications to support it.

More entropy == better performance.

egg-caf-falcon-nightly-20160513.zip
[Moto G Original Android Development] navaneethkom:
Battery backup is good...give a try
[Moto G Original Android Development] adinkwok:
It's great to see feedback from the users. New build with modified values; it should improve multitasking performance.

egg-caf-falcon-nightly-20160515.zip
[Moto G Original Android Development] tepar:
Yes, the battery is great, 18 hours standby and i get almost 4h sot, left with 52% right now. Anybody looking for great battery should go for it.:o
[Moto G Original Android Development] adinkwok:
Mirror for the latest version: Google Drive
[Moto G Original Android Development] adinkwok:
I'm not sure how accurate that reporting is. The code of the Force Fast Charge feature only affects the function that notifies if the phone is plugged into an AC adapter or other device. It is currently set to force 1000mA, not sure why it would affect anything else :confused:. Does it seem to be charging faster?
[Moto G Original Android Development] phpbb3:
It doesn't really seem to be charging faster, no. I will know tonight though for sure and I'll let you know. Thanks for all the good info
[Moto G Original Android Development] BryanByteZ:
Use ampere app to see info about that.
[Moto G Original Android Development] adinkwok:
What's up guys. This is going to be my final release for cm-13.0 and marshmallow based roms.

- upstream CM changes (some of it is for cm-14.0)
- so far, it should be compatible with cm-14.0

abyss-caf-falcon-nightly-20160917.zip
[Moto G Original Android Development] Ctafolla2:
I can dirty flash it over the previously release?
[Moto G Original Android Development] adinkwok:
Yes, you can dirty flash.
[Moto G Original Android Development] NinjaFlood:
After some time of usage the torch toggle disappears. Not sure what does triggers this obnoxious issue.

Tested on RR and Vanir ROMs.

It's not happening to me with other kernels available on XDA.
[Moto G Original Android Development] Leonardohernandez98:
Can someone tell me how to install correctly a Kernel? I always get some lag after flashing and I don't know if I'm doing anything wrong.
[Moto G Original Android Development] adinkwok:
New update! Is now fully compatible with cm-14.0 and N based roms. May be compatible with cm-13.0 and other marshmallow roms; needs testing.

- Merged cm-14.0 branch from CyanogenMod source
- Reverted to stock thermal driver
- Abyss Optimizations have been revamped and cleaned

abyss-kernel-falcon-1.00.zip
[Moto G Original Android Development] pico hackr:
wow great work
[Moto G Original Android Development] adinkwok:
Mmmm could you grab me a last_kmsg?

- flash kernel

- reboot for a minute

- immediately turn off and boot directly into recovery

- check for /proc/last_kmsg

If it does not exist, this is going to be a headache 8D
[Moto G Original Android Development] NeoPreacher:
Got one :) ,... I guess.
[Moto G Original Android Development] adinkwok:
Does the kernel bootloop only for that one AOSP rom? Or does it not work on cm-14.0 as well?
[Moto G Original Android Development] xRyzer:
Same Problem here :( (CM14)
[Moto G Original Android Development] adinkwok:
Uploaded the wrong version; didn't build the branch with the correct commits. Sucks because I did the same thing to all my other kernels for other devices that I uploaded :crying:. Will fix once I have access to my server again.
[Moto G Original Android Development] adinkwok:
Fixed the boot problem, my optimizations weren't cleaned in the first one, I committed the wrong changes to the wrong branch.

abyss-kernel-falcon-1.01.zip
[Moto G Original Android Development] NeoPreacher:
Confirmed working now. Also on cm13 tested with vanir.
[Moto G Original Android Development] adinkwok:
More to come in the future, for now, this is what I have. I'm currently in the process of backporting random from Linux 4.2+ (who wants better performance?!) so there's that to look forward to.

- Abyss Optimizations re-implemented
- 20 upstream oom patches from Linux 3.x+
- switched to NEON accelerated XOR implementation

abyss-kernel-falcon-1.10.zip
[Moto G Original Android Development] Skarni:
Flashed this kernel on Saturday on my Moto G: ontop of [ROM][7.0.0_r6]AOSP+OMS/Substratum for Moto G![27 SEPT].

It is running great. Seems quite smooth. Ran Antutu for the fun of it and got a score of 20042. Battery life seems good.

Thanks for doing a great job for this old device.
[Moto G Original Android Development] adinkwok:
version 2.00 released

I attempted to port the doubletap2wake and sweep2wake drivers by alin.p, but it was too much of a headache trying to fix it up. Maybe in the future, when I'm off school for winter break. Backporting random has also been a pain in the rear end * 9000. That is still WIP, which is why it isn't included in this build.

- added KCAL Control Driver by savoca
- added intelliplug hotplug (default, mpdecision is disabled) by faux123
- added intelliactive governor (interactive is still default) by faux123

abyss-kernel-falcon-2.00.zip
[Moto G Original Android Development] kamesh_kraken:
I've flashed the 2.00 kernel. The first boot was fast as any reboot. It was very simple.

I'm using CM14 V9. Snappy and good.

Recovery - TWRP 3.0.2.

So far so good.
[Moto G Original Android Development] Waancho:
Installed on XT1033 running unofficial CM14 v9.

Installation went without a problem.

Runs pretty snappy.

But battery life is less than stellar. Not bad but not better than it was without the kernel.
[Moto G Original Android Development] adinkwok:
There is not much that can be done to improve battery without compromising performance. For me, I try to push the boundaries of the phone to perform like something 2* the price.
[Moto G Original Android Development] Waancho:
If performance is main goal of this kernel, then it is a good kernel.
[Moto G Original Android Development] STR4NG3R-GUY:
Underclock the voltages of the frequencies should be a solution to get more battery perfomance, thank you very mutch for add kcal and intelli plug, add impulse governor its a really nice governor :) thank you, what are you studying?
[Moto G Original Android Development] adinkwok:
I'll most likely add Voltage control in the next build if I can find the code for it.

I'm still in high school right now, haven't decided what I want to go into for post secondary :/
[Moto G Original Android Development] STR4NG3R-GUY:
advice, chooses the profession where you look happy in the future, remember that the money stays here, happiness is what you take forever, and I hope you serve.
[Moto G Original Android Development] Waancho:
I think it is more like the kernel: a compromise. It is always a compromise between money and happiness (unless you can have both).