yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] rachanta:
building with chaos

[MENTION=1184673]LorD ClockaN[/MENTION], I am experimenting with installing chaos instead of n3o-hammer. I have changed the aicp-manifest.xml in local manifest. Please see attached.

What change do I need to do in?:

Volumes/droid/raop/vendor/aicp/configs/common.mk

I don't know if this sort of help falls within the purview of this forum, so please feel free to shoo me off. lol!

I have successfully built pure aicp with stock kernel around 15 minutes ago. I have decided to always keep the chaos kernel or for that matter any other testing itch I have out of this pure build series.

The other build series will have all my mods. You can suggest if you want me to test any thing with my experimental builds which i will be doing with my copied repo. I know you said it is not required. But with the copy already there and syncing well with aicp and neobuddy etc, I might as well keep it there for all the experimentation I want to do.
[Nexus 5 Android Development] LorD ClockaN:
Even though I still have high temperature, every day I'm needed to start up my factory.. So I'll explain all when I get home soon..

Also you want to build chaos from source instead of aicp kernel?

What apps you want to build also from source?

~~ Flowed from my Nexus 5 ~~
[Nexus 5 Android Development] rachanta:
I thought Losinj was a resort. Factory, work! lol. Do get well soon.

Top of the mind, I want to try chaos kernel and LockClock. I am still exploring various repos to look at features that looked cool / better. There is a very good mms app with both emoji as well as smiley support, a variety of bubbles. I need to find the source for this. I can always flash these or install direct to /system/app or priv-app, but I like to have some fun.

Beanstalk has a few cool features like the most advanced Quick Setting / Toggles of all roms I have seen. Probably Dirty Unicorns and Liquid have the same, but i have used Beanstalk a lot before getting hooked to AICP, because of AOKP features and equally importantly your helpful, interactive approach.

May be someday I will know enough to build multi windows, though you have your reasons against this. lol!
[Nexus 5 Android Development] LorD ClockaN:
You can forget about any tile settings or additions from other ROMs.. Not compatible

~~ Flowed from my Nexus 5 ~~
[Nexus 5 Android Development] LorD ClockaN:
OK, this is my old local manifest, but can't remember for which rom :D

https://www.dropbox.com/s/egcc3deg7acm3pm/local_manifest.xml

you can see clearly what I did there...

so you can delete all and add only chaos kernel.. also no need to remove project kernel_lge_hammerhead like I did for some, just let it copy it to for example kernel/lge/chaos

than you need to edit this: https://github.com/AICP/device_lge_hammerhead/blob/kitkat/BoardConfig.mk

L111 and L112

112 you just set different patch to your kernel you want to build

111 you need to set chaos's defconfig that he uses to compile his kernel.. you'll probably find that out on his github.. it's the only file that is updating in arch/arm/config folder inside kernel folder

Edit:

you can add LockClock from CM also and than here: https://github.com/AICP/vendor_aicp/blob/kitkat/configs/common.mk

in L24 section, add LockClock module name to the build.. don't forget to add \ in the row before. only last row doesn't have \

Package name: https://github.com/CyanogenMod/android_packages_apps_LockClock/blob/cm-11.0/Android.mk

L23
[Nexus 5 Android Development] rachanta:
Thanks. I will try when I get back home from work.

Just did a pure aicp build about an hour back, everything seems OK.

BTW, is there any reason why I should make clean for pure aicp builds?

Also, in case I succeed with chaos kernel, do I need do a clean build?
[Nexus 5 Android Development] ayyan84:
Thanks for the great rom and work. Just wanted to ask for themes. Whenever I apply themed it gives me lot of FCs and sometimes phone restarts

Thanks
[Nexus 5 Android Development] RomeroMsk:
[MENTION=1184673]LorD ClockaN[/MENTION], thank you for great ROM! I switched to it from DK (through PAC-man for three days). I like ROM features, but still need some of recently used in other ROMs. Can I make some feature requests?

1. I want to show date in statusbar clock (with format setting). Is it possible?

