yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] ÜBER™:
Depends on what kind of screen on time he had... as well as brightness. Also i see one bar of 3G.. that is a battery DESTROYER :silly: so yeah its not abnormal.. however android system is abnormal that should be at teh bottom. screen should be at the top.. looks like he isnt getting deep sleep or something is polling his phone for data.. which looks to be maps...
[Samsung Galaxy Nexus] something15525:
Were you looking at the photo I posted? That's mine, the guy posted this photo:

View attachment 1580308
[Samsung Galaxy Nexus] ÜBER™:
Well both em... seem the same.. ones not getting deep sleep the other looks like its getting polled by something "android OS" means its not sleeping, and "android system" means that something is actively wakelocking and pulling data.
[Samsung Galaxy Nexus] something15525:
Okay, well one is using the stock kernel and one is using the ZenSERIES kernel. How would I check to see what exactly is causing it not to achieve deep sleep? If you say both of them aren't achieving that.
[Samsung Galaxy Nexus] ÜBER™:
BetterBatteryStats... for the polling and for deep sleep its more than likely the GPS so just have them get a lock in SpeedTest or something.
[Samsung Galaxy Nexus] dreamsforgotten:
Trust uber this is his area of expertise!

Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Nexus] something15525:
Alright, so I bought BetterBatteryStats, and I'm going to charge my phone up all the way now. I have the bottom set to since unplugged and I'm guessing that it will start taking stats once I unplug it? Then I guess I look at the wakelocks to see what is causing this to happen?

Does that sound like a good plan to you?
[Samsung Galaxy Nexus] ÜBER™:
Actually in the drop down it should have something like set custom ref. When your ready to test, go ahead and hit that and immediately shut the screen off wait like an hour or two then pick it back up and go into it and in the pulldown use "dump to file" then on the root you should have a log. Take a look at it or post it and I will see whats up.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] something15525:
Awesome man, thank you so much. I gotta let it charge a bit and then i'll unplug it, set the custom ref and turn off the screen, wait a couple hours and we'll see whats going on. Thanks again! :fingers-crossed:

---------- Post added at 05:53 AM ---------- Previous post was at 05:28 AM ----------

This might sound stupid, but should I turn off WiFi, 3G? Or should I just leave them on?
[Samsung Galaxy Nexus] ÜBER™:
Turn em both off. Or maybe leave them on.. the apps might only pull data with a connection.
[Samsung Galaxy Nexus] something15525:
Okay, I'll leave them on, and I have Google Voice so I'll just set to Do Not Disturb for 2 hours. So I don't get any phone calls.

I started it. I'll get back to you in 2 hours. :P
[Samsung Galaxy Nexus] something15525:
EDIT: Never mind I found it. Here it is:

View attachment 1580682

I think this might be the culprit:

"gps-lock" (): 2 h 18 m 40 s (8320 s) Cnt:(c/wc/ec)0/0/0 99.8%
[Samsung Galaxy Nexus] ÜBER™:
Yep no deep sleep just as I suspected. Also maps is wake locking the crap out of your device that is where the GPS-lock is coming from. It has like 3 freaking services running. Disable it or uninstall it. Also get a GPS lock by running a speed test and let me know if you get deep sleep.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] something15525:
Alright, so should I run a Speed Test while running BetterBatteryStats? Also the Maps application is causing the deep sleep issues, not my ROM or whatever kernel is running?
[Samsung Galaxy Nexus] ÜBER™:
No you can stop BBS now, just run a speed test will lock your locations and should help the device sleep. And yes maps is causing the wake locks more than likely because it can't get your location.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] something15525:
Alright, so run SpeedTest, get a lock and then do another test to see if I don't get any wakelocks? Or just to see if deep sleep is still functioning?
[Samsung Galaxy Nexus] something15525:
On a seperate note, I made my own vendor/extra directory, with an Android.mk and everything, yet it wasn't included in my build once I ran make and make otapackage. Is there somewhere else I'm supposed to include?

