yashsingh1/xdaforums huggingface dataset:
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Well as I'm sure most of you know we released CM7 alpha for the NT on Sunday and it was very warmly received, even after a major bug was found it was still downloaded almost 2000 times by the time I eventually removed the files form download server yesterday (links were removed form thread at about 1200 downloads lol). The feedback is still extremely encouraging and people are itching for the next release.

We’ve been working hard on fixing everything so that the next version we release has a lot less bugs, we’ve fixed the main bug of formatting the xloader and we've fixed a handful over other things causing issue too.

The issues we are having now which we are struggling with are usb sync for media as well as sdcard to a computer (in another thread) and a more important one of market not being able to install larger games / programs if there is an sdcard in. For instance one that I use for testing is Zombie bash, if you have an sdcard in it just won't install.. We've looked up the error online and all the errors point towards deleting a certain file but the problem is that we don't actually have that file so it would appear we have a different issue!

So the time has come for Goncezilla and I to reach out and ask for help, somebody out there probably knows or can debug and find out what the issue is. We're stumped and we don't want to release the next version until that’s fixed!

So please, if anybody can help, drop me a Pm or say something on here and lets get CM7 next alpha version sorted and released !
[Barnes & Noble Nook Tablet] jon.01:
Is there any way to get an error log of this issue? I am using an app called LogThis and nothing is shown in Logcat.
[Barnes & Noble Nook Tablet] Land Master:
Probably totally unrelated but on the stock ROM I grabbed a couple of Amazon Freebies the weighed in over 50Meg's each. I wasn't even really interested in them so I carried on about my business and a couple of days later noticed that they never installed. After digging around the "error" was that I DIDN'T have an SD card installed. This struck me as weird because the 1GB user and 12GB B&N partitions should have certainly been enough.

Either way once I popped in an SD card the downloads automatically started and off I went.

Like I said .... probably useless information but I figured I would throw it out there.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Good point, HERE is the logcat.

Mainly it would appear the errors showing are

E/Vold ( 1168): Error opening devmapper (No such file or directory)

E/Vold ( 1168): ASEC device mapping failed (No such file or directory)

and then a few lines on

E/PackageHelper( 2146): Failed to create secure container smdl2tmp1

E/DefContainer( 2146): Failed to create container smdl2tmp1

any help to anybody ?
[Barnes & Noble Nook Tablet] scsione889:
I'm not too versed in the world of Android development, however this might be useful. LINK 1 LINK 2

Perhaps the permissions to the folders referenced in these articles are incorrect...
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Thanks for trying, that's one of the articles we found but unfortunately we couldn’t get anywhere with it :(
[Barnes & Noble Nook Tablet] scsione889:
From the log it appears as though it is unable to create the smdl2tmp1 temp file. So wouldn't it make sense that it would either be permissions of the folder it's going in, or an issue with whatever is trying to create that temp file?

Have we tried not pre-packaging gapps with the ROM to see if that helps?
[Barnes & Noble Nook Tablet] stealthfx:
Quick question, is there a specific file size where the install fails\hangs? Ex installs are okay up to 9 meg files, but anything over, and it fails?

I want to try and download something and replicate the issue.
[Barnes & Noble Nook Tablet] TeufelTexan:
Disregard...
[Barnes & Noble Nook Tablet] TeufelTexan:
I had no problem installing Google Earth and other large apps (over 8MB) today, but cannot install Zombie Dash (only 4 and some change) moments ago. Not sure what relavence the size of the app might be having with the install issue...
[Barnes & Noble Nook Tablet] scsione889:
I found that the "/mnt/sdcard/.android_secure" folder has 000 permissions. The other folder mentioned in the links I posted (/mnt/secure/asec) has 075 permissions.

I compared this to my phone with fully functional market and found "/mnt/sdcard/.android_secure" has 000 permissions. The asec folder has 175 permissions. Perhaps the execute permissions is the problem? I am unable to change permissions in root explorer to test. I get the "some file systems (e.g. SD card) do not allow permission changes" message.
[Barnes & Noble Nook Tablet] dodgepot:
You considered posting on the Android development section? They may have some more info or guidance with this.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
I'm not thinking it's permissions I think we've messed up and something isn't tuned on in kernel like driver mapper or asec.

Just been unable to find it. Although I'm speaking to somebody now and I think he may have hit on the cure ;)
[Barnes & Noble Nook Tablet] stealthfx:
Okay...

