yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] trillo69:
I'm just curious, do you guys flash any rom from "android developement" subforum or do you just stick with "original" ones? Is there any rom in that subforum that you recommend? The only one I tried is Bionic Pure AOSP, and it basically a stock rom with linaro patches and advanced reboot (an amazing rom, indeed) .
[Nexus 4 Original Android Development] ctfrommn:
MMuzzy is my favorite from there.

Sent from my blazing bionic Nexus 4
[Nexus 4 Original Android Development] trillo69:
Removed. (The app for hosting directupload gives spam thumbnails lol)
[Nexus 4 Original Android Development] eminembdg:
Can someone recommend good and CURRENT tutorials for compiling kernels and also roms from cm?

sent from my Nexus 4®
[Nexus 4 Original Android Development] irishrally:
Super sexy blue Google Chrome icon for you.

https://docs.google.com/file/d/0B0oC9wrdvvSnRGczbzVjVm5oR0E/edit?usp=drive_web

Edit: fixed share settings now.
[Nexus 4 Original Android Development] eminembdg:
Nevermind, repo syncing now:D

sent from my Nexus 4®
[Nexus 4 Original Android Development] trillo69:
I was looking for same info yesterday (i want to build my own rom or kernel from aosp in a future), and I found cyanogenmod wiki very useful and easy to understand. Also android source has a good tutorial, if you read both you will see almost same steps, that always help.

I think that both of them, specially cyanogenmod one, are much more easy to follow than the guides I found on xda, because at least it explains what you are doing in every step.
[Nexus 4 Original Android Development] albundy2010:
Is 120b the same simms set up as 117?
[Nexus 4 Original Android Development] saranyan:
Having the SOC clocked at 1026, I see some lag in games like beach buggy?

Should I just raise the max freq back to 1512?
[Nexus 4 Original Android Development] eminembdg:
Yup, that's exactly what I found as well and am using!

sent from my Nexus 4®
[Nexus 4 Original Android Development] simms22:
you could try 11XX, 12xx, 13xx..
[Nexus 4 Original Android Development] saranyan:
Isn't it better to have the SOC clocked higher always?

It'll scale up only when the load demands it right?

I am getting good battery life @ 1026, Yet to test with 15xx as maximum:fingers-crossed:
[Nexus 4 Original Android Development] philosophics:
Either I'm a complete idiot or there is a way to find versions higher than tf117 for nexus 4 that I don't know about...

I'm using TricksterMod and have been for some time. Haven't used TKT yet because I haven't been able to afford it yet. Sorry, but your kernel is the best I've used so far and I've stuck with it for a few weeks now.

Any ideas on how to update without TKT or should I just wait?

Thank you!

Screamed another Paranoid Mako with AC!D Beats
[Nexus 4 Original Android Development] simms22:
check my twitter https://twitter.com/simms22/status/325282219176374272

or g+ https://plus.google.com/u/0/105928542838252946547/posts/9bNTizRc9cM

btw, you dont needd tkt to get trinity kernels. they are free. they are usually posted at http://derkernel.com/jb-mako.php in the experimental tab. except for the test kernels in between. ill link them on my twitter or g+.
[Nexus 4 Original Android Development] philosophics:
That was amazing. Thank you.

Also, I've been trying to find differences between TricksterMod and TKT. Obviously, TKT is designed for this kernel but what additional benefits would I notice or... Why TKT?

Screamed another Paranoid Mako with AC!D Beats
[Nexus 4 Original Android Development] apatal:
TKT because we love morfic. And we give the man some love by buying his app. And it just works for Trinity.

Trickster has some more options exposed, like auto-hotplugging and sound control. I'm sure TKT will have it too if and when morfic finds time to update his app. For now though, Trickster works too. :)
[Nexus 4 Original Android Development] philosophics:
I have seen no options to modify sound...

