yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] TekGadgt:
Ok, I have a Nexus 5. I have been trying to port (Zip style, not Source) the CM11S build for the OnePlus One. I used the 20140615 CM11 nightly build as the base, but it keeps getting stuck at the boot animation. My issues are that I need to know how to activate ADB Debugging through the build.prop so I can get a logcat on first boot (while it's stuck on the boot animation). Also, once I can get a logcat, I would love some help debugging my port. I will upload a copy of my Zip in it's current form, if anyone has any advice, feel free to pass along some advice.

My CM11S Port (AndroidFileHost)
[Droid 2 Android Development] laufersteppenwolf:
Dear Developers

I'm sure you already heard about the GPL around the forums. In case you did not, the GPL ("GNU General Public License") is the most common license that affects many projects, like the Linux Kernel (the Linux Kernel is licensed under the GPLv2). This affects us, XDA and its members, as we are often working with the Linux Kernel (every Android platform runs on top of the Linux Kernel).

You may ask yourself now "Well, that's nice, but how does this affect me and what does the GPL do?" The answer is pretty simple actually: The GPL guarantees users to examine, modify and share their and others code by enforcing open-sourceness. This means you are free to use any GPL'ed sourcecode for your project, but you must make your used code publically available again.

Now, as many advantages this has, it also means quite some work for us developers. All used sources must be completely public by the time the compiled binary (like a Kernel) goes online. Another requirement is, that the OP must include all information to compile the exact same binary as uploaded by the developer. This means you need to specify:

The used toolchain including its version (linking to your toolchain source is always a good idea)

The used defconfig

The link to your sourcecode (including the used branch, tags,...)

If used, also upload your scripts used for the compilation

If you upload a kernel, publish the source, but the source is not compilable, it means you are breaking the GPL as you did not release the used source. Breaking the GPL actually means breaking the law, which means the sanctions on XDA could possibly be the least of your problems...

Example:

@ROM devs, using a precompiled kernel

As you are not compiling the kernel yourself, you do not have to give the above information. However, you have to link to the source of your kernel binary (for example: link to the OP of the used kernel). If you use the stock kernel, you must state this. Linking to the stock sources is not a requirement, but it is not the worst idea.

Keep in mind; if the kernel used is not GPL compliant, your ROM is not GPL compliant either. This may cause your thread to be closed and/or further action on your account may be taken.

Example:

If you need/want further information, you might want to take a look at THIS news article written by our Developer Admin pulser_g2
[Samsung Galaxy S (4G Model)] RackMonkey:
I'm a noob. I have 1 phone that can't go down. I have searched XDA, Google, Bing, and YouTube but can't find an answer.

What happens to all the files, folders, and data on a phone when you flash it?

I know there are files on the phone that ID it to the provider. I think it's in the EFS folder, but in all the guides I've read and YouTubes I've watch, not one of them mentions copying anything first nor does it say anything about putting a file back.

Some of the guides I've read make it sound like you wipe everything down to basic hardware before flashing a ROM and kernel back onto the phone.

Does anybody know of a really, really basic guide to what happens?

Most of the time I learn by trial and error. I take it apart and see how it works. I have 4 laptops in varies stages of repair to prove it. But like I said, I only have one phone and I can't spend another $300 just to have another phone to tear down.

On another note...is there a way to set up a sig on this forum?
[Samsung Galaxy S (4G Model)] Antagonist42:
Firstly, know your hardware ;) as most phones now are using NAND chips for (as it would be) your HDD (Hard Disc Drive) writing files/data/folders/etc is not done the same as a standard HDD.

The NAND chip when being written to copies out (in a size dictated by the chip manufacturer) the Original data, erases the data once copied then writes in your data, verifies it's written correctly, erases the Copied data, moves onto next block/page/sector/etc of data and repeats the process.

If verification fails, the original block/etc of data is written back from the copied location.

Bashing away at my HTC Desire C

---------- Post added at 11:33 PM ---------- Previous post was at 11:26 PM ----------

I don't think there is a 'basic' guide that could cover all the intricacies of how different manufacturers work around the hardware and software also allowing for the proprietary software Dev's are trying to figure out how it works just to make (sometimes) the simplest things work.

Bashing away at my HTC Desire C
[Samsung Galaxy S (4G Model)] FBis251:
If you wanna see what would happen when you flash CM11 you can read our upgrader.sh script that tells the phone the steps needed to back up or wipe certain partitions.

https://github.com/teamacid/android_device_samsung_galaxys4gmtd/blob/cm-11.0/updater.sh

