yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend P6, Mate] ali.loves.xda:
Thanks for answer:)

This rom better?
[Huawei Ascend P6, Mate] NicholasMarzio:
It is the same as B708 but a few thing have changed which are in the change log of the ROM.

-International

-Removed Chinese apps

-GAPPS integrated

-Rooted

-Added one hand UI

-Gloves mode

-Motion control

-Big contact picture in dialler

-KangVIP Tools integrated
[Huawei Ascend P6, Mate] ali.loves.xda:
Ok

Thanks for answer:)
[Nexus 5 Q&A, Help & Troubleshooting] Mathorlaz:
Hello guys!

I love my Nexus 5, and I've always loved experimenting with different ROMs. I'm having a strange issue with the radio, with the following symptoms:

- The radio works just fine just after booting, but after turning the data off and back on, it just does not come back to life.

I've experienced this with:

- Stock L Developer Preview + Franco Kernel

- OptiPop + Code_Blue Kernel

Flashing the radio doesn't always solve the issue. Is anyone else having the same issue? Is it a ROM + Kernel compatibility issue?

Cheers,

Mathorlaz

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] jeetash:
something definitely wrong with the nexus 5 radios .. im having all sorts of problems .. dont know if this is post lolipop or what

main issue being is every day or 2 it just stops detecting the sim card

ive tried several sims same problem
[Nexus 6 Q&A, Help & Troubleshooting] CCJ22:
Back in 2012 android police made a report that defraging your phone didn't help any.

Fast forward to today I don't know if that's still the case. I see apps like SD maid have RAVE reviews from Nexus 6 users on the play store review section https://play.google.com/store/apps/details?id=eu.thedarken.sdm&hl=en

But is it actually worth using?

Does clearing cache and dalvik do the same in TWRP?

I am asking these questions because I have moved around 24 GB's of data the past 2 weeks into different folders and deleted alot of stuff off the phone. I want to make sure my available memory is displaying correctly now.
[Nexus 6 Q&A, Help & Troubleshooting] TheAmazingDave:
I don't think defragging would do anything for performance on a mobile phone with flash storage. Defragmenting a hard drive is done to improve seek times and general performance, and I believe it's specifically with FAT/NTFS file systems where this is most useful.

Like SSDs, seek times aren't affected by file fragmentation. I'd imagine any perceived performance boost is placebo.
[Nexus 6 Q&A, Help & Troubleshooting] Skripka:
You don't need to defragment flash memory...you just don't. You're only burning readbwrite life by doing so.
[Nexus 6 Q&A, Help & Troubleshooting] datajosh:
SD Maid can be a useful tool but it has nothing to do with fragmentation and it works differently than clearing the caches in TWRP.
[Nexus 6 Q&A, Help & Troubleshooting] CCJ22:
How does Maid work then? I guess I am confused how Maid cleans up my storage.
[Nexus 6 Q&A, Help & Troubleshooting] cupfulloflol:
It says in the description how it cleans up your storage:

It also looks to have a file explorer, app manager, and some other things.
[Nexus 6 Q&A, Help & Troubleshooting] Dark3n:
Defragmentation brings no improvement on flash based storage and can actually be harmful, not only due to read/write cycles but also because in some instances it can counter wear-leveling.

edit: Actually see here for a better explanation: http://xdaforums.com/showpost.php?p=58004678&postcount=9

SD Maid cleans up your storage by deleting files.

Which files are deleted depends on what tool you use.

See here: http://sdmaid.darken.eu/help

TL;DR

CorpseFinder tool for app remains, SystemCleaner for general clutter such as log files, AppCleaner for cache-like files (meaning files that don't contain user generated content and will be recreated if necessary).
[Nexus 6 Q&A, Help & Troubleshooting] simms22:
exactly what [MENTION=608746]Dark3n[/MENTION] said..

great app btw, been using it for years. no, it doesnt defragment :)
[Nexus 6 Q&A, Help & Troubleshooting] omeganot:
Fragmentation can occur on non-magnetic storage, as the file is fragmented into multiple, non-contiguous chunks which lead to excessive metadata. The less contiguous the data, the more metadata needed to string it all together. While the performance hit of this type of fragmentation on flash storage is far less than on magnetic storage, it exists nonetheless and general cleanup can help. While it pertains to how Windows handles fragmentation of SSDs, the following article by Scott Hanselman sheds a lot of light here.

http://www.hanselman.com/blog/therealandcompletestorydoeswindowsdefragmentyourssd.aspx

Regardless, moving around data of that size probably doesn't matter. It's more the TRIM function you should be interested, which is enabled in Android since 4.3. That helps the system know which blocks of memory truly have nothing in them for a faster and more even write.
[Galaxy Tab Q&A, Help & Troubleshooting] mpsrent:
I have an SM-T310 Galaxy Tab 3 8.0". When I accidently lost my white HOME button when the screen cracked. I can find many sites listing screens, batteries and flex cables but I can't seem to locate a site with a HOME button option or even a parts listing or part number.

If anyone could guide me to a location to purchase tablet parts it would be appreciated.

Thanks
[Galaxy S 4 Q&A, Help & Troubleshooting] XBlackChaosX:
I'm trying to get google play movies to play man of steel (which I purchased from google) but I keep getting a "there was a problem while playing" message when I attempt to stream the movie,when I download the movie it only plays for 9 seconds before I receive the same error message except this time the error message includes "[-38]". So it got me thinking that perhaps its because I'm running a custom ROM. Has anyone here gotten google play movies to work while on a custom ROM?
[Galaxy S 4 Q&A, Help & Troubleshooting] Andriodfreak46:
Same Problem with ROM installed

Yeah I have had an issue with it as well! For some reason doesn't play "Network Error" At this moment I have the Note 4 and when I had the Note 3 it did the same thing every time I was running a ROM. I ran serval ROM on the Note 3 and had the same message on each ROM. Now I'm running a new ROM "Infoumous" it on my Note 4 and still get the same message and as well Netflix is have issues not connect which they were working fine before! So it seems the ROM are the problem. With every ROM I have installed always the same thing! I have a growing collection of Google Play Movies and yeah it sucks when you can watch it on your Phone. Your not alone in this problem!
[JASJAR, XDA Exec, MDA Pro Software Upgrading] Mr Groch:
Hi!

I'm searching for newest, good ROM for My exec...

I heard that helmi 3.5 ROM is good, but it have many bugs

(no smartdial, problem with PIE High Res, etc). I don't want

WM6, becouse I want to have videocalls...

What is newest shipped ROM version for Universal? (O2,

Orange, Era, Qtek, Jasjar, etc) ? Can I find shipped version

with AKU 3.x ??

THX
[JASJAR, XDA Exec, MDA Pro Software Upgrading] xtitan:
try 2.01.01PDA from Pdaviet.net , AKU 3.5, very stable and very fast
[JASJAR, XDA Exec, MDA Pro Software Upgrading] Mr Groch:
THX, but I also want to know, what is the newest version

of original shiped roms... And also answers for rest of my questions :)

That 2.01.01PDA is older version of ROM v2.01.08 PDAVIET UNI,

that can be found on this forum?

How much free RAM space will I get? I need to have at least 28MB

free program memory to play COD2 :)
[JASJAR, XDA Exec, MDA Pro Software Upgrading] niketkumar:
For the shipped rom u can visit other manufacturers site to check for the latest official upgrade provided by them.
[JASJAR, XDA Exec, MDA Pro Software Upgrading] Mr Groch:
OK, but there is nothing about AKU, only ROM version - that tells me nothing...

So what about that ROM v2.01.08 PDAVIET UNI - is this newer version of

2.01.01PDA on WM5 AKU 3.5, or I must search 2.01.01PDA somewhere on the

net?

Maybe another ROM? I need 28MB of free RAM (program memory) to play

COD2, so ROMs eating a lot of memory isn't for me...
[Moto G General] adinkwok:
Hi guys, long time no post. I have updated this guide on how to build kernels for Falcon so that anyone can learn! It's pretty simple once you get the hang of it. So yeah, here we go!

WARNING: I am not responsible for any damages to your phone or computer or pet unicorn. When you modify the wrong partitions, set too many jobs for your compiler, break your keyboard out of frustration etc., that is not anyone's fault but yours. Or your pet unicorn.

Now you can put it on your phone and flash it! ​
[Moto G General] adinkwok:
I will update this in a bit. What feature would you guys want in your kernel? The most votes in the POLL above will be the one I teach you here!

Here I will walk you through on how to add the intelliplug feature made by [MENTION=3332811]faux123[/MENTION]

First, fetch my Green Machine kernel source (go into your kernel folder in terminal):

git fetch https://github.com/YoshiShaPow/green_machine_falcon

Then you could cherry-pick (basically copy) all my cherry picks for intelliplug from my source.

If you do check my source out, you can see there's a little link to a history of commits near the middle of the screen, right above the files/folders. You can see at this page of my features history, you'll see a bunch of commits for intelliplug. I will use those commits and copy it to your own kernel.

