Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[COMMIT] [AOSP] JustArchi's ArchiDroid Optimizations - Increases performance up to 6x

OP JustArchi

21st December 2014, 04:25 PM   |  #961  
Senior Member
Flag Louvain-la-Neuve, Belgium
Thanks Meter: 418
 
586 posts
Join Date:Joined: Apr 2012
Donate to Me
More
Quote:
Originally Posted by sparksco

Sorry I can't understand half of what you said…

Sorry was in a hurry, should have paid more attention to what I wrote and correct my message. On a comp now, I will rephrase so you can understand .

No need to be antipatic .

I know what means dev branch and it aims for dev purposes. I wanted to see what happens when compiling the rom with it. Also, regarding this commit, I wanted to know if it implies I have to replace CM ndk folder with 10d

I had also the atomic error with some other sabermod tool chains( old less than one month). I wanted earlier this morning to know if the fix would come from an update of the toolchain or I could use some libraries? I have found an sm 4.8.4 working for me, yeah .

Also because I never found how sabermod differs exactly from Google's and linaro's tool chain. I cCame only across many users commenting "it works better and/or rom is smoother." Kinda not explanatory.

If you know some resources, materials I could read to know basically the differences and learn a bit more about sm, I would really appreciate that!

Thx for answering and sorry for my last message, was it really not understandable.
22nd December 2014, 11:36 PM   |  #962  
sparksco's Avatar
Recognized Developer
Thanks Meter: 7,991
 
8,407 posts
Join Date:Joined: Feb 2010
Donate to Me
More
No problem. No you shouldn't have to replace ndk in ROM. The ndk is for gcc support in android.

Libatomic error is obviously on older toolchains when kitkat was around.

README is your best bet.

As far as what differs that's what you and other users are for [emoji4]

I don't share my personal opinions since they may be biased.
The Following User Says Thank You to sparksco For This Useful Post: [ View ]
23rd December 2014, 04:30 PM   |  #963  
Senior Member
Flag Louvain-la-Neuve, Belgium
Thanks Meter: 418
 
586 posts
Join Date:Joined: Apr 2012
Donate to Me
More
Quote:
Originally Posted by sparksco

No problem. No you shouldn't have to replace ndk in ROM. The ndk is for gcc support in android.

Libatomic error is obviously on older toolchains when kitkat was around.

README is your best bet.

As far as what differs that's what you and other users are for [emoji4]

I don't share my personal opinions since they may be biased.

OK thx those information's.

Sent from my nexus 10
26th December 2014, 11:46 PM   |  #964  
JustArchi's Avatar
OP Recognized Contributor / Recognized Developer
Flag Warsaw
Thanks Meter: 28,829
 
7,595 posts
Join Date:Joined: Mar 2013
Donate to Me
More
https://github.com/ArchiDroid/androi...bc7dbad6449dfe

Could someone cherry-pick that and send back to omni's gerrit? I'm too lazy to do a repo sync, as I don't build Omni sources. It should be send to android-5.0 branch. Thanks!
The Following User Says Thank You to JustArchi For This Useful Post: [ View ]
8th January 2015, 07:13 AM   |  #965  
TheStrix's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 379
 
467 posts
Join Date:Joined: May 2014
Donate to Me
More
Smile
Can we use SaberMod 4.8 toolchain with V3 Optimization?
And seeing your local manifest, the "forks" needed before this optimization is from CyanogenMod's git, what if I want to use it for ROMs other than CyanogenMod?
Last edited by TheStrix; 8th January 2015 at 07:35 AM.
8th January 2015, 01:38 PM   |  #966  
roshan2989's Avatar
Senior Member
Flag purgatory
Thanks Meter: 134
 
568 posts
Join Date:Joined: Apr 2012
More
im compiling standalone kernel for myself and which flags should i put in the Makefile,as i read few pages back and there is a page mentioning about standalone kernel and i couldnt find the main makefile....help would be appreciated
10th January 2015, 04:01 AM   |  #967  
JustArchi's Avatar
OP Recognized Contributor / Recognized Developer
Flag Warsaw
Thanks Meter: 28,829
 
7,595 posts
Join Date:Joined: Mar 2013
Donate to Me
More
Quote:
Originally Posted by roshan2989

im compiling standalone kernel for myself and which flags should i put in the Makefile,as i read few pages back and there is a page mentioning about standalone kernel and i couldnt find the main makefile....help would be appreciated

Anything you want.

https://github.com/ArchiDroid/ArchiK...5a6a51b4c7a65c

This is a good start, but don't cherry pick this, instead, take a look at the makefile flags. I made them per-config-switchable, so I can change them as I want.



You probably want a simpler scenario, just remove IFs from makefile and you're done.
The Following 3 Users Say Thank You to JustArchi For This Useful Post: [ View ]
24th January 2015, 08:23 PM   |  #968  
Senior Member
Thanks Meter: 2,400
 
2,153 posts
Join Date:Joined: Feb 2012
hi all. i noticed and some others too following bug with kernel and gcc 4.8 google or linaro.
i extract here part of link:
- camera flash turns on too fast, pics end up dark
Late camera flash is problem only on 4.8+ arm-eabi toolchains. On 4.7.4 works fine.
you mean building the kernel with <4.8?
Exactly. After trying 4.8 and 4.9, I rested on 4.7.4, where bug isn't present. Tried both Linaro and GCC.
https://plus.google.com/+MichaelBest...71861824394235

does someone else have the bug?
if someone know how to fix that ?
gcc4.7 seem to not fix the flash bug.
thanks.
Last edited by desalesouche; 24th January 2015 at 09:04 PM.
25th January 2015, 01:25 AM   |  #969  
jgcaap's Avatar
Senior Member
Flag Porto
Thanks Meter: 1,198
 
3,273 posts
Join Date:Joined: Sep 2009
Donate to Me
More
Is this ready for cm12?
25th January 2015, 03:13 AM   |  #970  
sparksco's Avatar
Recognized Developer
Thanks Meter: 7,991
 
8,407 posts
Join Date:Joined: Feb 2010
Donate to Me
More
Quote:
Originally Posted by jgcaap

Is this ready for cm12?

I made a -O3 commit for liquid that works with gcc and clang compilers for android. This time it's in binary.mk. if something breaks you can add a LOCAL_MODULE name to have -O3 skip certain things.

https://github.com/SaberMod/LS_andro...d8a69cd5b64e13

The Following 7 Users Say Thank You to sparksco For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
justarchi archidroid optimizations linaro hack
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes