yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] mhepp:
Cedric123, You have too many questions...

Compass: I want to compass too... But I do not know HOW! I think, it is some bug in Dalvik or something on highest lewel then kernel and base system, because it is functional in clear Froyo and CM 7 with same binaries of libs and kernel.

Camera: I do not have any idea about it, because camera is not important for me now. I will look, I promise ;)

Wifi: My WiFi is working properly. Command "ip a s" shows me my correct MAC. I do not change anythink. String "mac_param=00:00:00:00:00:00" is maybe something like initialization. You do not know, I do not know, because we do not have source.

akm8973_aot and _dev: Yes, this devices are for compass. More is above.

Kernel editing... Binary file with compiled kernel is not editable with your knowledge. This is work for Men from times when assembler was new and weird. The best way how edit kernel is recompile it. ;)

init.qcom.rc: it is part of ramdisk...

(woha, this is my longest spawn in english since my maturiy exam)
[Android Software/Hacking General [Developers Only]] anryl:
i tested and the same result so must be something in the cm6 build differently cause its not conected it will just connect for a sec. then again disconected

23:11:08.375 Info Vold 1262 /mnt/secure/staging/.android_secure sucessfully unmounted
23:11:08.375 Info Vold 1262 /mnt/secure/asec sucessfully unmounted
23:11:08.375 Info Vold 1262 /mnt/secure/staging sucessfully unmounted
23:11:08.375 Info Vold 1262 /mnt/sdcard unmounted sucessfully
23:11:08.375 Debug Vold 1262 Volume sdcard state changing 5 (Unmounting) -> 1 (Idle-Unmounted)
23:11:08.376 Info PackageManager 1355 Updating external media status from unmounted to unmounted
23:11:08.376 Info StorageNotification 1355 Media {/mnt/sdcard} state changed from {mounted} -> {unmounted}
23:11:08.376 Debug VoldCmdListener 1262 volume share /mnt/sdcard ums
23:11:08.376 Debug Vold 1262 Volume sdcard state changing 1 (Idle-Unmounted) -> 7 (Shared-Unmounted)
23:11:08.376 Warning MountService 1355 Duplicate state transition (unmounted -> unmounted)
23:11:08.376 Debug VoldCmdListener 1262 volume shared /mnt/sdcard ums
23:11:08.376 Info StorageNotification 1355 Media {/mnt/sdcard} state changed from {unmounted} -> {shared}
23:11:08.376 Warning ApplicationContext 1355 Unable to create files directory
23:11:08.376 Debug WriteApps 1355 Error: java.lang.NullPointerException
23:11:08.376 Info dalvikvm 1355 Jit: resizing JitTable from 4096 to 8192

what rom did u used for vendor files ? its only the extracted files that are different :)
[Android Software/Hacking General [Developers Only]] mhepp:
I have same log... But I see new mass storage device in my device manager on PC*:

D/dalvikvm( 1358): GC_FOR_MALLOC freed 19610 objects / 954000 bytes in 216ms
D/VoldCmdListener( 1262): storage users /mnt/sdcard
I/PackageManager( 1358): Updating external media status from mounted to unmounted
D/VoldCmdListener( 1262): asec list
I/PackageManager( 1358): No secure containers on sdcard
D/VoldCmdListener( 1262): storage users /mnt/sdcard
I/PackageManager( 1358): Updating external media status from unmounted to unmounted
D/VoldCmdListener( 1262): volume unmount /mnt/sdcard force
D/Vold ( 1262): Volume sdcard state changing 4 (Mounted) -> 5 (Unmounting)
V/MediaProvider( 1557): Detached volume: external
I/Vold ( 1262): /mnt/secure/staging/.android_secure sucessfully unmounted
I/Vold ( 1262): /mnt/secure/asec sucessfully unmounted
I/Vold ( 1262): /mnt/secure/staging sucessfully unmounted
I/Vold ( 1262): /mnt/sdcard unmounted sucessfully
D/Vold ( 1262): Volume sdcard state changing 5 (Unmounting) -> 1 (Idle-Unmounted)
I/PackageManager( 1358): Updating external media status from unmounted to unmounted
D/VoldCmdListener( 1262): volume share /mnt/sdcard ums
D/Vold ( 1262): Volume sdcard state changing 1 (Idle-Unmounted) -> 7 (Shared-Unmounted)
W/MountService( 1358): Duplicate state transition (unmounted -> unmounted)
I/StorageNotification( 1358): Media {/mnt/sdcard} state changed from {mounted} -> {unmounted}
D/VoldCmdListener( 1262): volume shared /mnt/sdcard ums
I/StorageNotification( 1358): Media {/mnt/sdcard} state changed from {unmounted} -> {shared}
W/ApplicationContext( 1358): Unable to create files directory
D/WriteApps( 1358): Error: java.lang.NullPointerException

