yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] sadnblueish:
I installed AdAway. It fails to update hosts file in /system/etc/hosts. I have to manually copy hosts file generated by AdAway. It used to work on another N Rom. App has only storage permission which is granted. Any clue how to make it work on this ROM?
[OnePlus 2 Android Development] ChefChaudart:
just download latest from AdAway's XDA thread. It works perfectly.
[OnePlus 2 Android Development] ferreinf:
Change selinux mode to permissive, and them it will work http://cloud.tapatalk.com/s/5831645d7285c/com.mrbimc.selinux_31.apk

Sent from my OnePlus 2
[OnePlus 2 Android Development] Prinjal Dave:
Can you please guide how to install adaway because i read xda thread but its not working
[OnePlus 2 Android Development] Sam Nakamura:
http://xdaforums.com/showthread.php?t=2190753

Download the Oktober version of the official thread, older versions won't work on N
[OnePlus 2 Android Development] qnguyen88:
Hi everyone so I'm about to try this ROM and I have a question about opengapps : is there a preferred type of opengapps (by that I mean nano, pico, mini, ...) ? Because on others ROMs ' thread, I read that you could have issues by flashing a specific type of opengapps.

Thank you in advance

Edit : I forgot to add : on CM13 I flash nano opengapps
[OnePlus 2 Android Development] sadnblueish:
Yup. I was using June build. November build worked fine.

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

I prefer using Nano. Don't have a problem. You will need to install couple of apps from playstore though... Like youtube.

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

Download latest November build and install it just like you do for any other apk installation. It will ask for root permission. Grant it.

There is no need to change SElinux settings.
[OnePlus 2 Android Development] aiw999:
Still random reboot here.... When on pocket it start rebooting...
[OnePlus 2 Android Development] Sam Nakamura:
Yeah, they unfortunately returned here to after a damn good start it rebooted several times over night.. Today's nightly build failed on jenkins.aicp-rom.com, so we'll have to wait for tomorrow's
[OnePlus 2 Android Development] aiw999:
This eom is awesome.... Just that reboot is anoying.... Anything else is just awesome....
[OnePlus 2 Android Development] Sam Nakamura:
Exactly, when we pass the random reboot issue we have THE best rom to date..
[OnePlus 2 Android Development] sadnblueish:
For those who don't have random reboot issue, they have the best ROM... (I am one of those). :)
[OnePlus 2 Android Development] Prinjal Dave:
I faced a wiered bug today i was not having any random reboot issue but i was having a black screen when i opened my phone with fingerprint sensor only the volume rocker buttons were functional and i was able hear its sound but nothing else
[OnePlus 2 Android Development] Qbuiwonder:
Amazing ROM. One thing I noticed is that when I select LTE only and run a speed test, I get 12+mbps down. When I select GSM/WCDMA/LTE, I only get around 3mbps. Any ideas why?
[OnePlus 2 Android Development] qnguyen88:
I have a question : this is the second Nougat Rom I've been trying (the first being cm14) and everytime I used my phone while charging, the touchscreen acted weird. By that, I mean that when I click on some area of the screen, it's like I clicked somewhere else (for example, I want to go to display settings but when I click on it, I end up on the notifications settings). What could be the cause of this ? The charger, the cord, the phone (when I'm not charging, everything's fine) ? I would add that with Marshmallow, I don't have this issue (at all).

Edit : I'm charging right now with another cord (still using the original charger) and it seems fine
[OnePlus 2 Android Development] Sam Nakamura:
It's the charging cord, I experienced this behavior before and also I wrote with Lord Boeffla about this issue, conclusion is definitely the cable but actually the only the replacement ones, not the original equipment..
[OnePlus 2 Android Development] VinX90:
I'm stuck @ `patching system image unconditionally` when I try to install the ROM.

My Previous ROM was ResurrectionRemix 6.0.1 and i wiped everything except internal storage to install the AICP ROM

Any suggestions?
[OnePlus 2 Android Development] Qbuiwonder:
Corrupted download? Did u update to OOS via OTA and then flashed TWRP recovery? That solved every flashing problems I had with this ROM. My first OnePlus 2 kept getting errors because I flashed TWRP while I was on Hydrogen OS.
[OnePlus 2 Android Development] VinX90:
Nope, I didn't update OOS since I was using ResurrectionRemix which was working perfectly..
[OnePlus 2 Android Development] Qbuiwonder:
That's what I mean. If u had a stock phone, updating to OOS then flash TWRP latest version would solve most problems. When I had Hydrogen OS, I flashed TWRP and only a few ROMs worked. Most other ROMs had problems flashing or my phone would be stuck on a bootloop.
[OnePlus 2 Android Development] VinX90:
Flashed the latest Oxygen OS 3.1.0: OnePlus2Oxygen_14_OTA_020_all_1608262242.zip