Here's my extra vendor directory:

https://github.com/something15525/android_vendor_SomethingJelly
[Samsung Galaxy Nexus] something15525:
Well take a look at this! I ran another BBS test for about 30 minutes with no Maps and after running Speedtest, and looks like deep sleep was finally achieved. Here's my two sets of results.

View attachment 1580837

View attachment 1580838
[Samsung Galaxy Nexus] something15525:
To answer my own question, I edited device-vendor.mk to add a line for my "extra" folder. I'll let you know if it works!
[Samsung Galaxy Nexus] IT_Blackbelt:
https://github.com/rascarlo/android_vendor_rascarlo/commit/c42b01d0de17e4d2b2817720683138eb9c1615fa
[Samsung Galaxy Nexus] MBQ_:
How would I go about making an app?

Could I build it all from scratch and compile the apk through a script called 'Android Utility' by TommyTomatoe?
[Samsung Galaxy Nexus] IT_Blackbelt:
So, the world is supposed to end in 2 hours and 11 minutes, that equals me drinking right now!!! cheers!!!!!!!!!
[Samsung Galaxy Nexus] ÜBER™:
LOL
[Samsung Galaxy Nexus] something15525:
So I posted this on my ROM thread with an explanation:

http://xdaforums.com/showpost.php?p=35719325&postcount=28

So I guess that confirms that it was maps?
[Samsung Galaxy Nexus] IT_Blackbelt:
Yeah it does :good:

edit: Uber beat me to the "yes" post lol, so Im going to take another shot of this 151, I rarely drink so this is like...got me drunk :D
[Samsung Galaxy Nexus] something15525:
Dude, what time is it where you are? Lol
[Samsung Galaxy Nexus] IT_Blackbelt:
5pm
[Samsung Galaxy Nexus] something15525:
I see. It's only 2pm here so that's why I was wondering. Well, bottoms up! ;)
[Samsung Galaxy Nexus] dreamsforgotten:
Guys don't post an entire page of logcat in the thread not only is it a pita from tapatalk I'll never answer the question i just scroll for an hour until i get to a post i can read. Instead upload a text file or use pastebin.com

Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Nexus] something15525:
So...my box just kernel panicked and I'm pretty sure it caused some disk corruption. When I get home I'm gonna have to run a fsck on the main drive and cross my fingers. Off to a great start! Lol.

Good thing I pretty much backed up all of my work to github this morning. :p
[Samsung Galaxy Nexus] cj360:
Sorry about that, I originally posted from my pc and I realized the next day that taptalk ignores the hide tag.
[Samsung Galaxy Nexus] dreamsforgotten:
No big deal just future reference I'm hardly able to get to a pc these days I'm all mobile

Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Nexus] cj360:
Weird, when the lib 'libjni_latinime.so' is named like that < the keyboard crashes like my previous post with the giant log. When the lib is named 'libjni_latinimegoogle.so' it acts like a normal aosp keyboard without the gesture input. wth?

Post & commit I'm refering to are here

I'll just switch back to the regular keyboard and add in the pre-built latinime
[Samsung Galaxy Nexus] something15525:
Hey guys, I was hoping for a little help with cherry-picking commits/features from CyanogenMod. I'd like to add an expanded power menu and quick toggles...

If I could get a little info on how to start grabbing these features out of the source, that would be awesome! Thanks!

Also, I was hoping you guys could take a look at this. I'm getting errors when building for a grouper device after trying to fix my drivers to make camera and rotation work. Any ideas?

Export includes file: external/wpa_supplicant_8/wpa_supplicant/Android.mk -- out/target/product/grouper/obj/EXECUTABLES/wpa_supplicant_intermediates/export_includes
make: *** No rule to make target `vendor/asus/grouper/proprietary/asound.conf', needed by `out/target/product/grouper/obj/ETC/asound_intermediates/asound.conf'. Stop.
make: *** Waiting for unfinished jobs....
Target buildinfo: out/target/product/grouper/system/build.prop
[Samsung Galaxy Nexus] ÜBER™:
Dreams site.