2. Launch alarms settings by tapping on the notification clock also will be useful.

3. Can you add QuickSettings ribbon or CM Power Widget for notification drawer?

4. And the last one, not so necessary, but very comfortable feature: buttons in NavBar to move text cursor right and left (in inputs). But I can't remember where I saw this feature (not in Nexus 5 ROMs) :(

And a bug. When I change statusbar icons color, statusbar clock disappears (it seems like color of clock sets to black, in spite of ROM Control - Statusbar - Clock - Color settings).
[Nexus 5 Android Development] vin4yak:
That's because the rom isn't meant to work for those themes... But I have tried few themes myself just out of curiosity but not even a single theme FC'd...

-Flowed from an IceCold Hammerhead!
[Nexus 5 Android Development] LorD ClockaN:
1 and 2 can possibly be arranged

3 Settings/RC/Toggle/Configure - there are 3 types of toggles..

4 never saw or heard of this

I was testing with center clock color set to white... and it was all fine, didn't had a chance to test anything else..

Edit;

also what roms does have points 1 and 2?
[Nexus 5 Android Development] maorgit:
ok just flashed latest nightly 03/26 and when i connect phone to computer via usb screen is flickering and is really messed up... did you guys change anything? i have been using this rom for a while and this is the first time this happened to me...
[Nexus 5 Android Development] vin4yak:
I'm on the latest build as well... No flickering here.. :eek:

Does it flicker randomly or just when you attach it to a computer? Flickering could also mean a hardware failure as well :(
[Nexus 5 Android Development] LorD ClockaN:
Mine is connected pretty regulary for flashing and debugging.. never experienced something like that
[Nexus 5 Android Development] refedit:
thing I'm facing about a month is when N5 connected to PC it's getting laggy and not so responsive :confused:
[Nexus 5 Android Development] CheesyNutz:
Never had this happen

Sent from ...............
[Nexus 5 Android Development] refedit:
well..don'r know if its usb cable related or so..fact is, also w/ other ROMs same happens, as in office PC as at home o laptop
[Nexus 5 Android Development] RomeroMsk:
1 and 2 is implemented in PAC-man, for example. I think that 2nd is CM (or even stock) behaviour, because I used it on different ROMs and phones before.

3. Ok, now I see it. But I can use only QS tiles OR ribbon, not both (like in CM based ROMs)?

4. I think it can be one of the features of GravityBox (never used it, but just googled for "navbar cursor buttons").
[Nexus 5 Android Development] LorD ClockaN:
I've implemented actions for date and clock

3. no way to have them both I think

but that date in statusbar could be a big PAIN because all roms picked it from Slim togethr in one patch that has clock statusbar clock settings and we already have those from AOKP..

I'll try to take only date parts and implement it into our source but not making any promisses
[Nexus 5 Android Development] maorgit:
okay i don't know what that was but after rebooting it stopped :)

i saw in the changelog that "OK GOOGLE" was supposed to be fixed but it still doesn't work for me. does it work for anyone?
[Nexus 5 Android Development] ayyan84:
Can u tell me name of the theme I will try and report back.. Thanks
[Nexus 5 Android Development] RomeroMsk:
Ok, waiting for update. Thank you!
[Nexus 5 Android Development] LorD ClockaN:
that is fixed only for STE devices and that is not Nexus.. also OK Google was never broken for Nexus.. it always worked and it's still working
[Nexus 5 Android Development] maorgit:
That's strange... :(

For me it never worked with this ROM and I always flash aicp gapps...
[Nexus 5 Android Development] rachanta:
Changes to BoardConfig.mk

)

[MENTION=1184673]LorD ClockaN[/MENTION]

L111 & L112 - changes to https://github.com/AICP/device_lge_hammerhead/blob/kitkat/BoardConfig.mk

How can I make the change on github?

You mean after repo sync using the new aicp_manifest.xml, I need to make the change manually in my local ...aicp/device/lge/hammerhead/BoardConfig.mk.

