yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] ÜBER™:
Okay, another question. Why is it that i keep getting builds that are missing the video folder in /system/media along with the two .emd files? Are those device specifc? I have a feeling that is why my build wouldnt boot on the toroplus. I snagged em from Mmuzy's build and it worked. But now im missing it in the Tilapia build i just did and am wondering what i could do?

Edit: attatched a picture of what im mean.
[Samsung Galaxy Nexus] something15525:
Yeah, and just take the tilapia folders from my repos for the nvidia, nxp widevine ones. :good:

---------- Post added at 05:51 PM ---------- Previous post was at 05:48 PM ----------

The camera specific files aren't really required, but are recommended. What I mean by that is they won't cause the build to not boot, I didn't have them in my ROM for a while. Take a look at this:

https://github.com/SomethingExplosive/android_vendor_SoMeX/tree/somex-4.2/prebuilt/common/media

those are the .emd files you need. I included them like this:

https://github.com/SomethingExplosive/android_vendor_SoMeX/blob/somex-4.2/config/common.mk

Let me know if you need some help with this. :D
[Samsung Galaxy Nexus] ÜBER™:
Gotcha ill look into this. Thanks :)
[Samsung Galaxy Nexus] ÜBER™:
Something wrong with the XML its not formed correctly.

res/layout/keyguard_screen_tab_unlock_land.xml.orig:0: error: Resource entry keyguard_screen_tab_unlock_land is already defined.
res/layout/keyguard_screen_tab_unlock_land.xml:0: Originally defined here.
frameworks/base/core/res/res/values/arrays.xml.orig:399: error: Error parsing XML: not well-formed (invalid token)
frameworks/base/core/res/res/values/config.xml:937: error: Found text " If this flag is false, we advise applications not to use protected
buffers (if possible) when presenting content to a wifi display because
the content may be blanked.

This flag controls whether the {@link Display#FLAG_SUPPORTS_PROTECTED_BUFFERS}
flag is set for wifi displays.
-->
" where item tag is expected
frameworks/base/core/res/res/values/config.xml.orig:1031: error: Error parsing XML: not well-formed (invalid token)
frameworks/base/core/res/res/values/public.xml:3683: error: Public resource attr/permissionGroupFlags has conflicting public identifiers (0x010103a8 vs 0x010103c5).
frameworks/base/core/res/res/values/public.xml:3644: Originally defined here.
frameworks/base/core/res/res/values/public.xml.orig:23: error: Error parsing XML: not well-formed (invalid token)
frameworks/base/core/res/res/values/strings.xml:3149: error: Resource entry wifi_available_sign_in is already defined.
frameworks/base/core/res/res/values/strings.xml:3146: Originally defined here.
frameworks/base/core/res/res/values/strings.xml:3257: error: Resource entry no_permissions is already defined.
frameworks/base/core/res/res/values/strings.xml:3245: Originally defined here.
frameworks/base/core/res/res/values/strings.xml.orig:393: error: Error parsing XML: not well-formed (invalid token)
frameworks/base/core/res/res/layout/keyguard_glow_pad_view.xml:21: error: Error: No resource found that matches the given name (at 'targetDrawables' with value '@array/lockscreen_targets_unlock_only').
frameworks/base/core/res/res/layout/keyguard_screen_tab_unlock_land.xml.orig:35: error: Error parsing XML: not well-formed (invalid token)
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1

To do code use the button in the editor that has the pound sign on it '#'

---------- Post added at 03:49 PM ---------- Previous post was at 03:09 PM ----------

I got all the files put in their place, it built with no error. Someone tested it and it just boots to a black screen :confused:
[Samsung Galaxy Nexus] dreamsforgotten:
Log cat or it didn't happen
[Samsung Galaxy Nexus] ÜBER™:
Dont have the device so i cant get one... and the last time i posted one.. if i recall correctly, you moaned about it freezing your pc :p.
[Samsung Galaxy Nexus] dreamsforgotten:
Correction froze up my phone not pc lol
[Samsung Galaxy Nexus] MBQ_:
Nevermind. Fixed my own problem
[Samsung Galaxy Nexus] IT_Blackbelt:
nvm
[Samsung Galaxy Nexus] MBQ_:
Okay. I have 500-515 to spend. What would be the perfect computer for building/compiling? :) I'm thinking something with a quad-core 3.4-3.6GHz processor? :D
[Samsung Galaxy Nexus] ÜBER™:
no no no no .... you got it all wrong bud... :p. I can whip you up something for 520$ ;). Let me search out some parts.
[Samsung Galaxy Nexus] MBQ_:
Thanks man.. :)

