yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] Pupet_Master:
[MENTION=5053748]obsolete1[/MENTION] , can you help me?

I got a osprey kernel source, set the peregrine config file on the devices list and i'm using ubertc 7.0

How ever i can't figure out how to compile, do you have any tips?

I had a bash script but it give error on the gcc from the kernel source gcc.sh and the TC folder (if i got it right)
[Moto G 4G Android Development] obsolete1:
a basic kernel build goes like this...

make clean [COLOR="Red"]<--[/COLOR]not "needed" but I do it every time
ARCH=arm
export CROSS_COMPILE=/path/to/toolchain/arm-eabi-SOMETHING/bin/arm-eabi [COLOR="red"]<--[/COLOR] the /bin/arm-eabi- is important part
make SOMETHING_defconfig [COLOR="red"]<--[/COLOR] for us it would be peregrine_defconfig
make -j4 [COLOR="red"]<--[/COLOR] the j4 is whatever your processor cores are +1 i just always do j4 it doesnt take very long anyways

I use a build script with a selection menu for uber or Linaro toolchains...but I've not built a usable kernel lately

Hope this helps
[Moto G 4G Android Development] Pupet_Master:
thanks so much, i'll test this script right now.

It did help a lot, specially the j4 that i never understood too well and what steps to take in what order.

Let's hope it work fine or if my linux is missing more things haha :P

Again, thank you very much my friend :)
[Moto G 4G Android Development] M_Naranjo:
What changes did the ROM krexus ?
[Moto G 4G Android Development] MarcosHenrique:
Bug?

I realized that the Krexus rom youtube does not appear option of videos in HD with someone does this happen?

Edit : Ok for some reason did not show videos in HD, reinstalled the youtube app and returned to work Thanks , this rom is very good
[Moto G 4G Android Development] obsolete1:
AOKP update on 24th sorry delayed post. Will have one more update then chill till N.

The next AOKP build will have DT2W/S2W and KCAL built in again.

If you can't wait that long get the kernel here.
[Moto G 4G Android Development] obsolete1:
Aug 29th AOKP is up

Krexus updated their CAF sources so I'll be running a build on that (building now) with the KCAL/DT2W kernel built in too.
[Moto G 4G Android Development] obsolete1:
Sure do

your command line

make j4

you missed the "-" in front of the j

make -j4

---***---

Here's a pretty basic build script if you want to use it. Copy paste and save as build.sh

#!/bin/bash

txtbld=$(tput bold) # Bold
txtrst=$(tput sgr0) # Reset

res1=$(date +%s.%N)

echo -e "${txtbld}Cleaning before build${txtrst}"
make clean
make mrproper

echo -e "${txtbld}Set ARCH=arm${txtrst}"
export ARCH=arm

echo -e "${txtbld}Set toolchains${txtrst}"
export CROSS_COMPILE=/home/sysuser/android/arm-eabi-7.0/bin/arm-eabi-

echo -e "${txtbld}Start build${txtrst}"
make peregrine_defconfig
make -j4

res2=$(date +%s.%N)
echo "${txtbld}Total time elapsed: ${txtrst}${grn}$(echo "($res2 - $res1) / 60" |bc ) minutes ($(echo "$res2 - $res1" |bc ) seconds) ${txtrst}"

You should be able to drop in you kernel directory and in command line

. build.sh

and you'll be good to go.

Side note N source code is HUGE...just saying
[Moto G 4G Android Development] Pupet_Master:
darm, what a overlook of my part.

I'll try it typing first then i'll use the script you sent me. Thanks a lot m8.

Yea, i was thinking about the size of the upcomming N source, but i think that it will worth the huge download and disk resources for it
[Moto G 4G Android Development] ph_quiste:
Hello! Sorry if I am asking this, but what ROM (available in the AFH page you linked here) do you consider as the best? I mean, in general, performance and battery. I am using Orion, android 5.1.1 right now, can you advise me? Thanks for the ROMs!
[Moto G 4G Android Development] Fedray:
Latest CM13 Snapshot is the best atm of all roms available for our peregrine. :)
[Moto G 4G Android Development] ph_quiste:
Are you sure? I was using the snapshot before the latest one, but, believe me, I found it a little bit (very little) laggy... Then I came to OrionOS (android 5.1), and it is awesome. From the ones Obsolete has in his AndroidFileHost, which one would you recomend?
[Moto G 4G Android Development] Mobilettchen:
Thanks for your great work!

Finaly - after a lot of bad experiences - I found my prefered ROM (KREXUS).