Could this be a good case for forking, and including my version of Board_config.mk in the list in aicp_manifest.xmk
[Nexus 5 Android Development] LorD ClockaN:
do manually, yes.. the change will always persist until we change something in that repo..

than you'll get error on syncing, so you revert your change and repo sync again and do the change again..
[Nexus 5 Android Development] rachanta:
Could this be a good case for forking, and including my version of Board_config.mk in the list in aicp_manifest.xmk

I need to delete all the useless forks I made.
[Nexus 5 Android Development] LorD ClockaN:
yes, you can fork it and add your to your local manifest..

but than you'll have 2 device repos in your source that will confict..

one is in aicp-manifest file and it will always be recreated AFAIK
[Nexus 5 Android Development] rachanta:
oops
[Nexus 5 Android Development] Synyster06Gates:
03-26 nightly is running great. Getting about 1% battery drain/hour with a moderate amount of texting.

Love how responsive devs are with this ROM!
[Nexus 5 Android Development] LorD ClockaN:
experiment.. when I was trying a year a go I didn't managed to replace the one from other manifest.. only from default.xml manifest.. but than other manifest was called roomservice and local-manifest was alphabetically first in order so maybe that was my error.. you can try :P
[Nexus 5 Android Development] rachanta:
Ok I am testing local manual method first...

repo sync done.

checked that kernel/lge/chaos is there.. yes

Modified Board_Config.mk

TARGET_KERNEL_CONFIG := kernel/lge/chaos/arch/arm/configs/hammerhead_defconfig

TARGET_KERNEL_SOURCE := kernel/lge/chaos

And brunch hammerhead....go

ra:raop rax$ brunch hammerhead

including vendor/aicp/vendorsetup.sh

Looking for dependencies

Adding dependencies to manifest

Traceback (most recent call last):

File "build/tools/roomservice.py", line 223, in <module>

fetch_dependencies(repo_path)

File "build/tools/roomservice.py", line 212, in fetch_dependencies

add_to_manifest_dependencies(fetch_list)

File "build/tools/roomservice.py", line 128, in add_to_manifest_dependencies

existing_project = exists_in_tree(lm, repo_target)

File "build/tools/roomservice.py", line 55, in exists_in_tree

if child.attrib['path'].endswith(repository):

KeyError: 'path'

** Don't have a product spec for: 'aicp_hammerhead'

** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'

[MENTION=1184673]LorD ClockaN[/MENTION] pl check it out and tell me what could be wrong
[Nexus 5 Android Development] LorD ClockaN:
for starters this:

TARGET_KERNEL_CONFIG := kernel/lge/chaos/arch/arm/configs/hammerhead_defconfig

should be:

TARGET_KERNEL_CONFIG := hammerhead_defconfig

than you need to do:

make clean

especially if you cahnge kernel and boardconfig stuff

IF you haven't touched anything else it should work,.

try to reopen terminal and run of course: . build/envsetup.sh
[Nexus 5 Android Development] rachanta:
I understand from [MENTION=3795148]neobuddy89[/MENTION] that -

TARGET_KERNEL_CONFIG := chaos_hammerhead_defconfig (this file is actually there at kernel/lge/chaos/arch/arm/configs/, so I will go with that)

I did -

repos sync -j4

make clean

. build/envsetup.sh

brunch hammerhead

and get -

including vendor/aicp/vendorsetup.sh

Looking for dependencies

Adding dependencies to manifest

Traceback (most recent call last):

File "build/tools/roomservice.py", line 223, in <module>

fetch_dependencies(repo_path)

File "build/tools/roomservice.py", line 212, in fetch_dependencies

add_to_manifest_dependencies(fetch_list)

File "build/tools/roomservice.py", line 128, in add_to_manifest_dependencies

existing_project = exists_in_tree(lm, repo_target)

File "build/tools/roomservice.py", line 55, in exists_in_tree

if child.attrib['path'].endswith(repository):

KeyError: 'path'

** Don't have a product spec for: 'aicp_hammerhead'

** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'