Updated the TWRP to twrp-3.0.2-2-oneplus2.img

Gonna try flashing again..

---------- Post added at 03:11 AM ---------- Previous post was at 02:51 AM ----------

Nada.. unable to flash AICP and CypherOS
[OnePlus 2 Android Development] Sam Nakamura:
That's strange - where's the secret? :) damn it..
[OnePlus 2 Android Development] VinX90:
OK, aicp_oneplus2_n-12.0-NIGHTLY-20161029.zip worked.

Any logical reason why aicp_oneplus2_n-12.1-NIGHTLY-20161119.zip isn't working?
[OnePlus 2 Android Development] qnguyen88:
Anyone using November 19 nightly ? Because I see that my battery goes down quite fast (I've unplugged my phone this morning around 8:30 am and now it is 1:43 pm and the battery is at 48 %). I checked with Wakelock Detector which apps eat the battery but except the usual one (which I use often), there is nothing unusual

Edit : I forgot -> I clean flashed this rom, use stock kernel, use greenify, no xposed
[OnePlus 2 Android Development] Sam Nakamura:
No xposed, really :)?

Just wait for the today's nightly, is almost done.. see if things change
[OnePlus 2 Android Development] qnguyen88:
Really I don't use xposed ^^ (with all the posts I read about it and the issues that come with it, I don't want to try and flash xposed).

Guess I'll wait for the next nightly :)

Edit : if it can help here's the log in the attachment
[OnePlus 2 Android Development] Sam Nakamura:
Just made fun cause there is no xposed for nougat yet..

Today's Nightly is up..
[OnePlus 2 Android Development] aiw999:
Hope reboot issue is gone
[OnePlus 2 Android Development] -earth-:
Any way to get the swipe option of the aosp keyboard working?
[OnePlus 2 Android Development] ChefChaudart:
Try to put WebView to Chrome in Developer Settings. (Having chrome installed of course )

According to various sources, it could solve the issue. I will tell you more tomorrow morning.
[OnePlus 2 Android Development] Sam Nakamura:
I Only use swiftkey, which of course works.. Isn't this a application issue rather than a rom issue?
[OnePlus 2 Android Development] rajatdixit:
You could use Google keyboard. Swipe is enabled by default. But yes Sam is right, this is an app issue nothing to do with the working of the ROM.
[OnePlus 2 Android Development] elandroido:
You probably have an old bootloader version. As you have already been told you need to flash latest OOS fullzip before you can use latest aicp versions. Good luck!
[OnePlus 2 Android Development] sadnblueish:
Slightly off topic, I need USB_OTG in TWRP and in ROM. Which version of TWRP to use? Official latest doesn't seem to have the support, so does the ROM I guess. Sorry for sounding novice.
[OnePlus 2 Android Development] M5devil:
Guys, how to enable DD2W? It's on in settings but doesn't seem to work. Do I need another kernel? Also, is there a way to enable weather on lock screen? Thanks!
[OnePlus 2 Android Development] VinX90:
actually, the aicp_oneplus2_n-12.1-NIGHTLY-20161118.zip worked but aicp_oneplus2_n-12.1-NIGHTLY-20161119.zip stuck at 5%. even tried adb sideload (which eventually helped me flash aicp_oneplus2_n-12.1-NIGHTLY-20161118.zip)
[OnePlus 2 Android Development] sunnynayak:
Dirty flashed 11/21 build and haven't had any random rebooting. :win:
[OnePlus 2 Android Development] pk-air:
Search :) but we are all nice here. You need kernel auditor. Once installed go to the app grant persmissions and enable dt2w in kernel auditor.
[OnePlus 2 Android Development] Sam Nakamura:
Yeah :fingers-crossed: same here.. Wonderful

---------- Post added at 10:01 PM ---------- Previous post was at 09:58 PM ----------

I don't know about otg but I successfully flashed a rom via sideload function of twrp with the data cord connected from pc to phone.. That works well with official twrp 3.0.2-2
[OnePlus 2 Android Development] qnguyen88:
Dirty flashed November 21 nightly : no reboot but I've just got a little issue. Pressing the power button or putting my finger on the fingerprint scanner didn't turn on the screen. I had to long press the power button to reboot the phone
[OnePlus 2 Android Development] EthersYT:
Camera doesn't work.

