yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] dreamsforgotten:
Yeah do that I'll take a look this afternoon when I'm free
[Samsung Galaxy Nexus] jboyer0000:
Alright, I got jbsourcery booting on toroplus but get systemUI FC's I pulled a logcat at boot but have no experience reading it..I see all kinds of errors but have no clue where to look to fix em. If someone could help I'd appreciate it

http://db.tt/TYg9kvaV

Sent from my Galaxy Nexus using Unofficial Xparent White Tapatalk 2
[Samsung Galaxy Nexus] ÜBER™:
YIKES! That ROM has got a crap ton of tweaks to it. Good Luck with that one man :good:.
[Samsung Galaxy Nexus] dreamsforgotten:
Link me the file PhoneStatusBar.java: from your source. Line 480 is pointed to a file that is missing. It's most likely an xml. The reason Iknow this is the error null pointer exception. That's a simple fix, plus everything else looks good except for a warning thrown by supersu, no biggie there either if root works.

"best to be fresh" sent from the n7
[Samsung Galaxy Nexus] dreamsforgotten:
Any time

Sent from my toroplus using Xparent ICS Tapatalk 2
[Samsung Galaxy Nexus] IT_Blackbelt:
You can also do the following on your already created frameworks/base git:

git remote add kev git://github.com/kevdliu/JB-MR1-QuickSettings.git

git fetch kev

git cherry-pick cfea821e8fc296d6f3fe69795d891bba64a85b25

and if you have your own github you can then push the changes
[Samsung Galaxy Nexus] llohcyoing:
im going in my source in frameworks/base and doing this command from terminal? and i have permanent changes?

p.s are you italian?
[Samsung Galaxy Nexus] IT_Blackbelt:
Yes you are doing it from the terminal and it should be permanet and nope im not italian,
[Samsung Galaxy Nexus] llohcyoing:
thanks mate...

hehehe.... IT at the beginning of your username has led me to think this...;)
[Samsung Galaxy Nexus] IT_Blackbelt:
ahh haha nope, its what my old boss called me, work in the IT field.
[Samsung Galaxy Nexus] mrjeff2:
Nevermind all problem resolved
[Samsung Galaxy Nexus] llohcyoing:
there are someone can explane me how to add init.d support to mine rom? or a tuto can explane this...

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Samsung Galaxy Nexus] IT_Blackbelt:
Dreams dont worry about looking over the errors I was getting with trying to add the theme chooser, Im just going to start on 4.2 since it looks like you might be close with the vendor files working 100%.
[Samsung Galaxy Nexus] dreamsforgotten:
Vendor is being tested now with the new rom. I believe this is all you need minus gapps you'll have to figure that out. http://github.com/dreamsforgotten/4.2_vendor.git
[Samsung Galaxy Nexus] IT_Blackbelt:
cool ill give it a shot and let you know
[Samsung Galaxy Nexus] Anon9mouz:
Hmm is it the same process like it was with old vendor in tut? And also lmk how u added gapps plz thank u kind sir BC if not I might just post a link to flash with it if its on goo:p

__________________________________________________
[Samsung Galaxy Nexus] IT_Blackbelt:
Happy Thanksgiving everyone!!!

Dreams, should i delete the sprint extentions file or is it working now?

---------- Post added at 09:34 AM ---------- Previous post was at 09:00 AM ----------

Gapps you would add to the rom usually through your vendor folder, I know rascarlo includes gapps so you can take a look at his github and see how its done. https://github.com/rascarlo/android_vendor_rascarlo/commit/b5697ab1026db728f1c1596b6dbf2476054f0d16

As far as the vendor files, Im playing around with my setup right now and I will answer when i know :p
[Samsung Galaxy Nexus] myepicyear:
Dreams,

Are you using the new AOSP device tree or the existing one with cm.dependencies,etc..? I see your github says the existing device tree was changed, yet nothing inside reflects a change.
[Samsung Galaxy Nexus] dreamsforgotten:
I'm using stock aosp files but the reason you didn't notice the change in files is because your seeing the master branch. Switch that to jb_4.2

and you'll see a few commits from me
[Samsung Galaxy Nexus] iil:
This is probably not the only way but I actually find it easiest to just add Gapps manually to the zip file after building the OTA.
[Samsung Galaxy Nexus] MBQ_:
Yay!! The repos have been synced :)

Went to acces the 'lunch menu' and see the following:

1. full-eng

2. full_x86-eng

3. vbox_x86-eng

4. full_grouper-userdebug

5. mini_armv7a_neon-userdebug

6. mini_armv7a-userdebug

7. full_wingray-userdebug

8. full_crespo-userdebug

9. full_maguro-userdebug

10. full_panda-userdebug

How do I get to Toroplus? :(

I want to compile a ROM from 4.1.2_r1
[Samsung Galaxy Nexus] ÜBER™:
Is that what you synced is 4.1.2? You don't have toroplus because you didn't add the vendor and device files.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] dreamsforgotten:
If you have device/samsung/toroplus/ then inside is a file called vendorsetup.sh with some text inside saying add lunch combo full toroplus. If there is a # sign infront that line of code, take it away that hides code so basically open that file look for

add_lunch_combo full_toroplus-userdebug

and not

#add_lunch_combo full_toroplus-userdebug
[Samsung Galaxy Nexus] MBQ_:
Nope, device/samsung/toroplus isnt there for me

---------- Post added at 11:02 PM ---------- Previous post was at 10:57 PM ----------

** Im using your guide now dreams, shouldve done that in the first place. Ill come back if I have problems!!

Thank you guys
[Samsung Galaxy Nexus] dreamsforgotten:
Lol no problem I'm tree writing that this week

Sent from my toroplus using Xparent ICS Tapatalk 2
[Samsung Galaxy Nexus] IT_Blackbelt:
Help :(

device/samsung/toroplus/overlay/frameworks/base/core/res/res/values/strings.xml:27: error: Resource at def_backup_transport appears in overlay but not in the base package; use <add-resource> to add.
[Samsung Galaxy Nexus] dreamsforgotten:
Have to fix that, delete that line but add it in frameworks/base/packages/settingsprovider/res/values/defaults.xml exactly the same as you cut it from strings also check Jellin thread a few pages back I posted a sirfgps.conf replace that one over the one in vendor dreams proprietary until i update that then both vendor and device are done and I'll compete the building page.

Sent from my Nexus 7 using Xparent ICS Tapatalk 2
[Samsung Galaxy Nexus] IT_Blackbelt:
Sounds good man, hope your having a good thanksgiving.
[Samsung Galaxy Nexus] IT_Blackbelt:
I have no service...hmmm

Think I ****ed my vendor files up lol, going to do a rebuild.
[Samsung Galaxy Nexus] dreamsforgotten:
Also the binaries add in sprint extentions.apk I'll delete that as well it's useless. No service means perhaps you didn't do the radio fix listed in the second post of BigRushDog's thread? I'll be adding it into the instructions on the build page.
[Samsung Galaxy Nexus] IT_Blackbelt:
No I did not, ill go look at that now.

I do have another question, is this new in 4.2?

*** Prebuilt apk found in PRODUCT_COPY_FILES: vendor/blackbelt/proprietary/common/app/Superuser.apk:system/app/Superuser.apk, use BUILD_PREBUILT instead!. Stop.
[Samsung Galaxy Nexus] dreamsforgotten:
Not sure what file that is, the new 4.2_vendor files on github don't use product copy file like that anymore. Also I roughly finished the sprint build page for the gnex http://dreamsforgotten.net/gnexbuild.html Vendor and device should be square now. Don't worry about device if your follwoing the instructions because they explain the edits to device.
[Samsung Galaxy Nexus] IT_Blackbelt:
Oh im trying ot set up my own vendor folder and was following a 4.1.2 common.mk file. I believe I got that figured out, now im getting:

*** Error: vendor module "SuperSU" in vendor/blackbelt/prebuilt/SuperSU with unknown owner "" in product "blackbelt_toroplus". Stop.

Whats with the unknown owner stuff?

I actually found the answer to this, had to edit some files in build, and its building now, hopefully it works :)
[Samsung Galaxy Nexus] dreamsforgotten:
Alright keep me posted
[Samsung Galaxy Nexus] MBQ_:
Would you please link me to the vendor and device files? Ive been searching high and low all day for them, I successfully compiled a build for the first time (best feeling ever, lol), but had a black screen on boot (when the bootanimation was supposed to play), I even added a bootanimation to system/media and still had no luck. :|
[Samsung Galaxy Nexus] dreamsforgotten:
For 4.1