If you're flashing from Gingerbread (BML), your EFS partition gets backed up to the SD card, the kernel/bootimage gets overwritten, then the phone reboots.

After it reboots it will copy the modem file into the /radio partition, then the system partition gets wiped, then it will flash the bootimage again with using a new method.

After this the cache and data partitions get wiped, and your EFS backup that was restored to the sd card gets put on the newly created /efs partition.

After all this is done, the script ends and the recovery will continue instlaling the CM11 files to the /system partition

Any other data doesn't get wiped/erased, only what I mentioned.
[Samsung Galaxy S (4G Model)] RackMonkey:
Thanks FB. That's the first explanation that I could really understand.

I'm asking friends if they have an old phone I can destroy. Then the fun really begins.
[Samsung Galaxy S (4G Model)] llinkll:
Thanks for posting that file, it was interesting to see. I would also like to know, how the 1 GB ROM of the phone is partitioned.
[Samsung Galaxy S (4G Model)] FBis251:
Here's the file that defines the partition layout for CM11:

https://github.com/teamacid/niltmt_kernel/blob/cm-11.0/drivers/mtd/onenand/samsung_galaxys4g.h

It starts at around line 31, as an example:

.name	= "boot",
.offset	= (72*SZ_256K),
.size	= (40*SZ_256K), //101

The offset will tell you how many bytes into the flash chip the particular partition is, this one is at 72 * 256kB blocks which is at 18432kB.

The size of it is 40 256kB blocks. 40 * 256kB = 10,240kB. So the boot partition is starts around 18mB after the first block, and is a size of 10mB.

Once you scroll to the bottom we find the reservoir partition, you can read the description in the comment on that file (line 67).

It ends at (4012 + 84) * 256kB = 1,048,576 kB
[Samsung Galaxy S (4G Model)] llinkll:
Thanks a lot for the help, it's really appreciated.
[Droid 2 Global Android Development] laufersteppenwolf:
Dear Developers

I'm sure you already heard about the GPL around the forums. In case you did not, the GPL ("GNU General Public License") is the most common license that affects many projects, like the Linux Kernel (the Linux Kernel is licensed under the GPLv2). This affects us, XDA and its members, as we are often working with the Linux Kernel (every Android platform runs on top of the Linux Kernel).

You may ask yourself now "Well, that's nice, but how does this affect me and what does the GPL do?" The answer is pretty simple actually: The GPL guarantees users to examine, modify and share their and others code by enforcing open-sourceness. This means you are free to use any GPL'ed sourcecode for your project, but you must make your used code publically available again.

Now, as many advantages this has, it also means quite some work for us developers. All used sources must be completely public by the time the compiled binary (like a Kernel) goes online. Another requirement is, that the OP must include all information to compile the exact same binary as uploaded by the developer. This means you need to specify:

The used toolchain including its version (linking to your toolchain source is always a good idea)

The used defconfig

The link to your sourcecode (including the used branch, tags,...)

If used, also upload your scripts used for the compilation

If you upload a kernel, publish the source, but the source is not compilable, it means you are breaking the GPL as you did not release the used source. Breaking the GPL actually means breaking the law, which means the sanctions on XDA could possibly be the least of your problems...

Example:

@ROM devs, using a precompiled kernel

As you are not compiling the kernel yourself, you do not have to give the above information. However, you have to link to the source of your kernel binary (for example: link to the OP of the used kernel). If you use the stock kernel, you must state this. Linking to the stock sources is not a requirement, but it is not the worst idea.

Keep in mind; if the kernel used is not GPL compliant, your ROM is not GPL compliant either. This may cause your thread to be closed and/or further action on your account may be taken.

Example:

If you need/want further information, you might want to take a look at THIS news article written by our Developer Admin pulser_g2
[Moto G Android Development] robt77:
just flashed kernel, am currently on Lego ROM, boot lag seems to have gone. seems pretty smooth. good work thanks.
[Moto G Android Development] K3VYNC:
OC works?
[Moto G Android Development] TeamMex:
Sure.
[Moto G Android Development] TeamMex:
What version you flash ?

:) to add in OP

Thanks for use it
[Moto G Android Development] robt77:
used CM version
[Moto G Android Development] abhi0502:
Working well with C rom 7.0

I installed cm version

Needed to check about battery drop in deep sleep

Btw c rom has became very smooth and no boot lag
[Moto G Android Development] asdgonzalez:
where is stock kernel link?

It not ready yet?
[Moto G Android Development] TeamMex:
No, I have problems whit Stock version, I testing more the ramdisk