Screamed another Paranoid Mako with AC!D Beats
[Nexus 4 Original Android Development] mbh87:
Some options are only available in the paid version of trickster. That may be one of them.
[Nexus 4 Original Android Development] jonup:
It depends on your usage pattern. If you use it in games get the lowest smooth freq. If you need the clocks to spike up to help certain shirt operation set it up higher. Still need to consider freq voltage trade off.
[Nexus 4 Original Android Development] hello247:
I used this tutorial for compiling aokp if it helps you.

https://docs.google.com/document/d/1Bf3ei5IzCq5PRcgh8vBnk34kUfxXT-Iq2GKDqL7Zx1M/edit?usp=drive_web

Swiftkeyed using Nexus 4
[Nexus 4 Original Android Development] philosophics:
I've been using the paid version for as long as I've owned this phone and that's about as long as it's been out...

Lastly, I notice hotplug control and from the info I've found, this basically can be set up so only one cpu core is running while the screen is off. Would this be correct or am I entirely wrong?

Screamed another Paranoid Mako with AC!D Beats
[Nexus 4 Original Android Development] apatal:
Not entirely. It can be used to set the minimum number of online cores when the screen is ON. When the screen is off and device is idle, no cores should be running. I think.

As for sound control, if your kernel supports it, you can find the settings in the Specific tab, under the auto-hotplugging settings. :)
[Nexus 4 Original Android Development] Toss3:
Trinity 120b + Saber RC3 is an almost perfect combination. So fast and smooth(worse benchmark scores vs raspbean 03/07, but faster). :good:
[Nexus 4 Original Android Development] hoangtungst:
i'm using TF120b + pa rom , the animation of lock screen lag like the hell .How can i make it is smooth like franco ?
[Nexus 4 Original Android Development] trillo69:
Raise a bit the min frequency or lower the up_threshold on governor settings (I set it to 90 and doesn't lag). That use to help.
[Nexus 4 Original Android Development] hoangtungst:
i'm using interactive governor and i can't see up_threshold on governor settings
[Nexus 4 Original Android Development] android88:
So change minimum frequency to 486MHz.
[Nexus 4 Original Android Development] trillo69:
That option is for on demand governor. I can't tell you about interactive parameters because i don't know what they mean, sorry. But I think they are explained on trinity toolbox app.
[Nexus 4 Original Android Development] ctfrommn:
Awesome guide, thanks. Have you seen anything like that for kernels? I am wracking my brain trying to find a good tutorial on kernel building. Ive tried the ones in the N4 forums but they are either outdated or incredibly confusing. I need kernel compilation for dummies :D...... I assume all the kernel devs learned from somewhere.
[Nexus 4 Original Android Development] Chochiwpg:
Question for you guys. When performing the terminal emulator command

dmesg | grep PVS

It should show you if you have a Slow, Nominal, Fast or Faster binned device. What does it mean when it says ACPU PVS: 4?

What does 4 represent? Slow?
[Nexus 4 Original Android Development] eminembdg:
I believe it's the other way, 1 is nominal and 4 is faster

sent from my Nexus 4®
[Nexus 4 Original Android Development] ZeppeMan:
I think it's like this..

1. Slow

2. Nominal

3. Fast

4. Faster

So, in your case, you have Faster :)
[Nexus 4 Original Android Development] Chochiwpg:
Ok cool, thanks. :good:

---------- Post added at 09:18 AM ---------- Previous post was at 09:14 AM ----------

Mine is actually Fast binned. Someone had asked me what 4 meant but I wasn't sure. Guess my phone can't handle much of an Undervolt.
[Nexus 4 Original Android Development] hello247:
http://xdaforums.com/showthread.php?t=1748297

Swiftkeyed using Nexus 4
[Nexus 4 Original Android Development] ctfrommn:
I saw that one, thanks. It is very outdated and is for using a custom toolchain. Im hoping for something more noob proof if possible. My goal is to build a stock kernel with Linaro toolchain, UV, gamma, and some misc fixes/tweaks. Finding any info on building with Linaro is difficult enough. I spent hours looking for something I could understand and came up with nothing usable. It is possible Im too daft to understand all this as I am very new to Linux.
[Nexus 4 Original Android Development] eminembdg:
My mistake is I started with one tutorial then moved to the cyanogenmod one. When trying to CD to a certain directory that the cm tut said it would go....after 10 minutes of frustration I figured out that my directory was different from following the first tut half way thru lol.

sent from my Nexus 4®
[Nexus 4 Original Android Development] ctfrommn:
Been there done that.....there appears to be no universal instructions for this. I have no idea how new users learn all this without losing their minds. The problem is I dont want to build CM, but it is the only one with a really good guide. Why is every Rom different? That is the frustrating thing, you cant just do the same procedure for every Rom and change the variables (repo,toolchain,etc...) or maybe it is that easy and Im that stupid. At any rate it is frustrating as hell trying to figure this out.
[Nexus 4 Original Android Development] eminembdg:
Lol yea. I want to build cm because I like the features it includes. I'm very close to getting cm built. I just need to wait till my daughter takes a nap so I can finish

sent from my Nexus 4®
[Nexus 4 Original Android Development] ctfrommn:
I was able to build CM once, wouldnt boot though...lol. I guess my preference right now is compiling kernels as Roms seem way more daunting a task when you start talking about cherry picking features and all the variables involved. I used to consider myself intelligent till I started down this road :D
[Nexus 4 Original Android Development] GideonX:
It's the same, you'll get annoyed when your kernel compile doesn't work for some unknown reason. Black screen on boot? Boot loops on boot? FC'ing apps everywhere? You will bang your head on your desk equally hard. :eek:
[Nexus 4 Original Android Development] ctfrommn:
Lovely....just the new stress I need :p
[Nexus 4 Original Android Development] eminembdg:
Now i'm stuck at this part of the CM tut, "Your device should already be running the branch of CyanogenMod you wish to build your own version of for the extract-files.sh script to function properly. If you are savvy enough to pull the files yourself off the device by examining the script, you may do that as well without flashing CyanogenMod first."

I'm not running cm10.1 , i'm on xenon hd and don't want to flash cm just to do this ectract-files.sh . SO does anyone know what files i need to pull that this part of the tut talks about when it says "If you are savvy enough to pull the files yourself off the device by examinging the script, you may do that as well without flashing cm first" ???
[Nexus 4 Original Android Development] GideonX:
I'm going to assume you can open the .sh file, find all files it references and rip it from an existing cm zip.
[Nexus 4 Original Android Development] eminembdg:
I got you thanks. I opened the script but i'm still not certain where I can find the files it's looking for and which files they are exactly. This is the script

#!/bin/sh

VENDOR=lge

DEVICE=mako

BASE=../../../vendor/$VENDOR/$DEVICE/proprietary