If you could find an actual computer, id really appreciate it! Been searching Amazon but can't necessarily find a perfect PC for building

:good:
[Samsung Galaxy Nexus] ÜBER™:
Erhm... well i found parts for a PC you can build yourself. Much cheaper... and more reliable. Most pre-built PC's tend to get cheap on parts like the PSU and RAM and what not. Here is something i put together for $521. Which actually comes out to 516 after the mail-in-rebates. Probably the cheapest you can get an i5 and a decent dedicated GPU.

http://pcpartpicker.com/p/Qf6D
[Samsung Galaxy Nexus] MBQ_:
Awesome. Thanks a TON bro. :)
[Samsung Galaxy Nexus] MBQ_:
Bought a desktop. :)

HP P7-1534

during building, I'm running at 3.2GHz constantly on all 4 cores.. How high can my CPU and HDD get? Right now, the highest it went up to was 43C (CPU), and my HDD has gotten up to 36C. Is that safe? The fan has been running alot. I ran -j32 as well, but switched back back to ondemand, so when its done it'll idle down to a slower CPU speed. I've heard people running their computers to 85C, so I'm not too* worried, just don't want anything to blow up while I sleep. :)
[Samsung Galaxy Nexus] ÜBER™:
You positive its the CPU? How are you telling? Because my i3 at 3.3 hits 60C compiling (I know this is my real CPU temp because I installed sensors to monitor it. Also running a conky config that shows it. And its only a dual core. Also why are you doing -j32???? -j8 -16 at the most. I compile in 28mins with ccache with -j8... No need to even run -j16.

Sent from my Nexus 4
[Samsung Galaxy Nexus] MBQ_:
-j32 makes me feel all warm and fuzzy inside knowing I am using all threads on each core. ;p

andddd... yeah, im sure its the CPU. I got scared and switched to ondemand in hopes it would reduce the frequency and not clock too high. Didnt want my computer catching fire as I slept. ahaha
[Samsung Galaxy Nexus] IT_Blackbelt:
You both are brave, I usually only go as high as -j6 on my i7, I was told number of cores + 1 is what the -j number should be.
[Samsung Galaxy Nexus] MBQ_:
Me too, but ever since Dreams mentioned he -j32's his builds, I figured 'why not?' and started doing it too. :D

btw, i7? Im jealous. :D
[Samsung Galaxy Nexus] ElfinJNoty:
you guys seen this?

saw it on the xda portal...... looks, interesting

http://xda-university.com?lrRef=Un3Yv
[Samsung Galaxy Nexus] dreamsforgotten:
No ****
[Samsung Galaxy Nexus] ElfinJNoty:
:cool:I can't tell what kinda No Sh!t that was... but I just thought they were jocking your style Dreams. Alright... nothing to see here
[Samsung Galaxy Nexus] dreamsforgotten:
Nah not jocking me lol, I'm still going to support anyone who needs it. Wonder how that is going to be setup.
[Samsung Galaxy Nexus] dreamsforgotten:
If anyone has noticed my site is unreadable today, I'm almost finished rewriting all the css so it displays correctly on both my laptop and n7. Soon as i get these templates sorted, I'll be able to just add content in from there.
[Samsung Galaxy Nexus] JediNinjafication:
I hate css. let me know when you're done and I'll go on a READING AND LEARNING spree!

*Step Away From The Toolkit And NoROM Gets Hurt*
[Samsung Galaxy Nexus] dreamsforgotten:
Oh no don't do that, just posting about it can get my account closed :/

"best to be fresh" sent from the n7
[Samsung Galaxy Nexus] dreamsforgotten:
Page dreamsforgotten.net back up and running, just finished css edits. Content next.
[Samsung Galaxy Nexus] hev88:
Soo... I've been going back and forth but I kinda favor Ubuntu 12.04.... but was seein if anyone had any comments about advantages/disadvantages of Ubuntu 10.04 or 12.04 as far as compiling/building goes and not the rest of the OS's as a whole

Sent from my Maguro
[Samsung Galaxy Nexus] dreamsforgotten:
It can be successfully done with both so it's a personal choice really.

"best to be fresh" sent from the n7
[Samsung Galaxy Nexus] IT_Blackbelt:
I took the idea from Uber to port rasbean over to the toroplus, I got it up and working but had 2 galleries and the boot animation wasnt the same as it was on Ubers so i guess im not sure if he changed it or what, anyone have any ideas on either?
[Samsung Galaxy Nexus] ÜBER™:
I didnt even have one gallery... well I did but I had the old one. And yes I added the regular one from are u jellin.

Sent from my Nexus 7
[Samsung Galaxy Nexus] IT_Blackbelt:
hmmm I had the old one and the new one, and my lockscreen to the camera worked right away, but i cant figure out why the old gallery is building in. And thanks for letting me know about the boot animation.
[Samsung Galaxy Nexus] dreamsforgotten:
Look in your platform/packages/apps see if there is more than one gallery then look in vendor if rasbean syncs with a vendor folder on its own. The only two places there will be gallery.
[Samsung Galaxy Nexus] IT_Blackbelt:
In platform/packages/apps I have Gallery and Gallery2, stupid question but can I just delete Gallery?

and in rascarlo vendor there is a Gallerygoogle.apk
[Samsung Galaxy Nexus] dreamsforgotten:
Sure can, by the way on the site in the source tutorial i just added a .deb package to install java 6jdk on 64 bit architecture.
[Samsung Galaxy Nexus] IT_Blackbelt:
That will be very helpfull for people, getting java installed when I first started out was probably one of the hardest things haha, granted I was also noobish to linux.
[Samsung Galaxy Nexus] ÜBER™:
I did too... don't understand how come I didn't get two as well... I'm gunna do the same thing. Tell me something, does your panoramic camera force close?

Sent from my Nexus 7
[Samsung Galaxy Nexus] IT_Blackbelt:
Nope, I used the device and vendor files from my buddy who does the crossbones rom, maybe that has something to do with it?
[Samsung Galaxy Nexus] ÜBER™:
Hmm so its dreams fault... AH HA! #Blame dreams.... :D

Sent from my Nexus 7
[Samsung Galaxy Nexus] ÜBER™:
Its actually double the amount of cores you have. So if you have 4 you would do -j8.

Sent from my Nexus 4
[Samsung Galaxy Nexus] MysteryEmotionz:
Holy hell batman. There is no need to ever run j32 when compiling. Even on my build sever with i7extreme 32gb ram I only run j16.
[Samsung Galaxy Nexus] ÜBER™:
What CPU did you end up getting?

Sent from my Nexus 4
[Samsung Galaxy Nexus] MBQ_:
Everything else feels slow to me now if I go below -j32 ;)
[Samsung Galaxy Nexus] ÜBER™:
You tool... :rolleyes:

Sent from my Nexus 4
[Samsung Galaxy Nexus] MBQ_:
AMD A8-5500

http://www.bestbuy.com/site/HP+-+Pa...k}!{ifmobile:M}!{creative}#tab=specifications
[Samsung Galaxy Nexus] ÜBER™:
Sigh.... The build I posted is way faster than that dude. :( maybe not the integrated graphics but the CPU is tons faster. And how in the world is an AMD that cool. There's no way its only 45C it has to be hotter... I think you're getting the motherboards heat reading... Which means the CPU is probably around 70-80C. I know because my mobo temp gets to about 35c when building.

Sent from my Nexus 4
[Samsung Galaxy Nexus] MBQ_:
Ohh, okay. Is that too hot then?
[Samsung Galaxy Nexus] ÜBER™:
No that's not bad. I'd look into getting the sensors installed and finding the true CPU temperature. Just to make sure its around that temp. 70-75 is the highest I would feel comfortable letting it hit. Most have a 100c limit before it goes haywire.

Sent from my Nexus 4
[Samsung Galaxy Nexus] dreamsforgotten:
Balls to the wall yolo ftw :D
[Samsung Galaxy Nexus] MBQ_:
Thanks dude. Im sure the cores or computer will shut off if things actually get too hot
[Samsung Galaxy Nexus] MysteryEmotionz:
All credit goes to k0nane and his diomintus server. I can't thank him enough for letting me us it.

My local machine is a peace of **** even after you sent me that ram. At least I can compile a kernel locally. Takes a half hour with make clean. Intel Pentium d 3.2ghz disk core with hyper thread n 2gb ram. The wife gave me the OK to build a new rig. She game me $800 to play with. Just gotta threw what were going threw ATM then I'll be building a decent machine dedicated to compiling source code n browsing Facebook ;)
[Samsung Galaxy Nexus] something15525:
Hey, does anybody know how to go about odexing a ROM? Thanks in advance! :)
[Samsung Galaxy Nexus] cj360:
Hey guys, Iv'e started building cm-10.1 for my 2011 device, and needless to say somethings from cm-10.1 will not work on their own, like the new camera app. I've tried adding