This is exactly the same error as before.
[Nexus 5 Android Development] LorD ClockaN:
it seems your repo is borked.. try to remove your local manifest , and the aicp manifest also..

than repo init again and resync..

than try to build..

it will resync very fast
[Nexus 5 Android Development] rachanta:
repo sync is on. Removed aicp_manifest.xml manually. I have no local_manifest.xml.
[Nexus 5 Android Development] LorD ClockaN:
also resync after it finishes... I just pushed a fix to compile.. it was broken by my mistake in settings app, but that didn't had anything to do with your error
[Nexus 5 Android Development] rachanta:
This is what I get:

Fetching projects: 100% (397/397), done.

error: Cannot remove project "device/lge/hammerhead": uncommitted changes are present

commit changes, then run sync again

possibly because aicp_manifest.xml in its original avatar is required. I had modified that for chaos. Once it is removed, there is a problem...

I did a repos sync on my pure aicp repo with the original aicp_manifest.xml. The syncing happened without any error:

Fetching projects: 100% (400/400), done.

Syncing work tree: 100% (400/400), done.

...now I am building a pure one of the night...morning is rush hour
[Nexus 5 Android Development] LorD ClockaN:
no, lol.. revert changes in your hammerhead folder about kernel and resync

edit:

make a repo project, than it won't error..

got to device/lge/hammerhead

run:

repo start somename .

than

git add .

and commit your changes

this way it won't error on repo sync
[Nexus 5 Android Development] drdoulittle:
:D

DEV

Greate Update again and now work Quit Hour perfect...

The Rom is fantastic and I have so nice Battery, and the Rom runs so smooth like Butter...

Is amazing Rom and all Features work fine...:D

I am change the Camera.png in Lockscreen...and install the Motorola Gallery...is nice and work fantastic...

Thx bro for your hard Work every Day ..:good::good:
[Nexus 5 Android Development] rachanta:
Build done, , pure aicp (no changes at all)

===========-Package complete-===========

zip: /Volumes/android/aicp/out/target/product/hammerhead/aicp_hammerhead_kitkat-3.5-NIGHTLY-20140324.zip

md5: c052185143042f7c2be499335305acc8

size: 198M

========================================

I no longer get UNOFFICIAL in zip and date is stuck on 20140324. Is it because I might have manually renamed the zip file in out...by mistake

I am installing this pure build anyway..

Pl see attached screenshot:

Kernel build date & time looks correct

Build date is incorrect

Fresh build is working fine

Edit: Great work. Status bar date touch takes it to alarm clock. :good::good::D

By now the the impure one repo sync is done:

Fetching projects: 100% (400/400), done.

Deleting obsolete path /Volumes/droid/raop/kernel/lge/chaos

Checking out files: 100% (41876/41876), done.ut files: 2% (1068/41876)

Syncing work tree: 100% (400/400), done.

Build is proceeding smoothly..

Since I did a make clean here, this may take overnight to build...
[Nexus 5 Android Development] LorD ClockaN:
that is good

now add your changes gradualy so you know where it fails

you'll get NIGHTLY once you edit build.prop again.. you can do it while it's compiling to save time
[Nexus 5 Android Development] k3mik4l:
I asked in the AOKP thread about the custom back button not sticking after using the keyboard and mark Landis said this has been fixed. Just wondering if its working on AICP's latest nightly ? Thank you and great ROM
[Nexus 5 Android Development] Tw1tchy:
My phone has been shutting off randomly on March 25s nightly. Happening on stock and chaos kernel.

https://www.dropbox.com/s/59nstcn14rj50lj/last_kmsg
[Nexus 5 Android Development] rachanta:
27 March Nightly

My clean build from last night completed successfully.

Working well as usual. :cowboy:

My earlier build lockscreen activation from power button was iffy. To test properly, I have refrained from flashing anything beyond the essential as far as my own apps go.

Screen recording problems are now sorted out, so I don't need to flash a fail-safe camera.

I have given the following zips that were part of my install sequence rest:

Chaos-Kernel_v11.0-[03-26]-[21-35].zip

N5_in-call_and_speaker_headphone_boost.zip

UPDATE-adreno-drivers-hammerhead.zip

S4CameraWithEditorAndSceneFix-signed.zip

I have installed

UPDATE-SuperSU-v1.93.zip

I think the stock SU is old, and 1.93 is working well for me, though not integrated in Settings. :D
[Nexus 5 Android Development] LorD ClockaN:
It is implemented and it's not working.. Don't know why

Can you test aokp rom if it's working?

You flash SuperSU while this rom comes with superuser??? No no no

~~ Flowed from my Nexus 5 ~~
[Nexus 5 Android Development] vin4yak:
Noticed this just now... If I set 'back' action to a target in Navring, the 'back' function doesn't happen... Recents, menu, home working fine... Just the back function is broken...

-Flowed from an IceCold Hammerhead!
[Nexus 5 Android Development] namartlu:
Bluetooth MAP profile works on 0320 for me with my car (Toyota Highlander), but on 0322 onward it breaks. I checked 0322 changelog, and the suspicious entries related to bluetooth are:

* | d2cb867 - Add missing BluetoothExt from CM (2 days ago) <LorDClockaN>

|/

* aee738b - No more Mr. caf (2 days ago) <LorDClockaN>

* 4063813 - Track libhardware, bluetooth and bluedroid from CM (2 days ago) <LorDClockaN>

Any idea what those are and could it be related to the MAP profile breaking?

Thanks!
[Nexus 5 Android Development] LorD ClockaN:
They could... But there is no turning back now unfortunately. Can you test cm rom please. We have 100% equal BT as them

~~ Flowed from my Nexus 5 ~~
[Nexus 5 Android Development] chenleicpp:
can you share this zip？

S4CameraWithEditorAndSceneFix-signed.zip
[Nexus 5 Android Development] rachanta:
Which version I think what I am flashing is 1.93 is the latest. May be ROM stock version could be updated if it is not 1.93.

---------- Post added at 02:04 PM ---------- Previous post was at 01:43 PM ----------

Googled the filename for you. I have posted this many times here:

http://xdaforums.com/showpost.php?p=43189836&postcount=79

---------- Post added at 02:06 PM ---------- Previous post was at 02:04 PM ----------

26th build graphics going crazy at times. Severity increased and and a reboot suffered
[Nexus 5 Android Development] LorD ClockaN:
We are using SUPERUSER, not SuperSU and if you flash SuperSU over rom with superuser it will get conflicts..

why dod you even flash SuperSU?? not needed
[Nexus 5 Android Development] rachanta:
OK will go by your word. Now on Superuser
[Nexus 5 Android Development] RomeroMsk:
Just tested, it works. Thanks again.
[Nexus 5 Android Development] LorD ClockaN:
and statusbar date with more options also ;)

aicp extras/display/statusbar/statusbar date
[Nexus 5 Android Development] RomeroMsk:
Yep, awesome!
[Nexus 5 Android Development] drdoulittle:
DEV:

Now work on the kernel Tweaker

all 4 cores .... 0,1,2,3 and not only 2 cores!

Quit Hour still does not work correctly ... I have to unplug the charger so that the LED turns off after the set time. Is the time reaches the LED stays on.

DSP Manager STOP! Okay I take Viper!

Otherwise, the Rom running with no problems and super fast.

ART is greate wit Elemental X 34 CM kernel and saves a lot of battery!

Connection manager work perfectly.

Wifi and signal is stronger.

NFC an Beam work nice.

Bluetooth work in my Car.

thx
[Nexus 5 Android Development] aamitabh28:
With elemantalx is mpdecision enabled? Last time i tried.. Mpdecision could not be enabled no matter what.. Thanks
[Nexus 5 Android Development] chaoszero112:
On 0324, 0325 and 0326 (and probably a few earlier builds) I'm having an issue with audio over Bluetooth. Every minute or so the music clips/cuts out for a split second. Didn't have the issue on v19 of DroidKang before I switched over a while back.