The google camera doesn't work .When i open it its just black but i can see the camera button.When i uninstall the camera updates it works on that old version.Otherwise everything else works great.Keep up the great work.
[OnePlus 2 Android Development] aiw999:
This night no random reboot. Hope it gone permanently :good::rolleyes:
[OnePlus 2 Android Development] Prinjal Dave:
I am also facing this same problem:(
[OnePlus 2 Android Development] Sam Nakamura:
Unfortunately I had a sudden reboot while using Facebook app.. But only 1 in 12 hours, even I changed webview to chromeview stable in dev options.. It's certainly a big improvement where we come close to daily driver IMHO...
[OnePlus 2 Android Development] :
Guys I think for me it's greenify because I have uninstalled and been using the latest build without any issue but when I have installed greenify and set it up, reboot in 5 minutes then uninstalled it no reboots , or is it just coincidence.

FYI I'm on latest build with WebView as canary.

Thanks to [MENTION=6311143]Trafalgar Square[/MENTION] for such a wonderful ROM
[OnePlus 2 Android Development] ChefChaudart:
Un installed as well, reboots still there ...

:(doesn't help :crying:
[OnePlus 2 Android Development] :
Did the trick for me
[OnePlus 2 Android Development] Sam Nakamura:
I run with greenify on almost every app & all doze settings on.. Just 1 reboot in 14 hours - definitely a improvement!
[OnePlus 2 Android Development] ChefChaudart:
I would lean more for a notification worry.
[OnePlus 2 Android Development] qnguyen88:
I've just got this issue a second time. I'll see if there are improvements by uninstalling Greenify
[OnePlus 2 Android Development] ThePresence:
If you're using greenify try to uninstall it and see if issue is resolved or not. I had the same issue uninstalling greenify did the trick.
[OnePlus 2 Android Development] pavlli:
Please in Build.prop file is this setting

ro.build.type=userdebug

only in last version or all the time? Because of this, for example, Android Wear app doesn't run.

Thanks
[OnePlus 2 Android Development] Trafalgar Square:
All time and it will stay because this is an user debug build. You can change it to user, if you want to use your wear.
[OnePlus 2 Android Development] qnguyen88:
Has anyone already encountered this issue?

[youtube]kUeS6_VE2lM[/youtube]

So basically I can't switch the wifi toggle nor access the settings in the expanded settings area

Edit : a reboot solved it
[OnePlus 2 Android Development] Prinjal Dave:
I dont have greenify still problem is encountered

So i think there is something related to enhanced doze mode
[OnePlus 2 Android Development] Sam Nakamura:
In the aicp telegram group devs say that it's a general problem where they constantly trying to fix it.. So don't make yourself crazy - nothing we can do about it at the moment..

Why some say they haven't that issue Idk.. It's actually across all devices but IMHO it has improved.. I got it maybe twice a day since the last 2 builds. Using Greenify & boeffla with heavy powersave applied..
[OnePlus 2 Android Development] Prinjal Dave:
We dont have any problems in waiting :) was just trying to find any temporary workaround:) thanks for the information:):good:
[OnePlus 2 Android Development] parkerx:
Hello to all, a piece of information, to make a good installation that ROM version and better to start? currently it mounts a rom RR 5.7.4. TnX
[OnePlus 2 Android Development] M5devil:
How do I enable weather on lockscreen?
[OnePlus 2 Android Development] Sam Nakamura:
After today's update random reboots got worse... Let's hope for the best
[OnePlus 2 Android Development] jaii:
Just installed and loving it thus far. One thing though...

On CM14.1 nightlies I was able to install CM's Yahoo weather provider as usual without a hitch (it makes Zooper work for me), but not here. Is there another weather provider you'd recommend?
[OnePlus 2 Android Development] TheDrgizzmo:
First reboot after 6 hours with the latest build. Then it happends more often when i used apps that need more RAM.

Enviado desde mi ONE A2003 mediante Tapatalk
[OnePlus 2 Android Development] testaccountst:
For Random reboots try using Chrome as "WebView" inside Developers settings. If you don't have chrome install - install it first. Many forums suggest Google has set Chrome as webview on Android N.
[OnePlus 2 Android Development] Sam Nakamura:
Try this

https://play.google.com/store/apps/details?id=com.dvtonder.chronus

---------- Post added at 07:13 AM ---------- Previous post was at 07:13 AM ----------

No, it's not working unfortunately.. It's another issue here

---------- Post added at 07:14 AM ---------- Previous post was at 07:13 AM ----------