"Size of container 7 MB 5392635 bytes"

I am assuming based on that, that the app is 7 meg?

D/Vold ( 1168): DEVPATH='/devices/virtual/block/loop0'

D/Vold ( 1168): DEVTYPE='disk'

D/Vold ( 1168): MAJOR='7'

D/Vold ( 1168): MINOR='0'

E/PackageHelper( 2146): Failed to create secure container smdl2tmp1

Okay, sp if you eject the SD card, the download works and installs. So that means when you go to download the app, it creates a temp file (same as when you download a file in windows via your web browser), and then once the download completes, the temp file is removed and you have an apk which is automagically installed via android app handler or whatever. IF the SD card is inserted, it tries to create the file on the SD card instead of internal memory. So the issues lies with the SD card itself possibly(?). Have you tried running checkdisk or some disk checking tool on your card? I have had issues in the past where my sd card got corrupted (once after running the partitioning tool in cwm) and I couldn't install large market apps. I ran checkdisk and found errors (i cant remember the exact msgs), but I repartitioned the card and all was well. It is possible with all the partitioning etc you have done to your cards, they have gotten a bit screwy, have you tried swapping out the SD card for a different one?

I just installed gun bros which is a 12meg app, with my sd inserted and mounted, with no issues...I tried to view it in logcat as soon as I hit download, but I didn't see anything pertaining to the market download and install =(
[Barnes & Noble Nook Tablet] scsione889:
I already re-partitioned my card and went out and bought a new card to try. It's not that.

CWS - Glad to hear you're making some potential progress.
[Barnes & Noble Nook Tablet] Mike_IronFist:
Well, I've done my best to collect info on the error, so based on what others have found, this seems to be what I've learned so far, including the obvious.

-The error we're seeing is "Couldn't install on USB storage or SD card."

-This error seems to have been most often encountered by people using Android 2.2 (Froyo) and derivatives because that version was related to reading a temporary file called "smdl2tmp1.asec." The user workaround in 2.2 was to browse your SD card using ES File Explorer (so that you can see .folders, which are normally hidden), finding the file in either:

/sdcard/.android_secure/smdl2tmp1.asec

OR:

/mnt/secure/asec/smdl2tmp1.asec

and deleting it.

-This apparently has been fixed in 2.3 (Gingerbread). Because Cyanogenmod 7 uses 2.3.4 as a base, it's odd that we're still having this problem then.

So in my exploration of this stuff, here's what I found:

/sdcard/.android_secure has ZERO FILES in it. Ditto for /mnt/secure/asec. On my HTC Hero, both contain plenty of files with .asec extensions. I have no idea what these files are for, but I'm getting the impression that the reason why these .asec files are not appearing has to do with how the current ROM is treating the SD card.

Also, the error doesn't seem to have anything to do with install size. I've tried to install Minecraft Pocket Edition before, it's only 1.57 MB but it will get the error regardless.

Keep in mind that I'm not a programmer, but this is all I've been able to gather.
[Barnes & Noble Nook Tablet] stealthfx:
---------- Post added at 05:52 AM ---------- Previous post was at 05:49 AM ----------

[/COLOR]

You think some apps check for those .asec files, and since they don't find them, it fails some kind of authentication and bombs out the installation?

Actually, I just checked my shift, and those folders are all blank as well. Hopefully whomever Celtic is talking to knows what's up.
[Barnes & Noble Nook Tablet] Mike_IronFist:
Yeah, essentially like that. Further down that rabbit hole is what Celtic mentioned:

Apps don't seem to be creating .asec files anywhere, and it seems like some apps need .asec files to validate certain information. It seems to have less to do with the size of the app and more with whether or not the app needs to check an .asec file to install or function.
[Barnes & Noble Nook Tablet] Loglud:
/dev/block/vold/179:17 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

sould be

/dev/block/vold/179:10 (< Check on that) /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

also im looking into the fact that /device/virtual/block/loop0 does not exist.
[Barnes & Noble Nook Tablet] jeffml:
I think the filesize problem is a red herring. It looks to be apps that have "'android:installLocation="preferExternal" in their apk manifest file.

Obviously this is probably used on larger apps more often so it looks like it is tied to the filesize. I have some small apps that give the same error.

Checkout http ://developer.android.com/guide/appendix/install-location.html for more info.

This doesn't necessarily help with the original problem but it might help limit the scope of troubleshooting.
[Barnes & Noble Nook Tablet] daedricgeek:
The /media mount

Hi

I had already been going through the mount and vold files of stock vs. CM and I noticed some discrepancies [attaching both]. For one altough the vold.fstab is identical , the /media partition is not mounted in CM7.

In comparing the two, the stock ROM has :

1.)The

/mnt/secure/asec

partition is mounted to both vold/179:10 (internal /media partition) and vold/179:17 (sdcard) .

2.)Also there is a tmpfs /mnt/media/.android_secure

3.)The Cm7 has /mnt/secure/staging present . ( Function? )

I don't have a good understanding of what these partitions are .

But Should we not try to make the mount same as stock first , then check for problems (unless CM7 is radically different)

Methinks solving the /media and other mounting problems will solve this issue as well. The ueventd is responsible for this I assume . The issue would llikely be in the kernel itself then.

DaedricGeek

P.S : attachments - Taken from /proc/mounts file

mount.txt is from the CM7 (with extra /media mounted manually using /dev/....../by-name/media . I tried using /vold/ method also . The partition mounts but the problems remain - no usb mount and install probs continue. )

stock-mounts.txt - from stock 1.4.0
[Barnes & Noble Nook Tablet] daedricgeek:
apk encryption in external ?

Good Find ...

Also would like to add that side-loading and titanium backups of the same apps fails too.

I checked out the link given above and think this to be important :

I have a

hypothesis

(long shot this) that due to weird partitioning method on the NT , apps try to install to the /data partition itself but still think its external and try to encrypt (???) but /mnt/secure/asec is only present on the sdcard in this ROM(unlike Stock where /mnt/secure/asec is also present on internal memory) and thus failing . But on umounting sdcard the system falls back to installing the app to internal .

Or Does encrypting apk containers depend on some core kernel feature ?

Just guessing out some stuff . I'm gonna try mounting /mnt/secure/asec to internal now and see if it works . (is it possible ?)

DaedricGeek
[Barnes & Noble Nook Tablet] ms2003:
after returned to original ROM, I found your and my might have been wrong:

in android 2.3.x, applications can install or moved to SDcard that called app2fat, and some of applications will check whether the system allows install to SDcard, if allowed, they will install to SDcard by default. Here is the point, in original ROM, I found those can not install on CM7 are all installed into SDcard!!

No matter with the size of the application!!

hope this information could help you.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
we new it had to be something to do with app2sd but thought that was caused by app size. You are correct though, it has nothing to do with app size, it can actually be overided by the app it's self so if the developer thought his app would run from SDcard just fine he could set it to, even if it were only a few Kb.

I'm just compiling a new kernel now which I'm hoping will cure the issue :)
[Barnes & Noble Nook Tablet] CelticWebSolutions:
I believe the encryption is Kernel controlled, let me know if you have any luck :)
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Our latest boot.img put back the media partition but unforunately that didn't help the market issue. We do think we've possibly found what it is though, will report back ASAP :)
[Barnes & Noble Nook Tablet] tselling:
Titanium backups of larger apps work fine for me, but I have Titanium set to Restore backups to to Internal storage in preferences. So it does appear that the NT is not seeing external storage correctly.
[Barnes & Noble Nook Tablet] Vivicus:
I actually PM'ed you when the alpha first came out on this, CWS. I'm glad to see it wasn't just an SD card issue, and I'm glad to see it's gotten some really good dialog!

My question- is there any way we the user can go in and edit to get it working properly? Or is this entirely at the kernel level, and if I wanted to do anything I'd need to build out a linux VM and get to crackin'?
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Yep we've read all the bugs people have written and put them into a sort of order of importance. This was 2nd to the top (first was format bug).

I'm afraid it's Kernel based so you can't really modify it yourself at the moment unless you can build your own kernels of course:)
[Barnes & Noble Nook Tablet] ms2003:
hope you can fix it soon. and there's one assumption as a workaround: we can disable install apps to SDcard in CM7, for NT ROM is so huge there's no need to run apps on a SDcard..
[Barnes & Noble Nook Tablet] Vivicus:
Doesn't work- setting CM7 to install by default internally has the same issues.
[Barnes & Noble Nook Tablet] aszid:
Unfortunately, that doesn't actually work. That was my first try :)

