yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] sparksco:
Learning keyboard shortcuts and git/terminal commands you can save yourself a bunch of time. If a revert fails, run git status and it will show you the files to fix. Double click on the file path then press Ctrl+Shift+c to copy the location. Next type gedit and one space. Press Ctrl+Shift+z to paste, press enter to open the editor.
[Nexus 4 Original Android Development] jarjar124:
Don't worry. Once you get used to it, it's like addition and subtraction
[Nexus 4 Original Android Development] ctfrommn:
I don't think I ever set up a local git, only the account on github. I'll look into it tomorrow.

Sent from my blazing bionic Nexus 4
[Nexus 4 Original Android Development] sparksco:
I got those last two commands wrong lol. Copy is Ctrl+Shift+z and paste is Ctrl+Shift+v

Yes this stuff can make your brain hurt. But it's like riding a bike, the more you practice the better ;)

Like I didn't even rember those commands until I tried it cause I'm use to doing it all the time lol.
[Nexus 4 Original Android Development] ks2332:
Well I was gonna wait till the Google edition s4 dropped at least since it will be identical hw
[Nexus 4 Original Android Development] sparksco:
We'all have to wait and see what they do I guess. From what it looks like from this article.

http://techcrunch.com/2013/05/15/go...axy-s4-with-stock-android-for-649-on-june-26/

It's not going to be a nexus but Google will still update it.

Don't know if that means they'll ever release it to be open source or not. If there's no open source it's really hard to make a ROM for it when it's not there. Let's hope they do.
[Nexus 4 Original Android Development] Raphael17:
This is sort of strange.. I'm not the newest nightly and I don't seem to have a charging animation on my battery icon??...
[Nexus 4 Original Android Development] sparksco:
Known issue. Switch to a different battery style if it bothers you (battery bar or circle battery).
[Nexus 4 Original Android Development] gio_punsalan:
Just want to say that your kernel really flies. It is the one of the best I have tried. I am with carbon now because I had no time to switch. Planning to flash sabermod again with the kernel. There were absolutely no stutteting and opening apps is just too fast! Your kernel is awesome! Great battery life as well!
[Nexus 4 Original Android Development] sidnoit22:
Just only 1 question does this ROM have customizable quick setting toggles? Like i want to add Reboot toggle etc etc?
[Nexus 4 Original Android Development] Teadious:
Please, use the search function for once, or read the OP. No, there isn't
[Nexus 4 Original Android Development] yankeeornovember:
I can't believe people are still asking questions like this X_X (ie, without doing a forum search first to save everyone some time and energy).
[Nexus 4 Original Android Development] strapped365:
If someone could link me to where the edits need to be made i could see about building them in. the thing is i dont have time to search through everyones gits and all the commit history etc.

---------------------------------------

[MENTION=2394329]sparksco[/MENTION] - if i find developer x's git and they have a really sweet thing going, what needs to be done to cherry-pick stuff in from some random source out on the interwebs
[Nexus 4 Original Android Development] sparksco:
It's not as simple as linking. [MENTION=4617326]jarjar124[/MENTION] said he was working on it. I might work on it if I find the time. BTW I updated the kernel toolchain. Still can't figure out why the hell sweep2wake isn't working, and the dev hasn't responded to my inquiries :(

Hasn't worked since I've owned my nexus 4
[Nexus 4 Original Android Development] jarjar124:
Correction. "Will" :P After Regents which is the next 2 weeks, I'll be all over that. [MENTION=3799866]strapped365[/MENTION] can help. Look in paranoid android's git as it's closest to us(no power widget/profiles/etc). [MENTION=2394329]sparksco[/MENTION] are you talking about touchcontrol? Or sweep2wake from bricked?
[Nexus 4 Original Android Development] sparksco:
Well if you read he said he didn't have time to look through git history
[Nexus 4 Original Android Development] MagicalSword:
OK, this ROM is working really nicely, so it's a thumbs up :good: for all of you, lovely people... :)

Now I'd love to help with building, but I'm stupid, so maybe [MENTION=4389873]spars[/MENTION]kco [MENTION=4617326]jarjar124[/MENTION] or any of the other builders can point to instructions on how to setup de toolchain on Ubuntu 13.04 and such things?

BTW, I'm flashing so often that it doesn't have time to settle, my battery life line is all cut by the recovery visits... ;)

thanks!
[Nexus 4 Original Android Development] jarjar124:
My bad. I think this was the one https://github.com/ParanoidAndroid/...mmit/ba91964e514622f8cd5ae1f6fa941488f0a8e5f4

