Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,283 Members 38,724 Now Online
XDA Developers Android and Mobile Development Forum

[ROM][KANG][16.07.2012] CyanogenMod 9 Milestone XT720 RC

Tip us?
 
telnet777
Old
#451  
telnet777's Avatar
Senior Member
Thanks Meter 38
Posts: 133
Join Date: Feb 2012
Quote:
Originally Posted by fjfalcon View Post
Thanks for link, i send them to Quarx, i hope now with this source he will try to make it working )
We already have some module for it.. but in won't working for now.
BTW, kexec works fine from fastboot kernel
lol, I'm very lucky to find this link this morning.

And who is Quarx? Where can we see the process of his work on this project?

I hope bootloader bypass for milestone XT720/XT711 and Motorio XT720 will come soon!

What do you mean by "kexec works fine from fastboot kernel"?
Does kexec can only be excuted under fastboot kernel, not the stock kernel running on the phone?
 
hrm143
Old
#452  
Junior Member
Thanks Meter 3
Posts: 23
Join Date: Nov 2010
Hi,
wifi not working...camera works
 
telnet777
Old
(Last edited by telnet777; 15th April 2012 at 09:46 AM.)
#453  
telnet777's Avatar
Senior Member
Thanks Meter 38
Posts: 133
Join Date: Feb 2012
Quote:
Originally Posted by hrm143 View Post
Hi,
wifi not working...camera works
I've tested. It's ok. I'm using wifi now.

Sent from my Milestone XT711 using XDA


Edit:

I'm using another rom. I forgot it. I'm really sorry!
 
fjfalcon
Old
#454  
fjfalcon's Avatar
Recognized Developer - OP
Thanks Meter 1,266
Posts: 841
Join Date: Jan 2011
Location: Schelkovo

 
DONATE TO ME
http://forum.xda-developers.com/show...6#post24872706
2ndboot and kexec projects closed for omap3 devices.
Making impossible possible
The Following User Says Thank You to fjfalcon For This Useful Post: [ Click to Expand ]
 
telnet777
Old
#455  
telnet777's Avatar
Senior Member
Thanks Meter 38
Posts: 133
Join Date: Feb 2012
Quote:
Originally Posted by fjfalcon View Post
http://forum.xda-developers.com/show...6#post24872706
2ndboot and kexec projects closed for omap3 devices.
Its really a sad news!

The CPU is so much different.
 
LibertyMonger
Old
#456  
LibertyMonger's Avatar
Senior Member
Thanks Meter 830
Posts: 3,436
Join Date: Mar 2011
Location: Cincinnati
kanger [kahng-ger] noun : A person with enough skill to compile CyanogenMod from source, but generally does not have enough coding experience to provide fixes or support.

Just seen this on the euroskank page lol
 
telnet777
Old
#457  
telnet777's Avatar
Senior Member
Thanks Meter 38
Posts: 133
Join Date: Feb 2012
Quote:
Originally Posted by LibertyMonger View Post
kanger [kahng-ger] noun : A person with enough skill to compile CyanogenMod from source, but generally does not have enough coding experience to provide fixes or support.

Just seen this on the euroskank page lol
It's me, lol


Sent from my Milestone XT711 using XDA
 
telnet777
Old
(Last edited by telnet777; 16th April 2012 at 10:29 AM.)
#458  
telnet777's Avatar
Senior Member
Thanks Meter 38
Posts: 133
Join Date: Feb 2012
I meet a problem when using a version of cm7.
When use CameraMoto.apk to take picture, it is very likely that the phone not response and then force to close or had to kill this apk manually.

when selecting 'OCR' inside of CameraMoto's menu, it force to close and left the camera light on. It can only be solved by reboot the phone.

Then I use poco camera, it is better than CameraMoto. But it has same problem.

After the CameraMoto exited abnormally, something like 'already has a client' appears in logcat when clicking this apk again.
Because the CameraMoto has exited abnormally, android.hardware.Camera.release() is not called and the camera is still be locked. So when android.hardware.Camera.open(int) is called again, it failed to open camera and exited without any prompt.

I tried to kill mediaserver, then open camera successfully. But when kill mediaserver again, the phone reboot(maybe the phone think the system running with major errors).

I found that it will come back to normal after the CameraMoto has exited abnormally and wait the screen standby timeout. In my case, the CameraMoto exited without release camera. Then wait 10 minutes, the screen come to black, and the camera light off. Then CameraMoto can open camera again. So I changed the screen standby timer from 10 minutes to 15 seconds, it works!

So I want to ask a question, when the screen timeout, who released the camera?(Edit:I've found by myself.)
If this can be figured out, I can build an apk to this work.

I also googled much to sovle this probelm and found this link(try hard to use CameraMoto.apk):
https://github.com/CyanogenModXT720/...28e544d17cb526

Does the CameraMoto.apk can works on gingerbread perfectly?
Can I fix this kind of problems by add or repalce these files under /system directory?

Code:
/app/CameraMoto.apk
/framework/com.motorola.android.camera.jar/lib/libcaps.so
/lib/libpanorama.so
/lib/libpanorama_jni.so
/lib/libscalado.so
Thanks in advance for anyone who can give me any advice


Edit1:
I got more logcat.
These lines appears in logcat when then screen off and then on.
It makes the camera start to work again.
Code:
I/power   ( 2078): *** set_screen_state 0
D/SurfaceFlinger( 2078): About to give-up screen, flinger = 0x121850
W/PowerManagerService( 2078): AttributeCache cleared
W/SSM     ( 1501): no ack
I/CPUSettings( 2230): Screen off or normal max CPU freq not saved. No change.
I/ActivityManager( 2078): Start proc com.bf.sgs for broadcast com.bf.sgs/.MainActivity$ApnReceiver: pid=7865 uid=10058 gids={3003, 1015, 1007}
E/dalvikvm( 7865): could not disable core file generation for pid 7865: Operation not permitted
D/CameraHal( 1497): Resetting overlay q'd buffer status to false
D/CameraHal( 1497): stopPreview
D/CameraHal( 1497): CameraHal release
D/CameraHal( 1497): deinitPvOverlay()
D/CameraHal( 1497): CameraHal destructor
D/CameraHal( 1497): setTorchParameters /0/0
D/CameraHal( 1497): Did you see AF LED Glow?!
I/HPAndroidHAL( 1497): APILOG: ExitHPLibraries
I/HPAndroidHAL( 1497): APILOG: state machine shutting down...
I/HPAndroidHAL( 1497): APILOG: components shutting down...
I/HPAndroidHAL( 1497): APILOG: all components uninitialized.
I/HPAndroidHAL( 1497): APILOG: all components destroyed.
I/HPAndroidHAL( 1497): APILOG: library shutdown complete.
D/CameraHal( 1497): CameraSettings destructor
I/power   ( 2078): *** set_screen_state 1
Who knows how to do this in apk?
And I just tested when the phone connect to pc via usb,my way mentioned is useless.
I'll get a logcat to compare and figure out why?

Edit2:
When the phone connected to pc, CameraHal doesn't restart the camera.
Code:
I/power   ( 2078): *** set_screen_state 0
D/SurfaceFlinger( 2078): About to give-up screen, flinger = 0x121850
W/PowerManagerService( 2078): AttributeCache cleared
W/SSM     ( 1501): no ack
I/CPUSettings( 2230): Screen off or normal max CPU freq not saved. No change.
I/ActivityManager( 2078): Start proc com.bf.sgs for broadcast com.bf.sgs/.MainActivity$ApnReceiver: pid=8423 uid=10058 gids={3003, 1015, 1007}
E/dalvikvm( 8423): could not disable core file generation for pid 8423: Operation not permitted
I/ActivityManager( 2078): Process com.sina.weibo.servant (pid 8408) has died.
W/ActivityManager( 2078): Scheduling restart of crashed service com.sina.weibo/com.igexin.sdk.GexinMainService in 45304ms
I/ActivityManager( 2078): Low Memory: No more background processes.
I/power   ( 2078): *** set_screen_state 1

Edit3:
I found it's the mediaserver【PID=1497】 who restart the camera. So when kill it(which let it restart) the camera can restart to work as I mentioned above.
So does anyone knows how to restart mediaserver without cell phone reboot? Any advice is appreciated.
Code:
media     1497  1     119932 21312 ffffffff afd0b93c S /system/bin/mediaserver
 
tvktmgm
Old
#459  
tvktmgm's Avatar
Member
Thanks Meter 3
Posts: 74
Join Date: Dec 2009
Thumbs up Hi fifalcon....? Help CM9

CM9 Rom build 13/04 run better build 40/04 but the camera at FC and very slow activity:
1. / Need to fix up 60-70MB ram running slow and hot work
2. / Videorecoring not work
3. / Rom should fix works well and fast, clocking CPU 1Gb ....
4. / App Kill Further applications are operating underground.
5. / Some games do not work Fieldrunners + HD + v1.15 not work ..?

Thanks Fifalcon
 
space4ace
Old
(Last edited by space4ace; 17th April 2012 at 04:32 PM.)
#460  
space4ace's Avatar
Senior Member
Thanks Meter 36
Posts: 131
Join Date: Apr 2011
Here's what I've done to help with internal storage on CM9.

First, always make a nandroid backup before anything else, just I'm case.

I removed all videos from /system/media/video.
fjfalcon: Maybe this could be removed in the next update?

ATTENTION : In the following step, please copy to recovery first in Menu Application Management if you think you might want to recover the apps again to system.

I went into open recovery, Other Utilities, Menu Application Management, System Apps and removed following system apps: DSPManager, email, music (I use another music player), talk (I never use it), torch, trebuchet (PLEASE INSTALL A NEW LAUNCHER BEFORE REMOVING. I prefer Apex launcher). I also removed the live wallpapers since I don't use them.

It does seem to help a little.

Sent from my Milestone XT720 using xda premium

The Following User Says Thank You to space4ace For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes