yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] MBQ_:
Okay! One last question. Do the vendor files go into the platform, I followed the guide and mine is called ICS_SOURCE, do I put it there, or do I put the vendor folder in device/samsung/toroplus?
[Samsung Galaxy Nexus] ÜBER™:
It goes in you're repo you created whatever that may be called its a standalone folder. Like for me its home/uber/Rasbean/vendor

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] dreamsforgotten:
refer to this page on device and vendor:

http://dreamsforgotten.net/gnexbuild.html The 4.1 and 4.2 vendor and device files are different. At the top of the guide I discuss building android 4.1 and link to vendor and device. These can both be used on ICS. Lower in the guide I discuss 4.2 building. These are specifically for the new 4.2 source and can't be used in ICS. Following those limits you should be able do build just fine.
[Samsung Galaxy Nexus] MBQ_:
Thank you both.

Edit: I put the folders from the Google binaries in device/samsung/toroplus, crossing my fingers that it goes well, lol. If it doesnt, im going to put my new HDD in use and sync everything from the repo. I have no clue why I am having such a difficult time with this
[Samsung Galaxy Nexus] IT_Blackbelt:
I think 4.2.1 screwed up some of the turtorial, example:

Next step to finish our device edits are located in device/samsung/toroplus/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml>

While in your text editor, search for this:

<string name="def_backup_transport" translatable="false">

change this line to this:

<string name="def_backup_transport" translatable="false">com.google.android.backup/.BackupTransportService</string>

In device/samsung/toroplus/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml after 4.2.1 only shows the following:

<?xml version="1.0" encoding="utf-8"?>

<!--

/**

* Copyright (c) 2009, The Android Open Source Project

*

* Licensed under the Apache License, Version 2.0 (the "License");

* you may not use this file except in compliance with the License.

* You may obtain a copy of the License at

*

* http://www.apache.org/licenses/LICENSE-2.0

*

* Unless required by applicable law or agreed to in writing, software

* distributed under the License is distributed on an "AS IS" BASIS,

* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

* See the License for the specific language governing permissions and

* limitations under the License.

*/

-->

<resources>

<bool name="def_wifi_on">true</bool>

</resources>
[Samsung Galaxy Nexus] ÜBER™:
No not really.. all you do is add that string right under the bool. I compared it to dreams 4.2 file it looks the same but yes 4.2.1 did mess the radio fix part.. i havent been able to build successfully using BRD's cflags for whatever reason.
[Samsung Galaxy Nexus] IT_Blackbelt:
Im getting ready to start a build soon, ill let you know what happens with it.
[Samsung Galaxy Nexus] ÜBER™:
:fingers-crossed: im pretty sure my errors were user error.. i dont really know. :S kept getting caught up on an error on something i didnt even touch.
[Samsung Galaxy Nexus] dreamsforgotten:
No, the binaries from google go in platform/vendor not platform/device. Download my vendor and device from the links in my guide and use them they download as zip archives. You extract the files from the zip into your platform/vendor and platform/device/samsung/ respectively. Take you time and read over dreamsforgotten.net click tutorials then click the link for phones choose the Galaxy Nexus first and get an understanding of what's going on, then read the Sprint Galaxy Nexus to see where to plug everything in. Let me know if you need more help.

I screwed up I went to the file in source code, searched for the line of code and changed it directly. In the guide I described that when I meant to say just add the one line of code to /device/samsung/overlay/frameworks/base/packages/settingsprovider/res/values/defaults.xml.

The line of code being	<string name="def_backup_transport" translatable="false">com.google.android.backup/.BackupTransportService</string>
[Samsung Galaxy Nexus] IT_Blackbelt:
I have radio on 4.2.1 so heres what I did.

In frameworks/native/include/gui/SurfaceComposerClient.h :

Add the following under // frees the previous screenshot and capture a new one

status_t update();

In frameworks/native/libs/gui/SurfaceComposerClient.cpp :

Under:

ScreenshotClient::ScreenshotClient()