I was look into logs on PC and see this:

usb 1-5: USB disconnect, address 88
usb 1-5: new high speed USB device using ehci_hcd and address 89
scsi85 : usb-storage 1-5:1.0
usb 1-5: USB disconnect, address 89
usb 1-5: new high speed USB device using ehci_hcd and address 90
scsi86 : usb-storage 1-5:1.2
scsi 86:0:0:0: CD-ROM Android Adapter ffff PQ: 0 ANSI: 2
sr1: scsi3-mmc drive: 0x/0x caddy
sr 86:0:0:0: Attached scsi CD-ROM sr1
sr 86:0:0:0: Attached scsi generic sg2 type 5
cdrom: This disc doesn't have any tracks I recognize!
usb 1-5: USB disconnect, address 90
usb 1-5: new high speed USB device using ehci_hcd and address 91
scsi87 : usb-storage 1-5:1.0
usb 1-5: USB disconnect, address 91
usb 1-5: new high speed USB device using ehci_hcd and address 92
scsi88 : usb-storage 1-5:1.2
scsi 88:0:0:0: CD-ROM Android Adapter ffff PQ: 0 ANSI: 2
sr1: scsi3-mmc drive: 0x/0x caddy
sr 88:0:0:0: Attached scsi CD-ROM sr1
sr 88:0:0:0: Attached scsi generic sg2 type 5
cdrom: This disc doesn't have any tracks I recognize!

Android sends SD as weird CD-ROM, but I am able to connect it and use.

Hmmm... I found this page:

http://code.google.com/p/cyanogenmod/issues/detail?id=2236

So, this look like bug in vold and I am lucky man with (stupid and evil) Linux ;)

(I am not sure, if CM is good way at this time... So lets go do it better with AOSP)

---

* 3 PCs, 2.6.37.2 32bit; 2.6.38-rc3 64bit; 2.6.38 64bit; all with Debian Sid
[Android Software/Hacking General [Developers Only]] anryl:
u tried this ?

http://review.cyanogenmod.com/#change,9
[Android Software/Hacking General [Developers Only]] mhepp:
No, I do not try this. Because trouble is not here. Mass Storage on kernel level is functional, but not in app level. Phone sends it as CD-ROM, not as usb disk. Then this troubles. I will look into vold souces and we will see...
[Android Software/Hacking General [Developers Only]] anryl:
found some .. thing again if u dsbl all debugs the whole kernel is fu@ked again so it all depends on nobody knows what so we have to use working eclair kernel and test with it i hate huawei guys :confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused:
[Android Software/Hacking General [Developers Only]] mhepp:
Anyl, you mean, that this kernel is buggy? This is same kernel like in cedric123's FZF 5.1... And everything was functional there.
[Android Software/Hacking General [Developers Only]] cedric123:
how did you fix keylights?
[Android Software/Hacking General [Developers Only]] anryl:
if u take cedric's 5.1 working kernel and disable any debug then the whole **** wont work again so it needs to be untouched :cool::confused::rolleyes:
[Android Software/Hacking General [Developers Only]] mhepp:
Here is reason why is not camera functional:

E/copybit ( 1358): Error not msm frame buffer

But I do not know where this begin for now... Stay tuned...

Edit:

And we are back now! The bug is in the source file hardware/msm7k/libcopybit/copybit.cpp. Fix is very simple. Use this my patch. I will try it later... But if anybody want to make THE FIRST photo on Froyo...

Edit2:

Not everything needed by camera was repaired...
[Android Software/Hacking General [Developers Only]] cedric123:
Anyone can confirm this is working?

If it is thanks mhepp!!!
[Android Software/Hacking General [Developers Only]] mhepp:
Cedric123: I have bad news... Camera still not working.

But I found something new:

I boot original VF boot.img from original ROM with Froyo system. There was a lot of unfuctional, but compas worked well and camera still not. When I had this kernel up, I copied config from them. I will look for differences...
[Android Software/Hacking General [Developers Only]] anryl:
for camera we need the codec's (right now black&white) and sound perfectly working for display the framework fixed so still lot to do with original vodafone kernel u get 3.5 Mflops tested that one was kompletely fu@ked :confused:
[Android Software/Hacking General [Developers Only]] anryl:
we might use huawei source dhd.ko :rolleyes:

in updata.app u'l find "vendor/broadcom/bcm_4.218.182.0/dhd/linux"

and from the south africa original rom we could use init.rc files

attached config from SA kernel is quiet interesting and SAboot.img
[Android Software/Hacking General [Developers Only]] tas0s:
Just one new commit in github guys.I have fixed the dialpad and the mass storage screen layout for our qvga screens.The commit includes some changes to make gps and usb mass storage functional.Unfortunately the usb mass storage doesn't work :(

I haven't tested the gps.Compass is working.

I dont have so much free time these days and the progress is slow but as I saw mhepp,anryl etc are doing great job.

Anryl,mhepp did you have any twitter or email to communicate more quickly? Pm me :)
[Android Software/Hacking General [Developers Only]] Shiftok:
Equalizer in DSP Manager don't working normally(tested this bug in Anryl's ROM, maybe bug in his rom only), it's shhhh when we turn all switches on maximum. But in this rom it's working.

Can we fix it?

PS: sorry for bad english
[Android Software/Hacking General [Developers Only]] chaminua:
thank bro :D
[Android Software/Hacking General [Developers Only]] tas0s:
I will look on it.Maybe some library incompatiblity.

Good news!I have almost fixed camera!:D

For now the camera works for taking pictures but it crashes for video

(it records normally but on stop crashes)

The changes will be in github on a couple of minutes.
[Android Software/Hacking General [Developers Only]] tas0s:
Another update.

Mic is fixed(thanx anryl) and keylights functional again.
[Android Software/Hacking General [Developers Only]] cedric123:
Hi thanks for the fixes?

i had a question?

where can i download the fixes.

Can you say what you changed?
[Android Software/Hacking General [Developers Only]] tas0s:
You can see what I have change in the github commit log.

I havent upload any new version with fixes since initial release.

If you arent building from source I can upload an updated version,probably tomorrow morning
[Android Software/Hacking General [Developers Only]] anryl:
fixed version uploaded on my thread just system/media and initlogo.rle are mine :D

http://xdaforums.com/attachment.php?attachmentid=560208&d=1301921473 fix for b&w camera and youtube reporting now just some permission problems in qtadb report and its from 8150 froyo i tried from 8220 but didn't work next could be from zte blade ? and the camera fix ?? might work as well .
[Android Software/Hacking General [Developers Only]] tweakmyknob:
I just posted a similar question in cedric123's thread, but I know the CM rom originally came from here so it might be more useful to post my question here instead.

It seems the rom is missing the google map libs - I've got the map app installed, but some apps are dependent on libs which aren't included.

It seems the files are available on:

http://wiki.cyanogenmod.com/index.php?title=Latest_Version#Google_Apps

But which would my huawei u8100 need?

EDIT: works with HDPI google apps