rm -rf $BASE/*

for FILE in `cat proprietary-blobs.txt | grep -v ^# | grep -v ^$ | sed -e 's#^/system/##g'`; do

DIR=`dirname $FILE`

if [ ! -d $BASE/$DIR ]; then

mkdir -p $BASE/$DIR

fi

adb pull /system/$FILE $BASE/$FILE

done

./setup-makefiles.s
[Nexus 4 Original Android Development] ctfrommn:
Someone will make millions if they can develop and market a program for Windows to simplify this process. This is like learning a foreign language.
[Nexus 4 Original Android Development] GideonX:
Check proprietary-blobs.txt, then look in /system.

Btw, sorry morfic for offtopic'ing :D
[Nexus 4 Original Android Development] ctfrommn:
Youre gonna have to try harder than this to be considered OT....were actually talking Android, which isnt even the main topic most days :D
[Nexus 4 Original Android Development] GideonX:
I'm just waiting for old man simms to chime in to tell me to go make pancakes and bacon.
[Nexus 4 Original Android Development] jarjar124:
I believe since mako is already officially supported you might not need to do that step if cm has the vendor with mako files. Look in the vendor folder and look for lg. Then mako. If it's there you're good to go. If not then you will need to extract it. If you can't or don't know how use theMuppets vendor files. I'll post links when I find it.

https://github.com/TheMuppets/proprietary_vendor_lge/tree/cm-10.1/mako
[Nexus 4 Original Android Development] simms22:
na, its monday. too busy for pancakes. but bacon..
[Nexus 4 Original Android Development] eminembdg:
Thanks guys.

It's now building. Hopefully the correct files went where they needed to go. I'll have to wait, push it, and then see if it boots!

sent from my Nexus 4®

---------- Post added at 01:33 PM ---------- Previous post was at 01:32 PM ----------

Oh yea, how long should it take to build on a quad core amd with 16 gigs of ram?

sent from my Nexus 4®
[Nexus 4 Original Android Development] jarjar124:
If it's your first initial build, it will take longer than usual. Maybe around an hour?
[Nexus 4 Original Android Development] eminembdg:
Hmm well it finished in less than 5 minutes. Idk if it worked

sent from my Nexus 4®
[Nexus 4 Original Android Development] ctfrommn:
Mine built in around 25 minutes. Quad Intel@4.6 ghz, 8gb ram, SSD. CPU speed seems the biggest factor though so depending on your speed maybe 45 or so.
[Nexus 4 Original Android Development] eminembdg:
I'm not sure where to now do the next few steps in the cm tut.

sent from my Nexus 4®
[Nexus 4 Original Android Development] hello247:
Try this :

http://xda-university.com/as-a-developer/getting-started-building-a-kernel-from-source

Swiftkeyed using Nexus 4
[Nexus 4 Original Android Development] ctfrommn:
Next step is gently pick up your PC....find nearest window, release PC....smile :D

---------- Post added at 12:51 PM ---------- Previous post was at 12:49 PM ----------

Cool thanks....this one is also really outdated. How does one substitute the newest toolchains and source? This is why someone needs to make a general tutorial that explains the whats and whys. I appreciate it though :)
[Nexus 4 Original Android Development] eep2378:
Ha! too funny. I'll be joining you guys in frustration when I pick up my new machine ;) :highfive:
[Nexus 4 Original Android Development] hello247:
You checked the actual android developers site? I can remember it saying something about downloading toolchain

This any help:

http://source.android.com/source/building-kernels.html

Dont really compile kernels. Normally compile roms then flash trinity kernel on top

Swiftkeyed using Nexus 4
[Nexus 4 Original Android Development] headcreepz:
Don't get discouraged!! I wish I had the time to learn some of this stuff.....and whoever said learning this stuff is like learning a foreign language hit it on the head.....
[Nexus 4 Original Android Development] ctfrommn:
It does, but all the addresses and destination folders are based on the outdated ones and I dont understand the concepts. If there was a guide that said for source you need to creat x folder and use x address to sync it and same with the toolchain. This cant be as hard as Im making it out to be as teenagers are doing it. Feeling older and dumber by the minute...haha.

---------- Post added at 01:00 PM ---------- Previous post was at 12:59 PM ----------

Jump in my friend....the waters great :rolleyes:
[Nexus 4 Original Android Development] albundy2010:
Silly noob!

For real though you sound line Aaron from phonedog who just reads the specs off a box.

Not all quad cores are the same obviously. There is AMD and Intel chips each with many many different generations of "quad core" Then factor in the other factors like disk speed / ram speed and so on.

Its almost like saying my car has a 8 cylinder engine. How fast will it go around a track.
[Nexus 4 Original Android Development] simms22:
[YOUTUBE]liIlW-ovx0Y[/YOUTUBE]
[Nexus 4 Original Android Development] ctfrommn:
So is Intel the laden or unladen?
[Nexus 4 Original Android Development] simms22:
intel isnt a swallow, nor a bird silly ;)
[Nexus 4 Original Android Development] eminembdg:
Thanks for your usual non imperative input but the couple other guys got the gyst of what I was asking and answered me.

sent from my Nexus 4®
[Nexus 4 Original Android Development] albundy2010:
And their answers included the type of system they used to build it. Because your question without more detailed system info is to vague to answer with a time.

Dont know what your issue is. Nothing about my response was meant to mean spirited.
[Nexus 4 Original Android Development] eminembdg:
I'm going to try building AOKP next. That guide posted earlier looks great and detailed. I feel my cm build didn't work right. Idk where the Rom zip is

sent from my Nexus 4®
[Nexus 4 Original Android Development] jarjar124:
Look in your out folder
[Nexus 4 Original Android Development] eminembdg:
I did. Would the zip be in any certain folder there? No zip nowhere I can see

sent from my Nexus 4®
[Nexus 4 Original Android Development] ctfrommn:
It's obvious when it builds correctly. If you don't see it something went wrong.

Sent from my blazing bionic Nexus 4
[Nexus 4 Original Android Development] eminembdg:
Gotcha, thanks man. I'll try again another time, this time with AOKP

sent from my Nexus 4®
[Nexus 4 Original Android Development] nikzDHD:
Soccer fans Man Utd champions :D:D 2013, 20 times champions of England 13 Premier league titles 2013 our year.
[Nexus 4 Original Android Development] ctfrommn:
I'm going to try that one too.... Guide looks very thorough and easy to follow.

Sent from my blazing bionic Nexus 4
[Nexus 4 Original Android Development] Vangelis13:
Man who..?
[Nexus 4 Original Android Development] meangreenie:
It's an English netball team.
[Nexus 4 Original Android Development] Knighthawk108:
Celtic won the SPL (Scottish premier league) if anyone cares lol just thought I'd pop that in there, we've been champions like a million times
[Nexus 4 Original Android Development] jarjar124:
Manchester United.
[Nexus 4 Original Android Development] afzalarsalan:
After a couple days of use, it does seem that 120b is draining a significant amount of battery while the screen is on compared to 117. Screen off battery seems around the same
[Nexus 4 Original Android Development] jayjay3333:
City next year.
[Nexus 4 Original Android Development] eminembdg:
Well I tried once more to compile cm and it definitely went much different than last time which only ran for like 5 minutes. This time it went for about 35 but still no zip in the out directory.Oh well.

Guess I'll try for AOKP next spare time I get and see if it goes any better

sent from my Nexus 4®
[Nexus 4 Original Android Development] phillysmako:
You guys wanna fast ass fully featured ROM check this out http://droid-hive.com/index.php?/topic/1734-rom-codex-official-aosp-422-makotoromaguro/its about 129mb big and it has every feature of carbon and xylon all of them :)
[Nexus 4 Original Android Development] philosophics:
Gonna stick with Paranoidandroid but thank you.

Btw, this kernel and Paranoidandroid together make for a really great device. Sure, I'm missing out on features. But those are only aesthetic features that I can manually theme myself.

Try the combo out, you will enjoy thoroughly...

Screamed another Paranoid Mako with AC!D Beats
[Nexus 4 Original Android Development] hoangtungst:
The animation on my lock screen still lag. I have tried to change min frequency to 486mhz but it hasn't been effecting
[Nexus 4 Original Android Development] phillysmako:
Right on I've never really gotten big O onPA I just wanta smooth fast ROM lol battery life does not matter to me haha:laugh:
[Nexus 4 Original Android Development] jonup:
Who the fcuk is Man Utd? https://www.youtube.com/watch?v=YL_CWPlfz1U&feature=youtube_gdata_player It's Gunners' time this weekend. :D

---------- Post added at 12:28 AM ---------- Previous post was at 12:24 AM ----------

Hope there are no Rangers fans in here. Otherwise get ready for war. Me, I am Bulgarian, so all Celtic fans love Petrov.
[Nexus 4 Original Android Development] android88:
If the build only took 5 mins, then it didn't really build. There won't be anything in the output folder either.

The build should take at least ~30-45 minutes with a great PC.
[Nexus 4 Original Android Development] philosophics:
Is pretty smooth. Once you dabble into the hybrid settings, you're hooked...

Screamed another Paranoid Mako with AC!D Beats
[Nexus 4 Original Android Development] extremetempz:
Love this kernel but.....

can you underclock the gpu to stock frequencies or have an option its just creating heat that i don't want
[Nexus 4 Original Android Development] scott62185:
Ooh yeah, DT is back. Thanks for the heads up!
[Nexus 4 Original Android Development] torana355:
No matter what settings i use i can not get rid of the dot animation lag on Trinity kernel, there are very few kernels that keep the animation smooth including the built in kernel on sabermod and Franco. With that being said Trinity is blazing fast in every other respect so i can put up with the lockscreen lag.
[Nexus 4 Original Android Development] obtained:
After it builds it will say the build is successful and will tell you where the zip is.. It is a little further than the out folder.. Something like user/out/something/mako..

I haven't built cm in a while so I barely remember.
[Nexus 4 Original Android Development] phillysmako:
Run your max at 1836 and your min [MENTION=4678321]1134[/MENTION] and use interactive govna :)

---------- Post added at 02:00 AM ---------- Previous post was at 02:00 AM ----------

Run your max at 1836 and your min [MENTION=4678321]1134[/MENTION] and use interactive govna :)
[Nexus 4 Original Android Development] torana355:
Do those settings chew battery?
[Nexus 4 Original Android Development] jonup:
No, they cause global warming.
[Nexus 4 Original Android Development] zimphishmonger:
Thank you so much. Took me forever to narrow it down. Any downside to disabling hw overlays? Thought they already used the GPU for everything since ics

Sent from my Nexus 4
[Nexus 4 Original Android Development] Teadious:
Go to developer options and scroll down till you find disable gpu overlay, and untick that.
[Nexus 4 Original Android Development] zimphishmonger:
No, i wasn't asking a question. I was thanking for the advice earlier about YouTube and third party camera apps like barcode

Sent from my Nexus 4
[Nexus 4 Original Android Development] morfic:
Have you tried a upthreshold of 80?

Then increase your sample rate higher if you have battery issues.
[Nexus 4 Original Android Development] franciscofranco:
Thats not the issue. The issue is on thalamus hotplug driver on the resume function.

Just add this before the schedule_delayed_work call inside something_late_resume_something_function:

unsigned int cpu = nr_cpu_ids;

/* online all cores when the screen goes online */
for_each_possible_cpu(cpu)
{
if (cpu)
{
if (!cpu_online(cpu))
{
cpu_up(cpu);
pr_info("Late Resume Hotplug: cpu%d is up\n", cpu);
}
}
}

Should be fine then ;)
[Nexus 4 Original Android Development] cobraboy85:
Re: [DER KERNEL] Trinity Four

Well see I have a note 2.... I just enjoy popping in every few days to troll my buddy morfic here. rofl
[Nexus 4 Original Android Development] benrees21:
Re: [DER KERNEL] Trinity Four

Ha!! OK. Note 2 is a beast!!

Sent from my Nexus 4
[Nexus 4 Original Android Development] cobraboy85:
Re: [DER KERNEL] Trinity Four

Haha. Its bawwws... I just sent you a pm btw.

For the record, I'll say morfic is one of the most experienced and talented kernel developers on this site. Period. Been using his trinity kernels since I got my g2x two years back, has his loaded on there and ran it straight for a solid year or so.
[Nexus 4 Original Android Development] doope:
Re: [DER KERNEL] Trinity Four

Very good rom indeed. First run

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] robs898:
Which ROM is that ? :)