yashsingh1/xdaforums huggingface dataset:
[Android One (First-Generation) Cross-Device Origin] Faiyaz5yaz:
that's cool.. I haven't rooted yet ..

I remember ppl postin tat its not possible ..

thanks for info
[Android One (First-Generation) Cross-Device Origin] sumukh_rao:
Why do you say to flash kernel you need root?! That's false!
[Android One (First-Generation) Cross-Device Origin] varunrocks17:
For kernel flash u need to have a unlocked bootloader thats it....pls noobs dont say false if u dont know how the thing works
[Android One (First-Generation) Cross-Device Origin] Recognized Noob:
+1

u cant flash a recovery that way.
[Android One (First-Generation) Cross-Device Origin] syedhmed:
Good performance and surprisingly good battery life ! Cheers
[Android One (First-Generation) Cross-Device Origin] androidforever69:
Oooooooverclock

Could you add an option to overclock it too? Please!
[Android One (First-Generation) Cross-Device Origin] santoshvaza:
Can any one please tell how i can convert the linux source

https[://]github.com[/]varunchitre15[/]thunderzap_sprout

to .img format

after converting i have to boot in fastboot mode and run following command.

fastboot flash boot boot.img

sorry but i am new to such type of customizations.
[Android One (First-Generation) Cross-Device Origin] kkrraazzyy:
nice work brother :)
[Android One (First-Generation) Cross-Device Origin] varun.chitre15:
There will be one this week.
[Android One (First-Generation) Cross-Device Origin] DarkHeart Z:
Yeppie!!!!! Thanks bro for relief . At least the pioneer of mtk in south asia is active here at least . Bro ampere shown that battery current is 490ma on average when I try charging with usb cable attached in my computer . Is it a bug ? And mtk vibrator in controller app always switches back to 72 ; ( even after applying set at boot ) doesn't follow the value i set . Other than that ; Simple and rocking thunderzap , king of hell :)
[Android One (First-Generation) Cross-Device Origin] Tyaginator:
USB 2.0 ports only provide around 450mA
[Android One (First-Generation) Cross-Device Origin] pankaj.chauhan.fbd:
can thunderzap enable otg support

i have micromax aq4501 (canves one). i want to know how to enable ogt support of my android one device.

my kernel is thunderzap 3.5

---------- Post added at 11:30 AM ---------- Previous post was at 11:07 AM ----------

hi please add the link of thunderzap kernel 5.2 for my android one.
[Android One (First-Generation) Cross-Device Origin] harsh.:
1st off all don't quote the whole op.

2nd our device don't support OTG. Please read few posts ;) u can find everything. [MENTION=4953967]rustybathtub[/MENTION] and few others have already mentioned it :o
[Android One (First-Generation) Cross-Device Origin] DayzWalker:
Damn, what a long week.
[Android One (First-Generation) Cross-Device Origin] harsh.:
Hahaha.. I know why you are saying this

:p

Yup it's a long week.:p
[Android One (First-Generation) Cross-Device Origin] Mysteryagr:
What are the changes needed to be done in kernel 3.10.x to be able to boot marshmallow and Nougat!?

I want to ran marshmallow on my custom kernel...
[MENTION=4309448]varun.chitre15[/MENTION]

And sorry for off topic
[Android One (First-Generation) Cross-Device Origin] MSF Jarvis:
Check his github repo for the commits, nothing outside those is needed for kernel
[Android One (First-Generation) Cross-Device Origin] Mysteryagr:
But I need to know the commits exactly...

---------- Post added at 11:40 AM ---------- Previous post was at 11:29 AM ----------

I found this.. is it enough to run MM?

http://jeffvanderstoep.blogspot.com/2016/05/selinux-kernel-patches-for-android-n.html?m=1
[Android One (First-Generation) Cross-Device Origin] Mysteryagr:
Can someone point me to commits needed to boot MM and N on kernel 3.10 ?
[Android One (First-Generation) Cross-Device Origin] MSF Jarvis:
Don't think there's a users manual for it.

P.S. I am a very helpful guy, but please do not PM me for tech support :)
[Android One (First-Generation) Cross-Device Origin] Mysteryagr:
Okay, No problem bro

