yashsingh1/xdaforums huggingface dataset:
[Moto G Original Android Development] bedalus:
The falcon 5.0.2 f2fs source is here: https://github.com/MotorolaMobilityLLC/motorola-kernel/releases/tag/MMI-LXB22.99-36

I was actually using the kernel source from before they relocated to this new location. F2FS was working fine using this work-around on lollipop for peregrine. I actually didn't know the motorola f2fs source was available at this alternate repo until today, thanks to researching this issue for falcon.

Anyway, I've pulled their repo, and built a version for peregrine. It tested fine. For falcon, you can try this: http://d-h.st/4Upa

...although I'm not sure it will work. Both ways worked on peregrine. If the first way doesn't work for falcon, I don't think this way will either, but it's worth a try I guess!
[Moto G Original Android Development] mato_d007:
How about a separated fork with some more features? i like stability but i miss a way to wake my phone without pressing power button, which is hard since im using a thick case. Im using Moggy with Identity Crisis 5.1 and i was on CM12.1. Got really used to wake gestures with proximity sensor. BTW, amazing work.
[Moto G Original Android Development] lost101:
[MENTION=6295391]bedalus[/MENTION] - I've tried that new kernel, but still unable to boot GPE ROM with f2fs /data.

EDIT: The GPE 5.1 Kernel sources have been requested and are expected soon, if that is of any help. To clarify what I've said previously, with 4.4.4 - a stock unmodified Kernel would boot the GPE ROM with f2fs /data.
[Moto G Original Android Development] jonas210678:
With attacked kernel it was possible to boot the 5.1 GPE ROM, but there are lots of errors and systemui is FC. But generally it is working :good:

Edit: First you have to flash the normal 5.0.2 stock kernel on GPE ROM, and then dirtyflash the custom kernel!

Maybe it is working with this kernel too
[Moto G Original Android Development] bedalus:
You flash the 5.0.2 kernel first to replace the ramdisk... This probably is the fix for f2fs. To confirm, you should be able to do the same thing with moggy. Check that f2fs works, then report back.
[Moto G Original Android Development] lost101:
Unable to boot GPE 5.1 ROM with f2fs /data using AttackedSTOCK-V8.zip. [MENTION=5741701]jonas210678[/MENTION] - I think you misunderstood what I was saying previously.
[Moto G Original Android Development] jonas210678:
I test it in Early mai and it was working. When you normal flash the 5.0.2 kernel at the 5.1 ROM it is in the restarting optimizing apps loop. But when you dirty flash the custom kernel, it was passing optimizing apps and was going to homescreen. But at this point the most apps were FC and systemui was not responsible.

I test this in some hours I hope it work :good:
[Moto G Original Android Development] lost101:
Yes, but do you understand that I am formatting /data to f2fs before flashing GPE 5.1 ROM? The ROM will not boot at all - with any Kernel.
[Moto G Original Android Development] jonas210678:
Yes I understand, I came from f2fs because I come directly from stock 5.0.2 and never formated my filesystem to ex4.

Give me 2 hours and I will edit the post with some screenshots!

BTW, is it possible to get screenshots over adb because the systemui is FC so it is really hard to get them on the phone
[Moto G Original Android Development] lost101:
[MENTION=5741701]jonas210678[/MENTION] - Apologies. I see now that the GPE 5.1 ROM (f2fs /data) will boot with the 5.0.2 Stock Kernel. It bootloops at 'Optimizing apps.' However dirty flashing Attacked Kernel prevents the ROM from booting at all.
[Moto G Original Android Development] jonas210678:
Yes i got that v8 is not Working. Make the same thing and try attacked kernel v2. But first flash stock 5.0.2 kernel. I have got some screenshots, which was really hard with the FC's.
[Moto G Original Android Development] miguelrivas:
Hello, i flashed on stock EU optimizaded v1.4 XT1032 and i see a bug in the camera. dont start
[Moto G Original Android Development] animeshdinda:
Same issue here on Stock Asia DS XT1033.
[Moto G Original Android Development] methuselah:
Logcat
[Moto G Original Android Development] lost101:
I can confirm Camera is not working in Stock 5.0.2. Logcat attached.
[Moto G Original Android Development] lost101:
Same error occurs on GPE 5.1, if flashlight is enabled when launching camera. An unusual scenario, but perhaps a helpful log.
[Moto G Original Android Development] bedalus:
The error is that the camera doesn't work if the flashlight is already on? In both ROMs?
[Moto G Original Android Development] lost101:
No. On Stock 5.0.2 - Camera doesn't work period.
[Moto G Original Android Development] bedalus:
Then the in kernel driver stuff for the camera has changed. Does the camera (5.0.2 ROM) work with any custom kernel?
[Moto G Original Android Development] :
No trouble here with Stock 5.0.2 and any other custom kernel. Only Attacked kernels (all builds) with Stock 5.1 gives me camera trouble.
[Moto G Original Android Development] lost101:
Clean install of Stock EU 5.0.2 Optimized ROM, with ATTACKED-KERNEL V8 - camera works.
[Moto G Original Android Development] lost101:
The GPE (Falcon) 5.1.1 Kernel Sources are now available - if that is of any assistance.
[Moto G Original Android Development] lost101:
With Stock Kernel: flashlight on, the camera will not start - I guess this is a non-issue.
[Moto G Original Android Development] bedalus:
I'll compare the source in the next few days
[Moto G Original Android Development] fonz93:
This is not a GPE kernel source, it's stock Motorola 5.1.1 kernel source, you probably got confused reading this:

