Related
This thread's purpose is to off-load off-topic comments, comments about failing compilation, etc. from the main thread located:
http://forum.xda-developers.com/showthread.php?t=803103
please read the thread FROM POST #1 TO THE END before posting
most probably your question has already been asked
otherwise
* use the forum's search function
* use google:
Code:
site:forum.xda-developers.com gt-i9000 cyanogenmod 6.1
==> copy & paste and add your search term
e.g.:
- site:forum.xda-developers.com gt-i9000 cyanogenmod 6.1 ROM
- site:forum.xda-developers.com gt-i9000 cyanogenmod 6.1 ROM Doc Mod
------------------------------------------------------------------------
Which Phones are supported?
GT-I9000 + B/T/M
What about Vibrant, Captivate, Epic, Fascinate?
This version is only for GT-I9000 which means Samsung Galaxy S international.
Is there a list of all known bugs?
http://code.google.c...mod/issues/list
How to report bugs or problems?
- Updater Script failed? Get me the file "/mnt/emmc/cyanogenmod.log" and "/mnt/emmc/format_system.log".
- Was it a hard reboot? Get me the file "/proc/last_kmsg".
- Was it a soft reboot or a "boot loop"? Run "adb logcat" and get me the full output.
- Phone got stuck at white bootscreen? Run "adb shell" and then "mount" and get me the full output.
- http://pastebin.com links preferred
- Please use the issue tracker at http://code.google.c...mod/issues/list whenever possible!
Which Modem should i use?
JPP
How to revert back to a Samsung Rom?
Odin + Repartition. After this you can restore your nandroid backup.
What about sdcard's?
Stock Android doesn't support two sdcard's.
Internal sd: /mnt/emmc
External sd: /mnt/sdcard
I've no external sdcard. What can i do?
Buy one!
Or modify vold.fstab, remove all content and add following lines:
Code:
# internal sdcard
{
mount_deep = 0
ums_path = /sys/devices/platform/s3c-usbgadget/gadget/lun1/file
asec = disable
mbr_policy = skip
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc0
How to build from source?
http://forum.cyanoge...veloper-thread/
My phone is stuck at boot. What to do?
Boot into Recovery and choose: Data wipe / Factory reset
Does CM support rSAP protocol?
No.
Does CM support video calling?
No. Use a market App which can handle this.
Can we use Samsung Dialer or other Apps?
No. But you can install a App from Market that fits your needs.
There's no icon for HSDPA at statusbar?
Yes you're right. But HSDPA is supported but will be shown as 3G.
Is it possible to include Gapps in update.zip?
No, Google denied it.
--------------------------------------------------------------------
Awesome CyanogenMod for the SGS ! Those dudes are fulltime HaXXorZ - right ?
Nope, just normal users like you and me who taught themselves how to port and fix the CyanogenMod sources to make them run on our loved SGS - so give them a break with additional functionality questions
What do you mean by porting ?
use the all-knowing Google or Wikipedia (http://en.wikipedia.org/wiki/Porting)
this means, e.g. that you use the code from the Nexus One and add drivers and other needed stuff to make it work on the Samsung Galaxy S & after that compile it to the language of the SGS and make a ROM out of it (adding more stuff)
So who to ask if I need additional languages and features ?
Ask "upstream" (the developers/guys who develop CyanogenMod)
Where have the ROMs gone to ?
Disappeared - CyanogenMod 6.1 for the SGS currently is NOT for inexperienced "users" - so you need to build it on your own from source
(in fact they moved to cyanogenmod forums but that's NO reason to flood those forums, too, with "stupid", inexperienced/noobish questions)
Why are there less posts on forums.xda-developers.com from the developers than before ?
Inexperienced users scared & annoyed them away with noobish questions
---------------------------------------------------------------------------------------------------------
if you need information how to push stuff and other tasks:
read about android-sdk-windows or android-sdk-linux
there you'll find adb
with which you'll be able to do things like putting your phone into download-mode, push files to it and other nifty moves
People are still using the development thread...
Sent from my GT-I9000 using XDA App
Good idea, the main thread is getting cluttered.
Can someone who has got the cm build ruining do a series of benchmarks
Quadrant with ext2/4
Linpack
Benchmarkpi
Setcpu native bench
Glbench
A video would be great
Sent from my GT-I9000 using XDA App
I just compiled the kernel, but now dunno what to do :S
Yeah I got system.img and kernel... I know you use nandroid but the only nandroid I can find is for the G2. How do I do this bit?
Well idea is to push them to sd-card for ex. /sdcard/clockworkmod/backup/cyanogen
and
create MD5 hashes 'md5sum *img > nandroid.md5' (use adb)
boot to recovery, wipe, restore,boot, apply gapps, boot.
Someone correct me if wrong.
Don't you flash kernel with Odin? And is that before or after applying the nandroid?
jaju123 said:
Yeah I got system.img and kernel... I know you use nandroid but the only nandroid I can find is for the G2. How do I do this bit?
Click to expand...
Click to collapse
if you have a kernel with clockwork-recovery integrated like the ultimate lagfix kernel or the speedmod kernel by hardcore then you allready have nandroid! you just copy the system.img to your sdcard/clockwork/backup/somedir folder. then you freate a nandroid.md5 file with md5sum system.img > nandroid.md5 and your ready to restor. be sure to do a factory reset/wipe before or after and flash the cm-kernel.
edit, @Anteuz: hah, you were faster. and no, you are absolutely right
You can also unaffs the system.img, and make an update.zip, with modem and kernel, and put the gapps in the same zip. I did it this way and its running nicely. No sd ext acess yet tho.
I wonder if its only to add new symlinks in the update script to get the sd ext mounted properly... hmmm
something interesting: i pulled the newest initramfs from aery before and saw that they have changed the mounts from rfs to ext4. i am currently compiling a kernel with ext4 support ... now we only need a update.zip which converts data udn dbdata to ext4 and we are ready to go (or we use ul-kernel to convert...). this should give us another speed boost
Now if I only could be able to compile working system.img, currently it dies of some strange issue like:
PHP:
D/AndroidRuntime( 2587): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
I/AndroidRuntime( 2587): Heap size: -Xmx16m
D/AndroidRuntime( 2587): CheckJNI is OFF
D/dalvikvm( 2587): creating instr width table
E/dalvikvm( 2587): Can't open dex cache '/cache/dalvik-cache/[email protected]@co
[email][email protected][/email]': No such file or directory
I/dalvikvm( 2587): Unable to open or create cache for /system/framework/core.jar
(/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 2587): Unable to process classpath element '/system/framework/core.j
ar'
E/dalvikvm( 2587): Can't open dex cache '/cache/dalvik-cache/[email protected]@ex
[email][email protected][/email]': No such file or directory
I/dalvikvm( 2587): Unable to open or create cache for /system/framework/ext.jar
(/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 2587): Unable to process classpath element '/system/framework/ext.ja
r'
E/dalvikvm( 2587): Can't open dex cache '/cache/dalvik-cache/[email protected]@fr
[email][email protected][/email]': No such file or directory
I/dalvikvm( 2587): Unable to open or create cache for /system/framework/framewor
k.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 2587): Unable to process classpath element '/system/framework/framew
ork.jar'
E/dalvikvm( 2587): Can't open dex cache '/cache/dalvik-cache/[email protected]@an
[email][email protected][/email]': No such file or directory
I/dalvikvm( 2587): Unable to open or create cache for /system/framework/android.
policy.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 2587): Unable to process classpath element '/system/framework/androi
d.policy.jar'
E/dalvikvm( 2587): Can't open dex cache '/cache/dalvik-cache/[email protected]@se
[email][email protected][/email]': No such file or directory
I/dalvikvm( 2587): Unable to open or create cache for /system/framework/services
.jar (/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 2587): Unable to process classpath element '/system/framework/servic
es.jar'
E/dalvikvm( 2587): ERROR: no valid entries found in bootclasspath '/system/frame
work/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/
framework/android.policy.jar:/system/framework/services.jar'
W/dalvikvm( 2587): JNI_CreateJavaVM failed
E/AndroidRuntime( 2587): JNI_CreateJavaVM failed
I/ServiceManager( 2370): service 'media.audio_flinger' died
I/ServiceManager( 2370): service 'media.player' died
I/ServiceManager( 2370): service 'media.camera' died
I/ServiceManager( 2370): service 'media.audio_policy' died
I/ ( 2588): ServiceManager: 0xafb8
E/ALSALib ( 2588): external/alsa-lib/src/control/control.c:902:(snd_ctl_open_nou
pdate) Invalid CTL AndroidOut
W/AudioHardwareALSA( 2588): Unable to attach mixer to device AndroidOut: No such
file or directory
E/ALSALib ( 2588): external/alsa-lib/src/control/control.c:902:(snd_ctl_open_nou
pdate) Invalid CTL AndroidIn
W/AudioHardwareALSA( 2588): Unable to attach mixer to device AndroidIn: No such
file or directory
I/CameraService( 2588): CameraService started: pid=2588
D/AudioHardwareALSA( 2588): openOutputStream called for devices: 0x00000002
D/ALSAModule( 2588): open called for devices 00000002 in mode 0...
I/ALSAModule( 2588): Initialized ALSA PLAYBACK device AndroidPlayback_Speaker_no
rmal
D/AudioFlinger( 2588): setParameters(): io 1, keyvalue routing=2, tid 2590, call
ing tid 2588
I/AudioFlinger( 2588): AudioFlinger's thread 0x263f8 ready to run
D/ALSAModule( 2588): route called for devices 00000002 in mode 0...
It's been a while since I've been compiling anything on *nix. I am mainly Java guy. Anybody have any glue what's going on with that ^^
I do get some drm\java errors when I start build and then it said something about changing api but that got solved with make api something..
Another whisky and another go around.
Right, doesn't the ext4 conversion require an update.zip? I remember Aery saying that over in the other thread I think idk.
Doc is your zip based on the newest source from git with ext4 and everything?
Any chance you could post your zip? I know it might encourage stupid people to flash but that's life I guess...
At least could you write some brief guide on how to do it?
Also I found this on Google, is this the current kernel? http://www.multiupload.com/R6KFORO36L
If Doc could share, I could mirror the zip from my dropbox public folder for a while, so there would be no need to mess with rapid upload or some other annoying file share services.
chambo622 said:
Right, doesn't the ext4 conversion require an update.zip? I remember Aery saying that over in the other thread I think idk.
Doc is your zip based on the newest source from git with ext4 and everything?
Any chance you could post your zip? I know it might encourage stupid people to flash but that's life I guess...
At least could you write some brief guide on how to do it?
Also I found this on Google, is this the current kernel? http://www.multiupload.com/R6KFORO36L
Click to expand...
Click to collapse
My update zip is heavily modded so maybe better to make a new one. i just compiling a new rom with the latest changes.
Yeah I want to be sure he has the latest zip with ext4 stuff and everything going on, if that could be shared that would be great.
Repo sync and building from source takes absolutely forever on slower computers, this would help a lot of people who are "mentally qualified" to run this but don't have the time/horsepower to get it going in a timely fashion.
DocRambone said:
My update zip is heavily modded so maybe better to make a new one. i just compiling a new rom with the latest changes.
Click to expand...
Click to collapse
Thanks Doc, this thing has been chugging for hours on my poor 1.2Ghz Core Solo
chambo622 said:
Thanks Doc, this thing has been chugging for hours on my poor 1.2Ghz Core Solo
Click to expand...
Click to collapse
I am not sure thats its a good idea to post an update.zip. Would be to easy for new users to break things.And the rom devs should have the honour to do this. Its still a beta and some important things is not functional yet.
I wish I could do this. If I manage to get going is a 3GHz core 2 quad enough horsepower? I don't want to start and find out it takes forever :-(
Sent from my GT-I9000 using XDA App
PaulForde said:
I wish I could do this. If I manage to get going is a 3GHz core 2 quad enough horsepower? I don't want to start and find out it takes forever :-(
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
it takes like 60 minutes on my core2Duo 1.6Ghz notebook
DocRambone said:
I am not sure thats its a good idea to post an update.zip. Would be to easy for new users to break things.And the rom devs should have the honour to do this. Its still a beta and some important things is not functional yet.
Click to expand...
Click to collapse
Okay I will keep working on it.
I'm currently building using the instructions on the OP in the main thread which I take it will produce a system.img. Then I can produce the nandroid.md5. If I flash the nandroid and then flash the kernel, reboot, flash gapps, etc. will I be ready to go? Or will this not work since it needs to convert to ext4??
Hi all,
Does anyone managed to compile latest CM 6.2 (froyo) sources?¿?¿. I get errors when compiling CMParts and if I choose not to compile CMParts, I get a package that gets me in to crash loops on first start.....
Many Thanks in Advance,
Perdita2000
perdita2000 said:
Hi all,
Does anyone managed to compile latest CM 6.2 (froyo) sources?¿?¿. I get errors when compiling CMParts and if I choose not to compile CMParts, I get a package that gets me in to crash loops on first start.....
Many Thanks in Advance,
Perdita2000
Click to expand...
Click to collapse
You need CMParts. Can you post the compilation errors?
These are my compile errors...
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/DisplayActivity.java:72: cannot find symbol
symbol : variable config_enableScreenOffAnimation
location: class com.android.internal.R.bool
getResources().getBoolean(com.android.internal.R.bool.config_enableScreenOffAnimation) ? 1 : 0) == 1);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/DisplayActivity.java:83: cannot find symbol
symbol : variable ACCELEROMETER_ROTATE_180
location: class android.provider.Settings.System
Settings.System.ACCELEROMETER_ROTATE_180, 0) == 1);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/DisplayActivity.java:96: cannot find symbol
symbol : variable ELECTRON_BEAM_ANIMATION_ON
location: class android.provider.Settings.System
Settings.System.ELECTRON_BEAM_ANIMATION_ON, value ? 1 : 0);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/DisplayActivity.java:102: cannot find symbol
symbol : variable ELECTRON_BEAM_ANIMATION_OFF
location: class android.provider.Settings.System
Settings.System.ELECTRON_BEAM_ANIMATION_OFF, value ? 1 : 0);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/DisplayActivity.java:108: cannot find symbol
symbol : variable ACCELEROMETER_ROTATE_180
location: class android.provider.Settings.System
Settings.System.ACCELEROMETER_ROTATE_180, value ? 1 : 0);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIActivity.java:125: cannot find symbol
symbol : variable OVERSCROLL_EFFECT
location: class android.provider.Settings.System
Settings.System.OVERSCROLL_EFFECT, 1);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIActivity.java:196: cannot find symbol
symbol : variable OVERSCROLL_EFFECT
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.OVERSCROLL_EFFECT,
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
11 errors
make: *** [out/target/common/obj/APPS/CMParts_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Many Thanks for you Help!!!
Perdita2000
I'm not modifyng any code because first compilation of any CM sources I always use source as is, then I try this created CM-untouched-sources rom and start to make changes (I am developing on CM7 and would like to have my own CM6.2 too...)
Many Thanks,
Perdita2000
I would check two things:
A. That you updated all the repositories. Do another "repo sync" to make sure everything is up to date. If you are using some repositories which you forked (or someone else) they also need to be updated "manually".
B. Do a clean build, by totally removing the "out" directory and then try to recompile it.
If you are still having trouble I can try to look into it, maybe even tonight.
Download froyo_stable CMParts,then it is no problem to compile,or I upload my modified CMParts 6.2.0 with setcpu etc... if you want that
This should fix the issue:
Code:
cd packages/apps/CMParts && git checkout 69613a248519fed7d971bd6292013d36097d0107
- taken from http://forum.cyanogenmod.com/topic/15353-froyo-compile-cannot-find-symbol-error/
At least, that fixed the issue for me.
erasmux said:
I would check two things:
A. That you updated all the repositories. Do another "repo sync" to make sure everything is up to date. If you are using some repositories which you forked (or someone else) they also need to be updated "manually".
B. Do a clean build, by totally removing the "out" directory and then try to recompile it.
If you are still having trouble I can try to look into it, maybe even tonight.
Click to expand...
Click to collapse
I have done A and B yet a few days ago, but nothing was solved and I found k0ner solution too, but It seems to solved compilation issue (can't find what patch 69613a248519fed7d971bd6292013d36097d0107 do?¿?¿, don't know how to search this code on git...) but ROM compiled doesn't boot (boot loop, but don't have error now, I will reproduce it and send logcat...).
Where can I find CMParts stable?¿?¿
Many Thanks to ALL,
Perdita2000
Elelinux, do you mean use froyo-stable branch for CMParts??
Many Thanks,
Perdits2000
perdita2000 said:
Where can I find CMParts stable?¿?¿
Many Thanks to ALL,
Perdita2000
Click to expand...
Click to collapse
Here https://github.com/CyanogenMod/android_packages_apps_CMParts/tree/froyo-stable
perdita2000 said:
Elelinux, do you mean use froyo-stable branch for CMParts??
Many Thanks,
Perdits2000
Click to expand...
Click to collapse
Yes as you see in post above,download it and replace it with that CMParts you have now.
A fully up to date CM6 ROM? I sincerely hope this works out! I think this would be the ideal ROM for our HTC Hero. Gingerbread's a bit slow on the Hero, but Froyo has always worked well.
I'm just writing this to let you know I'd be hugely appreciative of any ROM that you end up producing here!
I am getting same boot loop as when I applied mentioned patch....
I have synced CMParts git with froyo-stable brunch and compile again (clean before new compile) and no errors (typical VM cores from out of memory .... I always get one or two during compilation on CM7 but everything works fine... not enough memory for compilations ( ), but after flash new rom it loops on HTC HERO with following errors...
I/dalvikvm( 161): System server process 164 has been created
I/Zygote ( 161): Accepting command socket connections
I/dalvikvm( 164): Unable to dlopen(/system/lib/libandroid_servers.so): Cannot load library: link_image[2033]: failed to link libandroid_servers.so
I/dalvikvm( 164):
D/AndroidRuntime( 164): Shutting down VM
W/dalvikvm( 164): threadid=1: thread exiting with uncaught exception (group=0x400207e0)
E/AndroidRuntime( 164): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 164): java.lang.UnsatisfiedLinkError: Library android_servers not found
E/AndroidRuntime( 164): at java.lang.Runtime.loadLibrary(Runtime.java:461)
E/AndroidRuntime( 164): at java.lang.System.loadLibrary(System.java:557)
E/AndroidRuntime( 164): at com.android.server.SystemServer.main(SystemServer.java:592)
E/AndroidRuntime( 164): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 164): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 164): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 164): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 164): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 164): Error reporting crash
E/AndroidRuntime( 164): java.lang.NullPointerException
E/AndroidRuntime( 164): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 164): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:887)
E/AndroidRuntime( 164): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:884)
E/AndroidRuntime( 164): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 164): Sending signal. PID: 164 SIG: 9
I/Zygote ( 161): Exit zygote because system server (164) has terminated
D/AndroidRuntime( 172):
D/AndroidRuntime( 172): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
I/AndroidRuntime( 172): Heap size: -Xmx16m
D/AndroidRuntime( 172): CheckJNI is OFF
D/AndroidRuntime( 172): --- registering native functions ---
I/SamplingProfilerIntegration( 172): Profiler is disabled.
I/Zygote ( 172): Preloading classes...
D/dalvikvm( 172): GC_EXPLICIT freed 824 objects / 47648 bytes in 7ms
D/dalvikvm( 172): GC_EXPLICIT freed 368 objects / 19104 bytes in 7ms
I/bluetooth_ScoSocket.cpp( 172): Entry name = MY-CAR ScoTypes = 0x7f
I/bluetooth_ScoSocket.cpp( 172): Entry name = Motorola HF850 ScoTypes = 0x7
D/dalvikvm( 172): GC_EXPLICIT freed 319 objects / 18080 bytes in 8ms
D/dalvikvm( 172): GC_EXPLICIT freed 464 objects / 28864 bytes in 9ms
D/dalvikvm( 172): GC_EXPLICIT freed 2096 objects / 108592 bytes in 13ms
I'm going to take a look at /system/lib/libandroid_servers.so compilation because I think is the problem...
Many Thanks to All,
Perdita2000
Hi all,
I have tried a couple of times with no luck, can't find if there is some problem with repos or just a code error, because it compiles without any error...
Have tried to sync froyo-stable but no luck too....
Syncing work tree: 4% (9/210) error: revision master in CyanogenMod/android_device_advent_vega not found
Perdita2000
perdita2000 said:
Hi all,
I have tried a couple of times with no luck, can't find if there is some problem with repos or just a code error, because it compiles without any error...
Have tried to sync froyo-stable but no luck too....
Syncing work tree: 4% (9/210) error: revision master in CyanogenMod/android_device_advent_vega not found
Perdita2000
Click to expand...
Click to collapse
In your /android/system/.repo/manifest/ you find default.xml edit the file and remove the path for advent_vega then run repo sync again
Many Thanks Elelinux ... and sorry about "my newbie questions" .... I'm starting to use github today (more than repo init/sync ... etc)..
Perdita2000
Checked out the "froyo" branch, did a "repo sync", added HTC proprietary files and ROM Manager and started the compile.
Ran into the same compilation error from the start of this thread.
Then applied bjk's fix from here (added the diff files there so you can apply then automatically with "git apply"), then compilation completed smoothly. Boots up just fine here.
What exactly is the error you are getting?
Boot error is posted thread . Did you tried stable or current branch?
Many thanks,
Sent from my Hero using XDA App
perdita2000 said:
Boot error is posted thread . Did you tried stable or current branch?
Many thanks,
Sent from my Hero using XDA App
Click to expand...
Click to collapse
Ok, sorry didn't see it. Doesn't make much sense to me. I used the "froyo" branch (not "froyo-stable"). But this shouldn't matter.
From where did you take your proprietary libs? Try taking them from here: https://github.com/koush/proprietary_vendor_htc/tree/froyo (notice the froyo branch).
I always use device propietary files from device itself. Do you mean they could be wrong?, in fact extract-files.sh didn't pull every needed file (I thought it was wrong because haven't got any issue compiling CM7?¿?¿?).
I will try device files from koush and let you know!!!
Many Thanks to Everyone!!!
Perdita2000
in CM12.1 for Xiao mi Read Mi 1s, now I have the error as bllow:
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES/libjavacore_intermediates/luni/src/main/native/android_system_OsConstants.o: file is empty
libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [out/host/linux-x86/obj32/lib/libjavacore.so] Error 1
who can help me?
Recommendation
Hello,
to get an answer you should at least:
Name the thread appropriately
Elaborate when you are getting this error - after which step and procedure
Put code into
Code:
environment
[/LIST]
jiang18109913 said:
in CM12.1 for Xiao mi Read Mi 1s, now I have the error as bllow:
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/SHARED_LIBRARIES/libjavacore_intermediates/luni/src/main/native/android_system_OsConstants.o: file is empty
libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [out/host/linux-x86/obj32/lib/libjavacore.so] Error 1
who can help me?
Click to expand...
Click to collapse
I think u might ve installed 64 bit os. I ve no idea. Just tell me when this error occur. Best way try changing ur rom. Thats it. This might be helpful
http://forum.xda-developers.com/redmi-1s/general/guide-unbricking-redmi-1s-bricked-t2905426
Is it resolved ? How ?
Hi All,
I'm compiling cyanogenmod 13.0 for Redmi 1s and stuck at following errors.
Code:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar
target Java: qcmediaplayer (/home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes)
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar
Check package name for /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar: unknown package name of class file org/codeaurora/camera/ExtendedFace.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar: unknown package name of class file org/codeaurora/ims/qtiims/IQtiImsInterface$Stub$Proxy.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar: unknown package name of class file com/qualcomm/qcmedia/QCMediaPlayer$OnMPDAttributeListener.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar: unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
make: *** [/home/sysadmin/Rahul/cm13.0/out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp] Error 1
#### make failed to build some targets (08:30 (mm:ss)) ####
Can anyone help me to solve this errors?
Rahul Dhobi said:
Hi All,
I'm compiling cyanogenmod 13.0 for Redmi 1s and stuck at following errors.
Code:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar
target Java: qcmediaplayer (/home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes)
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar
Check package name for /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar: unknown package name of class file org/codeaurora/camera/ExtendedFace.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar: unknown package name of class file org/codeaurora/ims/qtiims/IQtiImsInterface$Stub$Proxy.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar: unknown package name of class file com/qualcomm/qcmedia/QCMediaPlayer$OnMPDAttributeListener.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar: unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
make: *** [/home/sysadmin/Rahul/cm13.0/out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp] Error 1
#### make failed to build some targets (08:30 (mm:ss)) ####
Can anyone help me to solve this errors?
Click to expand...
Click to collapse
can you post complete log please.
although it seems like a upstream error, but yea a full log would be great
onano said:
can you post complete log please.
although it seems like a upstream error, but yea a full log would be great
Click to expand...
Click to collapse
Thanks for reply, please find attached log file.
Rahul Dhobi said:
Thanks for reply, please find attached log file.
Click to expand...
Click to collapse
why you're Using prebuilt kernel binary instead of source ?
and please post your local_manifest too
onano said:
why you're Using prebuilt kernel binary instead of source ?
and please post your local_manifest too
Click to expand...
Click to collapse
I'm using compressed source code from http://forum.xda-developers.com/android/software/sources-android-sources-highly-t3231109.
this source don't have .repo directory also I have again compiled with kernel source, please verify logs and steps I'm doing
Thanks.
Have you added Android-SDK to your path?
unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
Rahul Dhobi said:
I'm using compressed source code from http://forum.xda-developers.com/android/software/sources-android-sources-highly-t3231109.
this source don't have .repo directory also I have again compiled with kernel source, please verify logs and steps I'm doing
Thanks.
Click to expand...
Click to collapse
Hi,
I am also getting same error.
Is the problem solved?
How to solve this error : unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
SilverPearl said:
Hi,
I am also getting same error.
Is the problem solved?
How to solve this error : unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
Click to expand...
Click to collapse
Same error here. Please help us
Aah found the soln. You need to revert some commits where you are getting the error.
Like, i had an error for apache-http. So i had to revert this:
https://github.com/HalogenOS/androi...mmit/7463c06adcd51d891fc294b90350562f9697ffe8
Noob part: Just revert commits with commit message " off the boot classpath" or something
Would help someone i guess
@SilverPearl @Rahul Dhobi
regalstreak said:
aah found the soln. You need to revert some commits where you are getting the error.
Like, i had an error for apache-http. So i had to revert this:
https://github.com/halogenos/androi...mmit/7463c06adcd51d891fc294b90350562f9697ffe8
noob part: Just revert commits with commit message " off the boot classpath" or something
would help someone i guess
@silverpearl @rahul dhobi
Click to expand...
Click to collapse
good job man helping ppl out
regalstreak said:
Aah found the soln. You need to revert some commits where you are getting the error.
Like, i had an error for apache-http. So i had to revert this:
https://github.com/HalogenOS/androi...mmit/7463c06adcd51d891fc294b90350562f9697ffe8
Noob part: Just revert commits with commit message " off the boot classpath" or something
Would help someone i guess
@SilverPearl @Rahul Dhobi
Click to expand...
Click to collapse
@regalstreak I am facing something similar. Could you help me out?
Exact error:
Code:
Error: /home/yeshwanthvshenoy/du/out/target/common/obj/JAVA_LIBRARIES/telephony-ext_intermediates/classes.jar: unknown package name of class file org/codeaurora/internal/IDepersoResCallback$Stub.class
Full log: http://pastebin.com/ixfVAV7i
Any idea?
yeshwanthvshenoy said:
@regalstreak I am facing something similar. Could you help me out?
Exact error:
Code:
Error: /home/yeshwanthvshenoy/du/out/target/common/obj/JAVA_LIBRARIES/telephony-ext_intermediates/classes.jar: unknown package name of class file org/codeaurora/internal/IDepersoResCallback$Stub.class
Full log: http://pastebin.com/ixfVAV7i
Any idea?
Click to expand...
Click to collapse
I assume that you've solved this. I was off xda. Sorry.
regalstreak said:
I assume that you've solved this. I was off xda. Sorry.
Click to expand...
Click to collapse
Hi. I'm having this error https://hastebin.com/udofahacok.scala some time ago when building AOSiP and AOSP Extended. Can you help me solve it? I have a trying time and I have not been able to. Sorry for my english
UPDATE
Initial OmniROM release for Athene out now:
omni-7.1.1-20170219-athene-HOMEMADE.zip
--- Original OP below ---
Hi guys, I have started the bringup for OmniROM on Athene:
Device
Kernel
It starts to boot up, but gets stuck in the bootanimation and restarts soon after. According to dmesg / logcat, the modem does not come up (see attached files). I compared init.rc files and blobs being used with other roms (lineage / aex), but couldn't identify the root cause for that error at this early stage:
Code:
[ 7.022888,0] Fatal error on the modem.
[ 7.022913,0] modem subsystem failure reason: fs_device_efs_rmts.c:175:Invalid shared ram address from Apps.
@rahulsnair, @Silesh.Nair (or anybody else): Can you guys please help out here, is that something you have come across in any of your bringups? Really would like to bring Omni to life on Athene.
Thanks in advance :good:
Looks like rmt_storage can't load the needed modem firmware :
Code:
09-21 03:07:13.861 342 342 D rmt_storage: GZFSG open /fsg/athene_dsds_emea.img.gz
09-21 03:07:13.861 342 342 E rmt_storage: Couldn't open /fsg/athene_dsds_emea.img.gz, trying default for product-radio
09-21 03:07:13.862 342 342 E rmt_storage: Couldn't open /fsg/athene_emea.img.gz, trying default for radio
09-21 03:07:13.862 342 342 E rmt_storage: Couldn't open /fsg/emea.img.gz, trying default
09-21 03:07:13.862 342 342 E rmt_storage: Couldn't open /fsg/0.img.gz
09-21 03:07:13.862 342 342 I rmt_storage: rmt_storage_open_cb: Unable to open /boot/modem_fsg
Check that /fsg partition is mounted (can't check that in logs cause it's not full logs) and files are there.
You can also try to "strace" rmt-storage process :
Code:
strace -fF -s 1000 rmt_storage > /sdcard/rmt_storage_strace.txt
vache said:
Looks like rmt_storage can't load the needed modem firmware :
Check that /fsg partition is mounted (can't check that in logs cause it's not full logs) and files are there.
You can also try to "strace" rmt-storage process :
Click to expand...
Click to collapse
Good point, thanks. Haven't checked the mounts on boot yet. Eventually, fstab.qcom does not get parsed.
Making some progress: There is an issue with the ramdisk of the inline-built kernel: It is not picking up the correct .rc files. I don't get where these references to "recovery" are coming from:
Code:
<13>[ 3.022567,0] init: init second stage started!
<11>[ 3.207517,0] init: waitpid failed: No child processes
<11>[ 3.209434,0] init: property_set("ro.com.google.clientidbase", "android-motorola") failed
<11>[ 3.209584,0] init: property_set("ro.config.notification_sound", "Argon.ogg") failed
<11>[ 3.209599,0] init: property_set("ro.config.alarm_alert", "Helium.ogg") failed
<11>[ 3.209710,0] init: property_set("ro.config.ringtone", "Orion.ogg") failed
<13>[ 3.209803,0] init: (Loading properties from /default.prop took 0.00s.)
<11>[ 3.210260,0] init: /init.rc: 12: invalid command 'setcon'
<11>[ 3.210326,0] init: /init.rc: 62: invalid command 'load_all_props'
<11>[ 3.210406,0] init: could not import file '/init.recovery.logd.rc' from '/init.rc'
<13>[ 3.210688,0] init: (Parsing /init.recovery.usb.rc took 0.00s.)
<13>[ 3.210735,0] init: (Parsing /init.recovery.service.rc took 0.00s.)
<11>[ 3.210812,0] init: could not import file 'init.target.recovery.rc' from '/init.recovery.qcom.rc'
<13>[ 3.210827,0] init: (Parsing /init.recovery.qcom.rc took 0.00s.)
However, having flashed a Lineage kernel, it's booting up now.
@vache: /fsg indeed was not mounted. I think there is an issue with the mkdir, will amend that now.
Unhandled fsg_file security context on the fstab /fsg entry was the root cause for not mounting /fsg. Omni kernel booting up now.
golden-guy said:
Unhandled fsg_file security context on the fstab /fsg entry was the root cause for not mounting /fsg. Omni kernel booting up now.
Click to expand...
Click to collapse
Well done
To get RIL working, you need to add android_system_qcom from Lineage in your manifest and rebuilt.
Or you can push libqsap_sdk.so manually.
vache said:
Well done
To get RIL working, you need to add android_system_qcom from Lineage in your manifest and rebuilt.
Or you can push libqsap_sdk.so manually.
Click to expand...
Click to collapse
Thanks mate, I have done that yesterday to get RIL working (radio logcat showed that rild was complaining about that missing libqsap_sdk.so lib). All fine there already.
But I am still struggling with at least three things atm: Sensors, media playback and camcorder.
Sensors: I can see them initialized, but they don't return any values. According to logcat, e.g proximity gets disabled on screen on (sic!) Which sounds weird tbh
Media playback: Acodec cannot instantiate decoders upon ringtone playback and when music is to be played via bluetooth. mp3/mpeg playback does work when played via phone' speaker though. It could be a codec issue, but it could be audio policy / routing related. We are using a custom policy, aren't we?
Camcorder - didn't look into that yet. But is very likely related to media codec issue.
Will add some logs to further explain.
EDIT: Logs are added now.
PS: Device repo updated
Will cross-check with LineageOS, but the lack of sensor data might be permission related after all. All sensors seem to be up and configured, with their /dev and /sys entries being populated. Unfortunately, there is no error to be seen in the logs, giving no indication of the root cause...
Got the sensor issue sorted. It was selinux related again - what else. :silly:
Anyhow, one issue less.
Great news. How many issues are left now? :highfive:
Seriously, i would really appreaciate it if it´ll be released and maintained sometime... :fingers-crossed:
vinylmeister said:
Great news. How many issues are left now? :highfive:
Seriously, i would really appreaciate it if it´ll be released and maintained sometime... :fingers-crossed:
Click to expand...
Click to collapse
He is courteous enough to give us status updates on what is happening and what he is currently fixing.
I dont think he would appreciate the ETA-ish question.
It will be released when he is done. Im sure he is not on this full time. Have patience.
Sent from my Moto G4 Plus using Tapatalk
vinylmeister said:
Great news. How many issues are left now? :highfive:
Seriously, i would really appreaciate it if it´ll be released and maintained sometime... :fingers-crossed:
Click to expand...
Click to collapse
+1
1chrome said:
He is courteous enough to give us status updates on what is happening and what he is currently fixing.
I dont think he would appreciate the ETA-ish question.
It will be released when he is done. Im sure he is not on this full time. Have patience.
Click to expand...
Click to collapse
Didn't you realize that the issue related sentence was just ironic? The high-five smiley should indicate that, followed by seriously...
vinylmeister said:
Didn't you realize that the issue related sentence was just ironic? The high-five smiley should indicate that, followed by seriously...
Click to expand...
Click to collapse
Sorry man my bad... smileys didn't show up on my Tapatalk!
Sent from my Moto G4 Plus using Tapatalk
Vorbis decoder and camcorder are still open.
I'd love to have a fully working Omni build up by now, but time-wise this is a best-effort activity.
It is ready when it's done.
golden-guy said:
Vorbis decoder and camcorder are still open.
I'd love to have a fully working Omni build up by now, but time-wise this is a best-effort activity.
It is ready when it's done.
Click to expand...
Click to collapse
Could you grab fresh logs after trying to record a video ? Can't find traces in current logs.
Also, did you try with different camera apps ?
vache said:
Could you grab fresh logs after trying to record a video ? Can't find traces in current logs.
Also, did you try with different camera apps ?
Click to expand...
Click to collapse
I tried with Snap and SnapDragonCamera. I wanted to do that with a fresh build. After having synched sources, mm-camera daemon keeps crashing and causing bootloops. Omni has updated their manifest to r14, also, lineage seems to have merged in fresh caf sources causing issues with qcom blobs. If I had known that earlier, I wouldn't have synched anew.
I see u uploaded to afh is it ready for testing I'm excited
joeeboogz said:
I see u uploaded to afh is it ready for testing I'm excited
Click to expand...
Click to collapse
????!!
Good catch! ?
Yes, it's up for testing now: https://www.androidfilehost.com/?fid=457095661767137952
Please note that this is an early ALPHA build: Media playback (ogg/mp4) and camcorder are still broken. But apart from that it seems to work just fine.