yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Android Development] fmkaiba:
On build 2015-11-01, trying this rom out... So far everything is good, but where is SU? Not a noob here, but I expected CM's built-in in SU.?
[OnePlus 2 Android Development] wollax:
just install supersu (I used beta 2.52) and it will appear after reboot in settings....
[OnePlus 2 Android Development] LMH1998:
Why do I always get an error when I try to install GApps?
[OnePlus 2 Android Development] urnamese3:
Which error? Did you select the arm64 version? Our processor architecture (snapdragon 810) is arm64 so you gotta make sure the GApps you downloaded are compatible with that.

The arm version won't work (which is opengapps.org's default choice)

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] LMH1998:
When I clicked on the GAPPS link, ARM was automatically selected so I tought it was the correct one. But thank you!
[OnePlus 2 Android Development] fmkaiba:
What about cyanogenmods default superuser functions, not included? I always preferred them to supersu.
[OnePlus 2 Android Development] saintxseiya:
They were disabled/removed long time ago by tema.

What is all your problem with the camera etc.? I never had any issue with the cam.
[OnePlus 2 Android Development] CounterC:
[MENTION=1468412]AuxXxilium[/MENTION] I see your building an M kernel. What are your intentions/plans if I may know?
[OnePlus 2 Android Development] seschaum:
same MAC adress for all devices?

Hey all fellow OP2/OPT users/owners,

did some of you notice this weird behaviour also? (I do have the same noticed MAC adress..)

http://xdaforums.com/oneplus-2/help/devices-one-mac-address-t3228024
[OnePlus 2 Android Development] AndroidBeginNinja:
11012015 build WiFi will not work
[OnePlus 2 Android Development] wollax:
WiFi working with this build no problema at all .... Using it now in an hôtel to write this message and yesterday at home worked fine...
[OnePlus 2 Android Development] jmcv12:
For me were the 2 previous builds... with that one i got wifi back to normal!
[OnePlus 2 Android Development] AuxXxilium:
Chnaged some things related to wifi and also made a driver update so you have to clean install or you can try the kernel. Not sure if this is working.
[OnePlus 2 Android Development] Jakkomo77:
Wow ..for me the Rom works fine.

Fast, Stabil .

Clean Install , last build!

Thank you for the Rom

S5 & One + Boeffla Inside
[OnePlus 2 Android Development] wollax:
Sorry guys, I found this just now: https://www.change.org/p/oneplus-ca...utm_source=share_petition&utm_medium=copylink

if drivers are missing till they make them usable by developers I think laser focus and the fingertip reader is not going to work very soon, am I wrong ?
[OnePlus 2 Android Development] jmcv12:
It's working for me already with yesterdays build!

Wasn't working with 29/10 and 30/10.

Haven't flashed today's because of the camera problem still existing for some users.
[OnePlus 2 Android Development] AndroidBeginNinja:
I use cm next and have not had a problem so far. I will try it again.
[OnePlus 2 Android Development] bratfink:
Camera Issue

ROM is working great for me... much much faster and smoother than Oxygen OS.

I do however have one bug, camera applications just report that 'camera not found'.

Is there a known fix for this?!
[OnePlus 2 Android Development] urnamese3:
No but you should take a look at this thread

http://xdaforums.com/showthread.php?t=3238287

Here's the original thread for camera next

http://xdaforums.com/showthread.php?t=3086513

[APP][May 26][V10]COS12/CM12/CM12.1 CameraNextMod

EDIT: Nvm..

it still won't work

because Oxygen OS is closed source and to have fingerprint and proper camera implementation we need the original source code of oxygen OS. I think it's only a time thing. Oh ya sign this petition:

https://www.change.org/p/oneplus-ca...utm_source=share_petition&utm_medium=copylink

One+ developers already replied on twitter

https://twitter.com/getpeid/status/661133323561926656

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] CounterC:
The modded cm12s camera doesn't work for me on 01/11 Temasek...
[OnePlus 2 Android Development] AuxXxilium:
Kernel 6.3 M and Rom update online now.

Happy flashing ;)
[OnePlus 2 Android Development] bratfink:
Other bugs...

Just providing some feedback, unfortunately I'm not technical enough to do a huge amount more...

1. Signal is noticeably worse for me.. im in the UK and on EE (T-Mobile) and have no signal in cafe's I go to on a daily basis.

2. Battery drain has increased (although could be due to factor 1 which I know has some implications)

3. Randomly the phone will be super slow, seems like a kernel throttle issue, but is fixed if left alone or rebooted.

4. Camera issue still there as before

FYI I haven't flashed the new ROM but will provide feedback once I have done so.