[MENTION=6552280]MSF Jarvis[/MENTION]

Would you check the link I posted above and tell me if I can cherry pick similar commits from here?
[Android One (First-Generation) Cross-Device Origin] cocogendut:
How latest version of this kernel? My AO 2nd Gen using Kernel Patcher Marshmallow for root on stock kernel, can to flash it?stable or make my hh bootloop,thanks. ?
[Android One (First-Generation) Cross-Device Origin] MSF Jarvis:
should be enough for MM to N
[Android One (First-Generation) Cross-Device Origin] Mysteryagr:
After doing some research, I think:

To boot MM on LP Kernel those patches are needed:

security: lsm_audit: add ioctl specific auditing

https://android-review.googlesource.com/#/c/132454/

SELinux: per-command whitelisting of ioctls

https://android-review.googlesource.com/#/c/146898/

SELinux: use deletion-safe iterator to free list

https://android-review.googlesource.com/#/c/147685/

SELinux: ss: Fix policy write for ioctl operations

https://android-review.googlesource.com/#/c/148733/

And to boot N on LP kernel those patches are needed:

Revert "SELinux: ss: Fix policy write for ioctl operations"

https://android-review.googlesource.com/162273

Revert "SELinux: use deletion-safe iterator to free list"

https://android-review.googlesource.com/162274

Revert "SELinux: per-command whitelisting of ioctls"

https://android-review.googlesource.com/162275

Revert "security: lsm_audit: add ioctl specific auditing"

https://android-review.googlesource.com/162276

selinux: remove unnecessary pointer reassignment

https://android-review.googlesource.com/162277

security: add ioctl specific auditing to lsm_audit

https://android-review.googlesource.com/162278

selinux: extended permissions for ioctls

https://android-review.googlesource.com/162279

Optional for backwards compatibility:

selinux: Android kernel compatibility with M userspace

https://android-review.googlesource.com/#/c/179155

Other SELinux bug fixes

selinux: do not check open perm on ftruncate call

https://android-review.googlesource.com/#/c/173321

mm: reorder can_do_mlock to fix audit denial

https://android-review.googlesource.com/140751

Source :

http://jeffvanderstoep.blogspot.com.eg/2016/05/selinux-kernel-patches-for-android-n.html?m=1

I hope it will be useful for someone else

Gonna try and test in a while.

Regards
[Android One (First-Generation) Cross-Device Origin] @sumit@007:
That's why i love ThunderZap

[MENTION=4309448]varun.chitre15[/MENTION] Sir . Please release LineageOs for Sprout4. Soon waiting from a long time.
[Android One (First-Generation) Cross-Device Origin] keerten:
How's the battery backup
[Android One (First-Generation) Cross-Device Origin] @sumit@007:
Awesome

3-5hrs. Screen on time
[Android One (First-Generation) Cross-Device Origin] keerten:
But i m not getting so 3 min and 1 % lost plz help me in 11 min its 85 from 100 please suggest some option ?
[Android One (First-Generation) Cross-Device Origin] @sumit@007:
Bro first of all remove all kernel related software if you have. Like kernel auditor or anything like that just install Setcpu and thunderzap control.

Download attachment.

Go to setcpu and select profile Option and restore and select setcpu.setcpu which is in attachments.

Now goto Thunderzap control

Goto Thunderzar charge and set AC supply to 1000MA.

Download Naptime and turn on aggressive doze.

And 1 more thing if you use internet continusly you will not get 4-5 hr screen on time you will get only 2-3 hr.

And if play games then 1-2 hr.

If you do all these things then you will get 2-3 hrs. Only maximum screen on time.

In my case i Mostly use my phone offline.
[Android One (First-Generation) Cross-Device Origin] keerten:
Attachment which attachment bro ?
[Android One (First-Generation) Cross-Device Origin] @sumit@007:
Setcpu profile you have to extract first
[Android One (First-Generation) Cross-Device Origin] @sumit@007:
I forget to upload see 2nd post

---------- Post added at 04:45 AM ---------- Previous post was at 04:44 AM ----------

If you can then try this also

https://xdaforums.com/canvas-a1/help/rr-rom-battery-problem-t3562332
[Android One (First-Generation) Cross-Device Origin] keerten:
Thank u so much bro
[Android One (First-Generation) Cross-Device Origin] @sumit@007:
Goto settings and goto Developer option find

Background Process Limit and select at most 4
[Android One (First-Generation) Cross-Device Origin] keerten:
Thanks once again
[Android One (First-Generation) Cross-Device Origin] :
hello guys , i admire this kernel and i flashed the zip on my sony c3 dual but i don't know if my kernel realy changed or not so how can i get asure ?
[Android One (First-Generation) Cross-Device Origin] Akshatk:
See about phone in settings.
[Android One (First-Generation) Cross-Device Origin] hp5942:
Wasn't this an Android One kernel, not meant for any other device like Sony C3 Dual?
[Android One (First-Generation) Cross-Device Origin] :
Deleted

---------- Post added at 04:25 PM ---------- Previous post was at 04:24 PM ----------

I am sorry i am kinda noob , could you please define (Android One) ?
[Android One (First-Generation) Cross-Device Origin] harsh.:
Android one is initiative by google in countries like India, with help of regional brands to give latest Android experience at low price. With promise to update device for 2years from launch.

1:-Android one 1st gen(sprout 4gb and 8gb) eg; mmx AQ4501,dream spice uno, etc

2:-Android one 2nd gen(mtk device:-sprout; qcolm device:- seed) eg:-lava pixel V1 etc.

and it's spreading across globe.Android one is now launching in USA also!

Inshort Android one series is low and mid budget Nexus. :o;)
[Android One (First-Generation) Cross-Device Origin] :
So my sony xperia c3 is not considered as android one device , right ?
[Android One (First-Generation) Cross-Device Origin] harsh.:
Yes! Sony was never into Android one stuff.
[Android One (First-Generation) Cross-Device Origin] :
So i guess i have to port it or that is not possible either ?
[Android One (First-Generation) Cross-Device Origin] hp5942:
Porting is not possible for that device. The device must have same chipset to port
[Android One (First-Generation) Cross-Device Origin] :
Ok thanks mate .
[Android One (First-Generation) Cross-Device Origin] Pro90041:
sir will it work on AQ4502 [MM] (sprout8)
[Android One (First-Generation) Cross-Device Origin] hp5942:
Why not? It will work
[Android One (First-Generation) Cross-Device Origin] Pro90041:
Awesome awesome awesome job best kernel ever
[Android One (First-Generation) Cross-Device Origin] Akshatk:
Guys. I'm on stock 6.0 rooted + xposed. The thundercharge isn't working for me. My adapter provides upto 2.1 A. But my device charges with only 650 mA.
[Android One (First-Generation) Cross-Device Origin] @sumit@007:
Did you enabled the thundercharge in thubderzap app?
[Android One (First-Generation) Cross-Device Origin] Akshatk:
Yes
[Android One (First-Generation) Cross-Device Origin] @sumit@007:
Try to connect phone with charger and select screen timeout for more than 30min start ampere app .

It takes some time to increase the charge rate my device takes 1-3min to get 1020mA try to measure for 1-3min.

Make sure no App is running during measurement.
[Android One (First-Generation) Cross-Device Origin] Akshatk:
After a few reboots it started working. Reached 800 mA. Thanks.

---------- Post added at 08:33 PM ---------- Previous post was at 08:31 PM ----------

The thunderzap app automatically resets it to 980.
[Android One (First-Generation) Cross-Device Origin] @sumit@007:
Select option of set on boot
[Android One (First-Generation) Cross-Device Origin] Akshatk:
Done. But i just checked and i saw that it's stuck at 650 mA. I set it to highest then when i restart the app it shows 650 everytime.
[Android One (First-Generation) Cross-Device Origin] varun.chitre15:
ThunderZap 2.0 update tonight!
[Android One (First-Generation) Cross-Device Origin] varun.chitre15:
ThunderZap 2.0 - 25 Oct

- Huge update to kernel.org mainline 3.4.104

- Merged Updates from Google's mediatek repo

- Improved touchscreen performance

- Improved boot time

- Improved front camera quality

- Patches by NVIDIA to improve power efficiency - tested and results are noticeable

- init.d support

- Automatic busybox installation

Download link on OP and more details about this release on my site
[Android One (First-Generation) Cross-Device Origin] Vkas Raj:
Could i install it on CM 11 ???
[Android One (First-Generation) Cross-Device Origin] restlessgeek:
Do a fresh install,.else you will end up with FCs
[Android One (First-Generation) Cross-Device Origin] deccan451:
Wipe dalvik cache before flashing kernel.. If necessary wipe cache also.. They optimise changes
[Android One (First-Generation) Cross-Device Origin] ravinshende:
installed after CM11 and lost SIM1 signal

I installed this after installing CM11 and now lost SIM1 singnal.

What can i do to fix this?
[Android One (First-Generation) Cross-Device Origin] varun.chitre15:
This kernel is not compatible with cm11 or any cm based ROMs. This has been repeated over and over so many times.
[Android One (First-Generation) Cross-Device Origin] ravinshende:
OK. Sorry. I did not search much. Just went through the updates on your site. Rooted my A1 today so thought I'd update the kernel too. Nevermind, I ll do a clean install again.

Cheers! And thanks for the good work.
[Android One (First-Generation) Cross-Device Origin] ruhez:
NEED HELP

Hello sir i am new to this.please can you tell me

1) is this requires root and cwm

2) also will i get latest update from google after flashing this.....

3) will i get latest update from google after rooting and flashing cwm

AND

4) WHAT IS THE DIFFERENCE BETWEEN MY STOCK ROM AND THIS KERNEL FLASH ZIP

PLEASE DO LET ME KNW I AM NEW TO THIS AND REALLY INTERESTED IN DOING THIS..I OWN A MICROM:rolleyes:AX CANVAS A1....
[Android One (First-Generation) Cross-Device Origin] coolkoushik07:
Anyone who flashed v2 of this kernel can tell about battery life improvement??

Sent from my Xperia Z1 Compact
[Android One (First-Generation) Cross-Device Origin] startracker:
I hope you are talking of battery usage and not battery life !!!

Anyway there's no major difference
[Android One (First-Generation) Cross-Device Origin] harsh0143:
[MENTION=4309448]varun.chitre15[/MENTION] Bro plz add double tap to wake up feature in kernel if possible thanxxxx 4 update...
[Android One (First-Generation) Cross-Device Origin] Rishabh-The Developer:
Screenshots ?????
[Android One (First-Generation) Cross-Device Origin] akhilnarang:
Will this work with ART as well?
[Android One (First-Generation) Cross-Device Origin] deccan451:
It's improved stock kernel.. screenshots of what ??

It works but art is experimental in kitkat better use dalvik ...
[Android One (First-Generation) Cross-Device Origin] Sohil876:
IMO double tap to wake on a device with LCD screen is completely pointless, cause even if it works it will consume wayyyy more battery. AFAIK the cpu wont sleep as it should on lock, plus your touchscreen with digitiser will be on as well! as the screen needs to be on to register touch, on a led thats another thing altogether.
[Android One (First-Generation) Cross-Device Origin] ckhatry007:
Lost and lost again!!!

After flashing it, with the cache wiped, i lost root and had to flash superSU. After flashing that i lost titanium backup and had to reinstall it other than that, all great!!! All this on AICP rom and also, do i need to reflash it with a clean wipe??

THX for this.
[Android One (First-Generation) Cross-Device Origin] Amit Sarkar:
otg support???

searched a lot about otg support....since its the only custom kernel, can we have otg support to it...!

if possible...! :)
[Android One (First-Generation) Cross-Device Origin] santoshvaza:
Hi [MENTION=4309448]varun.chitre15[/MENTION]

Successfully softbricked, when flashed over PACROM ;):laugh::cool:
[Android One (First-Generation) Cross-Device Origin] Androidoo:
its not for custom roms why dont u search thread for your possible reasons ANN THEN POST

---------- Post added at 03:18 PM ---------- Previous post was at 03:17 PM ----------

same for u

---------- Post added at 03:19 PM ---------- Previous post was at 03:18 PM ----------

as far as i knw its a hardware thing not just kernel coding
[Android One (First-Generation) Cross-Device Origin] santoshvaza:
[MENTION=4309448]varun.chitre15[/MENTION]

Is suck tweak available for CM11?
[Android One (First-Generation) Cross-Device Origin] bhupatib:
Hi Varun, since your kernel supports f2fs, is there a way to convert our data partition to f2fs for improved performance?
[Android One (First-Generation) Cross-Device Origin] Archies:
This kernel support on cm12 by varun??
[Android One (First-Generation) Cross-Device Origin] wisnuprattama:
can it works to other phone with mtk6582 ? :confused:

sorry to asking that
[Android One (First-Generation) Cross-Device Origin] tanuj123:
Cyanogen 12

Guys i have installed CM12 on my Android One Device. Can i flash the kernal on it ? or is it only for Kitkat version

Ok- sorry i searched the forum and got my answer that it is not.. Sorry again ..ignore
[Android One (First-Generation) Cross-Device Origin] varun.chitre15:
ThunderZap 2.0 - 27 Dec

- Introducing ThunderQuake Engine 1.0 - Vibration Intensity Controller for MTK vibrators

- Compatibility with CyanogenMod 11

- Upstream update to 3.4.105

- Optimized square root algorithm

- Disabled CRC check in MMC for 30% extra performance with IO

- Reduced latencies in SoftIRQ

- Reduced VFS cache pressure for better battery

- Optimized dirty ratios to reduce standby CPU consumption

- Removed a lot of Mediatek debug ****

- EXT4 FS patch from Linux 3.11

- Interactive build script with bootimage creation code

Link on OP, visit my site post for more details
[Android One (First-Generation) Cross-Device Origin] varun.chitre15:
Third post updated with a guide to use ThunderQuake Engine
[Android One (First-Generation) Cross-Device Origin] Faiyaz5yaz:
looks grt on ppr ..

will test and report !!!

thanks a lot =D
[Android One (First-Generation) Cross-Device Origin] Akshatk:
now that it supports cm11.....will it now support all roms based on cm11....like pac rom?
[Android One (First-Generation) Cross-Device Origin] akhilnarang:
It works on PAC ROM

Has improved battery life
[Android One (First-Generation) Cross-Device Origin] xdaaritra:
Doesn't support on cm11 by flashing zip

After flashing the thunderzap 2.5 on cm11, I'm getting the error com.android.phone stopped working. I thought you said it works with cm11. Am I doing anything wrong?? Help please.
[Android One (First-Generation) Cross-Device Origin] akhilnarang:
Yup it works on PAC
[Android One (First-Generation) Cross-Device Origin] hjmodi:
Support request

Please add support for earpods

it will be very nice of you:o and very easy also;)
[Android One (First-Generation) Cross-Device Origin] stirredo:
I can't seem to change the vibrate intensity from adb shell

when I type:

adb shell echo "6" > /sys/kernel/thunderquake_engine/level

I get the error:

The system cannot find the path specified.

How do I execute it?
[Android One (First-Generation) Cross-Device Origin] akhilnarang:
Try running in terminal emulator
[Android One (First-Generation) Cross-Device Origin] ravinshende:
Flashed on {sprout}[RC-1][23/12] - CyanogenMod 11. Will post results after some use. I don't plan to tweak kernel settings. Just looking for improved performance and battery life.

Cheers for the good work.
[Android One (First-Generation) Cross-Device Origin] StanleyD:
Flashed version 2.5 on my stock rom and after rebooting, no network. Has anyone else faced it?

Should i rollback to the previous version?

Any suggestions..
[Android One (First-Generation) Cross-Device Origin] varun.chitre15:
You must have flashed CM11 version of the kernel. Check which zip you downloaded
[Android One (First-Generation) Cross-Device Origin] Johnny199314:
doubt