Because does not boot in Stock rom (for now)
[Moto G Android Development] skeetzor:
What one would you suggest for Slim ROM?
[Moto G Android Development] adizz4:
Totally loving it. Running smooth as butter on crom.

Would it be possible to add faux sound support in the future?
[Moto G Android Development] TeamMex:
Maybe CM_MK or PAC

If not well XPe_PA if not Send me boot.img from Slimkat rom
[Moto G Android Development] RenderBroken:
OC really working? Thanks for contributing!
[Moto G Android Development] TeamMex:
Sure.

​
[Moto G Android Development] adizz4:
Seems like only a ram oc, like on the other kernels. The difference in performance increase isn't noticeable in benchmarks.
[Moto G Android Development] Rocketval:
Is there the 2tap2wake feature??
[Moto G Android Development] TeamMex:
You read OP or changelog?
[Moto G Android Development] Rocketval:
Sorry, is it going to be added?
[Moto G Android Development] Leproso_Ivan:
What versión do you recommend to SlimKat 4.4.4?
[Moto G Android Development] draco259:
The latest P. A. version is working great for me.
[Moto G Android Development] Leproso_Ivan:
This: Signed_3.4.94-XPerience-04b-XPE_PA.zip - 8.58 MB?
[Moto G Android Development] TeamMex:
Again, if what you seek is much points in AnTuTu find another kernel.

if you read what does Intelli_plug would not do this publication.

I use intelli_plug and points in antutu are slow 15k but Work fine same than MPdecision
[Moto G Android Development] draco259:
Yep :)
[Moto G Android Development] mrbojangle69:
Benchmarks like Antutu has nothing to do with hotplugs performance, a device is different from the others. The best benchmark is the user experience.
[Moto G Android Development] antarix:
The kernel is working as it should with default settings. Good battery life and good on performance.
[Moto G Android Development] ssalamon:
very impressive
[Moto G Android Development] adizz4:
Does 04b work with older 4.4.2 aosp ROMs?
[Moto G Android Development] TeamMex:
you can try ;)

I use my own XPerience 4.4.2 rom :) and work fine.
[Moto G Android Development] k-kuchen:
[MENTION=4403780]TeamMex[/MENTION]

I can confirm that the XPe_PA variant of your kernel works just fine with OmniROM. You might want to edit that in your list :)

Thanks for your work. I really like this kernel
[Moto G Android Development] TeamMex:
Thanks for the feedback :)
[Moto G Android Development] twist3d0n3:
Dt2w and s2w aren't working in deepsleep for me on pac rom (26th nightly) on latest kernel
[Moto G Android Development] e753:
It's normal: deep sleep means ur mobile doesn't feel anything.

U need to keep it up at minimum freq but it means that a lot of battery goes away
[Moto G Android Development] twist3d0n3:
can't remember who it was, but someone gave RenderBroken the code for deepsleep dt2w/s2w etc which was fully working on r17 of renderkernel.
[Moto G Android Development] PlasmaPump:
Not true, DT2W works in deep sleep on every kernel that I've tried. That is the point... to wake your device.

Some kernels also can toggle DT2W by using power button to sleep/wake device.

And it also doesn't work if you turn off the lock screen on this kernel.

BTW. Anybody try fastcharge on this kernel? Does it even have it?
[Moto G Android Development] rogeriorp:
[MENTION=4403780]TeamMex[/MENTION] You might wanna add on the OP that the CM version works perfectly on crDroid b6! I am giving your kernel a try, feels smooth and light so far - will report back in any case. Thank you!

Feedback: the phone quite overheats using your kernel, don't know exactly why but it doesn't feel that hot in hand using it on stock crDroid kernel.
[Moto G Android Development] Leproso_Ivan:
This: Signed 3.4.94-XPerience-04b-XPE_CM_AOKP.zip - 8.53 MB, works very well on SlimKat 4.4.4 Weekly 5147. Very good kernel, but boots during much time.

Excuse my english.

Iván!
[Moto G Android Development] Itachitops:
Hey guy CM, XPerience-8.0.0, MokeeOS Kernel is working with CrDroid ROM but I can't change CPU frequency
[Moto G Android Development] ssalamon:
I have some feature request:

Eco Mode only when screen is off :)

thanks for this great kernel!
[Moto G Android Development] gnhuy91:
Yes Wifi works now on XT1032, fantastic :) now if only i can get my hand on that faux clock beta to ditch away the lags...
[Moto G Android Development] kedar512:
[MENTION=4403780]TeamMex[/MENTION] can you give stock 4.4.4 kernel oom for foreground, visible and secondary servers?