Device

Http://github.com/dreamsforgotten/android_device_samsung_toroplus.git branch master

Vendor

Http://github.com/dreamsforgotten/android_vendor_samsung.git branch master

For 4.2

Device

Http://github.com/dreamsforgotten/android_device_samsung_toroplus.git branch jb_4.2

Vendor

Http://github.com/dreamsforgotten/4.2_vendor.git branch master

Also look up http://dreamsforgotten.net/gnexbuild.html it explains both.

Sent from my Nexus 7 using Xparent ICS Tapatalk 2
[Samsung Galaxy Nexus] IT_Blackbelt:
Ha sorry fell asleep lastnight as it was building, just got everything flashed, I have radio, root, SU app, bootanimation, and I added the quicksettings toggle code, running good :D!!!!!!!

Thanks dreams :)
[Samsung Galaxy Nexus] dreamsforgotten:
That's what I like to hear
[Samsung Galaxy Nexus] adil_:
help with aosp gb for galaxy ace

I was pointed to SamsungRIL.java file to fix ril... but when i copy it to the required folder, i get this error while compiling,,,

ERROR

any help?
[Samsung Galaxy Nexus] IT_Blackbelt:
What dreams said below :)
[Samsung Galaxy Nexus] dreamsforgotten:
From first glance looks like cm Qualcomm code over top of 4.2 which won't work. Package names have changed since 4.2
[Samsung Galaxy Nexus] MBQ_:
Thank you. I really appreciate it
[Samsung Galaxy Nexus] IT_Blackbelt:
So only issue im having is no deep sleep, is that a 4.2 issue?
[Samsung Galaxy Nexus] ÜBER™:
Try running a speed test with GPS and let it lock in. Then test deep sleep. At least that is what im having to do for now.
[Samsung Galaxy Nexus] IT_Blackbelt:
:P another problem I seem to have is no gps lock.

Well it locked but its a whole state off lol

Ok well now its locking on correctly, ill just keep an eye on it.
[Samsung Galaxy Nexus] MBQ_:
One last thing...

Would someone mind telling me step-by-step what to enter in order to successfully build a Toroplus ROM (JZO54K) my build was show the 76MM whatever for the build version. It didn't boot either. Even threw in a boot animation and still a no go. Its so frustrating :(
[Samsung Galaxy Nexus] dreamsforgotten:
http://dreamsforgotten.net/gnexbuild.html
[Samsung Galaxy Nexus] ÜBER™:
Probably forgot to remove the recovery in the zip?

Sent from my Nexus 7
[Samsung Galaxy Nexus] IT_Blackbelt:
This seems to have worked, my questions are, 1) does it work if you only get a GPS lock?, and 2) what would cause this?

I will be able to test 1 once I sync my newly created AOSP rom(with some rasbean amoung others cherry picks). I got my github all set up so gotta make sure ti works.
[Samsung Galaxy Nexus] dreamsforgotten:
With all google does to personalize your phone about every aspect of it wants that location to publish. It seems on 4.2 that it just pools location until it actually gets a solid one to go by. Then it settles down and reports that location when needed. Even if you turn your gps off and don't intend on using it it's a huge benefit to grap a lock every reboot to keep the system down. My guess is Google has some work to do to bugfix these little things that can cause big problems for user experience.
[Samsung Galaxy Nexus] ÜBER™:
Didn't need this on 4.1.2 :rolleyes: LOL. Sprint needs to hurry up and release a 4.2 ota. :p

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] MBQ_:
Nah man, I removed it. Removed the recovery.sh in the updater-script too
[Samsung Galaxy Nexus] dreamsforgotten:
You need to run adb logcat to see what's keeping it from booting. That's only if it boots past the google logo.
[Samsung Galaxy Nexus] MBQ_:
Thanks!!