: mWidth(0), mHeight(0), mFormat(PIXEL_FORMAT_NONE) {

Add:

status_t ScreenshotClient::update() {

sp<ISurfaceComposer> s(ComposerService::getComposerService());

if (s == NULL) return NO_INIT;

mHeap = 0;	596

return s->captureScreen(0, &mHeap,

&mWidth, &mHeight, &mFormat, 0, 0,

0, -1UL);

}

In frameworks/native/libs/gui/Android.mk add the following at the end of the file:

ifeq ($(TARGET_DEVICE),toroplus)

LOCAL_CFLAGS += -DTARGET_TOROPLUS_RADIO_FIX

endif
[Samsung Galaxy Nexus] ÜBER™:
so under the // part where you put the status_t update just paste that underneat in line with the other status's or a space inbetween? does it matter?

like so?

// frees the previous screenshot and capture a new one
status_t update();
status_t update(const sp<IBinder>& display);

and the second part should look like so

ScreenshotClient::ScreenshotClient()
: mWidth(0), mHeight(0), mFormat(PIXEL_FORMAT_NONE) {
}

status_t ScreenshotClient::update() {
sp<ISurfaceComposer> s(ComposerService::getComposerService());
if (s == NULL) return NO_INIT;
mHeap = 0;	596
return s->captureScreen(0, &mHeap,
&mWidth, &mHeight, &mFormat, 0, 0,
0, -1UL);
}
[Samsung Galaxy Nexus] IT_Blackbelt:
yep, looks good.
[Samsung Galaxy Nexus] ÜBER™:
Lol forgot the line # indicator 596... it errored removed it rebuilding.. :)
[Samsung Galaxy Nexus] IT_Blackbelt:
Cool, hope it works for you.
[Samsung Galaxy Nexus] ÜBER™:
And it worked like a charm :).
[Samsung Galaxy Nexus] IT_Blackbelt:
Sweetness :)

---------- Post added at 07:47 PM ---------- Previous post was at 07:17 PM ----------

How do I get torch on my rom?

NVM found it on cm github.
[Samsung Galaxy Nexus] IT_Blackbelt:
Got torch included, and attemtped to set up build tweaks but it force closes, once I get that figured out, I may just go ahead and release my rom :eek:
[Samsung Galaxy Nexus] dreamsforgotten:
Run a logcat

Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Nexus] IT_Blackbelt:
I did, I believe it was caused by typos, rebuild now and will test it out.

---------- Post added at 02:04 AM ---------- Previous post was at 01:23 AM ----------

Typos it was, working correctly now :)
[Samsung Galaxy Nexus] zombioptic:
Hey dreams! I was wondering if you could take a look at a logcat for me and help me figure out why I'm not saving screenshots. I'm running Über's latest rasbean port, but I'm the only one with the issue it seems, so I don't think it's ROM related. Thanks, man!

http://db.tt/DjTpv9VL
[Samsung Galaxy Nexus] ÜBER™:
This is where it fails.

1-29 11:02:42.595 E/MediaProvider(4030): File creation failed
11-29 11:02:42.595 E/MediaProvider(4030): java.io.IOException: open failed: EACCES (Permission denied)
11-29 11:02:42.595 E/MediaProvider(4030): at java.io.File.createNewFile(File.java:948)

Sent from my Sprint Galaxy Nexus
[Samsung Galaxy Nexus] IT_Blackbelt:
I see a permissions denied in there, have you tried fixing permissions?
[Samsung Galaxy Nexus] zombioptic:
Yeah, that was the first thing I tried, to no avail. I'm going to restore an old stock backup and see if that makes it go away... This is very strange, indeed.
[Samsung Galaxy Nexus] ÜBER™:
Maybe a bad download? There is a possibility of a bad upload, I did see it timeout during upload. If you can't fix it I will re upload it on Windows, I can never really trust Linux for internet its wonky at times.

Sent from my Nexus 7
[Samsung Galaxy Nexus] zombioptic:
Could be. I'm back on stock now and screenshots are saving fine (also just tried to swipe that sentence lol) If you could reupload it, that'd be great, man, thanks.