+ifneq (,$(findstring LegacyCamera,$(PRODUCT_PACKAGES)))
+
rest of mk file
+
+endif

since I call legacycamera during build I don't want the regular camera app to build. And yet it's still in my app drawer, which I don't want since the app won't work with my device's hardware.
[Samsung Galaxy Nexus] dreamsforgotten:
Open vendorsetup.sh in device (Toroplus) then look in that file for Toroplus -userdebug change userdebug to just user. This will not work if you use a repo that disabled the ability to build with deoxrep from the actual build .mk file keep that in mind.
[Samsung Galaxy Nexus] IT_Blackbelt:
Are there any sound improvements that we can include in the source code of the ROM instead of using a zip?
[Samsung Galaxy Nexus] MysteryEmotionz:
Look into faux sound n faux speaker
[Samsung Galaxy Nexus] cj360:
Has anyone in here had an error like this before:

Import includes file: /home/andrew/cm10/out/target/product/zeusc/obj/EXECUTABLES/dalvik-vm-unit-tests_intermediates/import_includes
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
make: *** No rule to make target `/home/andrew/cm10/out/target/product/zeusc/obj/STATIC_LIBRARIES/libcrypt_samsung_intermediates/export_includes', needed by `/home/andrew/cm10/out/target/product/zeusc/obj/UTILITY_EXECUTABLES/cryptfs_intermediates/import_includes'. Stop.

I'm building cm10 (jellybean 4.1.2) with twrp jb-wip branch on linux mint (latest stable release) x64 bit. My device is xperia play so I'm not sure what's calling libcrypt_samsung.
[Samsung Galaxy Nexus] dreamsforgotten:
That's not your error that's generic, type"make" not "make -jx" to reveal the true error.
[Samsung Galaxy Nexus] cj360:
edit nvr mind
[Samsung Galaxy Nexus] IT_Blackbelt:
https://code.google.com/p/android/issues/detail?id=40961

I would like to add this fix to the source code, any idea where its located prebuild?
[Samsung Galaxy Nexus] dreamsforgotten:
https://android.googlesource.com/pl...ve/+/c84e9844d621223d14178be521da67a3d0553595
[Samsung Galaxy Nexus] IT_Blackbelt:
Thanks bro!

Edit: So I would recommend this fix, Ive only applied it a little bit ago, but the gnex seems much snappier and memory seems a bit more under control.
[Samsung Galaxy Nexus] something15525:
Anyone having any issues grabbing 4.3 for the grouper device tree? I'm trying to merge android-4.3_r2.1 into my android_device_asus_grouper repo and, when I push, github tells me there are three files that are too big (they look like factory image files) that are in factory-images and self-extractors. When I go to look for them, They don't exist! and my .git folder is 1.1 gigs for some reason?

I tried completely deleting the folder, recloning my repo and trying again.

I tried cloning the AOSP repo, checking out the android-4.3_r2.1 branch, and pushing to a test repo on github, seems to be doing the same thing!