Is it the ROM, or maybe a setting in DSP not working right?
[Nexus 5 Android Development] LorD ClockaN:
Mpd is being renamed on every boot with a script. You need to rename the file back and delete the script from etc/init.d

~~ Flowed from my Nexus 5 ~~
[Nexus 5 Android Development] drdoulittle:
I have installed Elemental X express and not the Aroma Installer Features?

Have you other Kernel ?

Is Chaos Kernel with AICP and ART kompatibel?

Chaos Kernel have Kernel App / like Tweaker. Is this okay or is this Problem with Kernel Tweaker from AICP Rom?

Thx bro...
[Nexus 5 Android Development] rachanta:
Chaos works well with ART enabled on this ROM and comes with NXTweaks for CPU, GPU, Sound and many other settings.
[Nexus 5 Android Development] LorD ClockaN:
I get you.. hm.. don't know if I can fix this TBH...

Edit:

lost an hour on this and pushed crap to phone many times.. no luck.. can't make it to react
[Nexus 5 Android Development] CheesyNutz:
Updated to newest build smooth so far had a FC on themes rooted and cleared cache's fixed ..

Any chance of having the option to changed the KB on internet speeds to MB on the taskbar ?
[Nexus 5 Android Development] LorD ClockaN:
doesn't it change automatically when it passes 1024kb?
[Nexus 5 Android Development] CheesyNutz:
Not that I notice ... I'd love too seen just the download speed
[Nexus 5 Android Development] LorD ClockaN:
it does chage, at least for me.. I'm working on something
[Nexus 5 Android Development] mohammed510:
Vibration is not working, latest nightly.

Can anyone confirm?
[Nexus 5 Android Development] drdoulittle:
okay is not so big Problem.

Is okay and your Rom is nice...

I have decompile your Settings.apk / xml and now look for the Code from other CM Rom / where it works correctly!

Maybe I can find the correct command but it does not bother me necessarily.

I said yes, it would be nice but I do not even makes it easy is always equal to the right recipe to have.

thx bro

Your Rom :good::good::good::good:

---------- Post added at 09:56 PM ---------- Previous post was at 09:55 PM ----------

work ....
[Nexus 5 Android Development] LorD ClockaN:
No luck..

I made an option, it shows only MB, no problem.. but the issue are decimal places.. can't get it to work only in Mb...

works fine

issue is not in settings but in services.jar in frameworks..

also why do you decompile when whole rom source is on github???

we are lacking quiethours helper class.. that is the way AOKP imagined it.. I tried everything I know to bypass it, but the issue is that it doesn't refresh it's state ...
[Nexus 5 Android Development] drdoulittle:
Yes I have looked in the settings because there is a button at AOSP / or CM like Droid Kang v19 ROM.

And I decompile because I do not see everything the same and then try it yourself ;)

Now I know about and look into github ... :))

Question:

Can the services.jar not exchange from an existing CM Qiut Hour regulates correct?
[Nexus 5 Android Development] LorD ClockaN:
no it can't

Edit:

I'll try again tomorrow...
[Nexus 5 Android Development] drdoulittle:
Okay because of the xml coding on your ROM .... **** happens!:D

Your Rom is amazing :))

Okay then it should be good now and I turn over the tile then Quit hour overnight.
[Nexus 5 Android Development] LorD ClockaN:
xml coding doesn't have anything to do with it
[Nexus 5 Android Development] CheesyNutz:
i can confirm its working fine
[Nexus 5 Android Development] michelD:
Hi my Lord, very happy to find you here with a great ROM.

This reminds me of the good old days of the time the HTC Desire HD !!

Concerning your AICP ROM, just 2 or 3 points:

1. The charging LED doesn't change color at 100% (if set so of course)

2. The LED pulse length and speed seems to be not to be working.

3. In Parameters/AICP Extra/Kernel tweaker/Build.prop mods, the 3G Speed hack doens't stick

But I have to admit that these are very minor points: it is simply the quest for perfection...

Thanks