Some of the coding isn't part of it. I'll post all the commits from some roms to compare

Edit: Fixed the link. [MENTION=3799866]strapped365[/MENTION]
[Nexus 4 Original Android Development] sparksco:
It's not for me :)
[Nexus 4 Original Android Development] sparksco:
13.04 comes with 4.7 which works fine.

4.8 you have to install manually.
[Nexus 4 Original Android Development] sparksco:
[MENTION=4617326]jarjar124[/MENTION] [MENTION=3799866]strapped365[/MENTION]

I'm going to be working on the sweep2wake and hopefully get it working by reverting harsh's version of it and trying showp1984 's stock version.

A lot of people are saying battery is good, well for me it's not so good. Don't know if it's just because my phone is newer or what. I UV'd another -50 mV in the kernel source on the wip branch and so far everything is fine, no random reboots or anything. I'll have to see throughout the day the battery stats. Should merge to normal branch?

https://github.com/SaberMod/lge-kernel-mako/commit/64735caf266191a918128b89e169c851e6f3570b
[Nexus 4 Original Android Development] jarjar124:
No. It might not be stable for others. I finally reached 6+hours on a AK-based kernel I am working on. Forgot to post about it. Don't worry you'll get there. I just don't like mpdecision. I feel like it drains my battery more.
[Nexus 4 Original Android Development] sparksco:
Explain this more :)

Other kernels like harsh have the same UV and it seems to work fine.
[Nexus 4 Original Android Development] jarjar124:
Well there are 4 different bins that comes with the Nexus 4. Every bin has it's own voltage table. Nominal bin chips use lower voltages than Slow bin, Fast lower than Nominal and finally Faster even lower voltages. You can enable more, but people might complain about why their device is rebooting all of a sudden which is a big pain in the butt. Some people just do whatever and whine about their devices being unstable. This is how it is in other kernel threads sometimes. You might have a faster bin :) I have a fast, but my device can't handle any UV past 100 :P To find out your bin

1.) Install Terminal Emulator

2.) Type in su and press enter

2.) Reboot your phone

3.) Open Terminal Emulator and type:

su (press enter)

dmesg | grep PVS (press enter again)
[Nexus 4 Original Android Development] sidnoit22:
Flashed the ROM so damn smooth. Which kernel do you prefer guys?
[Nexus 4 Original Android Development] jarjar124:
The default one.
[Nexus 4 Original Android Development] ScumDroid:
ive gotten up to 7 hours screen on time with STS kernel. I recommend using the one provided with the ROM (STS)
[Nexus 4 Original Android Development] sparksco:
Bro, that doesn't matter, the voltages are different for each one. Slow has less UV, normal -50 more than slow, fast is -50 more than normal. Have you even looked at how the voltages work?

https://github.com/SaberMod/lge-ker...51e6f3570b/arch/arm/mach-msm/acpuclock-8064.c

BTW we're not switching kernel sources, I've put way too much into this kernel to switch bases now :-/
[Nexus 4 Original Android Development] sidnoit22:
lol thank god you guys replied i was about to flash Faux kernel. :P :good:
[Nexus 4 Original Android Development] sparksco:
Results may vary, let us know how it works out. :beer:
[Nexus 4 Original Android Development] TG2708:
Since the kernel that came with the rom is recommended. My question is does it support tweaking of phones picture quality? The screen contrast etc that franco's kernel gives is very good.
[Nexus 4 Original Android Development] lowert:
Why do you need that?STS has PA Halfbread colors which is the best possible color option
[Nexus 4 Original Android Development] TG2708:
What are you trying to say exactly? I like the colors, I have seen both and a screen color option the franco.kernel updater offers I prefer more. If I'm not mistaken PA is using a franco kernel.
[Nexus 4 Original Android Development] ScumDroid:
Yes it supports faux display app, and franco color app. Personally i don't really like the pa hybrid colors, they still looked washed out to me. I like the Faux display presets Archmag 3 good color, and obsanity amoled. Those 2 preset really bring the screen colors alive, and get rid of the washed out gamma. :good:
[Nexus 4 Original Android Development] Ace42:
They are washed out in comparison to Hallfbreed, but they're not as washed out as stock.
[Nexus 4 Original Android Development] ScumDroid:
I just tried halfbreed. Still too much gamma imo. Could be my eyes tho :victory: I like deep blacks and rich dark colors.
[Nexus 4 Original Android Development] TG2708:
Yup exactly the same feeling I had. PA ones where good until I got the app and used a preset to make the colors darker and it looked noticeably better. I think I'm going to purchase faux kernel app too. Since i started working and just got my nexus 4 I think i need to support the awesome developers and not wait for a sale lol.
[Nexus 4 Original Android Development] sparksco:
OK guys. Good thing I have a mako with a faster chip. Otherwise I wouldn't have noticed a error in the kernel where faster chips weren't getting enough UV and suffering from battery drain. I'll update new kernel version shortly after I try to fix the sweep2wake feature.