Anyone? This is pretty frustrating haha
[Samsung Galaxy Nexus] IT_Blackbelt:
I had the same problem, Mike got it to work, no clue how tho, he said he didnt do anything special.
[Samsung Galaxy Nexus] something15525:
Yeah, funny story, I contacted Jean Baptiste-Queru and he said there was an issue with the repo, some temporary files that were 800mbs, and he deleted them, and then it worked for me :D
[Samsung Galaxy Nexus] IT_Blackbelt:
good to know, this 4.3 merge has been kicking my ass lol
[Samsung Galaxy Nexus] MBQ_:
I have all proprietary files for Mako, Maguro, Toro, and another device I think!

You guys want the link?
[Samsung Galaxy Nexus] IT_Blackbelt:
No we got those covered, thanks tho
[Samsung Galaxy Nexus] something15525:
indeed, ALL of build errors haha
[Samsung Galaxy Nexus] dreamsforgotten:
That always goes like that when they first merge new repos, takes a while to iron them out
[Samsung Galaxy Nexus] something15525:
I've got everything but root now :) anyone integrated koush's Superuser into their ROM? I'm trying to figure out how to add my own init.local.rc (and failing)
[Samsung Galaxy Nexus] MBQ_:
Yep! It was surprisingly simple too.
[Samsung Galaxy Nexus] something15525:
Could I get some assistance bro? :)

I already integrated it a long time ago, just a little stuck on the init script...
[Samsung Galaxy Nexus] MBQ_:
Absolutely.

Im at work so I dont much time to explain stuff, but on github, search for Koush. SU is open source and he has a tutorial on his SU repo
[Samsung Galaxy Nexus] something15525:
MBQ, I already integrated it a while ago. I'm just trying to add in the 4.3 changes.
[Samsung Galaxy Nexus] something15525:
Hey, does anybody have working binaries for 4.3 for toroplus?
[Samsung Galaxy Nexus] dreamsforgotten:
The 4.2 binaries don't work?
[Samsung Galaxy Nexus] something15525:
No, things seem to be very broken. The essentials work (kind of), I can't test the radio since I don't have Sprint anymore, but I can't plug the phone in and mount it on my computer. I hear there are more GPS issues as well...

You still have a GNEX on Sprint you would be willing to test with?
[Samsung Galaxy Nexus] dreamsforgotten:
I don't have Sprint or a gnex anymore.
[Samsung Galaxy Nexus] something15525:
Alrighty, anybody else?
[Samsung Galaxy Nexus] something15525:
Or does anyone else have working binaries?
[Samsung Galaxy Nexus] dreamsforgotten:
Get with maddoggin better yet check his github he gotta have a branch for it
[Samsung Galaxy Nexus] something15525:
Only a master branch that hasn't been updated in 5 months...

https://github.com/maddoggin/vendor_samsung_toroplus
[Samsung Galaxy Nexus] Watcher07:
bigrushdog has been helping in the mmuzzy thread with getting 4.3 working. Bunch of us in irc are going through builds he's upping testing everything and data seems to be working just fine now, looks like he nailed it. Not sure when he'll be giving access to everything he did, there's still a couple minor bugs (that might be squashed with the build he's upping now) but shouldn't be long now.
[Samsung Galaxy Nexus] IT_Blackbelt:
Im working on the crossbones stuff now, If I get it working Ill let you know
[Samsung Galaxy Nexus] okanb3:
Hey all,

I'm working to build my own rom.

Just for an example, i want to cherry pick this commit;

https://github.com/ParanoidAndroid/...mmit/e78dbd2fe9252617c06642c67e49f823be8fd50b

How can i do that? I don't have Github, i'm working on my own machine, google's stock code.

Thanks.

Edit:

I did that with some searching, but i had errors.

I did these, exactly;

cd android

cd frameworks/base

git checkout

git remote add paranoid https://github.com/ParanoidAndroid/android_frameworks_base

git fetch paranoid

git cherry-pick commit-id(like 7ba230e3513ad0f47bc9b334cbdc3a0d380b8e3c)

But i got these errors (?),

What must i do from now?
[Samsung Galaxy Nexus] ÜBER™:
You have to make sure you get the edits to the other files and directories that mod effects.
[Samsung Galaxy Nexus] okanb3:
I don't understand you clearly. You mean you must have these files, yes i have them in the right directory.
[Samsung Galaxy Nexus] dreamsforgotten:
I think he's saying the mods you are trying to cherry pick have another commit needed for them to work. Another words that particular commit is dependant on yet another commit you must cherry pick.
[Samsung Galaxy Nexus] okanb3:
So... How would i know that? Here is the link for the commit what i tried to cherry-pick.