This one also runs on my Falcon flawless.
[Moto G 4G Android Development] Gianlu92:
Seems like SOKP and Xposed do not pair well, the ROM just doesn't boot, my phone is stuck on a black screen and it's vibrating twice if I press any hardware button. Going back to my previous backup. Anyone can relate?
[Moto G 4G Android Development] obsolete1:
You ain't the only one...There are a couple one off builds (ResiRemix, TeslaOS, Euphoria) that I've done too that aren'e on the list. I like porting and flashing...self regulating crack flasher.
[Moto G 4G Android Development] Pupet_Master:
What is your project that you are most enjoying at the moment m8?
[Moto G 4G Android Development] obsolete1:
SOKP seems to be the current choice...it seems to like Yankactive CPU gov and Conservative GPU gov, more than Orion does. Getting ready to work on PAC which has been one of my favorites for a long time, I wish AOKP would start back up it was my all time favorite.
[Moto G 4G Android Development] Pupet_Master:
Cool i was a big fan of AOKP as well, shame that they stop.

PAC was one of my favorites too, cant wait for your version after the work you wish to implement
[Moto G 4G Android Development] obsolete1:
AOKP didn't go anywhere they just slowed WAY down. I check their github at least weekly to see any progress.

Basic build for PAC is going right now everything seems to be going alright...trying to decide if I'm going to stick with the CM kernel or put in mine...

Sadly I only have a dual core processor so build take a good 4 hours.
[Moto G 4G Android Development] Pupet_Master:
I know the feeling i'm with a dual core atm as well. Painfull slow for this kind of task now days.

I would like to try your Kernel on PAC.
[Moto G 4G Android Development] dog121:
Yep can confirm that xposed doesn't work with SOKP:):):)
[Moto G 4G Android Development] mieru:
With iFont it works to change the font in SOKP!

Play Store Link:

https://play.google.com/store/apps/details?id=com.kapp.ifont
[Moto G 4G Android Development] dog121:
Awesome I'll check it out:):)
[Moto G 4G Android Development] Gianlu92:
That's a pity, I really liked SOKP, but without Xposed I feel I am missing something :c Any chance the issue can be solved, [MENTION=5053748]obsolete1[/MENTION]?
[Moto G 4G Android Development] obsolete1:
Probabally not, sorry bud. I don't like xposed don't see a need for it so I don't use it.

SOKP, Orion, and PAC all have updated builds for download. The PAC is a plain jane CM kernel no tweaks or anything its about as stock as PAC comes. I may leave it that way too...well maybe a few tweaks here and there...
[Moto G 4G Android Development] mieru:
Now im testing SOKP for 2 days. Really great rom! Good battery life and amazing performance with more free ram as other roms I've tested.

I noticed 2 minor bugs:

* The installation of new Layers doesn't works. The folder /vendor/overlay remains empty after an installation over the Layers Manager.

* In the app chooser (eg. when you click on a link to choose the browser) the selected app has the same background color as the chooser itself. So you cannot see which app you have selected.
[Moto G 4G Android Development] dog121:
Is this on the last build... 21/9/15
[Moto G 4G Android Development] mieru:
Yes, also on the last build.
[Moto G 4G Android Development] dog121:
I had issues installing the latest update Google play services always crashes and the play store don't work its probably because I never installed gapps when updating the ROM but if layers has an issue I will wait coz the first build is fine everything works ..
[Moto G 4G Android Development] mieru:
Let it be understood... if you copy the layers by yourself in /vendor/overlay the layers works. Only if you use Layers Manager it doesn't works.

Btw, you have to flash the gapps after an update.
[Moto G 4G Android Development] dog121:
Yep know that me being lazy.. It's just that aicp and some other ROMs had a gapps backup so u never had to reflash every time u install an update ..
[Moto G 4G Android Development] mieru:
Yes, I know. This is a convienent feature. Unfortunately not every rom has this integrated.
[Moto G 4G Android Development] rodsayd:
I've been using Orion and everything is working pefect for me. Just one small question, I can't find notification ticker on any of these ROM's, is there an alternative?
[Moto G 4G Android Development] Wickie69:
I´m using your sokp Rom (with optimus Kernel) since 4 days.

Everything is working fine. Good Ram Management, low Battery usage (1 % per night)).

The only thing is, that it is not possible for me to change the songs with the volume button by screen off.

Thank you.
[Moto G 4G Android Development] mieru:
It works for me. Did you activate the "Volume rocker music controls" in the advanced sound settings?
[Moto G 4G Android Development] Wickie69:
Yes but it doesn't work.

Could it be because oft the kernel.
[Moto G 4G Android Development] pargop:
Orion LP is he best ROM currently available for our device!! I have tried them all, but the performance and at the same time battery is the best, everything works (ok, except wifi tethering) and no issues. Wonderful!