https://github.com/SaberMod/lge-kernel-mako/commit/f4d379bdb80a8d0f9539dcfd98ca3a56359bda78

Cc: [MENTION=4617326]jarjar124[/MENTION]

Cc: [MENTION=3799866]strapped365[/MENTION]
[Nexus 4 Original Android Development] Ace42:
Halfbreed is pretty dark on faux, I am unsure of how to do halfbreed on franco, because of the other color options that are exposed such as mids and lows or whatever.
[Nexus 4 Original Android Development] ScumDroid:
i have a faster binned chip as well, but i haven't played around with the voltage settings yet.
[Nexus 4 Original Android Development] sparksco:
With the current voltages I'm lucky to get 3-4 hours sot, but when I UV -50 it seems to help a lot. I'm also rockin the cobolt blue theme right now, not sure if that affects battery but damn it looks good lol.
[Nexus 4 Original Android Development] miguepereira77:
[MENTION=2394329]sparksco[/MENTION] , sweep2wake is working here, touch control app is not, so I activate it with trickstermod, both s2w and s2s

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] ckret:
sparksco are going to merge the freezer patches into the kernel?

they should also stop a lil bit battery drain
[Nexus 4 Original Android Development] ScumDroid:
That does look smexy. I know that 3g and GPS dummies the battery pretty quick. I don't have a whole lot of apps installed. My batt use is mostly Falcon (twitter), YouTube, a bit of H+ data and WiFi. These are from a week ago:
[Nexus 4 Original Android Development] sparksco:
Your on the latest kernel? I think the one in the ROM is a older version. I just tried with trickstermod do I need to reboot to make it work?

Edit: it works, I was swyping in the wrong place lol.
[Nexus 4 Original Android Development] TheDarkDefender:
No, you don't have to. Works just as it is.

Sent from my Nexus 7
[Nexus 4 Original Android Development] ScumDroid:
I can confirm this as well. Trickster works for s2w / s2s
[Nexus 4 Original Android Development] TheDarkDefender:
Touch control app requires kernel specific modules. A long while back,I heard it had problems with the stock/based kernel. Btw, the kernel must support the modules too,as far as I know.

Sent from my Nexus 7
[Nexus 4 Original Android Development] miguepereira77:
Yup, latest versions were a little bit buggie and freezes the screen, sts kernel non working was reported to bponoury, even sparksco asked him... so is up to him to fix it, otherwise I will continue using trickster to activate it, that's fine

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] TheDarkDefender:
Yes it is buggy. I got reboots on faux kernel before. But the thing is s2w isn't as accurate with trickstermod,as it is with Touch control.

Sent from my Nexus 7
[Nexus 4 Original Android Development] Ace42:
You have too much black and general darkness in that theme, if this was an OLED then black would be fine, but IPS+ is more efficient with white.
[Nexus 4 Original Android Development] mondaza:
:cyclops: I like this theme, where can i get it please? :D
[Nexus 4 Original Android Development] sparksco:
On the playstore, cobalt theme.
[Nexus 4 Original Android Development] sparksco:
What are freezer patches? Never heard of it.
[Nexus 4 Original Android Development] ckret:
https://lkml.org/lkml/2013/4/29/495

or as seen in the commits of may 23rd

https://github.com/thracemerin/kernel-Nexus4/commits/m_plus_exp
[Nexus 4 Original Android Development] mondaza:
Now i have that rom, but a question for [MENTION=2394329]sparksco[/MENTION] , Could we consider this rom as your last version?
[Nexus 4 Original Android Development] sparksco:
Last version?
[Nexus 4 Original Android Development] sparksco:
I don't know, seems my ROMs/kernels are not considered original development by some. So I'm a little hesitant to add features to the kernels and ROMs from other sources now. Apparently it makes the ROMs/kernel "less original".
[Nexus 4 Original Android Development] mondaza:
I guess that rom is built with your sources and your permission, isnt it?. Does that rom have the latest updates?

Im sorry for my bad english :mad:
[Nexus 4 Original Android Development] sparksco:
yes [MENTION=3799866]strapped365[/MENTION] built that ROM from latest source when he repo synced. The kernel is always included since it's GPL and builds in with the ROM sources.