PS If this is useless info then tell me and I will refrain from these types of posts in future!
[OnePlus 2 Android Development] AuxXxilium:
THX for report and i know it. Use it as daily driver so enough time for testing. Think some things should be fixed with latest build.
[OnePlus 2 Android Development] CounterC:
I don't understand. Is update 12.1 rom and 6 M kernel?
[OnePlus 2 Android Development] Loopback7084:
Is UKM integrated into latest (03) build?? Looking fwd to testing when I get home :) Thanks again!!

Edit:- For info I thought you might like some battery stats. Tuned with Synapse... two days and going strong.
[OnePlus 2 Android Development] AuxXxilium:
No it isn't. But UKM is on data so you have to flash it once and no more. Only if i update some features.
[OnePlus 2 Android Development] Loopback7084:
Cheers for the info. I decided to go old-school instead: For anyone else interested, where battery life is a primary concern, over performance.

I've chopped the file around you see in the screen-grab. Without UKM or Synapse, one can disable a number of cores (personal preference) and apply a different CPU Governor. By adding it at the end of your /system/etc/init.qcom.post_boot.sh, the changes you make will be applied whenever you reboot your Oneplus Two.

Made my battery last days, with no noticeable side-effects (normal use, no games).

Hope it helps. AuxXxilium Thanks again for all the dev-work on the ROM.
[OnePlus 2 Android Development] urnamese3:
yep yep now whatapp's built-in camera works :D but.. after using it laser on the back is always on and only a reboot fixes it haha damn I really hope one+ devs release the full source code.. This phone has so much potentiality

Also Wifi is broken for me by flashing ak's kernel; 01/11 build didn't have this behavior so I guess I'm gonna stick with that for now

Please put it inside a spoiler with the [ hide][/hide] BBcode *hint* remove the space in the first hide
[OnePlus 2 Android Development] CounterC:
Can you explain more what you are doing please?
[OnePlus 2 Android Development] Loopback7084:
I can do my best... I don't know much more than you folks though.

The OctaCore MSM8994 that we know as the SnapDragon 810 is a "Hetrogeneous Multi Processor" (HMP) engine. There are four "efficient" ARM Cortex A53 cores (max out at 1.5ghz I think) and four "performance" ARM Cortex A57 cores split into two clusters.

When a task is assessed as being runtime intensive, it'll get moved from one of the A53 cores, to a beefy A57 core. However, 8 cores running all the time is a lot... (lets be fair, a standard quad-core CPU is fine for day-to-day usage). So, even running 8 cores at the bare minimum, which seems to be 384Mhz, will drain the battery. I don't know whether the Kernel build just doesn't support the "deep-sleep" C-states yet, but looking at my phone, it doesn't seem to actually suspend any of the cores at any point.

So:- as the android kernel is in essence the same as a standar linux kernel, you can modify the CPU's behaviour somewhat using the kernel interfaces ( in this case under /system/devices/system/cpu/ ). Selecting a different Governor, controls how aggressively the CPU ramps up and down it's frequencies, in response to user/application activities. A reasonable explanation can be found here: http://xdaforums.com/nexus-4/development/guide-android-governors-explained-t2017715

In addition to that, as the clusters are split numerically, Core 0-3 == A53 and Core 4-7 == A57. By "echoing 0" into the "online" file, you're instructing the kernel to actually disable some cores. In my case, I've disabled two of the A53 cores and two of the A57 cores. In effect, it turns your Oneplus Two back into a Quad-Core phone. By adding the scripting to the end of the "post_boot" file, the changes persist beyonf a reboot. (note you have to remount your /system/ partition read-write for this using ADB or Terminal-Emulator).

Hope this helps, happy to answer any questions best I can... I'm no expert mind.
[OnePlus 2 Android Development] CounterC:
I want to try this too since I'm not a heavy user. I understand everything except the mounting and adb thing. Can't I just do it locally with Android terminal emulator?
[OnePlus 2 Android Development] Loopback7084:
Not a prob.

I'll try my best to step-by-step:

1) Install an Android Terminal (any will do):- I use this one: https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en_GB

2) Go into Settings -> Developer Options, if not already enabled, by going Settings -> About Phone -> Click on "Build Number" many times.

3) Scroll to "Root Access" and enable "apps" or "apps and adb". Your call, disable again afterwards.

4) Fire up a terminal emulator, type "su" for root privs, should prompt you to "allow" access.

5) Once root, (cursor changes to a "#"), remount your system partition using: "mount -o rw,remount /system"

6) Once done, move to the directory using "cd /system/etc"