By the way, any plans to continue with development? (Not asking for ETA)
[Moto G 4G Android Development] obsolete1:
Thanks for the kind words...

SOKP, Orion, and PAC updated finally.
[Moto G 4G Android Development] Pupet_Master:
Nice, is PAC out of the beta?
[Moto G 4G Android Development] pikouchou:
Please could you update the Paranoid PA for our peregrine.
[Moto G 4G Android Development] Pupet_Master:
I tried to install OrionLP, without data cleanning, only system, dalvik and cache. How ever it got stuck on a bootloop.

Sorry the ignorance about this ROM, but it isn't with the same CM12.1 build such as crDroid?
[Moto G 4G Android Development] falle21:
As far as I know Orion is based on slim rom

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] obsolete1:
Yes Orion is Slim based not CM...so you'd be really lucky if that didnt cause a boot loop.
[Moto G 4G Android Development] Pupet_Master:
Thank you, i'll make a Titanium backup to do a full wipe and install.
[Moto G 4G Android Development] obsolete1:
Sources downloaded working on it now...
[Moto G 4G Android Development] pikouchou:
Thanks a lot. I'll be waiting
[Moto G 4G Android Development] benjoe1:
Which kernel is working with OrionLP ROM, stock like KaminariKernel, Beto's Kernel v1?
[Moto G 4G Android Development] rodsayd:
Stock based kernels doesn't work with custom roms based on cyanogen, slim and etc. You can use other custom kernel like Optimus.
[Moto G 4G Android Development] obsolete1:
New ROM to try out last lollipop ROM I'm going to build since it looks like all the others are pretty much done with 5.1 and working on 6.0. TeslaOS is a pretty simple ROM but very functional, its got the most recent version of my kernel as well...Alucard CPU governor has been added and the SimpleOndemand GPU governor is working without crashing the system. Working on adding Alucard HotPlug then onto the Bricked HotPlug driver possibly.