Yeah, Facebook is my no.1
[OnePlus 2 Android Development] ChefChaudart:
What did I wrote on last page ????? BUT it doens't work :cool:
[OnePlus 2 Android Development] nak0604:
Im on the latest build and all i get is spammed with com.phone.android has stopped popups. The phone doesnt think i have a sim card in it either, if I take it out then the popups keep coming but rarely I will get a popup that says select SIM card and it will just be a blank white window.
[OnePlus 2 Android Development] Sam Nakamura:
No problem here on latest build...
[OnePlus 2 Android Development] Prinjal Dave:
What about random reboots?
[OnePlus 2 Android Development] dencu:
Random reboot still exists on latest build 23/11, especially when phone on idle or moving from LTE to wifi
[OnePlus 2 Android Development] Qbuiwonder:
Seems pretty perfect to me, though honestly I've been dirty flashing since 3 updated ago
[OnePlus 2 Android Development] Sam Nakamura:
Yeah random reboots are pretty intense... As said this issue is across all devices and known, devs looking for a fix.. Hoping the best cause without this RR's it would be the very best time IMHO
[OnePlus 2 Android Development] ChefChaudart:
really :confused:;)
[OnePlus 2 Android Development] Sam Nakamura:
RR = random reboots
[OnePlus 2 Android Development] qnguyen88:
Unfortunately in my case, uninstall greenify didn't do the trick
[OnePlus 2 Android Development] ChefChaudart:
:D:fingers-crossed: I thought you were referring to another ROM :cool: My bad.
[OnePlus 2 Android Development] Sam Nakamura:
Yeah :fingers-crossed: this thing will land soon too, they still waiting for cmte to get merged.. Like DU :)
[OnePlus 2 Android Development] Ph3rOn!xX:
Which one is the stable one??
[OnePlus 2 Android Development] ledabe974:
None, it's only nightly.
[OnePlus 2 Android Development] DR_HAX34:
Can someone help me? I'm trying to get into Android Development, but I'm getting an error while building AICP:

Download: /home/emanuel/android/AICP_BUILDS/AICP/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-40.apk
FAILED: /bin/bash -c "(mvn -q org.apache.maven.plugins:maven-dependency-plugin:2.10:get	org.apache.maven.plugins:maven-dependency-plugin:2.10:copy	-DremoteRepositories=central::::[url]https://maven.cyanogenmod.org/artifactory/gello_prebuilds[/url]	-Dartifact=org.cyanogenmod:gello:40:apk	-Dmdep.prependGroupId=true	-Dmdep.overWriteSnapshots=true	-Dmdep.overWriteReleases=true	-Dtransitive=false	-DoutputDirectory=/home/emanuel/android/AICP_BUILDS/AICP/target/common/obj/APPS/Gello_intermediates/ )"
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:get (default-cli) on project standalone-pom: Couldn't download artifact: Could not transfer artifact org.cyanogenmod:gello:apk:40 from/to central ([url]https://maven.cyanogenmod.org/artifactory/gello_prebuilds):[/url] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[ERROR] org.cyanogenmod:gello:apk:40
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] central ([url]https://repo.maven.apache.org/maven2[/url], releases=true, snapshots=false),
[ERROR] central ([url]https://maven.cyanogenmod.org/artifactory/gello_prebuilds[/url], releases=true, snapshots=true)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] [url]http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException[/url]
[ 50% 25366/50011] build /home/emanuel/android/AICP_BUILDS/AICP/target/common/obj/JAVA_LIBRARIES/play_intermediates/classes.jack
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (58:26 (mm:ss)) ####

Did you run into this error before?
[OnePlus 2 Android Development] Sam Nakamura:
Wrong thread, xda is full of support threads and "how to" guides.. Please don't spamm this thread with something unrelated
[OnePlus 2 Android Development] DR_HAX34:
Sorry, I kind of posted in this thread since it's AICP and I'm building for OnePlus 2...
[OnePlus 2 Android Development] TheDrgizzmo:
Reboots every 30 seconds using tapatalk...

Enviado desde mi ONE A2003 mediante Tapatalk
[OnePlus 2 Android Development] Sam Nakamura:
There is a link to the aicp telegram group, maybe you can try there..

Edit: here you go

http://xdaforums.com/oneplus-2/development/rom-aicp-12-0-n-7-0r14-oneplus2-t3480130/post69585267

---------- Post added at 05:54 PM ---------- Previous post was at 05:54 PM ----------

It's going to be solved soon...
[OnePlus 2 Android Development] TheDrgizzmo:
I know

Enviado desde mi ONE A2003 mediante Tapatalk
[OnePlus 2 Android Development] qnguyen88:
That's what I call some good news
[OnePlus 2 Android Development] Trafalgar Square:
LOL :D

This is a development thread and he can share his build error.
[OnePlus 2 Android Development] qnguyen88:
Since I didn't see a lot of people reporting this issue, any chance the creators of the ROM encountered it ? Because I think it's as annoying as the reboots.

But regardless of these issues, I still think it' a great ROM so thank you guys
[OnePlus 2 Android Development] Sam Nakamura:
Thanks for clarification! :svetius: & sorry [MENTION=6056141]DR_HAX34[/MENTION] for misinformation..
[OnePlus 2 Android Development] Sam Nakamura:
It's been reported and already stated right in the beginning of this thread, something like page 2 or 3..

Search function should instantly show it with a link..

Edit:

But most people tend to read only the last page and never use xda's wonderful search engine (where you can search one distinctive thread) but yes you're right :)
[OnePlus 2 Android Development] ash29k:
I've tried opengapps and Banks, both have the issue. Anyone have a gapps link that would resolve this? It would be greatly appreciated

---------- Post added at 11:30 ---------- Previous post was at 10:58 ----------

Some of us have families with kids and don't have the time to read every comment on a thread, instead of "trying" to sound superior but instead just sounding like an utter twunt how about posting the link and be helpful. Besides that the gapps mentioned in the early pages are the Banks gapps which cause the issue.
[OnePlus 2 Android Development] Shreesha.Murthy:
Once Banks Gapps, always Banks Gapps

No seriously. I've tried Banks Gapps with 10-15 N builds and found no issues with permission pop-up.

The ones claiming to have issue with banks can try TBO Gapps.

Don't quote me for link. No spoonfeeding here
[OnePlus 2 Android Development] Dranoel18:
New Nightly is maybe the most stable Nougat rom right now! Only issues i found so far are the video recording bug (footej installed, no problem) and the permission dialog bug (just manage the permissions in the settings). I use it as my daily driver. I really apreciate the UI features. Thanks for the great rom. Happy to flash more updates soon! EDIT: Banks gapps solved the permission dialog bug for me.
[OnePlus 2 Android Development] ash29k:
Thanks, I'll give it a bash
[OnePlus 2 Android Development] Sam Nakamura:
As I already said, no one needs to read every comment one can use the search function of the thread instead - if not have the time to do your research and get to used to basic functions of xda you can't expect to much help..

And staying polite is mandatory my friend, but it's not useful to spam the thread with the same questions over and over again.. That's all a say!
[OnePlus 2 Android Development] djsubterrain:
I'll grab the spoon :D

Banks Gapps

https://androidfilehost.com/?fid=529152257862667717 (14th Oct build)

Might want to keep a link to Miccia's profile, he seems to be uploading Banks regularly:

https://androidfilehost.com/?fid=529152257862667717

Just check his "newest uploads" or "popular uploads"

The one you'll want (you as in regular Joe not Shreesha, I know he knows his eggs) is "banks_dynamic_gapps-7.x.x-DATE.zip"

Just noticed latest build has an OTA app, not sure if it works yet but, as these are official, possibly :)
[OnePlus 2 Android Development] gugas123:
Can I flash superSU or do I need to use the one built in the rom?

Thanks
[OnePlus 2 Android Development] Sam Nakamura:
Just try, if it's causing issues you can reflash dirty to get rid of it but it definitely caused issues in the past..

Maybe you'll give feedback for others to know..
[OnePlus 2 Android Development] Jacksack33:
Data not working for me!
[OnePlus 2 Android Development] Dranoel18:
For me too, unfortunately. But since those are Nightlies, this sure gets fixed soon. EDIT: had to change APN settings.
[OnePlus 2 Android Development] Trafalgar Square:
It's working for many other
[OnePlus 2 Android Development] Sungfive:
Try to change APN. Data connection works
[OnePlus 2 Android Development] xF4m3:
Hey Guys regarding the Data issue, I had the same at first but then I realised that there were no APN's set for my Sim cards. After i added them LTE (4G) was working flawlessly.

You should check your APN settings (took me a while to get the right one for my carrier #from Germany btw

Good Luck and Cheers

Edit: Sungfive was faster :D
[OnePlus 2 Android Development] jonnyjb:
Awesome work, AICP has been my goto room for 3 devices, it has worked the best and been the most stable, you got the button luminance working so thats awesome. Is there a way currently to turn long press back button to kill app on?

Thank you for all you heard work, loving it.
[OnePlus 2 Android Development] Dranoel18:
The settings in the sim card section? Bin uebrigens auch aus Deutschland.
[OnePlus 2 Android Development] xF4m3:
I added Pictures for everyone who doesn't know where to add his APN's.

Just "follow" the Blue dot, also as you can see, Data is working fine even in dual sim configuration

Hope this helps a few people and guys Please stop complaining that Data isn't working when the Solutions have already been Posted multiple times, Thanks