yashsingh1/xdaforums huggingface dataset:
[Moto G 2015 Original Android Development] psndna88:
here it doesn't work in Stock marshmallow itself..... see below Motorola response to my question.

Recently you requested personal assistance from our on-line support centre. Below is a summary of your request and our response.

If this issue is not resolved to your satisfaction, you may reopen it within the next 7 days.

Thank you for allowing us to be of service to you.

*SubjectEmail- Query related to sensors**Discussion Thread*Response Via Email (Javed)05/04/2016 04.25 PMCustomer Reference number :160405-017105

Dear Parvinder,

Thank you for contacting*Motorola.

We apologise for the inconvenience caused.

We understand your concern regarding the availability of compass and gyroscope sensors in Moto G Turbo devices.

As per your concern we would like to inform you that compass and gyroscope feature are not active in Moto G Turbo devices.

However we will share your feedback to our concern team.

For additional questions we are here to help. You can reach us by replying to this email, visiting our website*www.motorola.in, or calling us at our toll-free number 18001022344 (Mon-Sun 9 a.m to 9 p.m.).

We appreciate your patience and value your business.*

Regards,

Priyanka

Motorola*India*Customer By Web Form (Parvinder)05/04/2016 07.39 AM

are compass and gyroscope really missing?

they are not detected by any apps..

atleast a phone released at this year should have these basic necessities !!

are these sensors not enabled in kernel ?

*[---001:001127:49278---]
[Moto G 2015 Original Android Development] Akash sky:
They said ...not active. But they are present in the device interesting? But You know what these peoples are bots :D they hardly understand internal problem of device but yeah now chances are increased ... i don't know about kernel but in my case problemwas with sensor.so file in the rom libs/etc/hardware folder.
[Moto G 2015 Original Android Development] psndna88:
i did 200 mb zram....... in script...

yes turbo... maybe same for osprey, try thunderplug threshold around 45 to 50 when gaming...

hv to see... ?
[Moto G 2015 Original Android Development] psndna88:
delete
[Moto G 2015 Original Android Development] jsday187:
sensors broken in osprey 1540, aicp rom, work fine if I flash stock cm13/aicp kernel boot.img, if logs or other info would help let me know, thanks
[Moto G 2015 Original Android Development] Akash sky:
Moto g4 plus launched with camera2 api.....and very

very very good camera app...so sad XD
[Moto G 2015 Original Android Development] dado_13:
If i correctly understand it, the zram for osprey is 710mb? If I'm wrong, what's is benefit to have smaller zram? Anyway, thank you for your hard work, I really appreciate it.
[Moto G 2015 Original Android Development] vicky90:
[MENTION=4365701]psndna88[/MENTION] After flashing this kernel some sensors are not working, like in maps compass sensor or magnetic sensor on some apps and I'm getting notifications to uninstall Moto sensor services.
[Moto G 2015 Original Android Development] psndna88:
osprey?
[Moto G 2015 Original Android Development] vicky90:
Yes, osprey stock MM.
[Moto G 2015 Original Android Development] sticktornado:
Ditto.
[Moto G 2015 Original Android Development] psndna88:
v2.4:-

add support for GCC 6.0 and switch to UBERTC gcc-6.0-arm-eabi toolchain

includes my new compiled busybox [BusyBox v1.25.0_AGNi_kernel->psndna88@xda (2016-05-17 21:51:16 IST)]

ppp: take reference on channels netns

squash commit: update zram & zsmalloc

changed thunderplug threshold

enable filesystem-sync on suspend & fix ak09912 sensor (osprey)

zram size change (osprey 300MB)

- lemme know any unexpected behaviour, as this time used new gcc 6.0 toolchain

- UBERTC seems to show good responsiveness & better app opening speed (need feedbacks)
[Moto G 2015 Original Android Development] Forever Alone:
My 1 TB Harddisk (WD MyPassport with 3.0) is not working with Moto G (tried OTG) .. With PC it shows an LED light but when connected through OTG it didn't glow and also the HDD didn't connect to PC. Is this related to Kernel?? If so then please implement this feature.. Thanks.. N you're doing an amazing job here bro!!
[Moto G 2015 Original Android Development] psndna88:
the device needs atleast 500mA usb current (usb 2.0), but OTG support cannot provide that much from the battery, so its light won't turn on.

so use external powered usb hub and connect hdd through it onto OTG
[Moto G 2015 Original Android Development] Forever Alone:
I didn't understand what u meant by external USB hub. Can u pls put a link of that thing?? :)
[Moto G 2015 Original Android Development] kosmasgr:
2.4 is faster than 2.3 with the same settings :)

Significantly faster I think ;)
[Moto G 2015 Original Android Development] Forever Alone:
Alright so my HDD worked with my tablet (KitkAt) but this isn't still detecting the HDD. I also saw in youtube a person connecting same HDD to Moto G 1 (Falcon).. How's that possible then?

Edit: working on Mi Redmi 1S (Gods Kernel) too -_-
[Moto G 2015 Original Android Development] gauti_1998:
Can you share your settings :) if possible
[Moto G 2015 Original Android Development] HelpMeruth:
New Uber toolchain and gcc 6.0.0 helps :)

---------- Post added at 05:17 PM ---------- Previous post was at 05:16 PM ----------

Just stock settings are best settings we have a script that sets the settings for you, you have to have SuperSU to execute the script automatically if you encounter problems
[Moto G 2015 Original Android Development] skooter32:
Can u upload the script if u have
[Moto G 2015 Original Android Development] kosmasgr:
Cpu governor : Impulse , min 200 max 1363

I/O : Fiops 256-256

Thunderplug Enable

Zram 300
[Moto G 2015 Original Android Development] psndna88:
ill see..
[Moto G 2015 Original Android Development] Akash sky:
Moto g3 and turbo support storage upto 32gb that to in fat32 format.... it is never going to work with ntfs partition of such big size.
[Moto G 2015 Original Android Development] charutl:
cpu temperature ?

Mine CPU temperature is 46 ...is this right?
[Moto G 2015 Original Android Development] ismaelghr:
C an you work your kernel for lollipop 5.1.1 in merlin?
[Moto G 2015 Original Android Development] HelpMeruth:
Depends on average temps in your country and how much you use your phone
[Moto G 2015 Original Android Development] charutl:
pls tell me what is the idle cpu temperature of moto g???
[Moto G 2015 Original Android Development] psndna88:
anything below 50C on idle should b ok
[Moto G 2015 Original Android Development] SuperSaket:
I searched a little bit. Then I format my 1 TB HDD to FAT32. This FAT32 formatted HDD works on my Redmi Note 3 but not my Moto G3. I guess this is a kernel issue of not drawing sufficient power to run HDD. I guess the HDD will only work if somehow kernel are adjusted to draw more current to run HDD. :laugh:
[Moto G 2015 Original Android Development] gregferns:
My Moto G3 Turbo is comfortably using a 64Gb class 10 sd card... so it supports 64gb evidently....
[Moto G 2015 Original Android Development] Forever Alone:
Yea true. If it was the of Partition then it would have shown EMPTY STORAGE like it does in all phones until u use ChainFire's STICKMOUNT app. Also the WD won't glow which indicates that it's not getting enough power.

Also thanks developer for researching for this issue. Would be really great if you could implement it.

Ps: It doesn't matter 32 / 64 GB storage size on phone.. You can connect even 2 TB to your phone via OTG
[Moto G 2015 Original Android Development] SuperSaket:
hmmm... just never messed up with kernel actually don't know how. Wish I can pull this off right now :D

Gotta learn more about developing roms/kernels and stuffs...:good:
[Moto G 2015 Original Android Development] rai7878:
Why all 4 cores are stay online everytime? Can you fix this or just provide the hotplug options to manage running cores?
[Moto G 2015 Original Android Development] Akash sky:
I still dont think it will work without any external power .... it is just not possible
[Moto G 2015 Original Android Development] SuperSaket:
Use Thunderplug cpu hotplug for this agnikernel. This will fix the issue.
[Moto G 2015 Original Android Development] Forever Alone:
This is possible bro. My WD PASSPORT 1 TB works with Redmi 1S & karbonn tablet and also with Moto G 1 (Falcon) as seen on a YouTube video.
[Moto G 2015 Original Android Development] Akash sky:
Through Otg only ?
[Moto G 2015 Original Android Development] .:Crack:.:
Am I the only one having the bug that usb debugging doesn't stick after reboot? I have to re-enable it after every other reboot.
[Moto G 2015 Original Android Development] Mkfermam:
Hey guys,

How to configure Thunderplug sampling rate and load threshold? To balanced performance/battery. I had some lags in Clash of Clans. I have one XT1544 (Dual Sim HDTV, 1 GB Ram, custom rom Blisspop.

Thanks!
[Moto G 2015 Original Android Development] Forever Alone:
Yeah..!!! No external power.
[Moto G 2015 Original Android Development] HelpMeruth:
Its because of your rom not the kernel

---------- Post added at 05:09 AM ---------- Previous post was at 05:08 AM ----------

Check kernel adiutor and change the settings to your needs

---------- Post added at 05:10 AM ---------- Previous post was at 05:09 AM ----------

Does it work on stock kernel? If not its just not supported i guess
[Moto G 2015 Original Android Development] Forever Alone:
My tablet is on stock kernel only and I have not tried this with stock kernel on my RedMi 1S. Moto G (Falcon) supports HDD even with stock kernel..
[Moto G 2015 Original Android Development] DuraiJiiva:
Hi

Battery backup is not gud from 2.3 update .. 2-3hr only on screen missed usage hike and coc . Using thunderplug default setting. Osprey .........stock 6.1 optimized rom. Suggest some best setting. Also using greenify and amplify
[Moto G 2015 Original Android Development] HelpMeruth:
I recomment using turbo from with SuperSU and agni kernel v2.4 with impulse governor
[Moto G 2015 Original Android Development] DuraiJiiva:
Turbo from???? Already using impluse governor
[Moto G 2015 Original Android Development] HelpMeruth:
Sorry typo## its Turbo ROM
[Moto G 2015 Original Android Development] Johny Cipeli:
Guys, i think i've been installing this kernel in the wrong way, because i don't have the "hotplug" option available here
[Moto G 2015 Original Android Development] kosmasgr:
Dirty reflash ( wipe cache and dalvik only ) your rom and gapps (if you are using cm13 ).

After first boot , reboot to recovery and flash kernel ;)
[Moto G 2015 Original Android Development] Johny Cipeli:
I've just done this and anything happen, the hotplug don't appear :confused:
[Moto G 2015 Original Android Development] Stefano 99:
Run in kernel adiutor the script called agnithunderplug ;)

Stefa99

Inviato dal mio Moto G 2015 (Stock 6.0.1)
[Moto G 2015 Original Android Development] .:Crack:.:
I highly doubt that. Why do you state assumtions as if they were facts? Not a big fan of that.

Haven't changed anything but the kernel so it HAS to be the kernel. I've been running the same ROM, stock 6.0.0 xt1541, since "forever". The kernel might not be fully compatible with stock 6.0.0 (anymore)? Anyhow it seems like something resets USB debugging on stock 6.0.0 in this kernel.
[MENTION=225651]op[/MENTION] Thank you for the kernel. It has been working very good (apart of the usb debugging thing)! :good:
[Moto G 2015 Original Android Development] Bobtehblob:
Vibration strength doesn't stick on boot for me. CPU settings for example do. Not sure if it's a kernel adiutor issue or the kernel.
[Moto G 2015 Original Android Development] gauti_1998:
Stock optimized rom + agni kernel + greenify

this what i m getting :good:

Thanks for kernel
[Moto G 2015 Original Android Development] .:Crack:.:
Vibration also doesn't stick for me. Next to the USB debugging.
[Moto G 2015 Original Android Development] HPM8294:
Stock Bootloop in Impulse all frecuency
[Moto G 2015 Original Android Development] ndasarathy:
hello,

i loved agni kernel on my note 2. i flashed squid kernel on my moto g3. if i flash this kernel it will replace the squid kernel right?
[Moto G 2015 Original Android Development] hekomat:
Dirty flash your rom first and then the kernel, to avoid any conflicts.
[Moto G 2015 Original Android Development] Johny Cipeli:
Guys, what exactly means "make a dirty flash"? Because I've installed the stock, then i flashed the cyanogenmod, after that i flashed the gapps, and finally the AGNI, then i rebooted, and the hotplug still not appearing, i have already emulated the Init.d and executed but hotplug is not here
[Moto G 2015 Original Android Development] Hedied4me:
Dirty flash means to clean only cache+dalvik then to flash the current rom your using plus the different kernel and reboot.
[Moto G 2015 Original Android Development] HelpMeruth:
Exactly, just flash your current ROM again and after that flash agni kernel (do this only if you already have a custom kernel installed)
[Moto G 2015 Original Android Development] Johny Cipeli:
Thanks mates, it works, but when i Flash the "xposed*.zip" , the hotplug

disappear again
[Moto G 2015 Original Android Development] rwxr-xr-xis:
Enable emulate init.d on kernel adiutor
[Moto G 2015 Original Android Development] cesarXP:
With the 2.4 v in my Merlín device the battery drains so fast than other kernel versions
[Moto G 2015 Original Android Development] psndna88:
v2.5:-

enable Zsmalloc's PGTABLE_MAPPING

enable Memory Resource Controller Swap Extension

enable Memory Resource Controller Kernel Memory accounting

enable Optimize very unlikely/likely branches (JUMP_LABEL)

enable VMALLOC_SAVING

disable NO_VM_RECLAIM

disable MMC_PERF_PROFILING

disable LOCKUP_DETECTOR

disable DEBUG_MUTEXES

disable DYNAMIC_DEBUG

netfilter: x_tables: check for size overflow

set touchboost frequency to 800Mhz for cpu0 (merlin)

set swappiness=60

set zram sizes: merlin=600MB, osprey=400MB

set zram max_comp_streams: merlin=3, osprey=1
[Moto G 2015 Original Android Development] Johny Cipeli:
Thanks for this version, but my friend i woud like to ask you if couldn't make a post with the right way to flash it, cause sometimes the zram works well, sometimes the hotplug appears, then i reboot the phone and it disappears again. :p
[Moto G 2015 Original Android Development] HelpMeruth:
We're working on it, we already now the scripts have some issiues on some roms. i recomment using turbo rom because i can confirm it works on that rom. and dont forget flashing SuperSU
[Moto G 2015 Original Android Development] Forever Alone:
Not in hurry mate, but did you find any solution for my Hard disk problem?

Thanks.
[Moto G 2015 Original Android Development] cesarXP:
With the new version the device feels a little more cold thanks for your work

Merlín
[Moto G 2015 Original Android Development] kosmasgr:
Which is the right way to flash the new build from 2.4?

Dirty flash ROM , gapps and the kernel or only kernel?
[Moto G 2015 Original Android Development] ricki13th:
Yeah can you give some details on how to dirty flash coming from another custom kernel in my case: Optimus kernel all on a custom rom in this case: NX Rom thanks
[Moto G 2015 Original Android Development] ismaelghr:
What optimized rom? [MENTION=6079279]gauti_1998[/MENTION]
[Moto G 2015 Original Android Development] gauti_1998:
[ROM][6.0.1][XT1550- 2GB RAM] STOCK Motorola 6.0.1 ROM- OPTIMIZED by amansingh63
[Moto G 2015 Original Android Development] ismaelghr:
Ok great, merlin hasn't rom stock developers ?
[Moto G 2015 Original Android Development] HelpMeruth:
Dirty flash rom and flash new kernel
[Moto G 2015 Original Android Development] psndna88:
v2.6:-

disable Memory Resource Controller Swap Extension

disable Memory Resource Controller Kernel Memory accounting

disable RCU boosting

disable SCHED_SMT

Re-coded the activation of selected hotplug-type and execution of agni's default settings on boot

set zram max_comp_streams: merlin=1
[Moto G 2015 Original Android Development] kosmasgr:
Thanks . I choose thunder plug during installation but it doesn't activate on kernel adiutor. I also check init d emulation and execute it.

Device osprey
[Moto G 2015 Original Android Development] psndna88:
in terminal do this n lemme know:

su

insmod /lib/modules/thunderplug.ko

can u see it in kernel auditor?
[Moto G 2015 Original Android Development] kosmasgr:
Thank you :)

Yeah now it's OK
[Moto G 2015 Original Android Development] psndna88:
check this zip, tell me if it activates it automatically or not
[Moto G 2015 Original Android Development] kosmasgr:
Same dude . need to use your code on terminal emulator to activate hotplug :)
[Moto G 2015 Original Android Development] psndna88:
ok test this:
[Moto G 2015 Original Android Development] kosmasgr:
Same again. Doesn't appear automatically or after execution of thunder plug script.

Take your time man :) We can use terminal code for now :)
[Moto G 2015 Original Android Development] psndna88:
ill hv to remove the module system and do something else
[Moto G 2015 Original Android Development] charutl:
your code is not working for me...folder not found
[Moto G 2015 Original Android Development] Johny Cipeli:
My problem is exactly as "kosmasgr", and when I open the Virtual memory on the Kernel Auditor, all of the settings are as default; swapness: 100, z-ram: 510....
[Moto G 2015 Original Android Development] cesarXP:
All ok in Merlín device
[Moto G 2015 Original Android Development] czboyshubham:
Same here,can't find hotplug in kernel adiutor?
[Moto G 2015 Original Android Development] HelpMeruth:
Delete
[Moto G 2015 Original Android Development] psndna88:
v2.6:- (REWORKED FINAL VERSION)

disable Memory Resource Controller Swap Extension

disable Memory Resource Controller Kernel Memory accounting

disable RCU boosting

disable SCHED_SMT

Reworked the activation of selected hotplug-type and execution of agni's default settings on boot

set zram max_comp_streams: merlin=1

selinux: disable enforcing mode and set permanent permissive (solves all osprey settings issues, and some merlin permission denials as well)

my one-stop solution for fix script issues across any rom:

selinux: disable enforcing mode and set permanent permissive
[Moto G 2015 Original Android Development] kosmasgr:
Thanks. Hotplug issue solved ? :)

Need to do something else about enforcing/permissive mode or simply flash the new kernel ?
[Moto G 2015 Original Android Development] HelpMeruth:
Just flash and go ;)
[Moto G 2015 Original Android Development] psndna88:
the kernel now has enforcing mode of selinux completely disabled.

it will always be permissive.

u cannot enable enforcing untill u recompile the kernel with change in its build config.
[Moto G 2015 Original Android Development] psndna88:
about the hdd on otg, i checked, the kernel sources are already set to provide 500mA power via otg.. ill hv to see why it cant work with ur hdd..
[Moto G 2015 Original Android Development] Johny Cipeli:
Mate, it works ok, hot plug, Zram, everything :good: , but the phone is really laggy, the transitions are taking sometimes to happen, when you roll the page its seems as if i'm playing GTA V in a mobile :laugh: ( really laggy :p ), but the settings in the kernel auditor is working well
[Moto G 2015 Original Android Development] HelpMeruth:
You dirty flashed the ROM before kernel? Do you have any mods installed? Osprey/Merlin?
[Moto G 2015 Original Android Development] Johny Cipeli:
L-speed friend, i'll try this version without using this, cause the previous versions, both, worked well with each other :D
[Moto G 2015 Original Android Development] sethukrishnan:
Battery backup for v 2.6???
[Moto G 2015 Original Android Development] HelpMeruth:
Try it yourself ;) I highly recommend it
[Moto G 2015 Original Android Development] Johny Cipeli:
Mate, i flashed the kernel without any tweaks or things like that and the lags reduced a lot, but sometimes they come back again, but i'll come back to the v2.5 and wait to the next version
[Moto G 2015 Original Android Development] cesarXP:
In Stock rom in Merlin some configurations dont apply
[Moto G 2015 Original Android Development] psndna88:
glimpse of very near future ? :-
[Moto G 2015 Original Android Development] jitkr:
is this only kernel. means i have to flash recovery[TWRP] available ?
[Moto G 2015 Original Android Development] Gravemind2015:
Flash/ boot into twrp and flash this kernel. Use kernel adiutor to manage it if you want to.[emoji4]

Broadcasted from Zeta Reticuli
[Moto G 2015 Original Android Development] jitkr:
It means TWRP not bundled with kernel. Recovery to flash TWRP and Kernel to flash Agni. is it?

and what is hotplug during flash.

Actually i had left android and used Lumia for 2 yrs and with my previous device i have to flash only kernel which bundles recovery in it, So getting confused.
[Moto G 2015 Original Android Development] Gravemind2015:
Twrp can be installing by following here-

http://www.xda-developers.com/how-to-install-twrp/

Sry I could not understand you fully but its

Bootloader menu>flash twrp using above guide>scroll down to recovery, press power to boot into recovery>go to install>locate agni kernel zip file.

I don't know about hotplug as I am not running this kernel currently. You can check that using kernel adiutor app.

Broadcasted from Zeta Reticuli
[Moto G 2015 Original Android Development] psndna88:
v2.7:-

revert the previous zram updates

updates to lib/bitmap,idr,genalloc,sort,ratelimit,digsig,halfmd4,kfifo,lcm

usb & net commits

update lib/random32 and use e/frandom,prandom_u32 functions in many places

thunderplug: auto disable bcl hotplug when thunderplug is active by using the new hotplug_switch tunable in bcl

fix derps in zzmoove

Introducing my

AGNi Control app

with supported scripts:

-simplified settings at user's disposal! (more are to come)

-each selection in this app is related to a particular script, which is moved to init.d and executed and user settings are preserved on boot by init.d

-on-the-fly switching between thunderplug/clusterPlug/statehelper/No-hotplug options

-the app will lock some settings by read-only permissions, hence those are not changeable by other apps like 'Kernel Auditor', to have consistency of settings.

[IMG="AGNi Control (merlin screenshot)"]http://dl-1.va.us.xda-developers.com/3/7/6/7/2/7/4/1464633876649.jpg?key=Z35_QnvnV1az8kZnKaPLoQ&ts=1464682521[/IMG]
[Moto G 2015 Original Android Development] kosmasgr:
Thanks dude :) no need kernel adiutor right ?
[Moto G 2015 Original Android Development] psndna88:
nope, u can if u want to monitor things
[Moto G 2015 Original Android Development] sticktornado:
We could at least try a CPU OC. eng.stk with his blu_spark kernel hit 1612 MHz!
[Moto G 2015 Original Android Development] HelpMeruth:
Stock compatibility comfirmed, tested on stockfirmware and the optimized zip version.

If you have problems, first try clean flashing the rom or ask for help.

note: Booting the rom took a few minutes and when first boot fails, let it reboot.

Just let it sit and grab some food or something,

so dont quit after 30 seconds.
[Moto G 2015 Original Android Development] charutl:
Stock optimized 6.0.1

now iam on optimized rom with optimus kernel .......now am going to flash this kernel....so pls tell me the procedure & confirm me wifi is working or not?
[Moto G 2015 Original Android Development] HelpMeruth:
WiFi is working, the proper procedure is Clean flashing the rom with kernel(wipe everything and flash rom zip & kernel zip)

but that will delete your apps(you keep your photo's and downloads etc.),

When wiping use advanced wipe and do not wipe internal and sdcard, only (Dalvik/ART)Cache, System and Data

second option is dirty flashing the rom and kernel(flash the rom zip & kernel zip ontop of your stock rom)(I dont recomment this)

-------------------------------------------------------------------------------------------------------------------------------------------------

Next build will unlock 1.4 Ghz for osprey
[Moto G 2015 Original Android Development] sticktornado:
Perhaps an attempt at 500/525/540 MHz? We seriously need this GPU to push more.
[Moto G 2015 Original Android Development] psndna88:
will try in near future