This copies the initial coding/first commit of intelliplug!

git cherry-pick 01a850f

This cherry-picks the remaining commits so that your newly added intelliplug is updated.

git cherry-pick 6623f2f^..4e1ece7

One more thing though, you need to add the line to compile intelliplug!

Almost all things compiled along with the zImage are in a file called defconfig. What a defconfig does, is tell your machine to build certain modules, kernel objects, drivers, governors, etc.etc.etc.. Now, all of them are found in the folder

As stated in the OP, you have to modify the defconfig you use. (CM11 Kernel is falcon_defconfig, Gummy Kernel is msm8226_mmi_defconfig). Open up the corresponding defconfig and add this to ANY line anywhere.

CONFIG_INTELLI_PLUG=m

Now, for those who are familiar with "y=yes/n=no/m=maybe", you'll see that I specifically told you to put the "m=maybe" one. That's because when you compile the kernel again, right after you're about to start your build. Since you put that "m", the terminal will prompt you with a "y=yes/n=no" question on whether or not you would like to add the following feature. Since you would like to add the feature, put in "y". Later on when you feel more comfortable with adding features to your kernel, you can go back into the defconfig and put it as

CONFIG_INTELLI_PLUG=y

So that it will compile it without asking, since you have given it an answer.

Now you have officially compiled a "Custom Kernel" and with the knowledge you know, you could create a feature packed one by just kanging (copying one's work/features).
[Moto G General] adinkwok:
I will use this to teach you how to make your own Bash Building scripts (and save time) to make it easier for your development life to flourish... eventually....
[Moto G General] Flashhhh:
Any guide on adding governors or hotplug driver??
[Moto G General] Brawn_Sg:
Best guide but how to add features likes s2w,dt2w etc
[Moto G General] adinkwok:
Vote in the poll above! I will make a guide for one or more of the top chosen picks!

DT2W and S2W are more complex. They require a few other things (ex. Powersuspend). I'll wait a bit and see what feedback I get before moving forward to something a bit more complex like DT2W, or GPU Overclock.
[Moto G General] Krizthian:
Can i use make menuconfig?
[Moto G General] adinkwok:
Yes you can. Normally when using "make menuconfig", you use the command after making the kernel's defconfig (falcon_defconfig).
[Moto G General] michael_ch:
Build using Docker

If you're on Linux, take a look at this approach which uses Docker for building CyanogenMod 12.0:

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

(Disclaimer: It's written by me)
[Moto G General] karthik432:
when i was trying to flash cm12 rom in cwm recovery it says error in zip and getting status 1 error , installation aborted ,

pls help im using moto g gpe and when trying to flash from twrp it says error executing updater binary in zip ,

no idea what to do pls help me out
[Moto G General] adinkwok:
When you downloaded the anykernel zip, you aren't supposed to extract it. The best way to put the kernel in the zip is to just drag and drop it while IN LINUX. It will not work for windows! Or you could try signing the zip in TWRP (I think there's an option for that somewhere).
[Moto G General] karthik432:
im not extracting anything , i just downloaded the official cm12 nightly and flashed but didn't workout ,any ideas
[Moto G General] adinkwok:
That has nothing to do with this thread :silly:. You probably have to sign the zip again.
[Moto G General] Luffy.d:
[MENTION=5284595]YoshiShaPow[/MENTION].... i need some help

i compile a kernel for my device and it booted fine but no display....

can you help me in this....

sorry for posting here..my device is Redmi 1s
[Moto G General] adinkwok:
No problem, I welcome anyone with kernel development questions here! When booted, what do you mean? And if there's no display, how do you know it booted? Also, did you use my anykernel zip? I may be wrong but I don't think it is compatible with all phones.
[Moto G General] Luffy.d:
yeah it booted bro....i can hear lock unlock sound and even i can hear incoming call ring :D

i was trying to fix this from a week and found out it not kernel it rom problem :p...

my device is build using prebuilt kernel so any compile kernel wont work...but now they are build with this kernel source so compile kernel work

thanks bro...

and one thing bro... i m new to kernel development so how can i optimize kernel

i know about and can add governors and use custom toolchain but i don't know about o2 or o3 optimization etc and all

sorry if i m being too much
[Moto G General] etvtaglios:
great I start today
[Moto G General] adinkwok:
Those changes are a bit more advanced because it will bring build errors. The kernel is already preoptimized with o2 changes. The errors are fixable though. I don't think I'll be able to add an explanation for those in this thread, maybe through pm?
[Moto G General] Luffy.d:
thanks bro...will pm you when i finish setuping my git
[Moto G General] adinkwok:
Go for it bro!!
[Moto G General] adinkwok:
Its great you're able to create your own kernel! I hope this will inspire others to do the same!
[Moto G General] Luffy.d:
thanks to you bro...i learn a lot from your guide
[Moto G General] attack11:
Sorry,its me again,i downloaded the kernel source from cm, now how i can select the branch ( cm12 ) to build the kernel only forma that branch?

Cause a builded a kernel without modifing anything but doesnt know for what versión of android is...

Thanks again forma the tutorial ! :good:
[Moto G General] adinkwok:
Hmm... To check which branch you're on, do this command:

git branch -v

To switch to the branch you want to use, do this:

git checkout *branch*

Example:

git checkout cm-12.0
[Moto G General] attack11:
GREAT ! finally compiled and flashed on cm12 !!!!! one more question, how to update the sources?it does automaticly? or should i update manually? and wich comands? Thanks Again!
[Moto G General] beeeto:
Hey buddy, thank you for this guide.

I have got a little question for you. I have compiled a peregrine kernel and now want to flash it on my device. Can I use the signed zip you uploaded?
[Moto G General] adinkwok:
Yes; peregrine and falcon are almost the same
[Moto G General] ReaverV2:
great thread, really looking into kernel dev, will be checking back here to get a start into it, and hopefully create my first kernel in the next coming weeks
[Moto G General] harshhemnani:
could you please tell me the names of the deconfig files for cm12 and aosp respectively

thanks
[Moto G General] MetalPhoenix45:
I might start making my own kernel tomorrow. Thanks [MENTION=5284595]YoshiShaPow[/MENTION]

Sent from my XT1032
[Moto G General] adinkwok:
Hey guys. I'm super glad to see a lot of new development coming out for the Moto G! It's great that a lot of people are willing to put time and effort into their kernels, but I see something a bit troubling. Developers are putting their Kernel threads in the wrong section of the forum. It is stated in the stickies in the Original Development that threads placed in there must have a significant first or new/unseen features. A good example of Original work would be something like DT2W/S2W, new functioning hotplugs ported from somewhere else (not the same device), etc. Many threads are being placed in the Original section and should not be there. I am not trying to discourage good development, but a lot of the kernels are very similar at the moment. So if you could take this into consideration, please look through your kernel before posting! It could save some troubles in the future ;). I will also be updating this guide very soon so stay tuned!