"5585 commits to kitkat-mr1-release-falcon-gpe since this tag"

But this is just because the default branch of that repository is set to "kitkat-mr1-release-falcon-gpe".
[Moto G Original Android Development] lost101:
[MENTION=5439829]fonz93[/MENTION] - https://github.com/MotorolaMobilityLLC/kernel-msm/issues/27

The GPE Kernel Sources where requested, and that's what was released. A Stock Kernel would have the title: MMI-LXB**.**.* - not MMI-LMY47M.M001 - which is the reference name for non-stock GPE 5.1.

EDIT: Confusion is understandable; the actual title of the release was supposed to be: Falcon GPE push for lollipop 5.1 (maybe the 5.1.1 is also an error?)
[Moto G Original Android Development] fonz93:
You're right, i didn't know someone requested the kernel source for GPE, and that "5.1.1" confused me :) (they didn't neither write "gpe"), also, that should be the reason of why this kernel source is older than the latest one for Peregrine 5.1.1
[Moto G Original Android Development] DoctorStrange96:
Regarding more recent sources: there's a lollipop-5.1.1-release-falcon branch on github.

Edit: I opened an issue at moto's kernel repo. Awaiting a reply

Edit 2: I just confirmed that the LPB23.13-35 release is for peregrine; falcon sources have yet to be released (but this may be not necessary since this is a peregrine kernel which runs on falcon :p)
[Moto G Original Android Development] :
Boost's U.S. Falcon 5.1 stock build number is LPB23.13-42, so it probably is Falcon.
[Moto G Original Android Development] DoctorStrange96:
Check my edit above. That release is for peregrine. And i'm on Brazilian retail, which is LPB23.13-56
[Moto G Original Android Development] bedalus:
Looks to me like the best branch to use is peregrine as it only differs from falcon by a few commits that appear to fix issues that would exist on both platforms.
[Moto G Original Android Development] DoctorStrange96:
So it seems that peregrine and falcon share a common kernel for 5.1, save for a few commits - which leads me to assume that one can build a custom kernel for falcon using peregrine sources (as you did)...

---------- Post added at 03:13 ---------- Previous post was at 03:05 ----------

Oh, if it isnt asking too much, i'd like to request a feature: screen color calibration (kcal) support
[Moto G Original Android Development] xenas:
Any update to solve the camera malfunction with 5.0.2?

Thanks in advance.
[Moto G Original Android Development] bedalus:
Sorry, we're going through some huge changes at work and we're short staffed so I'm too tired out right now to look at it.
[Moto G Original Android Development] jonas210678:
Take the time you need. You do this for free, you dont have to do the things direktly
[Moto G Original Android Development] DoctorStrange96:
[MENTION=6295391]bedalus[/MENTION]: Does any of your branches work with falcon? I suppose moggy and lollipop are for peregrine only. I'm thinking of building my own kernel, using yours as a base, but with more features
[Moto G Original Android Development] :
Sorry, but I think that was kind of rude. I'd hate to see another kernel dev up and leave. This kernel for 5.1 GPE: http://xdaforums.com/moto-g/development/butter-kernel-gpe-5-1-01-09-2015-t3191420 works perfect on my XT1031 with Stock 5.1 and on 5.0.2, the only problem I've found is the camera doesn't work. The 5.1 GPE source should work fine.
[Moto G Original Android Development] DoctorStrange96:
Rude? Why? That was just a simple question lol

But anyways, new sources are out, specifically for falcon: https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-LPB23.13-56
[Moto G Original Android Development] bedalus:
I didn't take any offense, it seemed like a legitimate question.

I think the GPE 5.1 sources are too advanced for the 5.0.2 ROM. I could possibly roll back changes in the camera driver (don't have time right now) but it could just as easily be a difference in the ramdisk (part of the ROM, not the kernel).
[Moto G Original Android Development] pico hackr:
i have a question, sorry i was not active here for a while , will this kernel work on stock 5.1 rom (not gpe ) , i am using brazil xt1033 varient
[Moto G Original Android Development] DoctorStrange96:
Hey, your toolchain download link is down, could you please provide another one? I tried to build the kernel with uber but it gave me errors. I'm on ubuntu (more precisely ubuntu gnome) 15.04 Edit:Ive downloaded the toolchain here, it was just a typo in your link. The kernel is building right now

And about the zip i linked here, its still peregrine source code, which proves that moto decided to use a common kernel for both devices (like it did with osprey and surnia - G 2015 and E 2015 LTE respectively)

---------- Post added at 15:55 ---------- Previous post was at 15:48 ----------

Yes it will. I also have a xt1033 with the Brazilian retail rom and the kernel works with it
[Moto G Original Android Development] methuselah:
Working great. Well lets see about battery life
[Moto G Original Android Development] SH1M4BD3:
tred it all day long seems its great kernel. even dunno how to configure it.. keep ot up
[Moto G Original Android Development] gabling23:
How does it work on the 5.1 considering battery life and performance compared to the stock kernel?
[Moto G Original Android Development] methuselah:
edit
[Moto G Original Android Development] Sportfreunde:
This doesn't work on Carbon Rom right since it's CM related I think?
[Moto G Original Android Development] SH1M4BD3:
Its stock based not cm/aosp
[Moto G Original Android Development] maurit43:
hello, whats tweaks has this kernel ? how many hours of screen performance is the battery ?

thanks !!
[Moto G Original Android Development] himu_joy:
if um not wrong this kernel is only for stock 5.0 and 5.1.

ur apologies made me confused!!! it may also give people wrong direction.

yah,u can edit ur comment dude.
[Moto G Original Android Development] methuselah:
Well swallow it. THere are other humans being on this planet too. Just make sure before flashing anything could go wrong. Everybody has learned the same way. Sometime this could happen. So make sure you are ready for everything.
[Moto G Original Android Development] maurit43:
hello ! wich tweaks has this kernel ? Im interesting in Battery (How many hours?) and ram manage performance

thanks you !!

---------- Post added at 08:10 PM ---------- Previous post was at 08:10 PM ----------

hello ! wich tweaks has this kernel ? Im interesting in Battery (How many hours?) and ram manage performance

thanks you !!

---------- Post added at 08:12 PM ---------- Previous post was at 08:10 PM ----------

hello ! wich tweaks has this kernel ? Im interesting in Battery (How many hours?) and ram manage performance

thanks you !!
[Moto G Original Android Development] methuselah:
This kernel works great. You will get improved performances over the original kernel shipped with the ROM. we'll this Kernel basically works without too much options.
[Moto G Original Android Development] maurit43:
Great ! thanks you... and wich tweaks i have to /should to do it ? ( i want to be a good performance/battery)

thanks !
[Moto G Original Android Development] CX456:
Hello, I tried this kernel and it's really great. But when I restore to stock pure kernel, the Wi-Fi is not working more ! Is there a solution for this because I can't change custom ROMs?

Thanks.
[Moto G Original Android Development] AssToast:
You need the stock kernel modules as well

Sent using XDA One
[Moto G Original Android Development] CX456:
But I'm XT1032 5.1 Stock Bell (No-GPE version) and they haven't the stock kernel module for 5.1, just 5.0.2.
[Moto G Original Android Development] AssToast:
Well, I hope you made a backup. Or you could find someone to provide you the stock modules.

The last resort would be to dirty flash your ROM.
[Moto G Original Android Development] lost101:
[MENTION=5761104]CX456[/MENTION] - Just flash the Stock 5.1 Kernel Modules here: http://xdaforums.com/showthread.php?t=2649763

Edit: I just noticed they haven't been added yet. I'll do that today.

Update: Android 5.1 Stock Kernel Modules - https://www.androidfilehost.com/?fid=24269982086998533
[Moto G Original Android Development] CX456:
Don't worry, I had already made a backup.

I knew the module for 5.1 was not available. Thank you for the upload and the problem with the Wi-Fi is solved.
[Moto G Original Android Development] maurit43:
Stupipd question, It this http://d-h.st/QAAf the link to download this kernel ? and Wich tweaks i have to/should to do it to have battery and performance ?

thanks !!
[Moto G Original Android Development] methuselah:
Flash and forget. This is how this works.... Well I don't support xposed but still you can install it and use amplify and greenify to increase battery life....
[Moto G Original Android Development] maurit43:
Thanks you ! and where is the link to donwload ? thanks
[Moto G Original Android Development] lost101:
It's in the first post. The word 'here' is a link: http://d-h.st/QAAf
[Moto G Original Android Development] Bhaskara Rao:
Flashed over existing stock LP 5.1.1 India xt1033. Working fine. Thanks a lot, Dev!
[Moto G Original Android Development] dhananjay123:
Does it have init.d support ?
[Moto G Original Android Development] maurit43:
Hello, I´m using Stock 5.1 Optimized by Lost101 with kernel stock. Is this kernel (Moggy) the best options to change the stock kernel?

Thanks you !
[One (M8) Q&A, Help & Troubleshooting] sarfaraj2488:
Hello ,

I am in stuck mode because my phone is in stuck mode,

Let me describe what i have done,

1. I have rooted my HTC one m8 eye with TWRP installed and su binary also,

I mean properly rooted but S-ON, I have used my phone well for couple of days,

Then i have decided to install skyDroid custom Rom stable version.

In that installation process i came to know that S-OFF is required,

then i have tried but nothing happend still S-ON mode, then in TWRP by chance i have click Advanced -> Fix Permission.

Then next time when i want to reboot my device do not turned on.

Then i tensed and decided to install SkyDroid rom on it beacuse i thought rom was gon and i haven't backup any thing,

After Successfully installing the Rom With S-ON mode, Rebooted but

It Automatically goes to Fastboot mode the white screen like below

[IMG="FastBoot screen mode"]https://lh3.googleusercontent.com/C8dlBr_7iOEeNQkmEDW-IN74SOsPgf2rTAna-zpkUsM=w229-h389-no[/IMG]

The it never goes to normal restart i have tried using reboot option , Factor reset also if i select it goes to TWRP recovery mode.

What should i do , I can remove my sd card and put any thing then i can find through TWRP.

Please help me out of this problem....

Please............

This is what i got

C:\adb>fastboot getvar all

< waiting for device >

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.23.213311711.05G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.30.720.4

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: FA56HY901306

(bootloader) imei: Changed

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: mels_tuhl

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B90000

(bootloader) cidnum: HTC__038

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: d66e083e

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.063s
[One (M8) Q&A, Help & Troubleshooting] Mr Hofs:
EDIT !

You don't have an M8 ! And REMOVE your imei !!!

http://xdaforums.com/htc-one-m8/help/q-htc-m8-melstuhl-t2951262

Read that ! Very clear answer.
[One (M8) Q&A, Help & Troubleshooting] sarfaraj2488:
The answer says:

None of the above will work on your device.

Never ever flash a custom ROM meant for M8_UL and its variants on your M8 Eye.

You'll risk a brick.

And then Team SkyDragon given some suggestion to install rom ,

Should i go ahead to those step ?
[One (M8) Q&A, Help & Troubleshooting] Mr Hofs:
If you read that previous comment and understand what skydragon says, then go ahead (assuming they know you actually have the M8 EYE !) If it's bricked it's on your behalf......

And i don't see any mentioning of HTC M8 EYE in their rom opening post !
[One (M8) Q&A, Help & Troubleshooting] sarfaraj2488:
Then please tell me how may i get back to good ROM or stock ROM which will be supported to HTC M8 EYE.

Please help me ....... Or I should go to HTC service center.
[One (M8) Q&A, Help & Troubleshooting] Mr Hofs:
No idea. Check for a ruu for the M8 EYE or a backup if it's available somewhere. Too hasty to perform a backup or to read up first on hardware and software specs......

Good luck !
[One (M8) Q&A, Help & Troubleshooting] sarfaraj2488:
PLease reffer some one who will give hope ...
[One (M8) Q&A, Help & Troubleshooting] Mr Hofs:
No idea, never even looked at HTC M8 eye ......
[One (M8) Q&A, Help & Troubleshooting] CrazyRyanCooper:
Stock ROM for M8 Eye

Flash it with official RUU, link below.

https://drive{dot}google.com/file/d/0B-JhHhqeg46jZm9DYU5rMGVnRTg/view?usp=sharing
[One (M8) Q&A, Help & Troubleshooting] Brainlobe:
HTC M8 Rom Issue

Hello, I Have also M8 Eye and i want to upgrate nougat via Cynogen mode. I do all instruction and i believe that i have some mistakes.

Now i have similar problem Fast boot stuck.

- First step is bootloader unlock, i make by HTCDEV account.

- Fastboot i do as instruction.

- TWRP recovery is done also

After that i setup Synogen, but now my phone doesn't open as normal system. Always coming Fastboot mode. I could not open that.

When i setup Cynogen via TWRP give me "E:unknown command [log] error" other all things are normal.

When i reboot my M8 it is turning back to fastboot mode.

Also I've tried to use stock, htc ruu is not working on my device.

Finally I've tried many thing but my phone now wont be open.

So, what can i do for fix my phone?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
You need to revert to stock M8 EYE to fix it. No other M8 ROM can work for your device.

Post fastboot getvar all result to see your device details and to see whether any RUU or nandroid backup available.
[One (M8) Q&A, Help & Troubleshooting] Brainlobe:
I'll try that, i was also try it but gived some error.

Thank you for your support.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Provide the details on the commands used, the exact error messages, etc.

We can probably help, if you provide better information than "some error"!
[XDA Assist] jj_murillo:
Help! How do I root the gt-i9060c.
[XDA Assist] GuestK0087:
Hi, thanks for using XDA Assist! :)

Please direct your question here:

http://xdaforums.com/android/help

Good luck! :)