7) Edit the post_boot file, (editor of choice), I find nano pretty useful: "nano init.qcom.post_boot.sh"

8) Scroll to the bottom of the file:- tricky as no arrow keys, they are there, use VOL-UP + "W", "S", "A", "D" for up,down,left,write.

9) Append the contents of the screenshot in the previous post to the file.

10) Save the file:- VOL-DOWN + "O" (same keys as CTRL-O for save), then ENTER. Then exit the editor ( VOL-DOWN + "X" ).

11) Reboot your device. You can confirm (after reboot) that the cores are in fact "off" by going Settings -> Developer Options -> Under "Monitoring" --> "Show CPU Info"

12) Enjoy a *Much* longer battery life : - )

Hope it helps. Credit to AuxXxilium for the ROM and work.
[OnePlus 2 Android Development] AuxXxilium:
no need to flash ak kernel. all patches from ak are merged. ;)
[OnePlus 2 Android Development] Loopback7084:
Hey AuxXxilium, I've noticed now that a screen-off event, after using the camera, will also (after a second or so), turn off the Laser-AF. It resumes when the screen is bought back online. Hope it helps.
[OnePlus 2 Android Development] CounterC:
But we do need to flash AuxXxilium kernel afterwards or is it included in the rom? The name in about -> phone is different

Edit: I mean VisionX kernel...
[OnePlus 2 Android Development] AuxXxilium:
no need to flash. only check rom changelog if latest version is included. on regular days i build the rom after the kernel - so the latest kernel is included.
[OnePlus 2 Android Development] urnamese3:
Yes mate but I prefer ak's default settings since ak's focuses on battery life (antutu score is approximately 52000) whilst your kernel is more of a performance one (66000 in antutu).

I usually reach 5hrs of SoT with ak with heavy usage
[OnePlus 2 Android Development] jmcv12:
Flashed today's build (3/11) with VisionX 6.3, updated Gapps and Xposed and had 3 reboots in 6 hours.

Camera now works though.
[OnePlus 2 Android Development] AuxXxilium:
you know you can set the cores easily with synapse? look into "HOTPLUG" tab, there is a "Number of CPUs online at any time.". here you can set the A53:A57 cores online. i use it with the specs from Snapdragon 808 so: 4:2. your setting will be: 4:0

had one, too. look into it, but can not fix it today if i find it.
[OnePlus 2 Android Development] Loopback7084:
Yeah. Not the most straightforward way of doing it. But he asked how to do it from a Terminal Emulator. RE Synapse:- It didn't survive a reboot (all cores were enabled after, use the "Show CPU Info" Overlay to confirm). The "boost" settings were inconsistently restored (or not). And it was one more app wanting root permissions and running at start up. I turn my phone off and on a fair amount. I'd like the settings to be applied automatically without faffing. And adding it to the post_boot, means I don't have to worry about flashing UKM or installing Synapse.

I have turned the changes from boot_post.sh install a TWRP Flashable ZIP, so I just apply it after flashing your ROM builds to append the lines I need. Hope it helps.
[OnePlus 2 Android Development] CounterC:
I can confirm camera problems. How to reproduce: open Google camera, close it, clear recents then open camera app (Google or any other).

Cannot connect to camera and only a reboot fixes it.

Really a bummer for me since I use it a lot. I didn't have this in October builds...

EDIT: the camera is messed up more then I thought. It only works once after a reboot (no video though) and then it cannot connect anymore. Need to reboot every time.
[MENTION=1468412]AuxXxilium[/MENTION] do you have a clue?
[OnePlus 2 Android Development] stu5797:
Thanks again for everything. Just curious do I need to flash your kernel or is it built in to the ROM?