Anyone can build from source via the FAQ section. And I don't mind that people post their buds here.
[Nexus 4 Original Android Development] strapped365:
Yeah me and ctf build whatever files you upload.

I'm thinking of doing a fresh install of 12.10 again cause 13.04 is having so serious lag fits for minutes at a time. Most likely from me in terminal going "oh cool, I can uninstall this way"

Sent From My Nexus⁴
[Nexus 4 Original Android Development] ctfrommn:
Im building another fresh right now, should be up within the hour. Looks like a few commits were added. Not sure how drastic the changes are, but I like the very latest for myself and building only takes me like 30 minutes so its no big deal.
[Nexus 4 Original Android Development] lowert:
I've recently had a SOD when a wanted to quit from a game called Air Navy Fighters.I played with it around 6 minutes.I wastn able to catch a logcat.Maybe next time.Any idea what was causing it?Not using any trickster,full stock settings(or can it be caused by the faulted game?)
[Nexus 4 Original Android Development] strapped365:
Wow a 30 minute clean build? I can do a 30 min dirty build all day. But I have just a basic lappy nothing serious at all

Sent From My Nexus⁴
[Nexus 4 Original Android Development] Lownita:
I also have a faster binned cpu and uv'ed by 100 mv with sts kernel. Working well for me.

Tapatalked from my Nexus 4
[Nexus 4 Original Android Development] ctfrommn:
Yea, pretty serious desktop rig. I built it for gaming, but it works great for building too.
[Nexus 4 Original Android Development] johnson8cyl:
I think what was meant was latest build. As in official and not someone else's derivative of
[Nexus 4 Original Android Development] ctfrommn:
The ones Im building are 100% Sparksco's work. Im not changing anything yet. I will keep any changed builds separate when I get to that point. Im just building them for him.
[Nexus 4 Original Android Development] johnson8cyl:
I know. I'm just clarifying for others ;)
[Nexus 4 Original Android Development] ctfrommn:
Good idea.....things get somewhat confusing when multiple people are building :)
[Nexus 4 Original Android Development] johnson8cyl:
Not really. Just have to read back or be here a bit. About to flash your compile BTW. Thanks to all of you who can help with the build and thread
[Nexus 4 Original Android Development] ctfrommn:
Hmmm, build is erroring out before it completes a .zip file now.

2 errors

make: *** [/home/chad/android/sabermod/out/mako/sabermod/target/common/obj/APPS/SystemUI_intermediates/classes-full-debug.jar] Error 41

make: *** Waiting for unfinished jobs....

DroidDoc took 9 sec. to write docs to /home/chad/android/sabermod/out/mako/sabermod/target/common/docs/api-stubs

Any idea what these are?
[Nexus 4 Original Android Development] sparksco:
If you guys have folders for your ROM builds I can put links to those on the OP with the who was built by, so I won't have to update links all the time. That way it's easier to track too.

If you guys modify the ROM source you don't have to provide it on github. But if you modify the kernel source you do per GPL.
[Nexus 4 Original Android Development] ctfrommn:
Here a link to my Rom Folder.... https://drive.google.com/folderview?id=0BzX_bRKRGmexSFVrcndqSlc0dWc&usp=sharing
[Nexus 4 Original Android Development] strapped365:
Once I get home I'll see if I can setup a folder in my Google Drive cause I now have 105 GB for Drive

Sent From My Nexus⁴
[Nexus 4 Original Android Development] sparksco:
Here's today's kernel update. Will be exactly the same as the one in [MENTION=4110652]ctfrommn[/MENTION] 's build for today, as long as his repo sync was less than 4 hours ago when the kernel change was added.

https://sourceforge.net/p/stskernelmako/blog/2013/06/sts-kernel-mako-06-09-13/

https://sourceforge.net/projects/stskernelmako/files/?
[Nexus 4 Original Android Development] Vangelis13:
Very smooth combo, ctfrommn's latest + latest kernel..

Now here's hoping for full-on sunshine all day around where sparksco is from.. :p;)
[Nexus 4 Original Android Development] sparksco:
As far as I know (which might not be much lol), the modules for touch control would need to be added to the ROM. But that also wouldn't make much sense since the app can load the modules just fine. It worked fine in a older version of the touch control app. The latest one it doesn't. So it's something that would need to be fixed on the app side of things. The kernel already has the s2w and s2s modules in the kernel. That's why trickstermod works fine.
[Nexus 4 Original Android Development] sparksco:
I use pie :D
[Nexus 4 Original Android Development] TheDarkDefender:
Ah.Alright. I get it. I read once in bponury's thread that it had to be supported by the kernel too. CM didn't support it, so he was having a talk with aremcee,CM's LG maintainer, for adding support in the cm mako kernel.

