Related
are there any modifications needed to Lox's Proprietary files to compile android source for the cdma hero?
Anybody know this?
Wish I could give you an answer -- never tried it myself though.
I keep getting errors on line 22 in a make file. I don't remember the exact error and am posting on my hero right now. If I figure this out ill post back.
Hi Guys,
I compiled an eclair rom using the 2.9.26-eclair branch of Cyanogen kernel on github . And I ported the camera-related sources from donut branch to eclair branch. Now both 3d and camera can work on my G1. But I still canoot play mp4 on G1.
Would you please tell me how to make mp4 work on G1? I knew Kingklick had succeed to make mp4 work. Is his sources open?
Thanks.
loveheaven said:
Hi Guys,
I compiled an eclair rom using the 2.9.26-eclair branch of Cyanogen kernel on github . And I ported the camera-related sources from donut branch to eclair branch. Now both 3d and camera can work on my G1. But I still canoot play mp4 on G1.
Would you please tell me how to make mp4 work on G1? I knew Kingklick had succeed to make mp4 work. Is his sources open?
Thanks.
Click to expand...
Click to collapse
working dec libs come from the 2.1 drioderis dump which you can find in the eris dev forums.
you can also find them here
http://forum.xda-developers.com/showpost.php?p=5793964&postcount=667
Firerat said:
working dec libs come from the 2.1 drioderis dump which you can find in the eris dev forums.
you can also find them here
Click to expand...
Click to collapse
Would you please tell me which libs I should push into my 32B G1? I pushed libopencore_mp4*.so libOmxMpeg4.so from droid eris dump into my g1. But after that when I reboot my phone, my phone cannot be rebooted and stays at the first "G1 Tmobile" splash screen.
loveheaven said:
Would you please tell me which libs I should push into my 32B G1? I pushed libopencore_mp4*.so libOmxMpeg4.so from droid eris dump into my g1. But after that when I reboot my phone, my phone cannot be rebooted and stays at the first "G1 Tmobile" splash screen.
Click to expand...
Click to collapse
Code:
mkdir eris;mkdir Firerat3dvid
cd Firerat3dvid
unzip <fullpath to the update zip>
export SomeOtherDir=$PWD
cd ../eris
unzip <fullpath to dump zip>
cat > ~/bin/compmd5sum << "EOF"
#!/bin/sh
# md5sum a bunch of stuff
md5sum $1;md5sum $SomeOtherDir/$1;adb shell md5sum /$1
EOF
chmod 755 ~/bin/compmd5sum
find . |sed s/^/compmd5sum\ /|sh
now you can compare files in two dir on your linux box against the ones on your phone, tells you whats 'missing' what are the same and what are different
PS the files you need are in the zip files in the link I gave you
just thought that the above script might come in handy for someone wanting to compare files
Thank you very much!
I downloaded the CE-12-Patch_3D_vid_signed.zip you prodivded and pushed all the libraries in your zip (except the wlan.ko) into my G1. The kernel my G1 used is built from Cyanogen kernel eclair branch. After pushing the libraries, I reboot my G1.But the G1 got stucked in the first "T-mobile G1" splash screen and couldn't be reboot into the system.
Why did it happen? I should use your kernel?? The opencore library depends on the kernel?? I think the opencore is independent. Even if there is something wrong with opencore, G1 can always be reboot. Am I wrong?
Firerat said:
Code:
mkdir eris;mkdir Firerat3dvid
cd Firerat3dvid
unzip <fullpath to the update zip>
export SomeOtherDir=$PWD
cd ../eris
unzip <fullpath to dump zip>
cat > ~/bin/compmd5sum << "EOF"
#!/bin/sh
# md5sum a bunch of stuff
md5sum $1;md5sum $SomeOtherDir/$1;adb shell md5sum /$1
EOF
chmod 755 ~/bin/compmd5sum
find . |sed s/^/compmd5sum\ /|sh
now you can compare files in two dir on your linux box against the ones on your phone, tells you whats 'missing' what are the same and what are different
PS the files you need are in the zip files in the link I gave you
just thought that the above script might come in handy for someone wanting to compare files
Click to expand...
Click to collapse
loveheaven said:
Thank you very much!
I downloaded the CE-12-Patch_3D_vid_signed.zip you prodivded and pushed all the libraries in your zip (except the wlan.ko) into my G1. The kernel my G1 used is built from Cyanogen kernel eclair branch. After pushing the libraries, I reboot my G1.But the G1 got stucked in the first "T-mobile G1" splash screen and couldn't be reboot into the system.
Why did it happen? I should use your kernel?? The opencore library depends on the kernel?? I think the opencore is independent. Even if there is something wrong with opencore, G1 can always be reboot. Am I wrong?
Click to expand...
Click to collapse
your linux will be running fine, its the Android that isn't happy
the libs are not dependent on the kernel, but may be dependent on something which is already in CE
tbh I can't really help you , I have no idea what 'ROM' you are pushing these libs to.....
logcat is your friend, I have a whole bunch of them on one line
Code:
adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat
make sure your phone is connected the first time, and it will happily sit there when you unplug, 'waiting for device' till you plug it back in.
and in another console
adb shell busybox top
sometimes you can even shell in if you are not seeing anything on logcat
'busybox top' will give you an idea of what is running
and there is nothing stopping you from having a couple more terminals open
one with a shell for 'doing stuff' and another for pushing and pulling stuff
all while watching top and logcat
your loop is probably to do with drm, but the logcat will tell you
Firerat said:
your linux will be running fine, its the Android that isn't happy
the libs are not dependent on the kernel, but may be dependent on something which is already in CE
tbh I can't really help you , I have no idea what 'ROM' you are pushing these libs to.....
logcat is your friend, I have a whole bunch of them on one line
Code:
adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat;adb logcat
make sure your phone is connected the first time, and it will happily sit there when you unplug, 'waiting for device' till you plug it back in.
and in another console
adb shell busybox top
sometimes you can even shell in if you are not seeing anything on logcat
'busybox top' will give you an idea of what is running
and there is nothing stopping you from having a couple more terminals open
one with a shell for 'doing stuff' and another for pushing and pulling stuff
all while watching top and logcat
your loop is probably to do with drm, but the logcat will tell you
Click to expand...
Click to collapse
Thank you very much!
I used your method and found it is because my rom could not load the libwebcore.so in your zip. So I pushed my orignal libwebcore.zip back into G1, my G1 can boot now. But after that I still cannot watch Mp4 on my G1...
Would you please give me some advice? Thanks.
loveheaven said:
Thank you very much!
I used your method and found it is because my rom could not load the libwebcore.so in your zip. So I pushed my orignal libwebcore.zip back into G1, my G1 can boot now. But after that I still cannot watch Mp4 on my G1...
Would you please give me some advice? Thanks.
Click to expand...
Click to collapse
CE1.2 with my vid patch
wait for CE2
or Kings 1.8 AOSP
or
check the code in this
http://forum.xda-developers.com/showpost.php?p=5889900&postcount=4
with a bit of deduction, you could figure out what is missing/different
as I said in my last post, I can't help you as I have no idea what ROM you are trying to get mp4 to run on.........................................
Installing/Pushing CE-12-Patch_3D_Vid_signed.zip
Got a question... I recently downloaded the v4_1.zip, and was wondering if it's possible to incorporate the CE-12-Patch_3D_Vid_signed.zip in to it. I'm not new to the whole rooting thing, and have tried several variations of the Eclair and Donut roms floating around here. Unfortunately, I'm not to well versed in ADB. My main interest in pushing the above zip is to finally have an Eclair rom with working video. If anyone can help me out with this, it'd be greatly appreciated.
will4958 said:
Got a question... I recently downloaded the v4_1.zip, and was wondering if it's possible to incorporate the CE-12-Patch_3D_Vid_signed.zip in to it. I'm not new to the whole rooting thing, and have tried several variations of the Eclair and Donut roms floating around here. Unfortunately, I'm not to well versed in ADB. My main interest in pushing the above zip is to finally have an Eclair rom with working video. If anyone can help me out with this, it'd be greatly appreciated.
Click to expand...
Click to collapse
the v4 is a different beast
King's Eris has working video
King's Eris CachHacked has working video and is a lot faster
CE-12-Patch_3D_Vid_signed.zip
Thanks for the response. Actually, I was only using the v4 rom as an example. I have tried King's Eris rom, and I think I have the most recent version of it, but the last time I tried it the camcorder did it's I'm not gonna work for you thing. Is there a way to push the CE-12-Patch_3D_Vid_signed.zip to this rom instead, or did I misinterpret the description of this patch? At any rate, it is fun trying all these new and different roms. Can't wait for a fully working 2.0 pastry.
P.S: I just tried the FR-v4OL-CH-0-1_S.zip rom, and it does have video playback. Unfortunately, the camcorder is still non-funtional, of course, and data doesn't appear to be working.
will4958 said:
Thanks for the response. Actually, I was only using the v4 rom as an example. I have tried King's Eris rom, and I think I have the most recent version of it, but the last time I tried it the camcorder did it's I'm not gonna work for you thing. Is there a way to push the CE-12-Patch_3D_Vid_signed.zip to this rom instead, or did I misinterpret the description of this patch? At any rate, it is fun trying all these new and different roms. Can't wait for a fully working 2.0 pastry.
P.S: I just tried the FR-v4OL-CH-0-1_S.zip rom, and it does have video playback. Unfortunately, the camcorder is still non-funtional, of course, and data doesn't appear to be working.
Click to expand...
Click to collapse
/data not working?
if data wasn't working it wouldn't boot past the bootanimation splashscreen
if data is 'full' reboot, it will correct itself
Unfortunately, when I try to do something that requires a data connection, it suggests using wifi. During setup, I did select the first connection option, which I think was data and wifi or something like that. When I try to go into Market to sign in that way, I can't connect. Is there a step I'm missing, or has this happened to anyone else? Also, is there a way to push the CE-12-Patch_3D_Vid_signed.zip into the FR-v4OL-CH-0-1_S.zip rom, or can I just flash like a normal zip? Thanks in advance.
will4958 said:
Unfortunately, when I try to do something that requires a data connection, it suggests using wifi. During setup, I did select the first connection option, which I think was data and wifi or something like that. When I try to go into Market to sign in that way, I can't connect. Is there a step I'm missing, or has this happened to anyone else? Also, is there a way to push the CE-12-Patch_3D_Vid_signed.zip into the FR-v4OL-CH-0-1_S.zip rom, or can I just flash like a normal zip? Thanks in advance.
Click to expand...
Click to collapse
ahh, sorry I'm getting all mixed up, because everyone is stressed out over FR-a2sd using /data for something useful instead of leaving it as an empty,wasted space.
yes, data connection is not working, tbh I don't know why the Market doesn't work even if wifi is working..
The CE-12-Patch_3D_Vid_signed.zip isn't going to do anything for FR-v4OL-CH-0-1_S.zip
its just a 3D kernel , and libs I took from the eris dump which got video working.
infact , the libs are 'mostly' the same as the ones already in v4OL
( which means I'm totally not understanding why video is dark, got to be a framework thing, maybe, I don't really know, just guessing )
Flashing / pushing CE-12-Patch is just going to kill v4OL
I did CE-12-Patch a long time ago, shortly after re-visiting xda after initially rooting my g1 way back in Feb '09.. kinda wished I'd stuck around then.
anyway, CE-12-Patch WILL break v4OL, is it doesn't mount mtdblock4 in the right place.
the v4OL is beta , lots of things don't work
if you get your kicks trying to fix broken things, or making yourself understand things you don't understand ( i.e. you self teach )
then it is for you.
if you want things to work 'out of the box' ,
King's Eris mostly works
ce12 cachehack works
ce2.0 works ( with a 'lil' fixup, facebook fix is in the thread FR*S.zip coming soon.. )
OE1.3.0.1 has things working ( anyone flashed ce12-patch over oe1.3 ? )
and good ol' SuperD works very well.
personally I think your best root is the CE12 CacheHack
It's fully functional, and best of all, CE2.0 is a *no wipe* update
You can flash CE2.0 , just a couple of fixes that need to be consolidated
they are in the thread , minor fix is at post #1401 ( which I will update to a "no hassle,flash straight after CE2.0" soon )
(This post will only make sense to developers)
SMD devices are the /dev/smd* character devices on Sense and cyanogenmod
Cyanogenmod 7 comes with /dev/smd0 and /dev/smd27
Sense comes with /dev/smd0, 1, 9, 19, 26 and 27
Their nodes are major number 254 minor number same as the number in the file. So, e.g. /dev/smd0 is a 254,0 node, and /dev/smd27 is a 254,27
0 and 19 are owned by radio, the rest are owned by root
what each appears to do...
0 : radio commands
1 : ??
9 : ?? opened by dmagent process
19 : prints out HTC_RMSL and HTC_ROTKSL when running ##DATA# as well as hex strings when connecting 4G
26 : prints out →→→→→→→→→→→→→→→→
27 : GPS/AGPS data
I was looking at these trying to figure out what GPSCLRX does. I think dmagent receives commands from the DM Service and possibly writes commands to these files (devices). I tried replacing each SMD file with a 'mkfifo', and catting from it, to see if GPSCLRX was sending commands there, but it didn't seem to show anything.
One can use strace to trace dmagent and e.g. get it going on cyanogenmod .. need to copy libs to /vendor/lib and then make a null device in /dev/smd9
adding the htc framework to BOOTCLASSPATH should get epst going, haven't had a chance to try it yet though. add main intents to the activites to be able to launch them.
gpsclrx is a gps cache clear command, you can dial ##gpsclrx# on a sense ROM and it wipes gps info clean. in fact, if you are having issues with gps locking on in cm7, you have to boot into a sense rom, use that command, then go back to a clean cm7 install.
timothydonohue said:
gpsclrx is a gps cache clear command, you can dial ##gpsclrx# on a sense ROM and it wipes gps info clean. in fact, if you are having issues with gps locking on in cm7, you have to boot into a sense rom, use that command, then go back to a clean cm7 install.
Click to expand...
Click to collapse
That is correct. Trying to figure out what it does exactly, so that functionality could be put in an app for CM7.
I can't translate any of that and I have no idea what that means. But definitely a good idea and what looks like a good start on getting GPSCLR functionality on CM.
timothydonohue said:
gpsclrx is a gps cache clear command, you can dial ##gpsclrx# on a sense ROM and it wipes gps info clean. in fact, if you are having issues with gps locking on in cm7, you have to boot into a sense rom, use that command, then go back to a clean cm7 install.
Click to expand...
Click to collapse
I went back to my CM7 nandroid with broken GPS, and well it wasnt broken anymore (after ##gpsclrx# on sense rom)
what im taking from this is he is trying to make it so u can keep running the CM7 and not have to flash the sense rom anymore. while im out to sea im trying to add this stuff also like u are.
There must be a way to access the "radio" from an app of some sort
Allegedly these guys have found some way to enable the EPST menu for AOSP, but I have yet to see that apk. It has been about a month and no update. They link to Github, and I have picked apart everything in the zip, but I have no idea what it all means/does. Maybe you can take a look and see if anything is there.
I could be wrong, but doesn't the GPS Status app perform the same function as GPSCLR outside of the EPST framework? If so, then that might be a clue. Of course, EPST support in ASOP ROMs would be better.
That app in the link will not necessarily allow EPST commands on CM. I plan to update that post tonight to clear things up...
Sent from my Evo
snandlal said:
There must be a way to access the "radio" from an app of some sort
Click to expand...
Click to collapse
There is now. http://cleanimport.xda/index.php?threads/1037075/
strung said:
(This post will only make sense to developers)
SMD devices are the /dev/smd* character devices on Sense and cyanogenmod
Cyanogenmod 7 comes with /dev/smd0 and /dev/smd27
Sense comes with /dev/smd0, 1, 9, 19, 26 and 27
Their nodes are major number 254 minor number same as the number in the file. So, e.g. /dev/smd0 is a 254,0 node, and /dev/smd27 is a 254,27
0 and 19 are owned by radio, the rest are owned by root
what each appears to do...
0 : radio commands
1 : ??
9 : ?? opened by dmagent process
19 : prints out HTC_RMSL and HTC_ROTKSL when running ##DATA# as well as hex strings when connecting 4G
26 : prints out →→→→→→→→→→→→→→→→
27 : GPS/AGPS data
I was looking at these trying to figure out what GPSCLRX does. I think dmagent receives commands from the DM Service and possibly writes commands to these files (devices). I tried replacing each SMD file with a 'mkfifo', and catting from it, to see if GPSCLRX was sending commands there, but it didn't seem to show anything.
One can use strace to trace dmagent and e.g. get it going on cyanogenmod .. need to copy libs to /vendor/lib and then make a null device in /dev/smd9
adding the htc framework to BOOTCLASSPATH should get epst going, haven't had a chance to try it yet though. add main intents to the activites to be able to launch them.
Click to expand...
Click to collapse
I am running a modified Savaged-Zen AOSP rom at the moment. Added EPST.apk and com.htc.framework.jar. I edited the init.rc file in the bootimage, added the com.htc.framework.jar to the BOOTCLASSPATH.
I created a shortcut to launch EPST (com.google.android.epst.EPST) and an still seeing the missing method error referencing parts from the htc framework jar.
I know launching EPST like that wont "work", point was only to see if including that jar in the init.rc would resolve the log errors about missing methods.
Is there something else needed to have that jar file loaded on boot?
strung said:
(This post will only make sense to developers)
SMD devices are the /dev/smd* character devices on Sense and cyanogenmod
Cyanogenmod 7 comes with /dev/smd0 and /dev/smd27
Sense comes with /dev/smd0, 1, 9, 19, 26 and 27
Their nodes are major number 254 minor number same as the number in the file. So, e.g. /dev/smd0 is a 254,0 node, and /dev/smd27 is a 254,27
0 and 19 are owned by radio, the rest are owned by root
what each appears to do...
0 : radio commands
1 : ??
9 : ?? opened by dmagent process
19 : prints out HTC_RMSL and HTC_ROTKSL when running ##DATA# as well as hex strings when connecting 4G
26 : prints out →→→→→→→→→→→→→→→→
27 : GPS/AGPS data
I was looking at these trying to figure out what GPSCLRX does. I think dmagent receives commands from the DM Service and possibly writes commands to these files (devices). I tried replacing each SMD file with a 'mkfifo', and catting from it, to see if GPSCLRX was sending commands there, but it didn't seem to show anything.
One can use strace to trace dmagent and e.g. get it going on cyanogenmod .. need to copy libs to /vendor/lib and then make a null device in /dev/smd9
adding the htc framework to BOOTCLASSPATH should get epst going, haven't had a chance to try it yet though. add main intents to the activites to be able to launch them.
Click to expand...
Click to collapse
I've tried to intercept /dev/smd traffic with a fifo before too, it just won't work. What *does* work is to use a pty instead. My rilspy project on gitorious does this. You could use that as an example to try these other devices. Actually my guess is that you only need to see the /dev/smd0 traffic, which my rilspy will show you. Install it on sense, run epst, see what commands it issued.
Sent from my FRX06+ TP2 using Tapatalk
Seems I've lost my cellular radio. I was on CM10 20120725 for a few days, everything working fine except the known bugs.
Today suddenly the signal bars were replaced by an empty triangle and calls, SMS and mobile data not working.
Wifi is working fine.
Baseband version is showing properly in Settings > About phone. (0.16.31501S.17_2_10.23.31501S.10L).
I do get a PIN prompt when rebooting phone and after enable+disable Airplane mode.
Have reseated SIM card.
I have tried going back to a Nandroid of earlier CM10 version (20120722), clearing user data, wipe cache and wiping Dalvik cache. Same problem.
Now I'm on CM9-20120716, cleared user data, wiped cache and dalvik cache and flashing correct boot.img via fastboot. Kernel build date is 20120716 so pretty sure it flashed OK. Still no luck.
Here is a logcat of booting CM9-20120716 first time after flashing it, filtering out stuff the xkonni way:
Code:
adb logcat QMI-RIL:S QMI_FW:S QC-QDI:S QC-NETMGR:S QC-time-services:S LocSvc_api_v02:S LocSvc_utils_q:S LocSvc_utils_ll:S LocSvc_eng:S LocSvc_adapter:S GpsLocationProvider:S AK8975:S > my_issue.log
Filtered logcat: http://paste.giev.de/view/434ecf92
Maybe this part of the log is interesting?
ERROR ConnectivityService( 538): Ignoring protectedNetwork 10
ERROR ConnectivityService( 538): Ignoring protectedNetwork 11
ERROR ConnectivityService( 538): Ignoring protectedNetwork 12
ERROR MobileDataStateTracker( 538): default: Ignoring feature request because could not acquire PhoneService
ERROR MobileDataStateTracker( 538): default: Could not enable APN type "default"
Here is the same logcat unfiltered: http://paste.giev.de/view/bbce383d
Any ideas?
More attempts to troubleshoot this: I restored a stock 1.78 EU Nandroid. Here SMS and voicecalls work as well as WiFi, but no still no mobile data. Here is a filtered logcat on 1.78.
I then applied the 2.21.401.10 OTA which contains the 1.06s.50.02.27_2_10.08.50.04L radio. Still same results, voicecalls, SMS and WiFi OK but no mobile data.
frdd said:
More attempts to troubleshoot this: I restored a stock 1.78 EU Nandroid. Here SMS and voicecalls work as well as WiFi, but no still no mobile data. Here is a filtered logcat on 1.78.
I then applied the 2.21.401.10 OTA which contains the 1.06s.50.02.27_2_10.08.50.04L radio. Still same results, voicecalls, SMS and WiFi OK but no mobile data.
Click to expand...
Click to collapse
Edit: just checked my carriers website... The screenshot below basically says "Major Meltdown, our network is out nationwide, sorry"
Well that was 4 hours spent going over logcats and 5 ROM installations when I could've been doing something more worthwhile like anything LOL! And now I've got stock Sense ROM *shudders* ... thx Three...
lol well not really--a pain in the arse and scary
maybe a new carrier--
Look on the bright side - you now got the new Radio
orenfl said:
Look on the bright side - you now got the new Radio
Click to expand...
Click to collapse
Hehe yeah probably wouldnt have gotten around to that for a while otherwise
Hi All,
I downloaded source from here:
repo init -u .../platform/manifest -b gingerbread
Later I run:
lunch full_crespo-userdebug (this automatically gave me a version 2.3.7)
finally I flashed boot.img and system.img
The issue is: wifi and 3G do not work (other hardware components like audio work) --- when I tried to turn on wifi, it kept showing "turning on wifi....." and seemed the whole system then became very laggy and not stable.
What is wrong with it?
Thank you,
[ROM][Gingerbread]no working wifi/3G/Bluetooth after flashing built ROM/Kernel
nzhang27 said:
Hi All,
I downloaded source from here:
repo init -u .../platform/manifest -b gingerbread
.......
The issue is: wifi and 3G do not work (other hardware components like audio work) --- when I tried to turn on wifi, it kept showing "turning on wifi....." and seemed the whole system then became very laggy and not stable.
Click to expand...
Click to collapse
I tried gingerbread-release and this gave me 2.3.6 this time. The same issue. No working wifi, 3G and bluetooth. Did I miss something, like inserting modules? And do I need to download source from cm instead of google? Thank you.
can call, but cannot use 3G
nzhang27 said:
Hi All,
I downloaded source from here:
repo init -u .../platform/manifest -b gingerbread
Later I run:
lunch full_crespo-userdebug (this automatically gave me a version 2.3.7)
finally I flashed boot.img and system.img
The issue is: wifi and 3G do not work (other hardware components like audio work) --- when I tried to turn on wifi, it kept showing "turning on wifi....." and seemed the whole system then became very laggy and not stable.
What is wrong with it?
Thank you,
Click to expand...
Click to collapse
I tried CM7 and it works, but 3G is not enabled still. However I can make a call and receive calls. Any idea?
Thanks,
You need the crespo binaries too... Why are you building your own GB rom? Is it only for fun?
If it's only to have a stock GB on your phone, no point in building your own ROM, just flash the stock one.