It does not. The Google logo appears, and then goes to a black screen. I've let it sit for several minutes and nothing has happened. :|
[Samsung Galaxy Nexus] dreamsforgotten:
That's a kernel issue put a known working kernel in place of what's built with it. Make sure the working kernel is also a boot.img
[Samsung Galaxy Nexus] MBQ_:
Should it be showing IMM76D or JZO54K for the Build ID if I am trying to compile a 4.1.2 ROM?

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.1.2

TARGET_PRODUCT=full_toroplus

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.5.0-18-generic-x86_64-with-Ubuntu-12.10-quantal

HOST_BUILD_TYPE=release

BUILD_ID=IMM76D

OUT_DIR=out
[Samsung Galaxy Nexus] ÜBER™:
Yep.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] MBQ_:
Alright. Thank you guys for your help. I'll make sure to put you guys at the top of my thanks list when and if I share my ROM. :)

(You and Dreams)

---------- Post added at 04:37 AM ---------- Previous post was at 04:33 AM ----------

So the IMM76D for the build version is correct? In nearly every single ROM for the Toroplus, the build version is JZO54K. :confused:

Sorry for all the questions. :P
[Samsung Galaxy Nexus] ÜBER™:
Because they change it manually in the build.prop or build their fingerprint I "think"

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] MBQ_:
Oh!! Okay. Makes sense now. Well, just initialized the build. Time to go play some Black Ops 2 while I wait. Thanks again! :good:
[Samsung Galaxy Nexus] rascarlo:
Since you compile from source, wouldn't it be better to edit the make files in order to not build recovery instead of removing the sh and the recovery from the zip?
[Samsung Galaxy Nexus] llohcyoing:
stupid question...if i have more source in mine pc,like CM and AOKP,can i imported features directly in my AOSP?

Inviato dal mio SCONCAUTEAM HARDCORE AOSP con Tapatalk 2
[Samsung Galaxy Nexus] dreamsforgotten:
Yes that is an option as well tbh deleting the files in the zip never bugged me lol

Sent from my Nexus 7 using Xparent ICS Tapatalk 2
[Samsung Galaxy Nexus] dreamsforgotten:
If your adding can you just modify your source directly sure but you will lose that when you repo sync latest source

Sent from my Nexus 7 using Xparent ICS Tapatalk 2
[Samsung Galaxy Nexus] dreamsforgotten:
Sorry I miss read this entire convo until now. You manually change that value in device files. Here's a link to github, my toroplus device files this file in particular is where that value comes from look at line # 50,51

https://github.com/dreamsforgotten/android_device_samsung_toroplus/blob/master/full_toroplus.mk
[Samsung Galaxy Nexus] myepicyear:
If the build finished, but it just won't boot, it's probably means that some of your vendor files aren't being built in with everything. Check your ota-zip, and look through all the files in system/vendor. Also look through the lib folders, and just maked sure everything is being pulled in for compiling.
[Samsung Galaxy Nexus] cj360:
Hoping someone in here might have some idea about this:

make: *** No rule to make target `out/target/common/obj/APPS/LegacyCamera_intermediates/classes.jar', needed by `out/target/common/obj/APPS/LegacyCameraTests_intermediates/classes-full-debug.jar'. Stop.
make: *** Waiting for unfinished jobs....

Since my device uses legacyCamera on JB and it was working fine, until I sync'd my repo and something changed and I'm not sure what it is.
[Samsung Galaxy Nexus] dreamsforgotten:
You got a generic error there. classes-ful-debug.jar is something that gets put together then later on in the build it'll get compiled in it's appropriate place. The reason that's what your seeing is cause your building on multiple threads ie make -j4. When the initial error hit your screen, that thread haulted but your other 3 (assuming it was j4) kept going until that error affected their thread from compiling the final thread to die spit out that error. The way you find out what initially caused the error is to build with just "make" not "make -j4". This builds in a single thread and you can see the error soon as the screen stops.
[Samsung Galaxy Nexus] cj360:
ah, here's the ouput with make:

Checking API: checkapi-last
Checking API: checkapi-current
out/target/common/obj/PACKAGING/public_api.txt:1156: error 5: Added public field android.R.color.holo_white_light
out/target/common/obj/PACKAGING/public_api.txt:18406: error 5: Added public field android.provider.Settings.Secure.LOCK_PATTERN_SIZE
out/target/common/obj/PACKAGING/public_api.txt:18496: error 5: Added public field android.provider.Settings.System.FORCE_DUAL_PANEL
out/target/common/obj/PACKAGING/public_api.txt:18502: error 5: Added public field android.provider.Settings.System.LOCK_PATTERN_SIZE
out/target/common/obj/PACKAGING/public_api.txt:18508: error 5: Added public field android.provider.Settings.System.MODE_TABLET_UI
out/target/common/obj/PACKAGING/public_api.txt:18533: error 5: Added public field android.provider.Settings.System.SYSTEMUI_SOFTKEY_RING_SILENT
out/target/common/obj/PACKAGING/public_api.txt:18534: error 5: Added public field android.provider.Settings.System.SYSTEMUI_SOFTKEY_RING_VIB
out/target/common/obj/PACKAGING/public_api.txt:18535: error 5: Added public field android.provider.Settings.System.SYSTEMUI_SOFTKEY_RING_VIB_SILENT
out/target/common/obj/PACKAGING/public_api.txt:23720: error 4: Added public method android.view.MotionEvent.split
out/target/common/obj/PACKAGING/public_api.txt:24335: error 4: Added public method android.view.View.sendTreatAsTouchEvent
out/target/common/obj/PACKAGING/public_api.txt:24393: error 4: Added public method android.view.View.setProcessGenericMotionAsPointer
out/target/common/obj/PACKAGING/public_api.txt:24919: error 3: Added class ViewRoot to package android.view

******************************
You have tried to change the API from what has been previously approved.

To make these errors go away, you have two choices:
1) You can add "@hide" javadoc comments to the methods, etc. listed in the
errors above.

2) You can update current.txt by executing the following command:
make update-api

To submit the revised current.txt to the main Android repository,
you will need approval.
******************************

make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] Error 38

so I ran make update-api and I'm not running make again to see if it errors out again. Thanks
[Samsung Galaxy Nexus] dreamsforgotten:
Even better yeah you added some values in settings after you already compiled. It had to throw the old settings out and compile the new values in so everything has access to the proper links in source. It's also seen as a security threat to the compiler cause your adding to settings specifically changing the api
[Samsung Galaxy Nexus] IT_Blackbelt:
Doing a build right now that includes theme chooser and a couple other tweaks, lets hope it copletes and boots past the boot animation!

man it takes forever to build when only running make, plus I have ran into a couple erros that I had to fix along the way.
[Samsung Galaxy Nexus] dreamsforgotten:
Look closely at the first set of errors. It tells you in calander/res/values/arrays.xml, line 114 originally defined on 198 then the list goes on. Open that arrays.xml file and either delete the entry on the last lines for instance leave 114 alone, delete 198.
[Samsung Galaxy Nexus] cj360:
Seems to give this error while running 'make'. Could it be a conflict within my legacyCamera or maybe Gallery2 which calls it if my board is set to use legacyCamera.

And I have checked and fixed the calendar prior to this.
[Samsung Galaxy Nexus] samersh72:
very cooooooool
[Samsung Galaxy Nexus] IT_Blackbelt:
Is it just me or do these lines look the same lol

rild.libpath=/vendor/lib/libsec-ril_lte.so

You need to change that line to make it read like this:

rild.libpath=/vendor/lib/libsec-ril_lte.so
[Samsung Galaxy Nexus] dreamsforgotten:
:-/ lol forest one supposed to not have lte thanks for pointing out!
[Samsung Galaxy Nexus] IT_Blackbelt:
Got another 1 for ya

According to BigRushDogs thread this is the entry in frameworks/native/libs/gui/SurfaceComposerClient.cpp

status_t ScreenshotClient::update() {

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

if (s == NULL) return NO_INIT;

mHeap = 0;

return s->captureScreen(0, &mHeap,

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

0, -1UL);

}