Sent from my Nexus⁴
[Nexus 4 Original Android Development] lowert:
ctf's latest is 08/06 in his google drive?that's what ha been compiled jsut now?
[Nexus 4 Original Android Development] johnson8cyl:
Got curious by this conversation. The touch control as far as I understand it (I believe pretty well) is that it requires kernel modules for it to work. Nothing to do with the rom just the kernel mods. I haven't used it in some time. I opened the app up and hit load. Every attempt to load a kernel module failed. Never happened before. Perhaps something in the kernel was dropped? Using ct build
[Nexus 4 Original Android Development] sparksco:
No. Did you read my post???
[Nexus 4 Original Android Development] johnson8cyl:
I read the whole conversation. Trying to figure out if it is the app or not. I read every post. Also running ct build. About to flash your new kernel from previous post. Just posting my experience. I'm not experienced with git so reading through that would be long and difficult for me. I haven't seen any changes to the kernel that would disable it.
[Nexus 4 Original Android Development] ctfrommn:
Build is still erroring out. I did a fresh repo init, repo sync, make clean, and still no go. Is it possible its something to do with the -03 flag since to GCC update last night? I can try building using -02 maybe.
[Nexus 4 Original Android Development] sparksco:
Oh alright. Well I always post the changelog and its still a feature listed in the OP. No way I'd drop that dude lol. Well anyways TM app still works.

What I'm trying to figure out is what changed in the TC app to make it stop working.
[Nexus 4 Original Android Development] sparksco:
You're going to have to be more specific than that. Post the build output of the error. I guess your using a different manifest for the toolchain. You shouldn't have any troubles if you use the right manifest.
[Nexus 4 Original Android Development] johnson8cyl:
I understand. I just meant maybe with all the merges and updating maybe something was accidentally misplaced. That's all. I don't use it anyway now. Volume wake is great. :thumbup:
[Nexus 4 Original Android Development] trillo69:
I think I've asked this before. You based your kernel on harsh's so it has a 800mV limit for doing UV. Would you consider to lower it? I mean not the default values, but the threshold because right now all vallues below 800mV are automatically raised to 800mV, and fast and faster phones can benefit a lot from that. I wish I knew how what's needed to change that threshold.
[Nexus 4 Original Android Development] ctfrommn:
2 errors

make: *** [/home/chad/android/sabermod/out/mako/sabermod/target/common/obj/APPS/SystemUI_intermediates/classes-full-debug.jar] Error 41

make: *** Waiting for unfinished jobs....

DroidDoc took 9 sec. to write docs to /home/chad/android/sabermod/out/mako/sabermod/target/common/docs/api-stubs
[Nexus 4 Original Android Development] sparksco:
Haha yeah they both work volume wake and s2w. I thought maybe the same at first but the s2w files are a separate addition so Linux kernel knows nothing about it or makes changes to it.
[Nexus 4 Original Android Development] sparksco:
That's not the errors. That's just make telling you it's terminating the build from errors in your source. You need to scroll up to see the errors. What did you change in frameworks/base to cause the errors?
[Nexus 4 Original Android Development] ctfrommn:
Nothing....I was trying to change the QS last night but that didnt work, but based on what youre saying maybe it did. How would I add the commit back? Is it just git add "commit #"
[Nexus 4 Original Android Development] sparksco:
There's no limit for UV... The latest kernel is already is already 750mV on faster binding chips...

The kernel is based on a lot of things, although you keep saying harsh since there's changes from his kernel. Just like the OP says it's aosp + cm + harsh + linux + my own changes.
[Nexus 4 Original Android Development] sparksco:
cd frameworks/base && git reset --hard

cd ../../

repo sync again.
[Nexus 4 Original Android Development] ctfrommn:
Ok, did that...I'll let you know if that works. Here is the message I got back....HEAD is now at e651692 Finally fix incorrect flipping to quick settings.

what does the cd ../ ../ mean?
[Nexus 4 Original Android Development] sparksco:
Yeah that should work. You can reset the whole repo too by doing repo forall -C git reset --hard
[Nexus 4 Original Android Development] ctfrommn:
Crap, already used all my thanks for the day

Thanks :)

Is there some kind of a "cheat sheet" for all these commands or do you just know them all from using them?
[Nexus 4 Original Android Development] trillo69:
Mmm, I couldn't on 6/6 build must be something new. Great. :good:

By the way, I just said the harsh thing because...

http://xdaforums.com/showpost.php?p=42090608&postcount=2550

...you told me. :p