Good news is AOKP is back and working on 6.0 and I've been working on that it builds but doesn't boot. But they are back to work so I'm pretty excited about that. Sorry about the 2 months of being gone work got super busy, but thats over with now in more ways that one. Welp anyways enjoy back to work on the MM stuff
[Moto G 4G Android Development] dog121:
Great news looking forward to some of those new mm Build's...
[Moto G 4G Android Development] rodsayd:
I'm using Tesla ROM and is working flawlessly, always loved your ROM's. Thank you and I'll be waiting for MM!
[Moto G 4G Android Development] falle21:
[MENTION=5053748]obsolete1[/MENTION] thanks for your great work, I'll be waiting for your mm builds, your work is always great, one thing is the links to Tesla in op arent available for link directly

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] pargop:
Hi [MENTION=5053748]obsolete1[/MENTION]! Installed Tesla - great work as always! Many thanks! I`m also looking forward to M builds.
[Moto G 4G Android Development] obsolete1:
Fixed.

Last build is up. Alucard hotplug is in, benchmarks says its slowed way down but I don't notice it.
[Moto G 4G Android Development] obsolete1:
It lives!!!

...granted its pretty much the same thing as CM at the moment but I'm glad to see these guys back at it!
[Moto G 4G Android Development] falle21:
Awesome!!! That's great new

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] Kayant:
Wow they are actually back. Ha reminds me of the good old days with my Moto Defy it was I think the second or very rom I ported when I was first learning about bring from source.
[Moto G 4G Android Development] obsolete1:
Uploaded a stable version of AOKP 6.0. Root working and most basic of functions Tele, Text, Cam, and GPS working. Don't know about Xposed because I don't use it. This one for right now is slightly repackaged CM so be for warned

I've got another build (as of the 11th) but waiting a full day before upload. This one is leaning towards AOSP. Now I can start working on adding some kernel stuff.
[Moto G 4G Android Development] falle21:
Thanks for all the work you do, I'll wait for the other build anxiously :)

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] obsolete1:
Its up and available for download.
[Moto G 4G Android Development] rodsayd:
Is it 6.0.1? Or not yet? I will try it :D Thanks for bringing us these builds
[Moto G 4G Android Development] obsolete1:
Yes it is 6.0.1
[Moto G 4G Android Development] Short Viking:
AOKP 6.0 seems nice and stable so far, after 3-4 hours of use. Yet to see how the battery life and long-term stability turns out. Noticed some strange/buggy popup messages that looks off, but im sure that can be easily adjusted in the future. Multi-tasking seems good. Phone, wifi and FM radio works great too. I have not yet tried root or xposed as i havent really been bored enough to need it yet ;) Good job, cant wait for more updates for this! :)
[Moto G 4G Android Development] falle21:
Aokp work perfect, no issues at all, thanks, like always your roms rock

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] pikouchou:
My dream ...... a AOSP Paranoid PA under Marshmallow.......
[Moto G 4G Android Development] obsolete1:
I dont know if you know this but PA is pretty much done for.

http://www.androidauthority.com/paranoid-android-calling-it-quits-648429/

AOSParadox is possible, one of the primary developers works on the Falcon from what I've seen its a pretty slick ROM. I've peeped the repos and dang has he put a lot of work into it.
[Moto G 4G Android Development] Kayant:
Yep [MENTION=4792450]h2o64[/MENTION] did some awesome work with CAF.

Probably best to use falcon tree as base and re-edit for peregrine as there is quite a lot of changes to track.
[Moto G 4G Android Development] pargop:
The same here! Great ROM, as always. Also xposed is working (I only use GravityBox and it is mostly also working). Looking forward to next release!
[Moto G 4G Android Development] mieru:
How is the AOKP build in terms of settings features? I'm interested first of all in customization of navbar, navbar ring, music volume steps. Thanks!
[Moto G 4G Android Development] Pupet_Master:
Hello, i installed it on top of CM13 (latest nightly) without clean data (i only wiped cache, dalvik and system).

It have every single feature the oficial CM13 builds have, exept for some tiles that CM team added on the latest builds.
[Moto G 4G Android Development] mieru:
Thanks for your answer, but I have not yet installed any MM rom until now. So I don't know the CM13 features. Has CM13 the features I mentioned before?
[Moto G 4G Android Development] Pupet_Master:
Well you can customize the navbar buttons, how ever the ring is gone (i'm using pie controls from gravitybox to "replace" the ring).

There are volume customizations, i think volume steps are there (how ever as i'm not so sure if it is what i think it is, may not).

It have some tiles customization, Privacy settings both of MM and CM, clock and weather on the status bar settings.

All in all the only thing i miss for real is the ring.

The only catch is that MM system partition is read only. So root and xposed wont work so great. Neither will it save some configs you change of the system (as it wont write on the system partition).

But i made this script to flash after the ROM is installed to keep the system partition as read and write... and set SELinux to permisive.

That way everything work fine.
[Moto G 4G Android Development] mieru:
Ok, so I have to install xposed and gravitybox to have some more customizations. Thank you for the script :good:. I'm not yet sure if I want to wait until all customizations (perhaps also navring) is integrated and the "bug" with system rw is fixed before I flash a MM rom :rolleyes:. But this is up to me, I know :o. Thank you anyway! ;)
[Moto G 4G Android Development] Pupet_Master:
I know the feeling, when i first installed MM i felt the same.

The only thing that wont change is the system rw. It is a new "security" feature of MM to be read only.

So it is here to stay :\
[Moto G 4G Android Development] mieru:
Oh ok, evil google :p. Perhaps a custom rom will integrate a script like yours (or what the script does). But I can live with that to flash your script each time I flash a MM rom ;).
[Moto G 4G Android Development] Pupet_Master:
Yea i have high hopes for it as well, the beauty of android and linux are the customizations, but Google really dropped the ball on that decision
[Moto G 4G Android Development] obsolete1:
Trust my I tried...and failed...a lot. Resyncing the sources and trying again. Combining the common repos and the device repos is so labor intensive. CM splits as much as possible into a common repo and a little bit into a device specific repo. And AOSParadox has a lot of CAF code witch can interfere with what is already in the CM code. [MENTION=4792450]h2o64[/MENTION] has a nice road map to follow seeing is how he's done it already for the falcon....peregrine shouldn't be that hard to replicate. It'll just take time.
[Moto G 4G Android Development] Kayant:
Probably wasn't too clear but I meant to say using this - https://github.com/h2o64/android_device_motorola_falcon/commits/cm-13.0-falcon

And editing any falcon references to peregrine and using the CM device tree as reference to ensure peregrine specific stuff are there. Since [MENTION=4792450]h2o64[/MENTION] has done all the hard work and is very more knowledgeable about the way things are sourced than us using his work as base and editing for peregrine is the easiest way.

You can probably also use the same vendor tree with the expection of using peregrine sensors.msm8226.so as we have different sensors. I will probably have a go as well at some point after I finish playing around with AOSP.
[Moto G 4G Android Development] obsolete1:
It took about 4 hours but I got through most of the commits. Omitting the ones that pertain to the SD card is about the only major thing (they don't have one :p) and dual sims. But I think I got everything. Luckily on their kernel they are updating the peregrine_defconfigs as well so maybe hes working on adding us in.

Running a build now, lets see how bad it breaks...
[Moto G 4G Android Development] yilhernandez:
[MENTION=5053748]obsolete1[/MENTION] You will update the AOKP?

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] obsolete1:
It's uploaded and available now.
[Moto G 4G Android Development] yilhernandez:
Okay, thank you friend. [emoji122] [emoji122]

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] Pupet_Master:
I just installed it, it is very smooth. All the extra features are amazing. How ever i can't boot it after xposed is installed, is it still not compatible with it?
[Moto G 4G Android Development] obsolete1:
That I do not know. The only time I ever used xposed before we had custom ROMs. AOKP is mostly CM, so if it works on CM it should work on AOKP. I'll download xposed and see whats up.

..EDIT..

Worked for me. I'll post a download for an updated kernel (which might have something to do with it).

Make sure you are using xposed-v79-sdk23-arm.zip and it should be good to go.
[Moto G 4G Android Development] obsolete1:
Okay kernel is up and available

Nothing super special its CM based

upped it to v3.4.90 from the base of v3.4.43

Alucard hotplug

Frandom

xperience CPU governor

simple GPU governor fixed

Working on adding some more stuff
[Moto G 4G Android Development] Pupet_Master:
Thank you very much, i'll download it right away :)

EDIT: It work flawless ;)
[Moto G 4G Android Development] obsolete1:
New kernel download available V1.1

Built with UBERTC 4.9

added some graphite flags & some -O3 optimizations

smartasH3 & intellimm CPU governors added

Bricked Hotplug added as well.
[Moto G 4G Android Development] Pupet_Master:
Sweet, the prev version was already a very solid and smooth Kernel, i'll flash the new now ;)
[Moto G 4G Android Development] Pupet_Master:
[MENTION=5053748]obsolete1[/MENTION] , the kernel work amazing. It is even more smooth then the prev version, that was very tailor to the ROM. The new features give more flexibility too to us Kernel Adiutor addicts :P

I have a question tough, is AOKP team doing regular updates (even if not nightlys) to the ROM as CM team is doing? Or the rhythm that they do is slower?
[Moto G 4G Android Development] obsolete1:
Looks like an every other day or so kind of pace. I've got another build from the 9th. But I dry run for a day before I'll upload to make sure its okay for daily use. More than likely it'll be up this afternoon (around 2pm EST when I get back).
[Moto G 4G Android Development] Pupet_Master:
Thanks obsolete1, i'm glad that they upload on regular basis as the CM team do as well as you test the ROM always before upload yours with the improvements you do.

I'll switch for good now to AOKP ;)
[Moto G 4G Android Development] lans_98:
[MENTION=5053748]obsolete1[/MENTION] can you build AOSP 6.0.1 ? Pls

---

Edit: AOKP is based on CM? Or it's AOSP based?

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] obsolete1:
AOKP is CM based. I'm working on an AOSP/CAF ROM :good:
[Moto G 4G Android Development] lans_98:
:D :D :D I will wait bro :D :D :D , thank you <3

Enviado desde mi XT1040 mediante Tapatalk
[Moto G 4G Android Development] obsolete1:
Next version of the kernel is available.

The AOSP/CAF ROM is compiling (and crashing and fixing and compiling and crashing)
[Moto G 4G Android Development] Kayant:
lol :p. Are you still using AOSP paradox as base or https://github.com/AOSP-CAF
[Moto G 4G Android Development] obsolete1:
AOSP-CAF

Its so odd/frustrating to go to AOSP source from CM. Using the same device repos and it doesn't work quite right. I didn't think that CM was that far off of AOSP/CAF but apparently it is. I'm learning a lot which is a good thing.
[Moto G 4G Android Development] Kayant:
Ha I see I might be using that as well. Am going yo probably start looking into CAF now so if I get anything to work I will tell you. Maybe ask Flashhhh how he configured it for falcon but looking it the source it seems it needs minimal changes for it from a cm tree.
[Moto G 4G Android Development] obsolete1:
Yeah I thought the same thing...lots of surfaceflinger related crashing which is really weird and the vendor files don't seem to jive all to well either.

I've thought about working on a CAF based kernel for some time but just never seem to find the time to even start looking into it.
[Moto G 4G Android Development] Kayant:
Yh that seems weird maybe clang related issues?

Pure Caf kernel seems hard but I think h2o64 has a hybrid or close iirc
[Moto G 4G Android Development] obsolete1:
He does, I tried a few AOSParadox build using his kernel and it had boot issues I never could get it running quite right.