Sent from my SGH-T999
[Samsung Galaxy Nexus] something15525:
Awesome, I'll check it out. I made an edit to my post real quick, sorry. Check it out if you can.

Never mind, seems like I fixed it.
[Samsung Galaxy Nexus] cj360:
Find out what's calling

vendor/asus/grouper/proprietary/asound.conf

Either you don't need it and it's there or the opposite, it is needed but it can't be found.
[Samsung Galaxy Nexus] something15525:
I figured out the issue and fixed it. Thanks for the tip.

Does anyone know how to add init.d support to a ROM? I don't have much kernel experience...don't know if I need that or not.
[Samsung Galaxy Nexus] MBQ_:
What'd I do wrong? D:

[out/host/common/obj/JAVA_LIBRARIES/easymock_intermediates/javalib.jar]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of out/host/common/obj/JAVA_LIBRARIES/easymock_intermediates/javalib.jar or
out/host/common/obj/JAVA_LIBRARIES/easymock_intermediates/javalib.jar.zip, and cannot find out/host/common/obj/JAVA_LIBRARIES/easymock_intermediates/javalib.jar.ZIP, period.
Install: out/host/linux-x86/framework/antlr.jar
Install: out/host/linux-x86/framework/archquery.jar
host Prebuilt: asm-3-tools (out/host/common/obj/JAVA_LIBRARIES/asm-3-tools_intermediates/javalib.jar)
host Prebuilt: asm-4.0 (out/host/common/obj/JAVA_LIBRARIES/asm-4.0_intermediates/javalib.jar)
host Prebuilt: cglib (out/host/common/obj/JAVA_LIBRARIES/cglib_intermediates/javalib.jar)
Install: out/host/linux-x86/framework/commons-cli-1.2.jar
host Java: cts-java-scanner-doclet (out/host/common/obj/JAVA_LIBRARIES/cts-java-scanner-doclet_intermediates/classes)
Install: out/host/linux-x86/framework/ctsdeviceinfolib.jar
Install: out/host/linux-x86/framework/easymock.jar
host Java: descGen (out/host/common/obj/JAVA_LIBRARIES/descGen_intermediates/classes)
host Java: device_validator (out/host/common/obj/JAVA_LIBRARIES/device_validator_intermediates/classes)
error: error reading out/host/common/obj/JAVA_LIBRARIES/easymock_intermediates/javalib.jar; error in opening zip file
1 error
make: *** [out/host/common/obj/JAVA_LIBRARIES/android-mock-generatorlib_intermediates/javalib.jar] Error 41
make: *** Waiting for unfinished jobs....
root@kyler-Inspiron-M5030:/media/kyler/a9c2d855-50cd-4d9e-bb70-3028187e489e/android/WORKING_DIRECTORY#
[Samsung Galaxy Nexus] dreamsforgotten:
You need to type just make no -jx

This will show you the error.

Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Nexus] MBQ_:
So instead of 'make -j4 otapackage' I should put 'make otapackage' ?

(My laptop has 2 cores by the way, if that matters for anything related to the build failure somehow)
[Samsung Galaxy Nexus] ÜBER™:
No just do make pointless to do make otapackage if it fails anyways.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] something15525:
Umm you should be doing a make -j4 and then make otapackage -j4 with the -j4 after the otapackage. If that's what you're asking.

If I have it correct, the make no will show you more details about your error? And then you can fix the issue and compile with the above commands.

Hope this helps!
[Samsung Galaxy Nexus] MBQ_:
So..

Lunch

14

'Make -j4 otapackage -j4' ?

Or 'Make -j4'

Enter

'Otapackage -j4' ?
[Samsung Galaxy Nexus] ÜBER™:
NO STOP!