Thanks:)
[Moto G Android Development] peryndark:
There's a setting that lets you apply the kernel options in TricksterMod. There's a panel on the right to do that AFAIK, try swiping there.
[Moto G Android Development] ygor.almeida:
Yeah i Know, it´s apply on boot, and etc ... i tried, but after reboot the setting is lost ... :( i will grab screens for better understand ... and post asap ... i´m on the road right now !!!
[Moto G Android Development] LuanTeles:
If someone get the free version one of the beta (FAUX CLOCK)

please post the apk

---------- Post added at 03:36 PM ---------- Previous post was at 03:33 PM ----------

Do you know how to get it?

---------- Post added at 04:04 PM ---------- Previous post was at 03:36 PM ----------

Can someone try this?

i found a tutorial for when the Kernel manager (KernelTwearker, Trickstermod and etc) is havinh trouble on Lollipop

http://xdaforums.com/showpost.php?p=56651881&postcount=4926
[Moto G Android Development] reversegear:
[MENTION=4403780]TeamMex[/MENTION] can you please create new dev thread for CM12 kernel

It is highly confusing what people are talking about CM11 or CM12
[Moto G Android Development] gnhuy91:
Nope, I only know of it cuz TeamMex mentioned about it some pages backward :/
[Moto G Android Development] gharrrrrr:
There is no free version of fauxclock
[Moto G Android Development] itslels:
Wifi is working for me on my xt1031, but mobile data still doesn't work with the latest lollipop version.
[Moto G Android Development] Flashhhh:
Does call work in this kernel with alberto build??

I am getting no calls on gpe!!

Sent from my XT1032
[Moto G Android Development] TeamMex:
I check the script of gpe support

Maybe not executed on boot

Set on boot pls

I dnt have lags but i uploading a new version n.n

Not nos mate

Nop is not necessary

Enviado desde Falcón using XDA premium 4
[Moto G Android Development] dskrilz:
Hey, I saw this mentioned in the ROM thread, but Google license check for the Lollipop kernel makes even the FauxClock beta crash. I assume yours had already passed the check before it got messed up?
[Moto G Android Development] zpmarcos:
Why dont you try updating to v18? Working like a charm here!
[Moto G Android Development] zpmarcos:
Maybe clean install stock ROM ano install kernel after! I Just did it yesterday and its all fine
[Moto G Android Development] kedar512:
I was having same problem.

I just did a reboot and camera saved photos
[Moto G Android Development] kedar512:
Yes. Auto fs write back is enabled
[Moto G Android Development] anerik:
Could someone mirror the lollipop version? it's giving me an error
[Moto G Android Development] knightandroid:
I get a 404 at cam-libs-old.zip does anybody have a mirror plz?
[Moto G Android Development] gharrrrrr:
I was getting errors opening links from tapatalk in mobile browser lately. For me I had to open the thread in mobile browser and download hit the links from mobile browser. In case this is same problem for you guys. If not I'll mirror soon.
[Moto G Android Development] knightandroid:
Thanks. I finally got it downloaded. And I made a Dropbox mirror
[Moto G Android Development] Sammy854:
The lollipop build gave me bootloop with cm12...
[Moto G Android Development] flopezm:
work fine for my, install again whit wipe cahe and dalvik cache
[Moto G Android Development] Spardantex:
I've flashed the kernel for stock rom. But can't activate the t2w :( what did I do?
[Moto G Android Development] sanwolverine:
3.4.42-XPerience-19R-Test using this kernel for long ,good screen time,performance,just waiting for fix of wifi (solution to it)please it will be awesome if wifi start working
[Moto G Android Development] AmyClaraRose:
WiFi does work on lollipop build and KitKat build because I use it on both
[Moto G Android Development] StariX37:
[MENTION=4403780]TeamMex[/MENTION] we Moto G 2014 users need ur kernel badly.

I have used ur Xperience Kernel on Moto G 1st Gen. & its awesome.

And we Moto G 2014 users also want to taste the same awesome Xperience Kernel on our phones.

I hope that u consider our request & fulfill our wish.

Thanks & :thumbup: for ur awesome development work.
[Moto G Android Development] twist3d0n3:
been asked before, won't happen.
[Moto G Android Development] TeamMex:
I don't think so, i dont have the mobile and when I go to 2014 forum and I ask for boot.img all sayme download the rom, balh blah when I asked about boot.img for the ramdisk.

nobody help me that time.
[Moto G Android Development] phn1993:
Hello there! I've been using your kernel in Android KitKat, flawlessly and the best one I've ever tried. But now I am facing issues with cm12 (I know it is expected as cm12 is under development). The problem is I can't turn on wifi, tried everything. Downloaded the firsr link in your post (not the *reworked* version, the other one). Which one do I have to install? The reworked or the first one which has the wifi problem! Thanks for your efforts!!
[Moto G Android Development] LuanTeles:
An news about the Kernel for Lollipop?
[Moto G Android Development] methuselah:
Kernel 19R wip working nicely on latest PAC MAN ROM stable.
[Moto G Android Development] TeamMex:
For now only on my rom
[Moto G Android Development] Snowers96:
In your ROM, double tap to wake and s2w works fine? It's important to me
[Moto G Android Development] antarix:
i don't think he did implement it yet because i can't see it in trickster mod
[Moto G Android Development] roxkiller:
buffer size influences the battery? If influence which is best for the economy?
[Moto G Android Development] sfoot13:
Hi TeamMex

Will you update the KK kernel? Or since now you will work only with lollipop?
[Moto G Android Development] Cheddart:
Could anyone tell me if this overclock is really running or it has placebo effects?

MOTO G XT1033

Thank Me If I Helped You
[Moto G Android Development] Flashhhh:
It isn't a real overclock!!

So yes placebo effects

Sent from my Moto G
[Moto G Android Development] Cheddart:
So,why is this for?

MOTO G XT1033

Thank Me If I Helped You
[Moto G Android Development] Flashhhh:
The dev removed over clock and placebo effects in his latest kernel!!

I guess u didn't try his latest kernel!

Sent from my Moto G
[Moto G Android Development] Pinktank:
I really apologize to add to the cacaphony of questions but it wasn't clear in the OP, is "Reworked [WIP]" without CM12 in the filename for Kitkat roms like slim, etc?
[Moto G Android Development] teen9xpro:
[MENTION=4403780]TeamMex[/MENTION]

I got a problem with 3.4.42-XPerience™-19R-lolipop+. I cannot flash it.

Currently, I am in 3.4.103-XPerience™-STK-18+. I try to flash 19- but it still in 3.4.103-XPerience™-STK-18+.

plz help me. thanks so much
[Moto G Android Development] twist3d0n3:
So let me get this straight, you're trying to flash a lollipop alpha kernel for aosp roms on a stock rom? If so, I wouldn't bother faffing with your phone as you don't seem to have a clue what you're doing..
[Moto G Android Development] teen9xpro:
I will give u more detail

Now I am in xpe 18 with 4.4.4 rom.

Now I try to flash xpe 19 to use lolipop.

When I flash kernel xpe 19, no error, reboot, but my phone still in xpe 18.

My phone is xt1032.
[Moto G Android Development] twist3d0n3:
Dude you need to be using a lollipop rom... If you can't work that out do not attempt flashing stuff as already stated, you don't know what you're doing if you think you can flash a kernel designed for 5.0 on a 4.4.4 rom...
[Moto G Android Development] OldYellowBricks:
Make sure you are flashing 19R for KitKat. Use this http://d-h.st/EKV

NOT 19R for lollipop

Man if you cant tell one from the other, one of these days youll brick your phone.
[Moto G Android Development] teen9xpro:
So how to flash the kernel for lolipop. I flashed donkey also but I still got the same problem.
[Moto G Android Development] HideTheCookies:
If you flash a lollipop ROM first the lollipop kernel will flash successfully. The kernel updater script has checks to see if you are on a compatible ROM so if the flash fails your not on the correct rom.
[Moto G Android Development] teen9xpro:
I tried but always failed when I flash cm12 lolipop.

Any tut to help me?

Do I need convert my phone to GPE?
[Moto G Android Development] twist3d0n3:
Go and do lots of reading for your specific model of phone. Seriously stop cluttering up this thread with noobish questions
[Moto G Android Development] TeamMex:
Addded new kernel v20 updated you can flash it with my last rom is more updated :)

and you can flash it using fastboot or put inside xpe_9.0.1_r1 zip :)
[Moto G Android Development] Membrillo007:
Can I install this with "Flashify"?

Tap-a-talked from Moto G running CM12 Lollipop / Donkeykang Kernel
[Moto G Android Development] ldiomedi:
yes. You can. I just try and everything went ok. Btw, last nightly and this last build of kernel is awesome... Thanks Kolzz

Enviado desde mi Moto G 5.0
[Moto G Android Development] Membrillo007:
Mmm, I tried too, but after reboot my WiFi has gone :v, cant turn on

Tap-a-talked from Moto G running CM12 Lollipop / Donkeykang Kernel