https://github.com/ParanoidAndroid/...mmit/e78dbd2fe9252617c06642c67e49f823be8fd50b
[Samsung Galaxy Nexus] dreamsforgotten:
I don't really see another commit needed there try following these steps to cherry pick that commit once again http://dreamsforgotten.net/mods.html
[Samsung Galaxy Nexus] okanb3:
Well i did my cherry-pick without an error. But now when the compiling in progress, it gave me errors.

Do i need to remove <<<<<< HEAD from files ? Or any modifications to must made?
[Samsung Galaxy Nexus] MysteryEmotionz:
The <<<<<<<HEAD means there are conflicts that need to be addressed. In your terminal type "git status". Anything in red will need to be edited.
[Samsung Galaxy Nexus] okanb3:
It looks like i have another problem.
[Samsung Galaxy Nexus] MysteryEmotionz:
Here is an example of a bad cherry pick and I used got status to find what file was effected. I opened up the makefile and did a search for "HEAD" with match entire word n match case. I seen the conflict n fixed it.

Since got status ain't showing the effected file/files your going have to look at the commit and look at every file part of the commit and find the conflicts.
[Samsung Galaxy Nexus] something15525:
Is this directly from an AOSP source repo that you just initialized?
[Samsung Galaxy Nexus] okanb3:
Yeah exactly. From to googles source code

Galaxy Nexus cihazımdan Tapatalk 4 ile gönderildi
[Samsung Galaxy Nexus] something15525:
Why did you type git checkout with nothing else? That won't really do anything...
[Samsung Galaxy Nexus] okanb3:
I did it end of The all. For checking

Galaxy Nexus cihazımdan Tapatalk 4 ile gönderildi
[Samsung Galaxy Nexus] something15525:
Yes, what this guy said. Fix the conflicts and add the files manually, then when you have a clean working directory, commit the change!

Also, if you want to preserve the original commiter's information (since it was originally their work, you just grabbed it) do this when you commit:

git commit -c <commit-id goes here>
[Samsung Galaxy Nexus] MysteryEmotionz:
Personally I never check-out. I use git fetch URL then got cherry-pick sha#. If there's conflicts your terminal will look like my screen shot n that's when I use git status to find what file has the conflicts. Then search for <<<<<<<HEAD . use the method I mentioned in my other post then fix the conflicts.

The problem tho is tho git status is saying your up to date so your gonna have to check every file. Did you use git init after synching aosp source? That might be the reason git status says everything is up to date
[Samsung Galaxy Nexus] okanb3:
I give up with cherry-pick thing. I don't understand any of you guys say. Looks like i have to do all of things manually.

Whatever, thanks all for support.
[Samsung Galaxy Nexus] MysteryEmotionz:
It's not hard man once you do it. Sync your source that your going to use. In your case aosp. Make sure everything is set up before making any changes. Then use "git init" to intiliaze git. Find what you want to cherry pick. Copy the git URL to the repo. Type git fetch and use the URL. After it's done fetching them use git cherry-pick sha#. If there's any errors with the cherry pick your terminal will look like mine before I typed git status
[Samsung Galaxy Nexus] okanb3:
I just deleted my all aosp folder. I'll make a fresh start. For this, i have to sync repo. And it takes 9-10 hours to me. I hope i can make it after that, and can write here.

Many thanks.
[Samsung Galaxy Nexus] MysteryEmotionz:
Follows dreams guide on getting everything set up before making any changes. I always build before I make any changes just so I know I got a base that works
[Samsung Galaxy Nexus] ÜBER™:
Doh, you could of just deleted the framework/base folder and repo sync'd and it would have just redownloaded what you removed.
[Samsung Galaxy Nexus] MysteryEmotionz:
To late now unfortunately
[Samsung Galaxy Nexus] dreamsforgotten:
Goto dreamsforgotten.net and click tutorials follow initializing a repo, then the commit guide you have to at least initialize a repo even if you don't link it to your own github you need to create a branch, then work on that branch off the main source branch