I have verified though, changing the settings to internal for Titanium backup will allow me to install my backups just fine, as tselling said above. This does open up one avenue to install those apps, if you have another android device handy.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Thought of that but haven't worked out how to disable it yet. If you know let me know!
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Bug fixed!

Market now functions as it should :)

Thanks for all the help we received in trying to track down the issue :)
[Barnes & Noble Nook Tablet] ms2003:
sorry, I don't know:(

but since CYmode has such kind of settings, they maybe know?
[Barnes & Noble Nook Tablet] stealthfx:
Great!! What was the fix??
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Something we didn't think needed to be on in the kernel, did need to be on! So it didn't know how to handle a certain call that was being made.

So I'm happy to say market now works as does moving apps to sd and Amazon market :)
[Barnes & Noble Nook Tablet] Vivicus:
So what's next? Anything we can help with? Any other major roadblocks in the CM7 alpha that we the people can help pin down?
[Barnes & Noble Nook Tablet] CelticWebSolutions:
At the moment I think we are on top of it for the time window we allowed ourselves.

We'll be sure to post again if we could do with any more help, sometime s fresh pair of eyes helps, we often can't see the wood for the trees!
[Barnes & Noble Nook Tablet] N0ctua:
Does team-B plan on releasing the kernel config at any point in the future? It may hasten further development for the tablet if we know a working config for the source you used.
[Barnes & Noble Nook Tablet] ms2003:
Great!! I think it's time for release the 2nd ROM:)
[Barnes & Noble Nook Tablet] hersh40:
We need to be patient. Rushing them is where the bricked tablets started in the first place.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Once the rom is released we'll release the source so people can build and modify their own kernels.

We just want to get it out there first before we do that :)
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] techie.anish:
I have been searching for an ICS like status bar for my Galaxy Tab 10.1 but did not have any luck.

I need the files for the 3G model, as the topic says.

Please help me finding such a mod.

Thanks in advance.... :-)
[Xoom Android Development] solarnz:
​

AOSP Kernels for the Motorola Xoom

Also available for HTC's Droid Incredible, Evo 4G, Nexus One, and Desire (GSM)​

In compliance with the GPL, every change and all attributions can be found in full detail in my git repositories. Please feel free to explore, fork, or even cherry-pick (please include an attribution to the appropriate dev).

Tiamat-AOSP Code Homepage -- Source for all Tiamat Kernels

Github repository (for pull requests)

Features

Overclocking to 1.7GHz

Under / Over volting

Lagfree governor

NFS, CIFS and NTFS

Latest kernel changes from google

Downloads

Tiamat 3.0.5 Overclocked GPU

Tiamat 3.0.5 Stock GPU

​
[Xoom Android Development] bigrushdog:
Driver Packs

Module Driver Kernel Packs have moved to Tegra Hardware And Feature Implementation​
[Xoom Android Development] ATZ-007:
Thank you.

I'll try it on EOS v.1.0 later.

Keep up the good work :)

Sent from my Desire HD
[Xoom Android Development] GDT:
It's already inside Team EOS v1.0.0
[Xoom Android Development] albundy2010:
Not the stockgpu one.
[Xoom Android Development] ShonkUK:
Thanks running fine on stock ics

Does this support init.d
[Xoom Android Development] bigrushdog:
Init.d support comes from ramdisk, not the kernel. So flashing this kernel has no impact on whether or not your build has init.d. However most custom roms do.
[Xoom Android Development] zutik:
Hi, can you add the qf9700.ko module ( USB to Ethernet driver) i cant see in the list... THX! !!!!!!

Enviado desde mi Nexus One usando Tapatalk
[Xoom Android Development] liftman-:
cool

you guys are spoiling us :o
[Xoom Android Development] dislplin01:
So true
[Xoom Android Development] tb-killa:
What about Video4Linux Support or hopefully integrated UVC Support for these Kernel ?

Would be great if these often requested feature would be implemented !!
[Xoom Android Development] aR_ChRiS:
So I would like to ask which version is included in the EOS 1.0 rom?

