yashsingh1/xdaforums huggingface dataset:
[Nexus 10 Android Development] tgraupmann:
I was reading the docs:

http://source.android.com/source/initializing.html

And in the section "Configuring USB Access", I don't see a permission entry for the Nexus 10.

When I boot into fastboot mode and try to use adb devices the permissions show as ???????.

I'd like to be able to run the fastboot commands.

What entry should I add for the Nexus 10 to work with fastboot and adb?

This is so I can install Craig's ROM from the command line. As I can boot into recovery mode with fastboot commands, clear the cache, reset to factory settings using fastboot, apparently...
[Nexus 10 Android Development] xXFallenXx:
Just wanted to mention that I had my N10 encrypted. This weekend it did one of the random reboots, but would lock up after entering the encryption pin. I tried everying. Anyways I don't think it's necessarily related to this ROM, and since I formatted it I can't really provide any useful info. I was on the Nov 28 build.
[Nexus 10 Android Development] darkuni:
Okay, I blew my 10 away. COMPLETE fresh install of latest build. Installed GAapps. Ran the mount as Craig previously posted.

It mounted, but only in that terminal session. Even PRE-EXISTING apps running couldn't see the mount point.

Sigh.
[Nexus 10 Android Development] siirial:
Use fastboot devices if you are using fastboot.
[Nexus 10 Android Development] philbrewer:
Running for 2 days. No reboots.

Nice job!
[Nexus 10 Android Development] tgraupmann:
Okay so I get this:

guest@ubuntu:~/aosp$ fastboot devices
no permissions	fastboot

And if I try to flash, it just sits there:

guest@ubuntu:~/aosp$ fastboot flashall -w
< waiting for device >

guest@ubuntu:~/aosp$ sudo fastboot devices
[sudo] password for guest:
????????????	fastboot

guest@ubuntu:~/aosp$ sudo fastboot flashall -w
error: neither -p product specified nor ANDROID_PRODUCT_OUT set

Oh just needed to sudo...

and then before launching fastboot, I can push the ROM with... adb push

Here is where the downloads appear on my nexus 10.

guest@ubuntu:~/aosp$ sudo adb shell ls /sdcard/0/Download
GoogleAppsPack-4.2.0-JOP40C-V3.zip
full_manta-ota-eng.cgomez.01122012.zip

And then it would be easy to copy the image to my download folder more easily

guest@ubuntu:~/aosp$ sudo adb push out/target/product/generic/system.img /sdcard/0/Download/
993 KB/s (225967104 bytes in 222.164s)

Now that I have the source and it builds, I've setup a VM image with the project setup. Now I'll be able to troubleshoot my HDMI issues and get it to display. I'll submit the patch to Craig whenever the AwesomePlayer decides to work.

Craig how do you typically package the build into a zip? I just built the entire thing.

What do you use for your lunch command. And then what command do you use to zip?

The documentation lacks a step for how to package and put the compiled output into a ROM zip...
[Nexus 10 Android Development] craigacgomez:
To fix the fastboot and adb stuff, you need the proper 51-android.rules or 99-android.rules... I have it at home... I'll share it with you...

To build a package, you make -j16 otapackage (replace 16 with num of cpus * 2, aka 16 threads & faster builds)... the otapackage parameter creates an update zip!
[Nexus 10 Android Development] Slig06:
I just tried a little variation of H3g3m0n's method using the script attached (read H3g3m0n's post to see how to start the script). Differences is that i mount it in /sdcard/cifs/ subdir using the mount command indicated by Craig.

I see the cifs mounted files in root explorer, vlc and bsplayer (all were started after the mount).

note: I also added an empty /sdcard/cifs/.nomedia file to avoid having my 1.5GB shared disk scanned and referenced ;)
[Nexus 10 Android Development] darkuni:
I'll give it a shot.

---------- Post added at 01:24 AM ---------- Previous post was at 01:12 AM ----------

Wow, this appears to work great!

Can you update the script to allow for spaces in the share name? My NAS has a fixed name with spaces and I cannot get around it :(

I tried surrounding the share name with single quotes, but that didn't do the trick

Thanks again so much!

Edit ... I tried escaping the spaces, I tried \040 ... gotta be some way to do it :)

---------- Post added at 01:58 AM ---------- Previous post was at 01:24 AM ----------

While we're here .. does Scirpt Manager run like total ass for everyone else too? It can hang for 20-30 seconds sometimes. I even paid.
[Nexus 10 Android Development] Slig06:
I have a fixed name with space too on my main share (perhaps that formating it allow to choose name but i'm not sure at all, and btw i don't really want to loose some things one it which can't be copied) : i thing i tried all i could, escaped space, \040, \\040, \\\\040, "...", \"...\", none worked :(
[Nexus 10 Android Development] tgraupmann:
Is otapackage missing a parameter or something?

guest@ubuntu:~/aosp$ make -j2 otapackage
...
PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/ogg/Scarabaeus.ogg:system/media/audio/ringtones/Scarabaeus.ogg ignored.
PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/ogg/Solarium.ogg:system/media/audio/ringtones/Solarium.ogg ignored.
make: *** No rule to make target `otapackage'. Stop.

And what will the zip path be when it's done?
[Nexus 10 Android Development] Leoisright:
make otapackage -j32 (if you set up ccache and make clobber it it will boost build speeds, cut mine from 32 minutes to 11 mins)

You had it backwards is all.

The zip will be in out/products/manta

Also,

make otapackage WITH_DEXPREOPT=true -j32

Will make an odexed ROM for those that prefer that. Caution, will probably get calendar, Google search, and some others fc after boot. To bypass that, delete the .apk and idea associated with the fc app with a deodexed one.

sent from me Stella nexus 10
[Nexus 10 Android Development] craigacgomez:
Did you run envsetup & lunch??
[Nexus 10 Android Development] tgraupmann:
edited
[Nexus 10 Android Development] nick w:
Hi,

Im having an issue at the moment with USB Sticks.

So i plug it in and it recognises it = SUPER

I can access it = SUPER DUPER

If i remove the stick and later re attach it, it becomes inaccessible.

The only way to re-access the usb stick is to restart the N10

Running latest build

no usb mount software for the market is installed.

16gb USB FAT32 stick

Any ideas? or is this correct?

Thanks

N
[Nexus 10 Android Development] rlrbjr:
Did you go into Settings->Storage and dismount the stick? As long as I dismount properly I have no problem with the N10 recognizing USB devices.
[Nexus 10 Android Development] atinm:
CWM is broken for multi-user devices right now (Nexus 10) though Koush is getting a Nexus 10 so it should get fixed soon. Use something else until we fix for now. I'm using TWRP myself - but maybe I should go fix this recovery thing myself . . .
[Nexus 10 Android Development] atinm:
Yes, right now CM10 is basically just AOSP - we haven't done much to it yet. But I haven't suffered from these random reboots - if I do, I'll definitely look to see what happened. To the people who are seeing this, can you pull your /proc/last_kmsg and link it here so I can look at it? Though if you are running a different kernel from the CM one, you'll want to also point your kernel developer at it as it could be a kernel specific thing. Thanks.
[Nexus 10 Android Development] rlrbjr:
As suggested in the Google defect report, I have disabled Location Services and have not had a restart since. The problem is outlined (in signficant detail here). It would be great to see a fix for this:

http://code.google.com/p/android/issues/detail?id=40140
[Nexus 10 Android Development] sareds7:
How do you have your usb formatted? I had no problems with Fat32 but Ext4 is an issue. I know its not supported but I am trying to use a file system that allows for symlinks.
[Nexus 10 Android Development] rlrbjr:
Yes mine is fat 32. Sorry I missed that.
[Nexus 10 Android Development] tgraupmann:
Yes both.

I used:

1. lunch full-eng

I also setup CCCache.

I can build normally without the otapackage parameter. Do I need to manually zip the out/target/product/generic folder?

guest@ubuntu:~/aosp$ make -j4
...
Target system fs image: out/target/product/generic/obj/PACKAGING/systemimage_intermediates/system.img
Running: mkyaffs2image -f out/target/product/generic/system out/target/product/generic/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/generic/root/file_contexts system
Install system fs image: out/target/product/generic/system.img

What's this missing src issue with the build package script?

guest@ubuntu:~/aosp$ make otapackage -j1
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.2.1.2.4.8.16.32.64
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-19-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
external/bluetooth/bluedroid/Android.mk:8: NO BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR, using only generic configuration
find: `src': No such file or directory

...

PRODUCT_COPY_FILES frameworks/base/data/sounds/ringtones/ogg/Solarium.ogg:system/media/audio/ringtones/Solarium.ogg ignored.
make: *** No rule to make target `otapackage'. Stop.
[Nexus 10 Android Development] chugger93:
Has the clear all in recent apps been merged or available in cm10.1? Friggin love that feature on euroskank for my galaxy nexus.

Oops this was meant for the cm thread below.... My bad
[Nexus 10 Android Development] jm6001:
Just loaded the ROM everything is great but for some reason my factory gesture keyboard isn't working properly... How can I fix this?
[Nexus 10 Android Development] verusevo:
Just had a question. Since updating to the 12/1/12 version of this ROM I can't seem to get wallpapers to display correctly on my tab. I tried loading one of the stock wallpapers I was using on the pre-update version of this ROM and now its zoomed in and pushed downward on my screen. So then I tried using one of the wallpaper setting apps and even with preset configurations it does the exact same thing. Has anyone else experienced this?
[Nexus 10 Android Development] verusevo:
P.S. since posting about my wallpaper issue not 5 mins ago now I can't seem to load any wallpapers. initially it started losing wallpapers as a tiny picture in the center of the screen then it just stated defaulting to that green leaf background regardless of any wallpaper I choose.
[Nexus 10 Android Development] Leoisright:
Isn't there a cm_manta-eng or cm_manta-userdebug choice? Confused why our building full-eng. I don't have cm source, but I don't believe there is an otapackage for full-eng.

To answer the src question, I get that too, won't cause you an issue at all. In your case, its stating there is no otapackage for the ROM you specified.

sent from my Nexus 10 Stella
[Nexus 10 Android Development] tgraupmann:
Is it weird I don't see a manta-eng option?

guest@ubuntu:~/aosp$ lunch

You're building on Linux

Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_mips-eng
5. full_grouper-userdebug
6. full_tilapia-userdebug
7. mini_armv7a_neon-userdebug
8. mini_armv7a-userdebug
9. mini_mips-userdebug
10. mini_x86-userdebug
11. full_phantasm-userdebug
12. full_mako-userdebug
13. full_maguro-userdebug
14. full_manta-userdebug
15. full_toroplus-userdebug
16. full_toro-userdebug
17. full_panda-userdebug

I must've grabbed the source at a weird time. I resynced my repo and got a bunch of updates. It's building now...
[Nexus 10 Android Development] tgraupmann:
Just a bad checkout it builds and compiles fine now.

running: java -Xmx2048m -jar out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmp81J4Y4 out/target/product/maguro/full_maguro-ota-eng.guest.zip
done.

guest@ubuntu:~/aosp$ adb push out/target/product/maguro/full_maguro-ota-eng.guest.zip /sdcard/0/Downloads/
616 KB/s (121342911 bytes in 192.059s)

This recovery image is that I built is unusable, I had to revert to the clockwork recovery image to get back to normal:

guest@ubuntu:~/aosp$ sudo fastboot flash recovery out/target/product/maguro/recovery.img
sending 'recovery' (4968 KB)...
OKAY [ 0.952s]
writing 'recovery'...
OKAY [ 0.139s]
finished. total time: 1.091s
guest@ubuntu:~/aosp$ sudo fastboot reboot
rebooting...

finished. total time: 0.004s

After I installed my image, the kernel is still craig's so looks like I have to build my own kernel next.

So instead of panda we use manta... okay I'm starting to follow this. Although how hard is it to update documentation geez.

Let the fun begin.
[Nexus 10 Android Development] Poipoi91:
cifs

Hi,

The script works fine, but 2 problems remain :

- password with special characters don't work

- nls=utf8 don't work (invalid command eror...)

out of this 2 cases the mount work and application can access to files on the mont directory. (but cifsmanager don't work)

Thanks for the ROM :)
[Nexus 10 Android Development] tgraupmann:
Craig when you build the kernel do you use panda or is there a separate manta checkout?

guest@ubuntu:~/kernel$ git clone https://android.googlesource.com/device/ti/manta
Cloning into 'manta'...
fatal: remote error: Git repository not found
[Nexus 10 Android Development] atinm:
On ubuntu:

$ . ./build/envsetup.sh && lunch full_manta-eng && make -j4

or

$ . ./build/envsetup.sh
$ lunch full_manta-eng
$ make -j4

should build the manta image, and you can build otapackage after. Make sure you have the vendor binaries in vendor/broadcom, vendor/audience, vendor/samsung already.
[Nexus 10 Android Development] atinm:
use device/samsung/manta for manta.
[Nexus 10 Android Development] tgraupmann:
Thanks.

A guide like this for the Nexus 10 would be super helpful: http://xdaforums.com/showthread.php?t=1774035

adb push out/target/product/manta/full_manta-ota-eng.guest.zip /sdcard/Download/

Craig what are your compile steps for the kernel? In the first post you have https://github.com/craigacgomez/android_kernel_samsung_manta Do you build the kernel inside the aosp or separately? I'm following the docs, but I'm stuck on the ??????.....

git clone https://android.googlesource.com/device/samsung/manta

git clone https://android.googlesource.com/platform/prebuilt
export PATH=$(pwd)/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$PATH

export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=arm-eabi-
cd manta
git checkout ?????????????????????????
make manta_defconfig
make
[Nexus 10 Android Development] lopez1_de:
It mounts! But I can't browse the files in /sdcard/cifs/ they are only visible in /data/media/0/cifs/
[Nexus 10 Android Development] yelrx8:
nls=utf8 in cifs mount?

Sorry for the noob question, but what does nls=utf8 do for a cifs mount? Is it something to do with character encoding (and what does that mean?)?

Thanks
[Nexus 10 Android Development] craigacgomez:
OK... thought I'd give a progress update... the upcoming release is a complete rework of everything... I have, one by one, cleaned-up and remerged all my changes to a fresh AOSP 4.2.1 code base...

What's done:

1. Everything in the current releases (except Quick Settings mod)

2. Quite Hours (credit CM)

3. Volume rocker wake and music controls (credit CM)

4. NFC polling mode (credit AOKP)

What's a work in progress:

1. Complete revamp of Quick Settings Mod (going to AOKP as a base, but it will be rewritten for this ROM)

Based on my current work schedule, I should be able to release a new version within a week...
[Nexus 10 Android Development] chugger93:
craig, what's the clear all from recent apps from? Is that you, or pulled from CM or what? Just curious. I really wish we had it
[Nexus 10 Android Development] nutnub:
So I'm a complete newb, but greatly enjoy using this ROM (it's called this I believe?). How can I contribute? Also, how do I make "crash reports" for when freezes?

Thanks for all your work, great job, keep it up!
[Nexus 10 Android Development] Slig06:
I see files in /sdcard/cifs/ myself, so it seems strange. Are you sure that you had not the /sdcard/cifs/ folder opened before in your browser (and so have it cached empty) ? did you try to refresh ?
[Nexus 10 Android Development] craigacgomez:
Read the Having Issues section in the OP...
[Nexus 10 Android Development] add12364:
Can I flash this kernel over the stock rooted rom?
[Nexus 10 Android Development] Poipoi91:
nls=utf8 support accented characters

For exemple, in my NAS I have folder with 'é' characters and in the mounted folder it appears like a file :(
[Nexus 10 Android Development] Kroenen66:
@craigacgomez

As it goes ahead with the new version of your ROM?

Does it write to NTFS?
[Nexus 10 Android Development] craigacgomez:
Trying something out for that! In theory, my changes should work, but let's see how that goes...
[Nexus 10 Android Development] Kroenen66:
Sounds good, I'm looking forward to the new version. :)
[Nexus 10 Android Development] dust.:
As the thread title states, this is a ROM+KERNEL. Your N10 will be on both a custom rom and a custom kernel after you flash this. If you want to flash just a custom kernel, check out the threads in original development.
[Nexus 10 Android Development] nick w:
Hi craig.

Will the new update need is to do a wipe prior to flashing if this is a big update?

Thanks

N
[Nexus 10 Android Development] alfer:
Thanks for posting this, its working perfectly for me. I can get files to show up in root explorer, MX Player and possibly other apps even if they weren't open when I ran the script. So now I just have it set to run at boot time. One thing I noticed is that if you didn't have the /sdcard/cifs folder structure for your shares created when you first run the script, the shared files will show up in /data/media/0/cifs but not /sdcard/cifs. If this happens to you like it did to me, try this:

1.) Reboot to clear your mounts

2.) Delete the entire /data/media/0/cifs folder and all subfolders (use root explorer, terminal emulator or an adb shell - if the latter two you will need to "mount -o rw, remount /" to get the file system read-write prior to deleting)

3.) Delete the entire /sdcard/cifs folder and all subfolders

4.) Under /sdcard, create the cifs folder, and any share sub-folders (ie /sdcard/cifs/share1, /sdcard/cifs/share2, etc) you plan to mount with the script

5.) Re-run the script, now all shared files will be visible in the folders under both /data/media/0/cifs and /sdcard/cifs
[Nexus 10 Android Development] craigacgomez:
It won't be necessary... but I think it would be good to do a full wipe... maybe you could just do a full wipe if you have issues!

On a side note... I haven't been around here much this week... work has been pretty crazy... but I think this weekend will allow me to get a lot done for the new release...
[Nexus 10 Android Development] Kroenen66:
I can't wait for the new Version :).... Every day F5....F5....F5
[Nexus 10 Android Development] bongbongcong:
please....

Hi, excuse me? :) Should i also wipe full internal + system whole thing before install this ROM? If yes how can i transfer this ROM, i mean before or after wipe? I'm worry Zip file ROM will also deleted while i'm wiping. I hope you understand to help me.

Also which one is better CWM or TWRP? Must be something slightly little better, right? Appreciate :victory: thanks very much
[Nexus 10 Android Development] craigacgomez:
Just a full wipe/factory reset... no need to wipe system or internal storage... personally I use TWRP, but I've had no issues with CWM as well...
[Nexus 10 Android Development] DanielGwalter:
empty cifs directories?

Hi,

Flashed latest ROM and kernel ... No other mods in place

Using mount manager (same in cifs manager)

Trying to mount a windows share using the above tools.

Mount is created without issue but the directory shows up as empty in the file browser (es and cm)

How do I fix this?

Thanks

Dan
[Nexus 10 Android Development] craigacgomez:
New in Dec 08 2012 Build:

1. Resynced with AOSP as of 8 Dec 2012 9:00AM Pacific time [This inlcudes some Location services fixes, so hopefully the random reboots will be gone]

2. Completely reworked all mods and addons

3. Grouped settings in Settings > Display

4. Added Quiet Hours (credit CM) [Settings > Sound]

5. Added Volume rocker wake & music controls (credit CM) [Settings > Display]

6. NFC polling modes (credit AOKP) [Settings > Wireless & networks > More]

7. Allow any widget on the lockscreen (credit TeamHorizon) [Settings > Display]

8. Allow unlimited widgets on the the lockscreen (credit TeamHorizon) [Settings > Display]

9. Fixed Goo.Im versions sequences so that GooManager updates work properly

10. Added build date to Build Number in Settings > About

NOTE: This build does not include the Quick Settings Mod. Quick Settings toggles work exactly like pure AOSP. I am working on incorporating the enhanced Quick Settings. This will be included in the next build

I've also updated the Google Apps Pack to the 4.2.1 Google Apps and the latest updated Google Search & Google Voice. If you flash this, make sure you uninstall the updates for Google Search & Google Voice first. You do not need to update the Google Apps Pack, and you may choose to use any other Google Apps Pack of your choice
[Nexus 10 Android Development] Kroenen66:
@First: Nice, thanks, you are the best :)

Can I flash the kernel "manta-kernel-aospplus-cgomez.28112012" with this release?

Or comes to a newer kernel for this release?
[Nexus 10 Android Development] craigacgomez:
Has the same kernel... flash kernels only if they are dated after the ROM release
[Nexus 10 Android Development] Kroenen66:
Only to understand it properly .... your latest ROM release including the newest kernel?
[Nexus 10 Android Development] craigacgomez:
Yes it does... as a rule of thumb, only flash the kernel if the kernel release date is later than the ROM release date!!
[Nexus 10 Android Development] Gunthermic:
Awesome update1

Boo on the QuickSettings. LOL!!!!
[Nexus 10 Android Development] craigacgomez:
Haha!! That's the biggest change... takes a while to code it, even though I am using CM & AOKP as references...

BTW, looking forward to the new theme release!!
[Nexus 10 Android Development] bongbongcong:
Thank you CRAIGACGOMEZ for ur answer. Is that okay if i just do wipe cache + dalvik whenever next version update avaible for this ROM? Sorry i'm just Newbie/noob. Thank you & appreciate.
[Nexus 10 Android Development] sam3000:
Here's an alternative approach you could try:

http://xdaforums.com/showthread.php?p=35204852

Flash the zip attached to the post and everything ought to work as it was back on 4.1 and earlier. It's a very dirty hack but on the other hand one can go back to using cifsmanager as normal.

I wonder what the right long term fix is for this issue... adding cifs support to vold??
[Nexus 10 Android Development] craigacgomez:
Yes... just a wipe cache/dalvik cache for updates!
[Nexus 10 Android Development] DanielGwalter:
DANGER - that did not work ... and like a fool i forgot to nandroid before.

outcome, i flashed craigs latest update + gapps ... system boots fine. flashed the zip in the link and nexus fails to boot (stuck on X animation even after clear caches, fix permissions, factory reset).

so still no working CIFS mounts .... poo!
[Nexus 10 Android Development] Blueback22:
Anyone else have issues with the Gapps package downloaded through Goo Manager? Mine causes non stop force closes. I had to go find a Gapps package online and put it on a USB stick to install it and fix my device.
[Nexus 10 Android Development] DanielGwalter:
Had the same problem, now only using gapps from the OP
[Nexus 10 Android Development] Kroenen66:
Sorry, what do you mean with "OP" gapps?
[Nexus 10 Android Development] sam3000:
Ok, thanks for letting me know. My guess is that libdvm.so isn't compatible with this rom. Will update op in other thread.