yashsingh1/xdaforums huggingface dataset:
[Dell Streak 7] calico12:
The MAC still happening :/ but is different in ICS when reboot get a Random MAC but in jb the MAC is the same but not a original of the tablet.
[Dell Streak 7] TheManii:
Is your syntax correct?

format("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-num/p3", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-num/p3", "/system");
...
package_extract_file("boot.img", "/dev/block/platform/sdhci-tegra.3/by-num/p2");
unmount("/system");

CWM 6.0 and TWRP 2.2 use the same syntax (at least they should be)

Are you sure the format syntax is correct?

This is what I'm using for my scripts and I can confirm that it's correct on CWM 6.0 and TWRP 2.2

format("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "0");
run_program("/sbin/busybox", "mount", "/system");
...
assert(package_extract_file("boot.img", "/dev/block/platform/sdhci-tegra.3/by-name/LNX"));
run_program("/sbin/busybox", "umount", "/system");

Unless you have no choice, you should always use busybox to mount and unmount as it's much more intelligent to mounting.

There are situtations that it will fail though and where mount() will succeed, but this shouldnt be one of those.

I assume your TWRP port's recovery.fstab is correct, as that does rely on it being correct.
[Dell Streak 7] giveen:
All I did was use cm10 ota package creator
[Dell Streak 7] TheManii:
The syntax for format() changed from ICS to JB in the stock rec.

TWRP is a ICS only rec (in that there isnt a JB branch of it yet to match it's syntax)

CWM 6.0 has both an ICS and JB branch, but I only currently build on ICS as there's no solid reason to switch (yet, there's no differences in features, the ICS one is the more actively developed for the time being).

You would need to wait for TWRP to make a JB branch or port CWM 6.0/JB for it to work without changes.

OR simply port the stock AOSP rec and use it to flash.

tl;dr: the syntax is valid, but not for any of our recs.
[Dell Streak 7] giveen:
So.....flash able zips are out for now:(
[Dell Streak 7] TheManii:
Just manually modify the install scripts, you wont be able to do fully automated OTA builds but there's no reason it shouldnt work with manual tweaks.
[Dell Streak 7] giveen:
Right now it might not be worth it unless someone wants to do it for me.
[Dell Streak 7] TheManii:
Just replace the lines that I listed in the previous page and the update-binary with this.

I've already tested it throughly and it all works.
[Dell Streak 7] m.is.for.michael:
Is there more to it than just editing /system/build.prop?
[Dell Streak 7] giveen:
That's the easy way. I once saw an option on someone's GitHub that would do this automatically but I can't remember
[Dell Streak 7] TheManii:
As you're not releasing anywhere near 'nightly' speed, would you just simply be better off also just manually changing the build.prop to whatever you wish?

You're just doing releases at whatever milestone you feel is worth releasing, and that's basically whenever it's worth releasing.

It's not like you're releasing every day or even every week, if that were the case then yea custom code to do that might be worthwile.
[Dell Streak 7] giveen:
Yeah I guess once I get sound and sensors working, I will probably do a weekly build that will have the patches from CM10 for the week.
[Dell Streak 7] giveen:
Wondering if this patch means I no longer need to do a custom init.rc

http://r.cyanogenmod.com/#/c/21861/2/core/dex_preopt.mk

Two minute to build boot image so not a big deal to try I guess.
[Dell Streak 7] giveen:
Sensor and sound tests

http://173.242.117.138/giveen/bootJ.img

http://173.242.117.138/giveen/systemJ.img
[Dell Streak 7] amccue:
Lost my home button functionality

Error trying to play mp3

no rotation
[Dell Streak 7] giveen:
I just think your device has issues, you report that home button doesn't work but it does.
[Dell Streak 7] amccue:
well it worked with the last build. I'll wipe and reflash

And your device told me it's not sure it loves you anymore, so who has the real issues?
[Dell Streak 7] giveen:
Sad. Lol. Well my device can beat up yours
[Dell Streak 7] amccue:
after a reflash my home button works, BUT my report of no sound and no rotation stands
[Dell Streak 7] romeo_coi:
Yeap, no sound and no ratation after flash J build.:(
[Dell Streak 7] giveen:
Thanks guys. Log cats?
[Dell Streak 7] amccue:
Sent my logcat via email as I am too ignorant to cut out just what you're looking for.

Also I have to say boot up is super quick
[Dell Streak 7] giveen:
Yup boot time is awesome.

I can see audio loading but configuration arent loading
[Dell Streak 7] calico12:
Is problem of files or is problem of kernel?

I know it is not important but could include official animation of CM10?

Better suited to our resolution.

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

Greetings
[Dell Streak 7] giveen:
Next build is compiling, hopefully sensors and audio fixed plus built-in gapps.

*edit*

oops forgot to include the lines that pulls in the google apps make files.

btw....can you guys try going to "http://build.streakdroid.com", I can now access it in its DNS form from my college so I am assuming the DNS has finally replicated out.
[Dell Streak 7] erulai:
It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.
[Dell Streak 7] giveen:
Good, glad to see I can stop posting IP address.
[Dell Streak 7] romeo_coi:
Do you include permission fix for the internal storage in next build?
[Dell Streak 7] giveen:
I made some adjustments, but not sure yet. Its more of a mapping issue than permissions, its not mounting correctly. I had fixed it a long time ago, but then broke it, now I am trying to remember again how I fixed it.
[Dell Streak 7] giveen:
new build up, integrated gapps, yes, the play market was ment for a bigger screen will take a look at fixing.
[Dell Streak 7] azrael293:
I'll be loading tonight and provide logcat. sorry I haven't been active as of yet with testing.
[Dell Streak 7] erulai:
flashing now...(supremely boring day at work and I just got this tablet yesterday may as well help where/when I can)
[Dell Streak 7] calico12:
Testing not work sound and not work sensors. :/

Greetings
[Dell Streak 7] amccue:
Initial setup is taking me quite a while. might be my device though
[Dell Streak 7] erulai:
Same results here.

Sending a logcat to you via PM
[Dell Streak 7] giveen:
Nope, I noticed that on my device as well, it took a while.
[Dell Streak 7] amccue:
My damn drivers are screwed up again in this build. My computer won't recognize it correctly. so no logcat from me. but no sound or rotation

Edit: Nevermind, had to manually set the USB connection

Logcat on its way via email
[Dell Streak 7] erulai:
I had a problem with it too at first.

Wound up rebooting the tablet and unplugging the usb, once the tablet came back up, I plugged it back in.

Then I had to force the drivers in Device Manager to update.
[Dell Streak 7] giveen:
E/NvAudioALSADevice( 763): ALSA Module not found!!!
[Dell Streak 7] calico12:
Maybe Not found tegra_alsa.tegra.so?
[Dell Streak 7] FuzzyMeep Two:
If you need log cats or any info from icsihave a seconds streak that still has ics
[Dell Streak 7] ElfinJNoty:
Can you guys verify sound is not working through headphone jack as well?
[Dell Streak 7] Deivi_Z:
Giveen where r U from? I would be willing to send my DS7 for you as a test machine if needed. It collects dust anyway.. have some issues with any 3.2 (stock or custom) 2.2 works great (but dont like how it looks on DS7) thanks 4 all your hard work. Random mac doesn't sound like an issue, more like an advantage.
[Dell Streak 7] jpmi23:
So... looks like it takes a while to push the bootloader.bin file? (I hope so anyway.)

EDIT: I was running restore.bat, not Install JB.bat.
[Dell Streak 7] wptski:
Okay, I finally took the plung. One of my apps, DejaOffice will install from the PlayStore, open but anything selected like settings, calendar, etc., I get can't access SD card.

Just taking a stab, I thought that it might be the same issue as in ICS-B4 vold.stab or change sdcard2 to external_sd. With SU permissions checked in ES File Explorer, it errors when the changes are saved.

Got it! Missed the mount system as writable in ES File Explorer. In the app, I get now, "An SD Card is required to synchronize and store data" plus the other error. WTF? OMG, now even after a reboot when I go to Settings>Storage, Settings closes on me! I guess it didn't like the vold.stab change, have to reverse that.
[Dell Streak 7] TheManii:
Hey Giveen: can you confirm that the S7 uses a Tegra 250-AP20H?

We've known for quite a while that the S7 is similar to the Nvidia Ventana reference platform, but I only just read that the Ventana is based on the AP20H and not the T20.

I had always assumed that full sized Tegra2 tablets used the Tegra 250-T20 as it has a higher GPU clock.

Tegra #Tegra 2 - Wikipedia

If that really is the case then I have a bunch of xda wiki articles to fix.
[Dell Streak 7] Nocturnal_50:
its a harmony platform but due to EOL of the harmony and the ventana being the next board in production NVIDIA made all code for the ventana compatible with the harmony (at least that's according to nvid') so the libs for the ventana include the harmony ones or very similar variants (apparently, source again nvid')
[Dell Streak 7] wptski:
Many thanks goes to "giveen" for all his hard work on this and probably his wife also for being understanding.

Due to ignorance, brain farts or whatever, I can't get MTP mode to work but I seem to remember a similiar a problem with ICS-B4 but it worked after some fiddling. I rarely used MTP in the past but right out of the box, it's supposed to be a no-brainer, one just connects and it works.

It shows up in the Device Manager as B10B.
[Dell Streak 7] giveen:
TheManii, I can't truly give answer only what Steve taught me and what the code says. The kernel uses ventana T20 board NOT harmony. This is straight from Dell. If you look in the kernel you will see all our stuff resides in the ventana c files not harmony.

Sorry I have been at my 10 year high school reunion and my college starts up tomorrow for my final year in information security and digital forensics so dev'ing may slow down a bit. I have some ideas for sound and sensors, and then mtp and storage mounts will be my last focus.
[Dell Streak 7] wptski:
Restored my ICS-B4 TWRP backup. The same SD Card error popped up with DejaOffice showed and faded away as before but this time another option box to retry or create a new database which I did. I remember now that "believe it or not", you can make a Android backup, wait two days, restore the backup and the calendar in DejaOffice is up to date! A backup doesn't copy the app and its data for some strange reason. They have no answer for this plus won't really address it as I'm using a custom ROM.

It appears that MTP is indeed broken because the S7 pops right up when I plug into my PC.
[Dell Streak 7] giveen:
Really excited about this build right now that is compiling, no, no sound fix yet for it, just something else I wanted to try.
[Dell Streak 7] FuzzyMeep Two:
Maybe this will help?

LINK
[Dell Streak 7] giveen:
I'll keep that in mind and take a look at it.
[Dell Streak 7] ElfinJNoty:
Uh oh.... teaser. May I dare ask what we are in for?
[Dell Streak 7] giveen:
Possible camera idea if the dang thing will compile. Third time working it.
[Dell Streak 7] wptski:
You'll get three gold stars if you nail the camera.;)
[Dell Streak 7] ElfinJNoty:
Voice search is not working... FC's and exits. Probably to do with sound issues?

I am about to do a full titanium restore of about 120 apps.... going to do some tests.

Thinking about running flashing a gapps package that is inverted.... anything I should be worried about that you are aware of thus far?

Once we(I mean you of course :p) get this more beta ready... I use the streak in my vehicle as sort of a media center while tethered to my cell. Inverted apps helps reduce bright lights while driving, sort of ironic wanting to be safe while having my screen on and driving right? Anyways, going to flash the baked blackbean package probably.

It is such a relief to be as buttery smoother on my tab now as I am on my gnex!

BTW. I thought you were on sound and sensors????? What inspired the leap to a possible cam fix? And are you including anything towards the other stuff?
[Dell Streak 7] giveen:
I had a few audio ideas that I am going to try tomorrow, and camera was just an inspiration.

Motorola Defy has CM10 and working camera, and it uses ov5642 which is the front camera. The guy who wrote the camera HAL wrote it so it will adapt to any board, so I was giving that a try.
[Dell Streak 7] wptski:
I used a TWRP backup to go back to ICS B4. I just tried a backup to return but it stuck on the Dell logo. As I tried to go back to ICS B4 it dawned on me that maybe I should have done a wipe and maybe it would get stuck also, it didn't. I'll have to try that again with a wipe. Maybe a bad backup, need to wipe or there's an issue?
[Dell Streak 7] giveen:
Hm, not sure, to be honest. Wipe is always good when doing a restore.
[Dell Streak 7] wptski:
I'll try a wipe but IIRC I did use that backup once before, of course I was on that ROM at the time. I only have one.

---------- Post added at 10:21 PM ---------- Previous post was at 09:55 PM ----------

I wiped both caches and the system and got the same results. I assume the sdcard in the wipe section means the external sdcard, correct? I've never used the wipe before. I restored back to ICS B4 again.

One odd thing is that the problem I had with that DejaOffice app, I didn't have during this series of restores. One of my guesses is that it stores something in the recovery partition because I didn't NVflash any ROM.

Maybe I'd have to NVflash again and then restore the backup which might work then.
[Dell Streak 7] giveen:
Pretty sure it has to do with recovery.fstab not being properly formated, easy way to restore is to NVFlash and then restore your apps from titanium, sorry bro. fstab stuff is on my list to do.
[Dell Streak 7] wptski:
Titainium restores the apps but a backup gives you all your setups, etc. I did a Titainium backup for each ROM and saved them on my PC.
[Dell Streak 7] giveen:
Grr...this camera.tegra.so is starting to annoy me, but I am about to do a test on sensors in a few minutes.
[Dell Streak 7] s14evil:
I'm going to hive this s try when I get off work. One dubm question, is the more than one type of chip sensor for each camera. I mean ie the HTC desire hd / inspire 4g there was a Samsung chip or OMNI. Could this have any reason with camera not working with the streak 7 or am I way off on this
[Dell Streak 7] FuzzyMeep Two:
Don't quote me on this, but, i believe that all you would need is the proper drivers/scripts to communicate with the device at hand, and i assume, that many camera modules use the same "language" to communicate. So it is probably strictly hardware dependent based only on the chip supplied.
[Dell Streak 7] giveen:
We have two different chips since we have two cameras. The main one facing out is the Omnivision 5642

http://www.ovt.com/products/sensor.php?id=65

And at the top of my head I can't remember what the inward camera is

Kernel drivers are put in and are working, but the camera HAL is not. the HAL is the the go between android and the kernel.

Nothing new in the current build worth sharing besides new CM10 boot animation. Still tracking down sensors and sound.
[Dell Streak 7] wptski:
If I NVflash CM10 again, can I restore a previous TWRP backup before rebooting into CM10? I ask because the first boot always takes longer.
[Dell Streak 7] giveen:
Not sure, can always give it a try.
[Dell Streak 7] wptski:
Yep, it worked! After booting up, it showed "Android Upgrading" showing "Optimizing apps" one by one, in my case up to 102. Hmm, it showed some other function before the Home page appeared. A easier than going through the setup and restoring apps with Titainium.

Thanks again for your hard work!
[Dell Streak 7] giveen:
New build

http://build.streakdroid.com/giveen/bootJ.img

http://build.streakdroid.com/giveen/systemJ.img

Sound and sensors logs please.
[Dell Streak 7] Zeyckler:
First of all, thanks for your great job, but I have a suggestion for a newbie like me in flashing a ROM for the Streak, why not make a small guide to flashing ROM in the first post?

Thank you again.
[Dell Streak 7] azrael293:
You can flash ROMs with multiple methods depending on if the ROM supports the process based on its partitions.

http://xdaforums.com/showthread.php?t=1255981 - NVFLASH METHOD (in this thread used to fastboot to stock)

http://xdaforums.com/showthread.php?t=1659546 - TWRP (Recovery Method to install/flash ROMs)

http://xdaforums.com/showthread.php?t=1334487 - Clockwork Mod (Recovery Method to install/flash ROMs)

Most common is CWM - Boot into recovery, Factory Reset, Install Zip, Reboot
[Dell Streak 7] amccue:
Logcat sent via email

Doesn't look like there's rotation or sound
[Dell Streak 7] FuzzyMeep Two:
I am getting all kindos of random NVflash errors. so i removed my usb extension cable and it worked, it seems as if NVflash has no error checking, if bad data is sent, or interference happens from line noise, then the flash shows error 12 and stops... so if anyone else is having trouble, switch to a back usb port (cuts about 4-6 inched off line length) and remove all extensions/ hubs.
[Dell Streak 7] giveen:
If you watch my channel on YouTube I have guides on how to flash.
[Dell Streak 7] giveen:
Thanks. Log files are looking cleaner and sensors and sound is looking a lot better.
[Dell Streak 7] giveen:
By meaning of sensors and audio, I mean this. I am seeing the audio actually start configuring itself, which is a great sign. I implemented audio_policy.conf and that seems to have turned things on. Last log stated it couldn't find usb audio, so i nix'd that out and new build is compiling. Sensors on the other hand are an interesting thing to mess with, currently I was attempting my own sensors and they did compile. Snargledorf did it for CM9 and they work for him. I compiled them in CM10 and they show "sensors.tegra.so" but they didn't work. So I brought in my back up which is from a Galaxy Tab 8.9 "sensors.p3.so" and finally I saw sensors lighting up in the logs but still no go on the sensors. My goal for now is to see if I can get them working with the p3 if not I am going to wait till I see what the dev's for that device are doing and will copy their work once they got it completed with sensors.

So BTW here is my typical build process.

Copy my device tree to different directory

repo sync to the latest CM10 patches

delete device tree and copy my backup back in , this is due to sync pulls old copies of my build

make very small changes, this is so that I can track what is going on

compile, average time is 90-100 minutes

My college just started back up and its going to be a hardcore 8 months ahead of me, so expect only one build a day really, my "daily's" lol.
[Dell Streak 7] azrael293:
Are we able to port the sensors from Snargledorf's CM9 build into the CM10 build or are they not compatible?
[Dell Streak 7] giveen:
They are in place already, just not working.
[Dell Streak 7] azrael293:
oh ok, my apologies Giveen
[Dell Streak 7] giveen:
I gave it a lot of thought over the past couple days and I decided to remove integrated gapps. It slows build time, it slows boot time, and its a 5 second process to flash it. Plus the gapps I got was for a 10" screen and I didn't like how it flowed.

Also, need opinions...

120 or 160 DPI?
[Dell Streak 7] TheManii:
We dont have the drivers period, even if we did it would still take weeks to port over the 2.2 ones even if we had them.

There's a good reason few CM9 devices have working cameras short of using the official ones from their ICS updates.
[Dell Streak 7] Nocturnal_50:
isnt there a generic camera driver included in the JB/ICS source or why cant we use one from another CM9/CM10 rom that has a working camera (given that there is a device out there that more than likely uses the same camera in another build)
[Dell Streak 7] TheManii:
Device drivers are by definition device specific.

Unless the manufacturer intentionally made two devices driver compatable, this isnt how it normally works.

I assume that the S7 doesnt share a common camera sensor module with a device that has working ICS drivers, or DJ_steve/giveen woulda included it a long time ago.

The most likely way to do it is to take the last available driver (the stock 5xx ones) and use/make shims to it works on ICS. But it'd likely not be an optimal solution (though anything > nothing)
[Dell Streak 7] Nocturnal_50:
I guess if we get the build stable minus working camera then we could make a flashable zip which includes the drivers for camera at a later date (great idea but still unsure if it can be done without making the rom unstable) and include in the next build of that rom
[Dell Streak 7] giveen:
We have a working camera driver and its baked into the ICS kernel. However the Android side of things doesn't seem to be working correctly.
[Dell Streak 7] giveen:
Original thread updated with current status information and my github repo for this project.
[Dell Streak 7] snargledorf:
Could you confirm whether my kernel has this working driver?

Were there any modifications done to the camera source for ICS-B4 to get it to work?

---------- Post added at 12:16 PM ---------- Previous post was at 12:15 PM ----------

I've been trying to look through past commits to the ICS-B4 kernel source, but it is taking some time since each commit had changes to many different areas.
[Dell Streak 7] giveen:
Logcat of Jelly Bean booting

http://pastebin.com/e6Ta3Hvs

Snargledorf, in your logcat, search for lines like this

"

D/PrintK ( 1): <6>tegra_camera: probe

W/PrintK ( 1): BootLog, +ov5642_init+

D/PrintK ( 1): <6>ov5642 sensor driver loading

D/PrintK ( 1): <6>ov5642: probing sensor.

W/PrintK ( 1): BootLog, -ov5642_init-, ret=0

W/PrintK ( 1): BootLog, +ov9665_init+"

That is our camera driver loading in kernel level, but then you will see this message....

"I/CameraService( 86): CameraService started (pid=86)

E/CameraService( 86): Could not load camera HAL module
"
[Dell Streak 7] giveen:
So something is going wrong with my lights.streak7.so
[Dell Streak 7] snargledorf:
Did a diff on lights and this was the only difference

- LOGE("write_int failed to open %s\n", path);
+ ALOGE("write_int failed to open %s\n", path);

---------- Post added at 09:24 PM ---------- Previous post was at 09:20 PM ----------

Looks like that may be the ticket

I/DEBUG ( 82): 5bd9e824 00737365 000a6425 6867696c 77007374 ess.%d..lights.w

I/DEBUG ( 82): 5bd9e834 65746972 746e695f 69616620 2064656c rite_int failed

I/DEBUG ( 82): 5bd9e844 6f206f74 206e6570 000a7325 4449564e to open %s..NVID

I/DEBUG ( 82): 5bd9e854 56204149 61746e65 6c20616e 74686769 IA Ventana light
[Dell Streak 7] giveen:
Per our discussion, that wasn't it.

After digging around, I came across the HTC Endeavour (a Tegra 3 device) with a very nice looking lights code with it being "lights.tegra", I ripped it, changed the log values to match jelly bean, and compiling now
[Dell Streak 7] giveen:
Anyone know how to tell it to NOT compile goldfish stuff?
[Dell Streak 7] azrael293:
I searched around online and found some info, hopefully helpful, in another forum - http://xdaforums.com/showthread.php?t=1475358&page=185

says he basically deleted it out and just had to repush a few files that didnt work after and that fixed the issue. seems it only loads those during emulation and not during the actual device boot (if i read that correctly).