Is it the gpu overclock version or the non-overclock version?
[Xoom Android Development] dadoc04:
Thank you!!!!!!!! Brd & Solar FTW
[Xoom Android Development] bigrushdog:
Post up a link to some source and I'll take a look. If by UVC you mean undervolt, you already can.
[Xoom Android Development] farmer bobathan:
UVC is a linux video driver. See here http://xdaforums.com/showthread.php?t=1191233
[Xoom Android Development] bigrushdog:
Sorry man, I grepped the entire kernel repo, and it's not there. Perhaps if you could link to source I may be able to help.
[Xoom Android Development] bigrushdog:
Ok. Just so I'm clear here. It looks like this is a driver for an external usb imaging device, like a webcam. I can take a look at it, but why?
[Xoom Android Development] zutik:
its posted here: http://xdaforums.com/showthread.php?t=1418591&page=2 by kluczus maybe can be useful

this is the source and thanks !!! GREAT JOB !!
[Xoom Android Development] Craxx:
usb-lan dm9601 works great:-)

For ntfs usb-otg-watcher is needed, with this app i can use my 16gb with ntfs ...:-) ...without until now not...

Craxx;)

Send from my MZ601 eos ICS with Tapatalk :)
[Xoom Android Development] bigrushdog:
This driver is not playing nice with .39 kernel. Are you sure some of the other drivers won't work? Also, I'd consider spending a few bucks and upgrading your adapter. This chipset is ancient. It maxes out at 1Mbps
[Xoom Android Development] bigrushdog:
Here's the problem. Even if we built the drivers, how would the front end be managed? You would need EXTENSIVE framework to be able to utilise the video stream.
[Xoom Android Development] farmer bobathan:
I have a USB microscope that I would like to be able to use with my tablet.
[Xoom Android Development] zutik:
Ohh :eek: jjajjajajajaja

It's a Dongle very very cheap from china!!!!!!! I buy another one....... With other chipset

Thanks anyway and thx for your great job

Enviado desde mi MZ601 usando Tapatalk
[Xoom Android Development] tb-killa:
You could use external video input devices like : dvb-s/t/c sticks ... webcams .. converter sticks ... and much more.

Here you could see some interesting projects: http://sven.killig.de/android/N1/2.2/usb_host/

you could use mplayer, vplayer, self programmed apps, you have only to open "/dev/video0" for direct playing !!
[Xoom Android Development] bigrushdog:
Very interesting indeed. So in theory, I could attach a spycam to my shoe, feed it to my xoom, stand in line at the Food 4 Less and... anyway, I think I get it now :eek:
[Xoom Android Development] liftman-:
the angle of the cam on the shoe is impor-tant :D
[Xoom Android Development] zacharias.maladroit:
/me *subscribes*

awesome !

thanks for the github repo to do pulls
[Xoom Android Development] tb-killa:
Yep, nice idea ... =) ... i think the idea to use external video input like webcam would be nice with the xoom because its very mobile !!

do you have now the insert initramfs if you compile kernel ?

could you please provide some infos about these ?
[Xoom Android Development] bigrushdog:
Ok it looks like I got a video stream to video0 using PlayStation Eye drivers. But can't figure out how to access stream using vplayer. Dude get me a stream and ill start cranking out drivers.
[Xoom Android Development] zacharias.maladroit:
yes,

take a look in my kernel repo (I'm using Team Rogue's / koush's way)

branch:

ics_tiamat_mod06
[Xoom Android Development] XxLordxX:
Can I install NotAndBuntu with this kernel? BTW very good work, it's very impressive on my MZ605 Xoom with TeamEOS everest build ;)
[Xoom Android Development] tb-killa:
Sry i see actually that you could use VPlayer to play /dev/dvb/adapter0/dvr0.ts only. These means only if you would use DVB-T/C/S Sticks for mobile Television!

Nice to see you have first Tests successfully completed =)

But for short Tests you could use these:

TERMINAL needing: !!!!!!!

Mplayer installed first of all:

you have to modified values for match output of the device !!

Don´t know if Motion could work on the xoom ??

Does anybody know if "VLC BETA" supports direct "device input" ??? like
[Xoom Android Development] bigrushdog:
Here's the issue that concerned me. Mplayer is built for Linux, not Android, and is very complex software. VLC for Android is very new and premature. We need source for some binary that I can cross-compile. Then we likely need a library that can create the namespace the binary will need to harness the video0 framebuffer. Give me the name of the chipset of whatever cam you have to play with. Later I'll post a kernel with the PS Eye drivers, the drivers for your chipset, and the v4l usb drivers.