Thread closed.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] bennec83:
Hey Guys,

Yet another sleeples night, looking at something that is probably simple and getting no where.

THE PROBLEM:

APPARENTLY you can change a CAB file into an OEM so that it can be used in Pandora Kitchen, the kitchen thread says its possible, but doesnt really give directions as to how.

Considering this is a new thing to, and there is no info about this on the site (that i can find)

Can someone please tell me step by step how to do this, and by step by step i mean:

1).................

2).................

3).................

4).................

etc etc

Thankyou for your help in advance
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] twist:
Here is a test package I made, but I keep getting a registry errors. Maybe someone can tell me what im doing wrong. I think it was better to keep all this in the kitchen thread personalley but as long as I can figure this out I dont really care.

Extract this file and take the "Remote Desktop" dir and drop it in the OEM dir in the Kitchen, and it shows up and all but when you go to build with teh green arrow I get a registry compiling error.

I also attached the original cab file that I started with when attempting to create this package.

Also attached is the cab manager that Matt uploaded, I am sure its the same as the one posted above but this has a readme and what not.

First Matt told me this:

Using this tool (many out there, this one's free and does a good job), extract the cab to a folder, then click on XML and grab the .rgu contents. Be wary of the format, as you have to delete any spaces between entries, such as "biteme" = dword : 00000001 should read "biteme"=dword:00000001.

Also, ensure that any path in this file (file system, not registry) is in this format: "\\Windows\\Startup" The second slash is required. Also, remove any references like %ce%\Windows, just change it to "\\Windows". You'll get the idea. If it ain't right, BuildOS will fail while creating the registry.

Move all the files into the top level in the folder you made, and remove all the extra crap like the inf file, and sometimes there's an xml file there too - note that you may need to convert to a provxml if the settings in it are required.

Use this site http://www.famkruithof.net/uuid/uuidgen (verion 4) to get a new GUID. I'd suggest coping a .rgu and options.xml file from another package since the file has to originate a certain way - and only use notepad to edit.

Just follow the example in the other packages - you'll find just about every way to do things in there.

As far as more details on using the program, just play with it. It's pretty simple

Then Bennec83 told me this:

what exactly are you trying to do? extract a CAB? if you are, using the file i uploaded earlier:

1)Launch CAB Manager.exe

2)on main screen extract CAB to a folder

3)click on the XML tab in top bar of the main window of CAB Manager.exe

4)in the window that opens, select Registry Keys

5)copy everything from the screen into WORDPAD

6)remove all the spaces

7)save the file as "UNICODE", once saved change the extension to somename.rgu

if you are trying to add an OEM to this kitchen i dont think you can just add them, please correct me if im wrong.

i hope this helps, if not tel me abit more about wat u want to do n ill try to help abit more!!

I understand the INF file as well, I just dont know how to add multiple directories as the destinations for a package, when a cab inf will tell you where there all suppost to go.

--Update--

I removed the NON-WORKING package, as it is now obsolete, see post below I got it working.