just asking.....using kernel..can u build double tap wake....for this phone is that possible..and adding governors..?just asking i dont know much about it so asking...? AND CAN U SY ME WHICH IS THE BEST GOVERNOR N I/O SCHEDULER..?TO USE
[Android One (First-Generation) Cross-Device Origin] dipendra.info:
Will someone make a kernal that support swipe to wake or double tap to wake support for androidone phones?
[Android One (First-Generation) Cross-Device Origin] aalakib07:
is it possible to support OTG in A1 by custom kernel? if possible then do something... :(
[Android One (First-Generation) Cross-Device Origin] ish.aa.n:
[MENTION=4309448]varun.chitre15[/MENTION] can u add dt2w s2w OTG and battery life features in thunderzap...like u did for thunderzap on xperia l? That was bloody awesome.... I installed elementalx 2.5 on my cousin's nexus 5... And that was like super coool...OTG and dt2w are most important thanks....
[Android One (First-Generation) Cross-Device Origin] iremofaisal:
Some Questions.

1) I have created a full Nandroid backup using Philz Recovery. If I ever want to go back to the stock kernel, will I be able to do it by restoring the backup from Philz Recovery?

2) Will I be able to install the OTA updates on my phone after flashing this kernel?

3) Is there any way to backup the stock kernel ONLY ??

---------- Post added at 04:26 PM ---------- Previous post was at 04:22 PM ----------

First type this code:

adb shell

Then, type

echo "6" > /sys/kernel/thunderquake_engine/level
[Android One (First-Generation) Cross-Device Origin] iremofaisal:
Just flashed it using Philz recovery! And I found that after flashing this Kernel, rooting via flashing SuperSu zip file don't work anymore.

Rooting was not properly working. So I did the following things:

1) Full unroot from SuperSU app.

2) Boot into Philz recovery

3) Click on "Yes -Repair Root Access" or a similar message.

4) Done! Now your phone will be rooted.

5) Install SuperSU app from Google Play Store.

------

Didn't notice any improvement in battery backup yet.

Anyways, good work :)
[Android One (First-Generation) Cross-Device Origin] aaaaaaziskurnia:
I was wondering if I could make the kernel "thunderzap" for other devices such as Lenovo S650 that has same chipset and near same specs. how do? because the kernel source MediaTek makes me confused. please, guide me. Sorry for bad english. :D
[Android One (First-Generation) Cross-Device Origin] ish.aa.n:
Can varun pleaseeee add 3 of the features from thunderzap yureka here...:

# wake gestures... (M,E,O,W etc...) And dt2w

#the multi core charging mod

# and better battery life....

Is it possible?
[Android One (First-Generation) Cross-Device Origin] akhilnarang:
Hardware needs to support all the features, it probably doesn't
[Android One (First-Generation) Cross-Device Origin] ish.aa.n:
Akhilnarang.. The hardware supports wake gestures.... And you on cm11……?
[Android One (First-Generation) Cross-Device Origin] akhilnarang:
I meant for the other things, it probably doesn't have(not sure, just assuming)

I'm on cm12
[Android One (First-Generation) Cross-Device Origin] chocowilliam:
Cant try, download link is not working.
[Android One (First-Generation) Cross-Device Origin] arpanbag1996:
I installed stock 5.1 (Philippines MyPhone Uno) on my Canvas A1. Will ThunderZap work on it?
[Android One (First-Generation) Cross-Device Origin] deccan451:
Read post before comment how could you use KitKat kernel on lollipop ...
[Android One (First-Generation) Cross-Device Origin] arpanbag1996:
Got it. Hope lollipop version of ThunderZap will release soon...:good:
[Android One (First-Generation) Cross-Device Origin] Saurabh K:
perfectly stock.

I got 20849 on antutu just by flashing the stock rom.
[Android One (First-Generation) Cross-Device Origin] Saurabh K:
Does it work on stock lollipop 5.1 ?
[Android One (First-Generation) Cross-Device Origin] akhilnarang:
No, kernel source for 5.1 not released yet
[Android One (First-Generation) Cross-Device Origin] jaskiratsingh:
How can i revert to stock kennel from thunderzap? Thanks.
[Android One (First-Generation) Cross-Device Origin] Dhamithl:
Flash stock boot.img that'll bring back your stock kernel.

BTW. use Flashify to backup your kernel or recovery before flashing custom ones. It makes restoring stock ones easy!