Yoshi
[Moto G General] DC07:
[MENTION=5284595]YoshiShaPow[/MENTION] you are doing a great job guiding others with kernels and sharing your knowledge.

As this thread is all about knowledge sharing,I think it should be moved to the General Section.

Regards.
[Moto G General] adinkwok:
Thread reported. Thanks for the tip.
[Moto G General] hurtsky:
from what i understand, kernel that been built by combining features from different developer should just be in Moto G Android Development rather than Moto G Original Android Development, kernel that stay in Moto G Original Android Development should have the his own unique/originality that developed by the developer/poster of the thread itself rather than cherry-picking others sources. Please correct me if i wrong.. thank you.
[Moto G General] adinkwok:
That is correct. Just to clarify, cherrypicking is fine even if it is Original work. But some original commits should also come into play. It can also be a certain type of cherrypicks being used that let the work become original. Self judgement should come into play.
[Moto G General] Flashhhh:
[MENTION=5284595]YoshiShaPow[/MENTION] That's the reason i moved my thread from original android development to android development!

Btw This thread helped a lot!

Keep on helping. Cheers!
[Moto G General] NV-Dev:
(y)

Thanks :D
[Moto G General] Niropa:
[MENTION=5284595]YoshiShaPow[/MENTION]

Hey, I compiled a kernel and added msm_hotplug by fluxi but im not sure how to add the option to enable/disable it in kernel apps. could you help?

heres my sources https://github.com/NicholasPace/android_kernel_motorola_msm8226
[Moto G General] adinkwok:
Hi! First off, congrats on being able to do it! Second, I know you're starting out, but please commit the msm_hotplug commits with git commit --author="myfluxi <linflux@arcor.de>" next time so that proper credits are given. (except for the defconfig commit). About the app, which one are you using? I suggest Kernel Adiutor by Grarak on the Play Store which should support the msm_hotplug. Good luck!
[Moto G General] Niropa:
Thank you :) yea Im going to do that asap, I am using kernel adiutor but it only sees mpdecision
[Moto G General] aliyangohar4:
I'm 14!
[Moto G General] raj.parekh07:
Hello, I recently compiled the kernel following your guide. However it did successfully get compiled. Since the first boot there is screen flickering and WIFI is dead. I would love if you help me out and enlighten me on this issue. Thanks [MENTION=5284595]YoshiShaPow[/MENTION]
[Moto G General] singham007:
deconfig for AOSP kernel.

What defconfig should we use for compiling AOSP kernel ?

Specifically ,I want to compile kernel for ParanoidAndroid [5.1] , what special configuration do i need?

I compiled from cm-12.1 sources , It's stuck in bootloop .

And I made a flashable zip following the guide. Should we follow same for cm-12.1 ?

Thanks for this Guide :o :) Its great, I compiled my first kernel :D
[Moto G General] adinkwok:
I use the falcon_defconfig. I don't have this device anymore so it is harder for me to maintain this guide.
[Moto G General] izzy001:
What changes should I do to the lines to make it compatible with peregrine?
[Moto G General] KalolParty:
Git Clone keeps stopping. Any tips to get it to work properly?

Its failed 3 times already and its really slow at 10kb/s
[Moto G General] adinkwok:
Might not be related, but people have been DDOSing (sending large files with intent to slow or crash a server) in the past months. Try again in a few days
[Moto G General] FooBazza:
Great tutorial! One question, I'm not able to find any '.ko' files when I search for it in the kernel source directory. And when I search for just 'radio-iris-transport', I get a .c file with the same name. Not sure what to do man
[Moto G General] adinkwok:
Thus thread might be a bit outdated yet. I think the maintainer made it so that the drivers are built into the kernel... I guess that means you don't need the .ko files anymore!
[Moto G General] roshan2989:
[MENTION=5284595]YoshiShaPow[/MENTION] do you know how to implement kernel boot logo?
[Moto G General] reversegear:
Is this what u are looking for..?

http://xdaforums.com/showthread.php?t=2637362
[Moto G General] roshan2989:
No mate..
[Moto G General] adinkwok:
Now, there are two ways of doing. One is from kernel source and the other is by using this. I used the second method and added the installation steps from that thread into my zip.
[Moto G General] roshan2989:
sorry,i do understand the 2nd method,is that method for the boot logo replacement,on screen logo? Something like Ak kernel bootlogo method..

Something like this (moto g boot logo then kernel logo then bootanimation .
[Moto G General] adinkwok:
Uh, the second version replaces the "moto g" then goes into boot animation. Nothing in between.
[Moto G General] :
[MENTION=5284595]YoshiShaPow[/MENTION] I was trying to make a stock kernel based on 5.0.2 kernel source from here and this is what I tried:

yeshwanth@falcon:~/kernel$ make defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
*** Default configuration is based on 'x86_64_defconfig'
fs/Kconfig:232: can't open file "fs/f2fs/Kconfig"
/home/yeshwanth/kernel/scripts/kconfig/Makefile:94: recipe for target 'defconfig' failed
make[1]: *** [defconfig] Error 1
Makefile:501: recipe for target 'defconfig' failed
make: *** [defconfig] Error 2
yeshwanth@falcon:~/kernel$

Can you help me?
[Moto G General] adinkwok:
You've asked the compiler to look for a file in arch/arm/configs/ called "defconfig". Since this is the moto g, you should be pointing it to msm8226_defconfig which would be

make msm8226_defconfig
[Moto G General] :
Thanks for the swift response bro but I tried falcon_defconfig as well as msm8226_defconfig but i get similar stuff on both :

yeshwanth@compiler:~/kernel$ make msm8226_defconfig
fs/Kconfig:232: can't open file "fs/f2fs/Kconfig"
/home/yeshwanth/kernel/scripts/kconfig/Makefile:99: recipe for target 'msm8226_defconfig' failed
make[1]: *** [msm8226_defconfig] Error 1
Makefile:501: recipe for target 'msm8226_defconfig' failed
make: *** [msm8226_defconfig] Error 2
yeshwanth@compiler:~/kernel$
[Moto G General] adinkwok:
Seems like the folder fs/f2fs is missing in your source...
[Moto G General] :
I forked the source from Motorola source. Not sure what I am doing wrong though :( or should i use this source ?
[Moto G General] adinkwok:
I don't know much about the new source, but I think you have to merge them together. Try inserting the f2fs folder in /fs
[Moto G General] :
Thanks bro, I looked at few custom stock based kernels by others are figured out there are hell lot of cherry picks to be done to make it work, I believe. For example, these are few commits by [MENTION=5857055]Flashhhh[/MENTION] to make the kernel compile. I just posted here so others can know if they encounter similar issues. :)