Thanks
[OnePlus 2 Android Development] urnamese3:
http://xdaforums.com/showthread.php?p=63641339

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] otisman:
Wow this kernel flatlines like a ***** much alohas bradah AuxXxiliumView attachment 3530850
[OnePlus 2 Android Development] CounterC:
Because it's based on [MENTION=3475639]ak.[/MENTION] He's the master of flatlines...
[OnePlus 2 Android Development] AuxXxilium:
no updates the next days. i spend all my free time to port a working cm 13.0 to our devices.
[OnePlus 2 Android Development] activegiri:
Flashed latest build, when started synapse, its saying no UCI support detected. Plz help
[OnePlus 2 Android Development] jmcv12:
Ohh sh... :(

I'm having reboots after reboots in the last 24h... downgraded even to build 31/10, but with VisionX 6.3!

Next step is flashing 31/10 with VisionX 5.2...
[OnePlus 2 Android Development] AndroidBeginNinja:
Help

Just flash the lastest rom don't flash the kernel. The kernel is already built into the ROM. The kernel is more for those who don't want to update to the current rom

---------- Post added at 12:53 PM ---------- Previous post was at 12:38 PM ----------

Flash the ukm that says vision 5.2, It is in the first post.
[OnePlus 2 Android Development] jmcv12:
I know that! I just flashed the kernel to be sure that it was that one (last one with no reboots) and because i couldn't see the date in the files to compare.

I'm now in the 31/10 build with no reboots in 4h!! Can't take any photos, but at least now i can use the phone...
[OnePlus 2 Android Development] muzhik:
seems like laser focus light doesnt shut off once you close camera app, only way to turn it off is hard reboot. I'm assuming this is what causes "cannot connect to camera" error and app FC's
[OnePlus 2 Android Development] stu5797:
Too many issues. I went back to the 10/26 version. Camera works perfect. Laser turns off when supposed to and everything seems perfect
[OnePlus 2 Android Development] CounterC:
I did the same and everything works fine. In other fora they same camera is good, maybe its a temasek issue?
[OnePlus 2 Android Development] wollax:
Did a rollback too and camera now is fine probably laser is not on for autofocus I don't see it.. Better this version anyway!
[OnePlus 2 Android Development] lovekidd:
Hi, can someone tell me which version plus which kernel is working right with the camera and no reboots? Thanks.
[OnePlus 2 Android Development] stu5797:
I Dont think it has anything to do with temasek
[OnePlus 2 Android Development] CounterC:
Version rom 26/10 + vision 5.2 kernel (or ak kernel v21)
[OnePlus 2 Android Development] lovekidd:
Great, I will try them, it seems there is no such bugs in original CM, no camera bugs and no reboots with the 2nd October version.
[OnePlus 2 Android Development] jmcv12:
Made some experiments today...

- build 3/11 + VisionX 6.3 = camera doesn't work and random reboots all over with a big battery drain

- build 31/10 * VisionX 6.3 = same results

- Grarak's build 2/11 + VisionX 6.3 = camera doens't work, much less reboots (but still some) and battery still drains

- Grarak's build 2/11 + VisionX 5.2 = camera works, no reboots for more than 6h and no more battery drains. Very stable!

I think this last combination is the best for now. VisionX 6.3 seems to be buggy. And i don't care much about the extra features that are present in this ROM, they are not a deal breaker. I don't mind having them but i prefer having a ROM a little more stable than last build and last Kernel.
[OnePlus 2 Android Development] urnamese3:
If you don't care about features you should opt for [MENTION=4443334]Grarak[/MENTION] ''s CM12.1 build

Much more stable than this rom

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] jmcv12:
I care about features, otherwise i would be using OxygenOS! Many features from this ROM i already got by using Xposed, perhaps why i don't miss them so much, since i tinkered with modules to get what i want.

Don't get me wrong: i like this ROM, and i only went to Grarak's latest build because of the camera bug, several reboots and battery drain with last [MENTION=2760529]auxxx[/MENTION]illium's ROM and Kernel build!
[OnePlus 2 Android Development] stu5797:
Auxilliam, I can't wait for you to get the kernel working perfectly and I know you will. In the meantime can you lead me to where you get temasek ROM for our device with his built in kernel?

Thanks so much!
[OnePlus 2 Android Development] urnamese3:
s.basketbuild.com/devs/temasek/Samsung%20Galaxy%20Note%203%20-%20HLTE/CM12.1

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] stu5797:
Thanks but that is for a samsung
[OnePlus 2 Android Development] urnamese3:
Yup, temasek has a note 3 (hlte) therefore the builds you see (v18.3; v18.4 etc) are first built for hlte and then devs like auxxxilium port it to other devices in our case from hlte build to opt build

Sent from my quantum computer yëyě
[OnePlus 2 Android Development] 75markus:
https://github.com/temasek
[OnePlus 2 Android Development] lovekidd:
Grarak's original ROM works great without any problems, I am currently using it with AK kernel, nothing wrong with it and very smooth.
[OnePlus 2 Android Development] Loopback7084:
Battery Optimised CPU

Hey Guys.

I've been doing some work on the 12.1 ROM pending 13.

I've stripped back /etc/init.qcom.post_boot.sh to barebones, and tweaked it for battery life.

I'll post some battery stats after running it for a bit. I'm expecting a couple of days life.

For those interested, I'll link the file below. Backup your own one and overwrite it by remounting /system read-write.

You'll need to rename the ".txt" file to ".sh" before putting it on the device.

Details:

CPU: 4 Cores Enabled. ( A53 - Two Cores, A57 - Two Cores ).