http://android.d3xt3r01.tk/cyanogen/gapps/gapps-hdpi-20101114-signed.zip
[Android Software/Hacking General [Developers Only]] tas0s:
I think that it would need the mdpi version.For qvga screens(u8120's for example) is mdpi or ldpi most of the times.

I have not included for the same reasons that cyanogenmod does not.

But I have posted a link in the very first post ;)
[Android Software/Hacking General [Developers Only]] cedric123:
PLease pls cm7
[Android Software/Hacking General [Developers Only]] anryl:
its for x64 linux machine my machine was twice on Ubuntu 64 ****ed completely so i need to know what linux distro to install for it then with ascend , ideos , Zte Blade source hacks i could try to start on it
[Android Software/Hacking General [Developers Only]] cedric123:
What i ment was that tas0s has A CM7 with the same bugs as CM6 but he doens want to pls it cuz its the same bad as cm6 and thinks it will dmaage the name of cyanogen....:(:eek::eek::mad::mad::mad:
[Android Software/Hacking General [Developers Only]] anryl:
what i mean is i need stable linux 64 distro for cm7 to start :rolleyes::rolleyes::rolleyes::cool:

will get the source 2day might be fixed for ubuntu32 build
[Android Software/Hacking General [Developers Only]] tas0s:
Monday morning the cm7 source will be up.I have stall enough for the release but with no fixes for usb mass storage and camera :S

Besides that, I have read that for an official release/support of cyanogenmod (because my port is not official so are your releases(anryl,cedric123 etc)) we must try for cm7.Cm6 is not continued.

But I will remind you that in cm7 we have not a calibration solution.So its not so usable(for my point of view)
[Android Software/Hacking General [Developers Only]] anryl:
Ready for it my Ubuntu 64 set up and working
[Android Software/Hacking General [Developers Only]] mhepp:
Anryl: Your patch for mass storage is working.

Anryl, tas0s:

I have not accessible e-mail now, so i am posting it here...

I found two more things:

1) init.qcom.rc: there is line write /sys/devices/.../file /dev/block/mmcblk0p1. Must be changed to ... /dev/block/mmcblk0. After that you will have accessible whole card via mass storage.

2) /etc/vold.fstab: in the vold is something like bug. Maybe. So, if I change this one line in config, card will work properly with ext partition:

dev_mount sdcard /mnt/sdcard auto /devices/platform/usb_mass_storage/lun0 /devices/platform/msm_sdcc.1/mmc_host/mmc0 --> dev_mount sdcard /mnt/sdcard 1 /devices/platform/usb_mass_storage/lun0 /devices/platform/msm_sdcc.1/mmc_host/mmc0. (When is there auto, vold is trying mount second partition on card as VFAT, but second is ext2.) But there is one small but. If You remove and give back SD card, vold goes wild and crazy. You must kill them, vold start up again and card will be mounted...
[Android Software/Hacking General [Developers Only]] cedric123:
hi, i may be looking wrong but where is the cm7 source on github?
[Android Software/Hacking General [Developers Only]] tas0s:
No you are not looking wrong.I havent upload cm7 yet.

I have some problems with my laptop yesterday and didnt manage to compile/test/upload it.I have made some changes/polishing based on ascend vendor files because it was more clean than mine.

Sorry for the delay guys.

Tonight(now in greece is 15.05) the cm7 will be up
[Android Software/Hacking General [Developers Only]] anryl:
its hard i ****ed my card twice already have to repartition it it worked once with ext than again not working i changed even kernel but no luck here the vold is looking ???? for dont know what .

---- tas0s ----

i compiled huawei u8120 but still have some errors per missing files in /out/???? and some drivers that are not used as i did some porting from ascend as well hope u git will work from the start :D:D:D:D:D:rolleyes::cool:

what about something like this ??? set cmdline "lcd.density=240 msmts_calib=0x395.0x3c9.0x79.0x77 clock-7x00.a11=500 msmvkeyb_toggle=off pmem.extra=1 gsensor_axis=-2,-1,3

msmsdcc_1bit msmsdcc_fmax=14000000 msmsdcc_nopwrsave" could we use the calibration command ???

???? this http://osdir.com/ml/android-porting/2011-01/msg00044.html

???? this http://blog.linuxconsulting.ro/2010/04/tslib-ported-to-android-for-touchscreen.html
[Android Software/Hacking General [Developers Only]] tas0s:
For the calibration command you mention, I think that it must be implement it in the kernel too so it can read from the command line the arguments etc.In our kernel I dont remember anything relevant.Right?

Until now the gingerbread has not any tslib/tscalibration support because after froyo, google has change the way that input is handled.So we can implement the needed changes in framework etc or modify the kernel.I find both options very difficult.
[Android Software/Hacking General [Developers Only]] Shiftok:
what with FM radio in froyo on 29th kernel?
[Android Software/Hacking General [Developers Only]] anryl:
https://github.com/dzo/htc-msm-2.6.27/blob/htc-msm-2.6.27/drivers/input/touchscreen/msm_ts.c if we could implement into 2.6.32 kernel ?
[Android Software/Hacking General [Developers Only]] tas0s:
Anryl that looks promising :)

Maybe we can look at it.I will try to find some time at the end of weekend.

I have created a new branch on github for gingerbread (CM7) and uploaded the vendor files.Its my old version,before the changes that I mention in previous post(about ascend etc).It has missing parts for sure,if I remember right it works for the basic things.

I have uploaded it just to look at it and for anryl,so he can see whats going wrong with his aproach(cedric tomorrow you will have img files from my thread for cm7).

Im tired to continue today.Tomorrow I will start compiling again and fixing the vendor files.

Good night from Greece :D
[Android Software/Hacking General [Developers Only]] Shiftok:
Thanks, maybe you will create new thread for Giggerbread developing?
[Android Software/Hacking General [Developers Only]] tas0s:
Done.New toy in town ;)

CM7 for U8120
[Fascinate Q&A, Help & Troubleshooting] hrez2kx:
I met a guy with an (unrooted) epic today, and his screen was gorgeous. The colors were very "wet" looking and a lot more vibrant than those on my sc2.9.1 fascinate, even when I set it to maximum brightness. I thought all the galaxy s phones used the same screen. Is ours different?
[Fascinate Q&A, Help & Troubleshooting] Kaze105:
All galaxy S phones should have super AMOLED displays.
[Fascinate Q&A, Help & Troubleshooting] jenisiz:
Most the time it's just the image...galaxy s phones share the same screen. Some say voodoo can increase the apperance.
[Fascinate Q&A, Help & Troubleshooting] hrez2kx:
Its strange, since his colors were definitely more vibrant than mine. Even comparing text in a menu, the colored text (blue) just popped off the screen more noticeably than mine. Could it be a rom thing?
[Fascinate Q&A, Help & Troubleshooting] jenisiz:
It's not the rom...it'usually a voodoo kernel
[Fascinate Q&A, Help & Troubleshooting] hrez2kx:
So my voodoo kernel is making the colors worse? Hmmmm......

His epic was completely stock, so I know he didn't have a voodoo kernel (in fact, I was explaining to him what voodoo was, since he was surprised at the speed of my phone)
[Fascinate Q&A, Help & Troubleshooting] jenisiz:
Voodoo can increase visible asthetics...if his was stock don't see how it's possible. Probably your settings. My screen looks clean and wet as hell.
[Fascinate Q&A, Help & Troubleshooting] NoHolidaysForAHooker:
the above is all true to my knowledge. however, as of right now we don't have the voodoo sound and color enhancements because the devs don't have the actual source kernel from samsung. hopefully soon tho!
[Fascinate Q&A, Help & Troubleshooting] imnuts:
he likely has a kernel with the voodoo color fix, we can't make froyo kernels with the color fix cause we have no source, but the epic does.
[Fascinate Q&A, Help & Troubleshooting] hrez2kx:
He doesn't. He was completely unrooted and knew nothing about modifying his phone. I told him to visit XDA when he saw how much faster my Fascinate was compared to his Epic.
[Fascinate Q&A, Help & Troubleshooting] adrynalyne:
Then its in the eye of the beholder ;)
[Fascinate Q&A, Help & Troubleshooting] GoogleAndroid:
That, or, every screen looks different. My first Fascinate has a perfect screen. No red or purple at low brightness, no blue or yellow tinge to whites. My second one was awful. Horrible red and yellow tinges on the whole screen. This one(my 3rd one) has slightly blue tinged whites and slight purple tinges to gray at 0% brightness. It just depends on where it was manufactured and when. I think my 2nd one was a bad batch that somehow made it through QC.
[Fascinate Q&A, Help & Troubleshooting] ziggy484:
Could it be the screen protector by any chance? When i first got my phone the guy put an antiglare protector on, i thought nothing of it, until 6 months later i went back and got a glossy clear one and OMFG, ITS LIKE A BRAND NEW PHONE... i wanna punch the first guy in his face

Sent from my rooted froyo Fascinate
[Fascinate Q&A, Help & Troubleshooting] ivorycruncher:
I used to deploy new PCs for a living. When I started doing workstations with dual monitors, all identical, I started seeing how identical monitor models from the same batch do NOT always match. In fact, I would say none of them match exactly, though some are closer than others. There will always be variances during manufacturing that cause visible differences in what appear to be identical screens.

Sent from XDA Premium on my Super Clean Fascinate
[General Questions and Answers] domos123:
I know this isn't strictly the right place for this, but I don't have 10 posts yet, so I'm blocked from development related forums. Anyways, I know some visual basic, but as I understand it there is no way of developing android apps in VB.NET. Would anyone care to recommend any good resources for beginners to learn android programming? (Other than app inventor)
[General Questions and Answers] dbzfanatic:
Hackaday has a whole series of tutorials for android development. Head over and check it out, it walks you through the basics all the way through GUI and I think some DB stuff.
[General Questions and Answers] domos123:
Thanks :D Seems pretty good. I'll work my way through them :)
[General Questions and Answers] chaseaturtle:
I too need my 10 posts, so I am jumping in xD
[General Questions and Answers] PsHegger:
You should check http://mono-android.net/, with this you can write Android apps in C# and .NET based apps. I don't know if it means you can write apps in Visual Basic, but you can have a try.
[General Questions and Answers] domos123:
I looked at that one before, but it seems kinda complicated, and only works in vc++. Also, that requires that you already know xml as you have to code all the layouts from scratch :P
[General Questions and Answers] wavezhang:
an android book will help
[General Questions and Answers] SynGT:
Where on a hackaday are the tutorials?

Am I just blind? =/
[General Questions and Answers] usarmyaircav:
I must be blind also, I don't see it either. :(
[General Questions and Answers] usarmyaircav:
here it is.

hackadaydotcom/2010/07/12/android-development-101-%E2%80%93-a-tutorial-series
[General Questions and Answers] s13_slider:
This is pretty sweet. I'm gonna have to mess around with it!
[General Questions and Answers] MarcoFoxx:
waiting for 10 posts.............
[General Questions and Answers] MK.TheDroogie:
Just joined, so i guess i need 10 posts too
[G1 General] BeenAndroidized:
I have root my G1 and loaded CM 6.0.0 and now I am unable to boot into recovery to update anything. Please help.
[G1 General] johnson8cyl:
Can u get into fastboot? If so post your info found at top left corner. Radio/spl ect.
[G1 General] BeenAndroidized:
Thank you for responding.

Yes, I can. Here is the info requested.

DREAM PVT 32B ENG S-OFF

HBOOT-1.33.2005 (DREA10000)

CPLD-4

RADIO-2.22.19.26I

It does not show the SPL. I had loaded the HardSPL, and I am assuming that it is the current version that is out there.
[G1 General] johnson8cyl:
Go to development section and find ezterry's thread for 14 MB ram new spl/radio and follow the instructions there. Then u will be current. Must have sdk set up

Btw 2005 in your info is spl-hboot same
[G1 General] BeenAndroidized:
I will, I do have android sdk setup on my laptop, I think that what you meant. If that is not what you meant, please let me know.

So that will fix my problem I assumed.

That is what I thought, but being new to Android and still learning. I was not quite sure.
[G1 General] johnson8cyl:
That is what I meant. U have the spl u need for fastboot and sdk set up so u are ready. When you're done u will have newest recovery, radio and hboot. As well as 14 MB extra ram which is nice