Hi devs,
I played a bit trying to port CyanogenMod to Hero, but I'm a bit stuck now. What I have so far is a ROM that boots all the way up to the homescreen and then crashes after a few seconds. I'm using a own compiled Hero kernel and I copied some obvious missing libraries (found out from logcat ouput).
So first I get the HERO bootscreen, then the CyanogenMod animation, then the homescreen. The buttons, hardware as well as on-screen, are unresponsive. The phone now loops endlessly from the Cyanogen bootscreen to the lockscreen.
Here is the logcat output: http://pastebin.com/m6973f0c1
Any ideas where to go from here? Seems like there is something wrong with the settings provider and with the Google services. Also, the NullPointerException in registerContentObserver is suspicious.
Cheers,
Erik
good going bro. providing us new hopes for new rom. definitely other devs will be giving u hands. cheers mate
I've run into issues with sensors not initalizing correctly causing this on other roms.
D/Sensors ( 125): open_akm, fd=-1
E/Sensors ( 125): Couldn't open /dev/akm8973_aot (Permission denied)
D/Sensors ( 125): using /dev/input/event4 (name=compass)
Have a look at these and see if you can maybe fix that akm issue.
Related
Hi all i know i made a thread about porting the milestone browser but a person told me that it cant be done because of a kernel issue which is fine. Anyways this is a more realistic project, to port the 2.1 browser (which looks incredible with that green loading bar) and the multitouch and everything, but to AOSP 2.0, to that rom. Anyone got any ideas because I know a lot of people would want this. And of course the google sync we can finally fix.
i tried installing 2.1 browser to aosp 2.0 with adb but it gave an error.
Failed: Older SDK
So is it not possible to port it? I got the same issue when i tried. But im sure it can be done with some work
there is some older sdk problem as the error shows. now the question is that if 2.0 and 2.1 got different sdk. the devs can give us a clear idea about it. if 2.0 and 2.1 got same sdk then it shud work. if sdk's are different then source of browser must be compiled with new sdk and for this we will need the source files of browser.
Once we figure that out and we know what files we need, could it be as simple as pushing lib and permission files (for example) or would it have to actually be reprogrammed into the system? How might we be able to go about figuring out what files it uses? haha sorry for all the questions
check the 2.1 sdk version (should be sdk version 6 i think), change the build.prop on a 2.0 rom for sdk version from 5 to 6, then try again.
It most like won't work because HTC's browser depends on htc's webcore which depends on htc's framework anyway
Hey, i tried it and this is what i got in logcat.
D/AndroidRuntime( 469): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 469): CheckJNI is ON
D/AndroidRuntime( 469): --- registering native functions ---
D/PackageParser( 77): Scanning package: /data/app/vmdl38548.tmp
W/PackageParser( 77): /data/app/vmdl38548.tmp (at Binary XML file line #0): Requires newer sdk version #6 (current version is #5)
D/AndroidRuntime( 469): Shutting down VM
D/dalvikvm( 469): DestroyJavaVM waiting for non-daemon threads to exit
D/dalvikvm( 469): DestroyJavaVM shutting VM down
D/dalvikvm( 469): HeapWorker thread shutting down
D/dalvikvm( 469): HeapWorker thread has shut down
Click to expand...
Click to collapse
is there any way to bypass this? or fix it?
you could always wait for 2.1 aosp to be released
I'm attempting to access the camera and its features through Microsoft.Phone.Media.Extended.dll, but am only coming up with COM errors. Any help would be appreciated.
PhotoCamera cam = new PhotoCamera(CameraSource.PrimaryCamera);
when I go into debugging mode and inspect "cam" it shows that most of its properties are null. Does anybody know how to initialize this?
You can only access the camera from the photo Chooser task:
http://msdn.microsoft.com/en-us/library/microsoft.phone.tasks.cameracapturetask(v=VS.92).aspx
Sent from my HTC HD2 using XDA App
Blade0rz said:
You can only access the camera from the photo Chooser task
Click to expand...
Click to collapse
Using the official SDK APIs yes, but I'm talking about Microsoft.Phone.Media.Extended.dll
There are more methods inside of this dll than is normally available to developers.
Have you granted yourself the necessary permissions? You need to add ID_CAP_CAMERA to gain access to the PhotoCamera class.
kaspur said:
I'm attempting to access the camera and its features through Microsoft.Phone.Media.Extended.dll, but am only coming up with COM errors. Any help would be appreciated.
Click to expand...
Click to collapse
How did you get it load to solution? I getting error:
Code:
Could not load file or assembly 'Microsoft.Phone.Media.Extended, Version=7.0.0.0, Culture=neutral, PublicKeyToken=24eec0d8c86cda1e' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
You need to get the file from phone image. When you got it, you can reference it in your windows phone project.
To allows compiling your project you will need to remove the strong name check on media.extended.dll (in a visual studio command prompt sn -Vr pathto.dll)
Restart Visual Studio and you should be able to build your project
sn -Vr just whitelists the assembly on your PC. Why are your assemblies broken to begin with? All my GAC libraries work without errors (when referencing them). I suggest you work on extracting clean files.
With regards to COM -- what are the exceptions?
titaye said:
You need to get the file from phone image. When you got it, you can reference it in your windows phone project.
To allows compiling your project you will need to remove the strong name check on media.extended.dll (in a visual studio command prompt sn -Vr pathto.dll)
Restart Visual Studio and you should be able to build your project
Click to expand...
Click to collapse
Thanks! I remove a strong name (now I have no exceptions at design time) but the app doesn't load. Stack trace:
Code:
'taskhost.exe' (Managed): Loaded 'mscorlib.dll'
'taskhost.exe' (Managed): Loaded 'System.Windows.RuntimeHost.dll'
'taskhost.exe' (Managed): Loaded 'System.dll'
'taskhost.exe' (Managed): Loaded 'System.Windows.dll'
'taskhost.exe' (Managed): Loaded 'System.Core.dll'
'taskhost.exe' (Managed): Loaded 'System.Xml.dll'
'taskhost.exe' (Managed): Loaded '\Applications\Install\AF30D7A5-21BB-480F-94CC-658A0DCE171A\Install\CameraTest.dll', Symbols loaded.
'taskhost.exe' (Managed): Loaded 'Microsoft.Phone.Media.Extended.dll'
'taskhost.exe' (Managed): Loaded 'System.SR.dll'
The thread '<No Name>' (0x166f19be) has exited with code 0 (0x0).
The thread '<No Name>' (0xecf0ade) has exited with code 0 (0x0).
The program '[371728818] taskhost.exe: Managed' has exited with code 0 (0x0).
I've already added <Capability Name="ID_CAP_CAMERA"/>, no luck. Seems like I'm missing some important part. Unfortunately guys who already had camera working doesn't like to share experience with community...
WithinRafael said:
sn -Vr just whitelists the assembly on your PC. Why are your assemblies broken to begin with? All my GAC libraries work without errors (when referencing them). I suggest you work on extracting clean files.
Click to expand...
Click to collapse
Could you please post your dll's, test project and some instructions? I'm really curious to get video camera working.
I'm able to get this working. The trick seems to be to create a CameraVisualizer, and then SetSource to your camera object. The camera is then shown in the CameraVisualizer. (This is as far as I've got)
Here's a sample: dl.dropbox.com/u/12359/Flashlight.zip
You'll need to follow the instructions here to add Microsoft.Phone.Media.Extended: thounsell.co.uk/2010/11/avoiding-reflection-adding-the-interopservices-library-to-the-wp7-sdk/
Thank you, perfect, get it works!
sensboston said:
Thank you, perfect, get it works!
Click to expand...
Click to collapse
microsoft boots it after a zune sync...tells you to uninstall it... any ideas?
kawgirlval69 said:
microsoft boots it after a zune sync...tells you to uninstall it... any ideas?
Click to expand...
Click to collapse
run the unlocker again and it will work again .
ya.. thanks... found that out... was looking for a more "permanent" fix... still the nicest and most functional flashlight... better than that white screen crap hands down.. even having to reunlock every time..
kawgirlval69 said:
still the nicest and most functional flashlight...
Click to expand...
Click to collapse
Thanks, but it's not so functional and a little buggy (was written in couple of hours, just for academic purposes). HTC have a real nice flashlight, cool looking and functional but runs on HTC handsets only... They directly (probably using native code calls) manipulating LED.
Will see, may be in future we'll have more expanded API (I hope so!)...
Just a note, in case you didn't notice, or other people don't know, that we're leaking videos when using this as a flashlight. I'm pretty sure that videos and thumbnails are created in IsolatedStorage for the application. Uninstall/reinstall should clear them, but we should really delete them as soon as they're created. It'd be nice if there was an API that didn't actually record, but we'd need to see whats in PhotoLibEnt.dll to figure that out.
sensboston said:
Thanks, but it's not so functional and a little buggy (was written in couple of hours, just for academic purposes). HTC have a real nice flashlight, cool looking and functional but runs on HTC handsets only... They directly (probably using native code calls) manipulating LED.
Will see, may be in future we'll have more expanded API (I hope so!)...
Click to expand...
Click to collapse
lol i guess im not picky... it would be fine for me ... again only dislike is the having to reunlock after a zune sync... the other glitches are minor to me.. i mean it does whats needed... you tap..it opens..tap on it comes... tap off it goes.. that = functional to me... the cert thing is all i see bad..
You don't need to reinstall the applications each sync. Just re-unlock it before opening the apps, and if you've already opened the dialog to be greeted with the prompt to uninstall - just hit the Windows Key to cancel and go back to the Start screen.
sensboston said:
Thank you, perfect, get it works!
Click to expand...
Click to collapse
excellent! Thanks so much!
titaye said:
You need to get the file from phone image. When you got it, you can reference it in your windows phone project.
To allows compiling your project you will need to remove the strong name check on media.extended.dll (in a visual studio command prompt sn -Vr pathto.dll)
Restart Visual Studio and you should be able to build your project
Click to expand...
Click to collapse
Where I can find a visual studio command prompt in Express 2010 for Windows Phone?
Hi,
I'm opening another testing thread for android development.
This thread aims at testing the diamond panel power up / down code that I've reworked.
It has been already tested on my DIAM100 with a sharp panel but I need some more tests on different diamonds. From what I've seen, the diamond 500 do not yet have any panel code but I need some diam500 users to confirm that with a small log.
THIS THREAD IS FOR PEOPLE WHO KNOW HOW TO USE ANDROID AND ADB.
Any feedback is welcome. If you're experiencing problems, please attach a dmesg log so that I can analyze the problem, otherwise I probably won't be able to do anything to help you.
People who wants to help but don't know how to make a dmesg log should start by searching for a guide on the forum. Once you've got adb working and know how to make a dmesg log, then follow the small instructions bellow.
Source tree : http://gitorious.org/~jbruneaux/lin...ux-msm-home-work/commits/htc-msm-2.6.27-panel
Logging instructions:
If you want to make a usefull dmesg log, then follow these few steps :
1/ Reboot your phone (that way, I can get the boot log, which contains tons of usefull debug outputs).
2/ Once the phone is booted into android, make a first dmesg log to ensure we have all the boot logging data
3/ Now, turn off / on 3 times the screen
4/ Make a new dmesg log
5/ Post the two dmesg logs along with a short description of the problem you encoutered (i.e screen does not power up or must be "forced" to be turn on by blind touching the unlock bar, ...).
Link to the kernel package : http://www.4shared.com/file/uIoHquR7/kernel_modules_diam_panel_2011.html
Just an idea: wouldn't you get a much broader reply if you create an initrd script that does all that logging stuft onto the FAT partition automatically?
virus if we lower screen resolution of diamond l480 x 640 in to 320 x 240 we can gain speed i dont know how to do it like james which is doing rhalp nand project did in ralp n gain speed as 36.5 in neocore like huawe u8150 hav same processor as diamond n running on 320 x 240 resolution ?? i was wondering if this is possible ppl tried but they are unable to find data sheet od diamond if u could help in this helicopter88 did lower but he dont know how to scale ?
xtremists said:
virus if we lower screen resolution of diamond l480 x 640 in to 320 x 240 we can gain speed i dont know how to do it like james which is doing rhalp nand project did in ralp n gain speed as 36.5 in neocore like huawe u8150 hav same processor as diamond n running on 320 x 240 resolution ?? i was wondering if this is possible ppl tried but they are unable to find data sheet od diamond if u could help in this helicopter88 did lower but he dont know how to scale ?
Click to expand...
Click to collapse
In fact, helicopter88 has already contacted me for this downscale but I don't have any clue on how it does work. Right now, my aim is not especially to get the diamond running faster but to improve the panel power on/off because I've got this fix for a long time now but before submitting it for the main tree, I must have some tests on different devices.
Maybe if helicopter88 or james have successfully reduced the resolution we can see how to make it available for all users if it really accelerate the global device speed.
Datasheet are not available for most of the components of our devices and qualcomm have protected all those stuffs with DNA and things like that. We have a few application notes but nothing really specific to one phone or one component. The only way we can work is with other official kernels and reverse engineering.
Regards, Jerome
I'd like to test this out,once i fix my phone...
No datasheet for our phone,is really hard to find what needs to be changed to scale the display..
this one consuming battery as i think and screen is pretty gud thn other kernls
hi Jerome
Nice work! thanks for looking in that matter ! That issue kept me from using android since it was quite a pain to wake the panel up !
Now the screen powers up pretty faster, even though i still see some glitches sometimes (but less than before) and seems like it's more difficult to power it on while it's sleeping (sleep mode is set on 1 in startup).
I'll do a dmesg later on, if I remember well, my diam has a toshiba panel..
DIAM100 using latest xdandroid FRX06
FRX06
mchh said:
hi Jerome
DIAM100 using latest xdandroid FRX06
Click to expand...
Click to collapse
Hi,
could you please tell me how to install xdandroid FRX06 on my diamond? On http://xdandroid.com i found only "ext2" zip package, i dont know how to use this...
thank you.
D/
Hi said:
http://xdandroid.com[/url] i found only "ext2" zip package, i dont know how to use this...
thank you.
D/
Click to expand...
Click to collapse
download http://files.xdandroid.com/FRX06_Full_Bundle_25.3.2011.zip
unzip in your SDCARD
select the startup for your device
and run haret
market
lqtdc said:
download http://files.xdandroid.com/FRX06_Full_Bundle_25.3.2011.zip
unzip in your SDCARD
select the startup for your device
and run haret
Click to expand...
Click to collapse
Thanks very much for bundle. I had some problems with running haret (it always does softreset after start..) but it seemed to be problem of energy rom, I flashed back stock rom and it works fine.
I had also problem with calibration but deleting calibration file solved id.
Now, android is running quite well, but I can't download anything from market. (It always says after while that download was unsuccesfull). I have google account, synchronizing with gmail works fine but market not.
Can you help me with that?
Thanks.
Hi,
Lately I was playing with different Android kernels and found one that kinda works - it boots to Android about 50% of the time, you have to play with enabling / disabling phone before
running haret to get it going and once it does boot, only thing that works is screen. Keyboard, radio, sound... that's all unresponsive. Touch screen works but it is reverted.
I beleive that this kernel is uncompressed version of one of Toshiba TG01 early builds but I can't remember where did I downloaded it. If somebody want to give it a try check my post at android-on-lg-expoiq thread at lg-expo . com.
Recently, I discovered that Expo service manual is available at w w w . cpkb . org/wiki/LG_GW820_eXpo_service_manual , and that's great help in developing linux kernel
for our device.
Would anyone be interested in such project ?
Nice find. Is there anything I can do to help?
Thanks josefcrist,
I started with markinus's tg01 branch, I was able to compile older kernel ( up to "msm_ts: add support for invert x/y axes" commit ) and have some success with it.
Device does boot ( as long as you keep it connected with usb cable to pc) but touch screen is reverted on x axis, so right now I'm trying to fix that.
I have very limited knowledge in coding, so it might take a while
Q&A for CyanogenMod 11 (4.4.4) [ION]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
finally the camera works !!
finally the camera works !!
wich build??? are you not confussing this with evervolv?
SORRY
Yes !!! Camera is working!!!
Although sound is poor yet
File manager force close
After install (and some reboot), File Manager force closes with Launch timeout.
LogCat:
Code:
13.015: I/Timeline(2173): Timeline: Activity_launch_request id:com.cyanogenmod.filemanager time:219919
13.025: I/ActivityManager(1971): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.cyanogenmod.filemanager/.activities.NavigationActivity} from pid 2173
13.305: V/Zygote(3396): Switching descriptor 32 to /dev/null
13.305: V/Zygote(3396): Switching descriptor 9 to /dev/null
13.315: I/ActivityManager(1971): Start proc com.cyanogenmod.filemanager for activity com.cyanogenmod.filemanager/.activities.NavigationActivity: pid=3396 uid=10025 gids={50025, 1028, 1015}
13.425: D/ActivityThread(3396): handleBindApplication:com.cyanogenmod.filemanager
13.425: D/ActivityThread(3396): setTargetHeapUtilization:0.25
13.425: D/ActivityThread(3396): setTargetHeapMinFree:524288
23.245: E/WindowManager(1971): Starting window AppWindowToken{4217bfe0 token=Token{4202c3b0 ActivityRecord{420a7050 u0 com.cyanogenmod.filemanager/.activities.NavigationActivity t4}}} timed out
23.285: W/ActivityManager(1971): Launch timeout has expired, giving up wake lock!
Is there anything I can do about that, or I have to wait for developers to investigate?
Can someone post a link for the latest build? I can't find it in the OP of the original thread :/
rastomanchiks dropbox folder: https://www.dropbox.com/sh/3hoojtxanqw41p3/AADorZt1pwdSmhlbkwE3k_2Va?dl=0
Can you help me? I'm using beta25 but when I open the camera it show pop-up can't connect to the camera
Sorry for my bad English because i'm thai
The link
Link is removed?:crying:
Jump93 said:
Link is removed?:crying:
Click to expand...
Click to collapse
Link works fine for me. I see a v29 is uploaded about an hour ago.
beta 29
I noticed that if call and receive calls the audio goes through the loudspeaker and not the ear piece
It so lag. I can't play my favorite game.
is there a problem with audio on call in v29 ?
HTC One V primou + CM11: Bluetooth smart ready (BLE)
HTC One V is a Bluetooth smart ready device by Wiki page "HTC_One_series". I've installed the latest beta (29) of CM11 4.4.4 with my HTC One V primou. Application says "Sorry, Bluetooth LE is not supported on this device". Is this a bug?
Aww, I have the primoc
I guess I'm stuck with 4.2 right now :/
Besides that, I'm glad that the HoV is still being worked on
I believe the command is
fastboot flash boot boot.img
Also, make sure your computer recongnizes your phone by typing
fastboot devices
I have test it too, Beta29 has bug in Mute In-Call problem. But camera working in Photo mode.
No google play help me
Do we need to install gapps , that's what I think with your question about no play store,