Frequencies: A53 - 960Mhz, A57 - 1.2Ghz.

Input Boost:- Disabled.

Governor: Conservative.

Chow.

NB:- Worth saying. runs smooth, no lagging, no noticeable performance loss.
[OnePlus 2 Android Development] jmcv12:
There's a new build uploaded yesterday! Anyone tryied it yet? There's nothing new in the changelog...
[OnePlus 2 Android Development] 75markus:
flashed it this morning, feels quite snappy, but had a reboot after a couple of hours, -> back to 10/26 build :(
[OnePlus 2 Android Development] MiNdAr:
Anyone else had the issue where the touch won't turn off until you have rebooted the phone?
[OnePlus 2 Android Development] AuxXxilium:
it's a known bug.

---

Rom and Kernel updated. Kernel now includes the UKM, Rom now includes Vision Kernel (not VisionX), i'll rework the stock kernel only with some patches, no features.

EDIT: not tested yet. i'm on stock to try some things.
[OnePlus 2 Android Development] saintxseiya:
Do not bother to search for it, build the 18.5 of the original Temasek yesterday and it has the same issues like this one. Camera is buggy etc. so i am back to 18.3 the last working one.

Talked to [MENTION=2332422]temasek[/MENTION] about that, he is referring to the CM sources for av at the moment.

So i will build one wikth the original av sources, let's see what happens
[OnePlus 2 Android Development] urnamese3:
If you do build the latest version and it's working please tell me. I'm still on 18.2 and reaching 5 hrs SOT.. Should I upgrade to 18.3? If so, could you link me to a working build?

By they way thanks [MENTION=1468412]AuxXxilium[/MENTION] for the coding you are doing for OPT :highfive: This device has pontentiality IMO
[OnePlus 2 Android Development] saintxseiya:
Tried to revert the changes in Android.mk for the camera, that have been merged right after the last working build, but that was not the cause. Hmmm will have to look deeper into that mess.
[OnePlus 2 Android Development] tonisauffa:
QUICK REVIEW: ROM TEMASEK'S CM ONEPLUS 2 ONE PLUS TWO BY TONISAUFFA

https://youtu.be/noyqEe8MzOk
[OnePlus 2 Android Development] HEROEdelREVES:
Link doesn't work.
[Sony Xperia M4 Aqua] shouqinz:
http://coxcafe.net/2015/10/25/19_06_30/

got this link while im searching how to root our device. has anyone try this and it works?
[Sony Xperia M4 Aqua] AndroPlus:
Some users reported it's working (see also M4 Aqua General threads)

http://xdaforums.com/crossdevice-dev/sony/root-how-to-root-5-0-lollipop-t3212108
[Sony Xperia M4 Aqua] shouqinz:
my model number e2353. it's ok to try it?
[Sony Xperia M4 Aqua] alby_var:
This guide will not install recovery and not work with new firmware updates. But i appreciate work of the developer
[Sony Xperia M4 Aqua] cubeundcube:
All for locked bootloader.

Need ADB environment.(install Android SDK, add a PATH for adb.exe, etc.)

Extract rootkitXperia_E2xxx_26.1.x.x.x.zip and run install.bat.

for M4 Aqua Dual E2363 26.1.B.1.85

rootkitXperia_E2363_26.1.B.1.85

https://www.dropbox.com/s/8icz6059kt3ztws/rootkitXperia_E2363_26.1.B.1.85.zip?dl=0

for M4 Aqua Dual E2303 26.1.A.1.128

rootkitXperia_E2303_26.1.A.1.128

https://www.dropbox.com/s/9pys6qgxtc1hixs/rootkitXperia_E2303_26.1.A.1.128.zip?dl=0

for other M4 Aqua(but for the firmware 26.1.A.1.128/26.1.B.1.85)

Those rootkit may work by edited install.bat.

Delete some lines in install.bat as below.
[Sony Xperia M4 Aqua] rosco_pc:
But you can install an older firmware, root, create a pre-rooted firmware from the latest firmware and install that on top of the rooted one. This however requires zxdualrecovery installed. This is how it is done for the z2 tablet: http://xdaforums.com/xperia-z2-tablet/general/latestlollipopprerooted231a128z2-tabletsgp511-t3100821
[Sony Xperia M4 Aqua] alby_var:
It need a recovery flashable zip, and I maked it , but in the zip file I removed xzdualrecovery because our device is not supported. The problem is or in the recovery or in the updater-script
[Sony Xperia M4 Aqua] saitejadsst:
Hey root tool kit not working for 26.1.b.2.147!!!!! Plzz help........thanks......