But on your tutorial it says

status_t ScreenshotClient::update() {

sp s(ComposerService::getComposerService());

if (s == NULL) return NO_INIT;

mHeap = 0;

return s->captureScreen(0, &mHeap,

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

0, -1UL);

}
[Samsung Galaxy Nexus] IT_Blackbelt:
Lol TRIED to include theme chooser in 4.2 and it wont reach the boot animation, more fing around i guess.
[Samsung Galaxy Nexus] MBQ_:
*sigh*

Tried building the ROM twice and it still isn't working. I bought a 1TB external HDD. So I'll just sync the entire platform-manifest to it instead of just the JB repo(s). Going to repeat all the steps again with a little more care and going to cross my fingers I'll have my first source ROM by Friday. :)
[Samsung Galaxy Nexus] dreamsforgotten:
I copied and pasted directly from teamoes so they must have updated the post. Thanks.

Download an app called diff merge for Linux and compare my source build zip to yours. Find out what if any, files are missing from yours. If you boot past the Google logo run adb logcat to see what the error is.

Sent from my Nexus 7 using Xparent ICS Tapatalk 2
[Samsung Galaxy Nexus] IT_Blackbelt:
No problem.

And can someone help me figure out why I cant get even a boot animation with my latest updates?

http://pastebin.com/1rCD6UDe
[Samsung Galaxy Nexus] dreamsforgotten:
E/libEGL ( 1690): eglGetDisplay:121 error 300c (EGL_BAD_PARAMETER)

That's on error in it. Make sure all your vendor libraries are copied over properly in your final zip file. I would recommend the same use diffmerge from source forge and extract my system folder and your zip's system folder. Do a folder compare on both and see if I have files you don't besides gapps if they are not included in your build. Your focusing in system/lib system/etc and all of system/vendor/
[Samsung Galaxy Nexus] MBQ_:
Okay!! I did flash a kernel when I tried to test out my ROM. I wonder if that was the potential error..

The first time I took a boot.img from a kernel and tried that, that wasnt very smart of me. Hahah, so I screwed that up. I rebuilt the ROM again with no luck still. So, I will do that and see what I'm doing wrong!! So glad I waited until Black Friday before getting a harddrive, got a 1TB HDD for 65$!! Anyways, ill do that after I get home from school and come back here with results!. Thanks again dude.

Edit: How easy is it to include themechooser (and theme manager..?) in a 4.1.2 ROM? I plan to make my own custom settings app and want to code the theme chooser in the settings. I'll worry about the custom settings later though
[Samsung Galaxy Nexus] IT_Blackbelt:
I looked on source forge and did not see a diffmerge download, mind linking me?
[Samsung Galaxy Nexus] dreamsforgotten:
Why do I always fuc that up. Not source forge source gear http://www.sourcegear.com/diffmerge/
[Samsung Galaxy Nexus] MBQ_:
Dude, your milestone 5 ROM is like.. 115MB bigger than my stock OTA. Hahah, I'm definitely doing something wrong. :/
[Samsung Galaxy Nexus] MBQ_:
Missing usr files, vendor files, etc files, etc/permission files, and a few more

should I re-sync the repos?
[Samsung Galaxy Nexus] dreamsforgotten:
http://dreamsforgotten.net/gnex.html

http://dreamsforgotten.net/gnexbuild.html

You don't have proper vendor and device files. Device maybe since your building 4.2.
[Samsung Galaxy Nexus] IT_Blackbelt:
So I did this and its ****ed, good call, time to figure out why.
[Samsung Galaxy Nexus] MBQ_:
I'm trying to build 4.1.2, thanks man.Ill come back if I have any issues. I am determined to make this work!! Hahah

---------- Post added at 02:18 AM ---------- Previous post was at 02:13 AM ----------

Couple more questions...

Do I have to run extract-files.sh from my phone to get the proper vendor and device files? Or can I just use the vendor/device files Dreams has on his github?
[Samsung Galaxy Nexus] IT_Blackbelt:
the 4.1.2 files on his git are probably the actual vendor files so they would be fine.