I'll keep an eye on your thread! Thanks again everyone!
[Samsung Galaxy Nexus] dreamsforgotten:
Mind= blown @ the statement Windows is better at networking than Linux.

Sent from my Nexus 7 using Xparent ICS Tapatalk 2
[Samsung Galaxy Nexus] ÜBER™:
Well for me, it may not be the case for you. But Linux just doesn't like my laptop for certain things such as graphics and my wireless card.

Sent from my Nexus 7
[Samsung Galaxy Nexus] dreamsforgotten:
Correction your kernel doesn't like your graphics and Wi-Fi, you need the kernel with proprietary drivers

Sent from my Nexus 7 using Xparent ICS Tapatalk 2
[Samsung Galaxy Nexus] ÜBER™:
Linux is the kernel... :p:p

Sent from my Nexus 7
[Samsung Galaxy Nexus] dreamsforgotten:
? ? Windows is msdos?

Sent from my Nexus 7 using Xparent ICS Tapatalk 2
[Samsung Galaxy Nexus] IT_Blackbelt:
My laptop was the same, tried linux mint 14 and its running fan****ingtastic
[Samsung Galaxy Nexus] IT_Blackbelt:
So i just tested, all you need for deep sleep is to get a gps lock, no need for the speed test, i just opened up maps. Is this something that will be fixed when we get our hands on the offical binaries?
[Samsung Galaxy Nexus] ÜBER™:
Possibly, it was fixed when 4.1.1 finally came out for us. :)
[Samsung Galaxy Nexus] IT_Blackbelt:
Checking build tools versions...

find: `../opt/telephony/src/java/android/telephony/gsm': No such file or directory

find: `../opt/telephony/src/java/android/telephony/gsm': No such file or directory

find: `../opt/telephony/src/java/android/telephony/gsm': No such file or directory

Where would I look with that happening right at the beginning of the make? I cant find whats callilng that location.
[Samsung Galaxy Nexus] dreamsforgotten:
Repo sync not finish?
[Samsung Galaxy Nexus] IT_Blackbelt:
OHHH I follwed eos git to remove 2 files not needed in that folder, which was the only 2 files, so I guess I just need to find whats calling it to stop that error.

https://review.teameos.org/#/c/1286/
[Samsung Galaxy Nexus] Albinoman:
Could someone help me fix this error http://paste.ubuntu.com/1403622/

Im building 4.2 AOSP for the verizon s3.
[Samsung Galaxy Nexus] IT_Blackbelt:
I only build for the nexus line, but to me that looks like its looking for the file full_d2vzw.mk in the d2 device folder, but I dont think thats the s3 device folder.
[Samsung Galaxy Nexus] Anon9mouz:
So are these directions still correct for 4.2.1 and also do I resync to go from 4.2-4.2.1 or I have to delete source and repo init again. Sorrie just been handling family **** and slaving 50+ hours a week but yes I did catch up on reading tho. But I want to finally compile a build:)

__________________________________________________
[Samsung Galaxy Nexus] Albinoman:
I don't know why it would be looking for full_d2vwz.mk in d2-common.
[Samsung Galaxy Nexus] ÜBER™:
Yes just be mindful of my mistakes earlier in this thread. IT put it out pretty clearly. If you need help hit me up on gtalk.

Sent from my Nexus 7
[Samsung Galaxy Nexus] Anon9mouz:
Kk thanks bro

__________________________________________________
[Samsung Galaxy Nexus] Albinoman:
Can someone help me with this error? http://paste.ubuntu.com/1405374/

Building AOSP 4.2
[Samsung Galaxy Nexus] cj360:
I have a question about github and repo sync-ing (and sorry if the someone might have already answered this).

Since a normal repo sync will overwrite my changes can I have it setup to merge the new updates with my local changes? Like the original repo is

SlimRoms / hardware_libhardware_legacy and I've fork'ed it to cj360 / hardware_libhardware_legacy. Can I have it setup to sync changes from SlimRoms and also keep my changes to push to my repo on github?
[Samsung Galaxy Nexus] dreamsforgotten:
Not the error that's just warnings next time compile with out -jx for instance

make

Not

make -j4

This will make it stop on the actual error

Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Nexus] dreamsforgotten:
No you need to push your changes or put them on a different branch. Repo sync the main branch and merge changes back into the main branch

Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Nexus] Albinoman:
Thanks that worked. What about this one http://paste.ubuntu.com/1405656/
[Samsung Galaxy Nexus] ÜBER™:
Off-topic

I just about had a heartattack when i looked at my system monitor on windows showing only 3 cores on my quadcore. For a minute there i thought i blew out a core compiling :S. Turns out it was because i set 4 cores to boot, reverted to default and all is well. Before i figured this out.. i updated the BIOS, updating my graphics drivers.. was on an update rampage to figure out what the hell the issue was. Anyways all is well now :silly: just thought i'd share my experience.
[Samsung Galaxy Nexus] zombioptic:
Hey guys. I know this isn't really the place I'm supposed to ask this, but I figured since we all kind of "know" each other, and you are some of the smartest android folks I know, it couldn't hurt to ask, and its something I'm sure a lot of us would end up benefiting from... Anyway, here goes:

I want to make a tasker task that will start/stop LMT when the expanded desktop is enabled/disabled, but I'm a super noob when it comes to tasker, and only understand very basic stuff. Does anyone know how I would go about that?

Edit: I have someone helping me through PM now. Sorry for being so off topic, guys!
[Samsung Galaxy Nexus] dreamsforgotten:
This is just the thread for those types of questions it's not of topic. I'm glad you are getting the help i wouldn't know how to link a system option to the tasker app but possibly noticing the full screen would be easier.

Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Nexus] zombioptic:
Well, what I've figured out so far is that if i use secure settings, I can create a task that enables or disables expanded desktop, but all that would let me do is created a task that happens in the reverse way from what i want. Hmmmm.....

---------- Post added at 12:25 AM ---------- Previous post was at 12:08 AM ----------

Okay, so I'm thinking for now, i should be able to at least create a tasker widget that when pressed, turns on expanded desktop, and launches lmt. But then i still have to start lmt service manually, exit, and go to the app i wanted to use full screen.

With all that, it'd probably be faster to just enable and disable expanded desktop manually and forget about using lmt. Ugh... :P
[Samsung Galaxy Nexus] ÜBER™:
Giving this LMT deal a try the pie controls are freaking awesome. The only issue I see is how would I get to notifications?

Sent from my Sprint Galaxy Nexus
[Samsung Galaxy Nexus] dreamsforgotten:
What is lmt

Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Nexus] ÜBER™:
Its an app that uses gestures or the pie controls in any app to preform an action, such as home, back, menu, search,... Etc. I use the pie controls as those are familiar to me from the browser quick controls. You should check it out, it has its own thread here on xda.

Sent from my Sprint Galaxy Nexus
[Samsung Galaxy Nexus] IT_Blackbelt:
Hey Uber 2 questions, I got theme chooser working on my rom finally and wanted to run your newest theme, can you link me?

Also I have uber jelly installed now and I noticed you make the settings menu background black on that, I want it to be black by default on my rom so I was wondering how you did that as well?
[Samsung Galaxy Nexus] ÜBER™:
The green one im working on? Not up yet, will also be a paid theme since im working my ass off on it.

As for the black background, since 4.2 google switched it up on us themers. The background.holo used to be an image in Drawable-Nodpi, however is now an xml in Drawable of the framework-res.apk. Background_holo_dark.xml is what you want it is a gradient xml so change the last xml value black which is #ff000000.

---------- Post added at 04:42 PM ---------- Previous post was at 03:57 PM ----------

Anybody happen to know how i would redirect a color to a drawable resource?

<color name="mms_background">@drawable/background</color>

Is what i have but im sure that is incorrect. any ideas?
[Samsung Galaxy Nexus] zombioptic:
Here, dreams, check it out. Way better than sky similar thing you can find on the market. I only use it for the pie menu, which is perfect for when you're in extended desktop mode. Take it for a spin and you'll understand why I think the Tasker task I want would be be ideal.

http://xdaforums.com/showthread.php?t=1330150

[DEV] LMT Launcher v1.5 for Evo3D/Sensation/HD2/GSII/GSN and more... (ROOT)
[Samsung Galaxy Nexus] IT_Blackbelt:
Does anyone know if the offical gapps on goo work yet or should we stick with BRD's gapps?
[Samsung Galaxy Nexus] jboyer0000:
I'm using the 11/30 gapps without issue

Sent from my Galaxy Nexus using Unofficial Xparent White Tapatalk 2
[Samsung Galaxy Nexus] IT_Blackbelt:
Did you flash them over other gapps or did you flash them with a fresh install of your rom?
[Samsung Galaxy Nexus] jboyer0000:
I flashed them right after the ROM

Sent from my Galaxy Nexus using Unofficial Xparent White Tapatalk 2
[Samsung Galaxy Nexus] IT_Blackbelt:
Alright im going to have to give them a try.

---------- Post added at 11:23 AM ---------- Previous post was at 11:23 AM ----------

Anyone know if there is away to improve the memory management on my rom?
[Samsung Galaxy Nexus] zombioptic:
I could be wrong (and I usually am), but I think memory management comes more from the kernel than the rom.
[Samsung Galaxy Nexus] ÜBER™:
Correct ;).

I would check out Zepplinrox's supercharger thread in android general. I used to use that script religiously on my Epic 4G :D. Gotta squeeze all the memory you can get with only 360 usuable RAM.
[Samsung Galaxy Nexus] IT_Blackbelt:
My RAM usage is in the 400MB's right now with with like 290MB's free, I dont remember the usage being as high on this same kernel before so I thought it might have been something I did.
[Samsung Galaxy Nexus] ÜBER™:
Mine runs about 320-350. Could be something you added that is using more RAM from the settings.
[Samsung Galaxy Nexus] IT_Blackbelt:
hmmm Beautiful widgets is cached 50MB, Apex Launcher is 47MBs, Trickster MOD is at 26MBs and Settings is Running at 50MBs.

Do you run Beautiful widgets, Apex Launcher, or Trickster MOD?
[Samsung Galaxy Nexus] Pirateghost:
Daddy got a new toy. time to break her in
[Samsung Galaxy Nexus] IT_Blackbelt:
Very nice!
[Samsung Galaxy Nexus] Pirateghost:
35 minute compile time after make clean

3 minute compile time without make clean....

maybe i could get used to it, but i think there is more tweaking i need to do to get it to go faster...

must.go.faster.
[Samsung Galaxy Nexus] IT_Blackbelt:
Does your gesture typing work? I just flashed the 11/30 gapps on a fresh rom install and its not working.
[Samsung Galaxy Nexus] ÜBER™:
Probably missing the lib for it. Look for lib_latinimegoogle.so or something similar to that.
[Samsung Galaxy Nexus] IT_Blackbelt:
there is a lib_latinime.so in the 11/30 gapps, but not the lib_latinimegoogle.so so Ill add that and see, but why would the lib be left out of the official gapps?
[Samsung Galaxy Nexus] ÜBER™:
No idea :S
[Samsung Galaxy Nexus] IT_Blackbelt:
So dont replace the lib files, keyboard FC's
[Samsung Galaxy Nexus] llohcyoing:
integrate rom control from AOKP... how to?

i know the tuto from dreamforgotten's site...but...what i should watch for this? (i have also aokp source code on my pc)

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Samsung Galaxy Nexus] rascarlo:
You need an overlay in your vendor to enable gestures
[Samsung Galaxy Nexus] Anon9mouz:
Care to explain so i can understand this too for future building:) Also u mentioned a while back about editing the make file? So u wouldn't have to manually delete sh and recovery out the zip or something like that:confused: Help to understand that too would be great

__________________________________________________
[Samsung Galaxy Nexus] rascarlo:
You can check my github for vendor and build. Commit messages will help you understand
[Samsung Galaxy Nexus] Anon9mouz:
i got this error when trying to build

Error 1

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

system/core/toolbox/ls.c: In function 'listfile_maclabel':

system/core/toolbox/ls.c:284:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

system/core/toolbox/ls.c: In function 'listfile':

system/core/toolbox/ls.c:310:5: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]

system/core/toolbox/mount.c:59:2: warning: initializer-string for array of chars is too long [enabled by default]

system/core/toolbox/mount.c:59:2: warning: (near initialization for 'options[16].str') [enabled by default]

anon9mouz@Anon9mouz-Satellite-A665:~/AOSP$
[Samsung Galaxy Nexus] ÜBER™:
Thats a general error. Re-run just make (no -j*) then post the exact error.. make sure you get everything, there is more behind the error 1 message that shows what the error is.
[Samsung Galaxy Nexus] Anon9mouz:
In file included from frameworks/native/libs/gui/ConsumerBase.cpp:31:0:

frameworks/native/include/gui/SurfaceComposerClient.h:158:5: error: invalid use of template-name 'android::sp' without an argument list

make: *** [out/target/product/toroplus/obj/SHARED_LIBRARIES/libgui_intermediates/ConsumerBase.o] Error 1

---------- Post added at 08:05 PM ---------- Previous post was at 08:00 PM ----------

I must not have done the edit right in that file.

Edit could someone post a screenie of what it looks like after edit?

__________________________________________________
[Samsung Galaxy Nexus] dreamsforgotten:
I'll send my files in a minute

Sent from my Nexus 7 using Xparent ICS Tapatalk 2
[Samsung Galaxy Nexus] IT_Blackbelt:
So more than likely it wont be included in any official gapps?

I also follwed your git for the dictionaries and gesture, included in my vendor but gestures still dont work with the official gapps.
[Samsung Galaxy Nexus] rascarlo:
Use the aosp latinime and add the overlay. You also need LatinIME Dictionary pack which you can find in my vendor.

Gestures and dictionaries are omitted in aosp
[Samsung Galaxy Nexus] Anon9mouz:
Just get at me bro bc i knew those last two files would be a pita

__________________________________________________
[Samsung Galaxy Nexus] IT_Blackbelt:
I added https://github.com/rascarlo/android_vendor_rascarlo/commit/c42b01d0de17e4d2b2817720683138eb9c1615fa to my vendor, and I believe im already using the aosp latinime because I dont include gapps with my rom, and I looked inside the gapps pack and it has the latinIME dictionary pack, is the 1 in your vendor different?
[Samsung Galaxy Nexus] JediNinjafication:
Wah hoo! Mommy got her computers today! I finally get to join the club. Sites looking good dreams. I'll do the best i can to follow and not bother you.

Sent from my Galaxy Nexus using Xparent Purple Tapatalk 2
[Samsung Galaxy Nexus] IT_Blackbelt:
Welcome to the club :)
[Samsung Galaxy Nexus] JediNinjafication:
OK. I'm used to Ubuntu but keep hearing about mint. Any suggestions? I finally have my stuff plugged in and there are a few mods/updates i need to do. I want to totally wipe out windows on this computer so is just used to learn this stuff. I have another can use for daily use. I'm new to this end of the android world have tons to learn but I'm not dumb either

Sent from my Galaxy Nexus using Xparent Purple Tapatalk 2
[Samsung Galaxy Nexus] ÜBER™:
I would suggest Ubuntu for a painless install, or Debian i hear it is just as good. *cough* dreams *cough*. Linux Mint is alright i went with LMDE a while back as Ubuntu didn't support my GPU before 12.x.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] MysteryEmotionz:
**** dreams n his debian. I had a perfectly good working Ubuntu system n he talked me into switching to debian. What a nightmare that was.
[Samsung Galaxy Nexus] ÜBER™:
You're telling me. :rolleyes: :p

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] MysteryEmotionz:
Yea im not switching back now. I do like it better but its a pita to set up. Ubuntu is the best all around distro for beginners