Using make -j* will put the error on another job thread... One you won't see... JUST DO MAKE..... No -j

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] MBQ_:
Okay, thank you.

*sigh* I have a lot to learn..
[Samsung Galaxy Nexus] something15525:
^ This ^…

Apologies, I meant for regular builds after you have fixed your error.

And it would be either

make -j4

and then

make otapackage -j4

Or to do it all in one swoop

make -j4 && make otapackage -j4

REMEMBER, this is after you found your error and fixed it. Just for normal building.

I hope I'm not confusing you. It's not my intention.
[Samsung Galaxy Nexus] MBQ_:
I'm not THAT dumb. ;) just a noob who is still super new to all this. Thank you both for your help, you were both more than helpful and I'm really confident with this now. :)
[Samsung Galaxy Nexus] something15525:
Okay, well I'm glad I could help. Let me know if you need anything else dude. :)
[Samsung Galaxy Nexus] MBQ_:
Real quick. (Not sitting at my desk so I might word these wrong)

Source build/blah

Lunch

Toroplus option

Make -j4

*wait*

Make otapackage -j4 ?
[Samsung Galaxy Nexus] ÜBER™:
When the errors is done... And fixed...

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] MBQ_:
Of course. :)

Ill reinstall java.. im using the .deb on dreams website this time.. thanks again guys!
[Samsung Galaxy Nexus] something15525:
Looks good, you can also do:

. build/envsetup.sh

Instead of:

source build/envsetup.sh

Also you can do this:

make -j4 && make otapackage -j4

Instead of:

make -j4

then

make otapackage -j4

If you're gonna leave it and want it to be finished when you come back.

Besides that, looks good!
[Samsung Galaxy Nexus] MBQ_:
Thanks dude :)

So, I can not find any information on the error im getting :(

(http://xdaforums.com/showpost.php?p=35889283&postcount=1029) ... can anyone help please?
[Samsung Galaxy Nexus] exb0:
Didn't they tell you already? Do a MAKE.
[Samsung Galaxy Nexus] something15525:
What exactly is the error you get after doing a make with no -j#?
[Samsung Galaxy Nexus] something15525:
Hey, I'm trying to apply this .patch file I have and can't figure it out. I know it needs to be a git repo I apply it to, bit what is the command to apply the .patch?
[Samsung Galaxy Nexus] dreamsforgotten:
Mobile but check my web site tutorials http://Dreamsforgotten.net/mods.html

Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Nexus] MBQ_:
This is my error has continued to be my error: I tried reinstalling java, and installed the Java on dreams' website, but still keep getting it. Do you think I'll have to re-download my source? I only downloaded the 4.2.1_r1 source

Link: http://xdaforums.com/showthread.php?p=35889283
[Samsung Galaxy Nexus] IT_Blackbelt:
What your refering to as your error is a warning, you need to do the following

make clean

. build/enviroment setup

pick toroplus

make

let that run for however long it takes to reach the error, it will run much longer than your make -j4 because its only using 1 thread of your processor so once it reaches the error it will stop instead of using the other thread of your processor to keep going and only give you that warning.
[Samsung Galaxy Nexus] MBQ_:
Okay. Thank you so much bro
[Samsung Galaxy Nexus] something15525:
Hey dreams thanks but I didn't find anything about patching. I think i'm supposed to do:

git am

or

git apply

something like that but I keep having problems using them, maybe i'm not using the right syntax?
[Samsung Galaxy Nexus] ÜBER™:
Maybe this will help you? Evilisto has a guide as well.. he does a lot of patching with his mods from source.

http://jungels.net/articles/diff-patch-ten-minutes.html
[Samsung Galaxy Nexus] something15525:
I think that did it. Thank you. :)

---------- Post added at 05:38 AM ---------- Previous post was at 04:41 AM ----------

I got this error:

Install: out/host/linux-x86/framework/cts-java-scanner-doclet.jar
host Java: ddmlib-tests (out/host/common/obj/JAVA_LIBRARIES/ddmlib-tests_intermediates/classes)
frameworks/base/core/res/res/values/symbols.xml:1821: error: Symbol 'ic_lock_reboot' declared with <java-symbol> not defined
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[Samsung Galaxy Nexus] dreamsforgotten:
There's your problem the file symbols.xml line 1821 that png file is most likely not in your frameworks drawable folder

Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Nexus] something15525:
Thanks dude I added it and it built fine. :)
[Samsung Galaxy Nexus] something15525:
Hey, does anyone know how to easily grab all of the files changed/added in a certain commit? Found one on github I wanna use, wondering what the easiest way would be to implement it.

Thanks!
[Samsung Galaxy Nexus] dreamsforgotten:
Happy holidays everyone will be more active starting new years

Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Nexus] sert00:
ehi guys!first happy nwe year to ya all!second,i have some problems recently with building everything...i have sources for baked and xylon roms,but every repo sync and build it doesn't finish compiling due to some kernel related errors.i don't know how to fix them,sources for baked are there from months,instead xylon one has not more than 2 weeks.can i post here the logs if anyone can have a look?i haven't any skills to mean what it's happened..often i solve myself,but this time not.

I have also sources for 2 kernels,one forked and other a stock where i add cherry-picks,but no problems compiling..

Thanks!:fingers-crossed:
[Samsung Galaxy Nexus] something15525:
Post your errors and i'll take a look?
[Samsung Galaxy Nexus] SuperBoUDS:
Does anyone know how to revert navigation bar commit from a custom rom source?

I build rasbean jelly rom and need to revert navigation bar commit to avoid corrupt systemui.apk but I dont know how to do!
[Samsung Galaxy Nexus] something15525:
If you find the commit in the git log and then look at the changes made, maybe you can manually revert the changes?
[Samsung Galaxy Nexus] SuperBoUDS:
I figured out that I have to revert e6552f639e20ca9c9cb231b869c6857aaede120a commit in frameworks/base/packages/SystemUI

How can I tell author to merge this commit to his git?
[Samsung Galaxy Nexus] dreamsforgotten:
You have the commit number is it not already submitted???

Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Nexus] MBQ_:
I'm back! :P

Successfully built an OTApackage, flashed it.. and had no service. Did my research and found bigrushdogs guide on what to edit to get it working. Unfortunately, I'm still super new to Java.. and could really use some help. I know he wrote the guide and made it simple, but if I could get some more help.. I'd appreciate it :)

Link to the guide: http://xdaforums.com/showpost.php?p=34170897&postcount=2
[Samsung Galaxy Nexus] jboyer0000:
Look in here https://github.com/itbb he has all the needed edits to get data working:D
[Samsung Galaxy Nexus] MBQ_:
Thank you so much bro
[Samsung Galaxy Nexus] something15525:
Hey, so I've created quite of few of my own repos from AOSP source now. I've tried just using the existing .git folder so I could keep all of the Google commits, but it said it wasn't a git repository? So I just removed the folder, initialized my own repo and added all the files in an initial commit. I've been looking at cyanogenmod, pa and slimroms sources on GitHub and they all have those commits there. I want to credit everyone else's work as well, so how would I do that?

One more thing. While I've been creating these own repositories of mine, I've wanted to sync with the AOSP upstream, and I was wondering how I could do that with some of the repositories in my source folder being mine and some being untouched AOSP source. What exactly would be the best way to go around doing this?

Thanks for the help!
[Samsung Galaxy Nexus] IT_Blackbelt:
How do you extract the binaries out of a new ota?

---------- Post added at 11:46 AM ---------- Previous post was at 11:40 AM ----------

Get the AOSP source on your PC, make the changes. After you done with changes that you want to push, goto androids github, fork the repo so that it shows up under your account ( keeps commits and what not). from the repo you modded on your PC, run the following:

git init (if it says ints not a git repo)

then commit all your changes

git branch (main branch your going to use, name it whatever you want)

git checkout (new branch name)

git remote add (a nickname for your github, probably use origin) (webaddress for you github)

git push (nickname for your github)
[Samsung Galaxy Nexus] something15525:
Thanks, I forgot to mention that I figured this out. :). Thanks for the help though!
[Samsung Galaxy Nexus] IT_Blackbelt:
jeremy@jeremy-lt ~/android/Crossbones/device/samsung/toroplus $ ./extract-files.sh

1450 KB/s (102169 bytes in 0.068s)

remote object '/system/app/IMSFramework.apk' does not exist

remote object '/system/app/RTN.apk' does not exist

2388 KB/s (267201 bytes in 0.109s)

remote object '/system/app/SPG.apk' does not exist

1174 KB/s (142210 bytes in 0.118s)

849 KB/s (92376 bytes in 0.106s)

173 KB/s (13848 bytes in 0.078s)

5386 KB/s (2869384 bytes in 0.520s)

3840 KB/s (967640 bytes in 0.246s)

4707 KB/s (2036104 bytes in 0.422s)

remote object '/system/vendor/bin/pvrsrvinit' does not exist

chmod: cannot access `../../../vendor/samsung/toroplus/proprietary/pvrsrvinit': No such file or directory

10 KB/s (450 bytes in 0.040s)

451 KB/s (38001 bytes in 0.082s)

5390 KB/s (4515844 bytes in 0.818s)

701 KB/s (70916 bytes in 0.098s)

59 KB/s (4724 bytes in 0.078s)

2497 KB/s (445796 bytes in 0.174s)

3216 KB/s (371440 bytes in 0.112s)

455 KB/s (22676 bytes in 0.048s)

390 KB/s (34488 bytes in 0.086s)

2421 KB/s (249660 bytes in 0.100s)

728 KB/s (73288 bytes in 0.098s)

remote object '/system/vendor/lib/libims.so' does not exist

remote object '/system/vendor/lib/libims_jni.so' does not exist

3223 KB/s (473551 bytes in 0.143s)

426 KB/s (21284 bytes in 0.048s)

126 KB/s (10164 bytes in 0.078s)

71 KB/s (5724 bytes in 0.078s)

3158 KB/s (718840 bytes in 0.222s)

1015 KB/s (110264 bytes in 0.106s)

1382 KB/s (189916 bytes in 0.134s)

3501 KB/s (896856 bytes in 0.250s)

Im guessing by the output showing some things dont exist, that the extractor script isnt working correctly?
[Samsung Galaxy Nexus] something15525:
Maybe the ROM you're running doesn't have those files? I don't remember seeing those in the toroplus vendor files....
[Samsung Galaxy Nexus] IT_Blackbelt:
They should be in your rom, that list is, or part of the binaries needed for toroplus, I used odin to go to the 4.2.1 ota that sextape got his hands on to get the official binares for the new rom I'm working on. I dont think it worked right, I was hoping dreams whos probably did this process before would be around, but guess hes busy.
[Samsung Galaxy Nexus] something15525:
I grabbed my vendor files from dreams 4.2 vendor git repo, and it seems to work fine. I have working builds of ROMs with these vendor files...but if i'm missing stuff I'd like to know....
[Samsung Galaxy Nexus] IT_Blackbelt:
If you used dreams then you got them all. The ones I was working on are official from sprint for 4.2.1 ota, not the experimental provided by google for the toroplus which is what everyone is using right now because the official just dropped.
[Samsung Galaxy Nexus] something15525:
EDIT: never mind, found it
[Samsung Galaxy Nexus] dreamsforgotten:
I'm here now Lol. Copy those files out the ota zip replacing them all over your vendor you got now the names s should remain. P.s. currently we use the ics binaries still :D

Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2