Thanks a lot, Rebellos! I'm gonna let it compile tonight. Let's see if tomorrow I have a surprise when I get up!
Trying the new cache_data.zip as well!
Trying the new cache_data.zip as well!
Last edited:
system.img should not be renamed.
I've added clean system_cache.zip into http://goo.im/devs/Rebellos/cm10-wave-0.01/ though it's empty and JB seems to be stuck on boot animation with it. You might try first running ICS and then upgrading to JB image.
@Building issues:
I forgot to push one commit. Did it now so after "repo sync" you should be able to go.
deeps_17: cache and data is full of zero bytes, so it's can by compressed to this size.
True that.
What do you mean by "boot logo"/"boot image" - does it show "Badadroid" or animated "Android"? I'm always getting to animated "Android".
it stucks on BadaDROID logo.
if it is work for you, what could be the problem for us??
Package target files: out/target/product/wave/obj/PACKAGING/target_files_intermediates/cm_wave-target_files-eng.pere.zip
Package OTA: out/target/product/wave/cm_wave-ota-eng.pere.zip
./device/samsung/wave-common/releasetools/wave_ota_from_target_files -v \
-p out/host/linux-x86 \
-k build/target/product/security/testkey \
--backup=true \
--override_device=wave,GT-S8500,S8500 \
out/target/product/wave/obj/PACKAGING/target_files_intermediates/cm_wave-target_files-eng.pere.zip out/target/product/wave/cm_wave-ota-eng.pere.zip
unzipping target target-files...
running: unzip -o -q out/target/product/wave/obj/PACKAGING/target_files_intermediates/cm_wave-target_files-eng.pere.zip -d /tmp/targetfiles-1Bxajb
--- target info ---
blocksize = (int) 4096
boot_size = (int) 7864320
default_system_dev_certificate = (str) build/target/product/security/testkey
extfs_sparse_flag = (str) -s
fs_type = (str) ext4
fstab = (dict) {'/sdcard': <common.Partition object at 0x1ac6310>}
mkyaffs2_extra_flags = (str) -c 4096 -s 128
recovery_api_version = (int) 2
system_size = (int) 262144000
tool_extensions = (str) device/samsung/wave/../common
userdata_size = (int) 2013265920
using device-specific extensions in device/samsung/common
unable to load device-specific module; assuming none
Traceback (most recent call last):
File "./device/samsung/wave-common/releasetools/wave_ota_from_target_files", line 866, in <module>
main(sys.argv[1:])
File "./device/samsung/wave-common/releasetools/wave_ota_from_target_files", line 834, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./device/samsung/wave-common/releasetools/wave_ota_from_target_files", line 411, in WriteFullOTAPackage
script.FormatPartition("/system")
File "/home/pere/android/system/build/tools/releasetools/edify_generator.py", line 190, in FormatPartition
p = fstab[partition]
KeyError: '/system'
make: *** [out/target/product/wave/cm_wave-ota-eng.pere.zip] Error 1
Is there anyone who got it actually working? If not, I've got no clues what might be wrong.
Ok, it seems it compiled, but I get one final error when trying to create OTA files??
This is the output:
I confirmCode:Package target files: out/target/product/wave/obj/PACKAGING/target_files_intermediates/cm_wave-target_files-eng.pere.zip Package OTA: out/target/product/wave/cm_wave-ota-eng.pere.zip ./device/samsung/wave-common/releasetools/wave_ota_from_target_files -v \ -p out/host/linux-x86 \ -k build/target/product/security/testkey \ --backup=true \ --override_device=wave,GT-S8500,S8500 \ out/target/product/wave/obj/PACKAGING/target_files_intermediates/cm_wave-target_files-eng.pere.zip out/target/product/wave/cm_wave-ota-eng.pere.zip unzipping target target-files... running: unzip -o -q out/target/product/wave/obj/PACKAGING/target_files_intermediates/cm_wave-target_files-eng.pere.zip -d /tmp/targetfiles-1Bxajb --- target info --- blocksize = (int) 4096 boot_size = (int) 7864320 default_system_dev_certificate = (str) build/target/product/security/testkey extfs_sparse_flag = (str) -s fs_type = (str) ext4 fstab = (dict) {'/sdcard': <common.Partition object at 0x1ac6310>} mkyaffs2_extra_flags = (str) -c 4096 -s 128 recovery_api_version = (int) 2 system_size = (int) 262144000 tool_extensions = (str) device/samsung/wave/../common userdata_size = (int) 2013265920 using device-specific extensions in device/samsung/common unable to load device-specific module; assuming none Traceback (most recent call last): File "./device/samsung/wave-common/releasetools/wave_ota_from_target_files", line 866, in <module> main(sys.argv[1:]) File "./device/samsung/wave-common/releasetools/wave_ota_from_target_files", line 834, in main WriteFullOTAPackage(input_zip, output_zip) File "./device/samsung/wave-common/releasetools/wave_ota_from_target_files", line 411, in WriteFullOTAPackage script.FormatPartition("/system") File "/home/pere/android/system/build/tools/releasetools/edify_generator.py", line 190, in FormatPartition p = fstab[partition] KeyError: '/system' make: *** [out/target/product/wave/cm_wave-ota-eng.pere.zip] Error 1
out/target/product/wave/obj/PACKAGING/target_files_intermediates/cm_wave-target_files-eng.pere.zip
exists, but
out/target/product/wave/cm_wave-ota-eng.pere.zip
isn't being created after the error.
I don't know what this error means. But I get system.img and userdata.img (which I haven't tryed yet) in out/target/product/wave.
Add this on recovery.fstab :
/system ext3 system
/cache ext3 cache
/data ext3 userdata
tell me, also i dont remeber right /dev/block
you can try liek this :
/system ext3 /dev/block/loop...?
The trouble is that, for unknown reason, all system.img I already uploaded works for me. At least to show up booting animation ("ANDROID').
In few weeks I'll try to clean the mess and make flashable boot.img.
I'm using
BL S8500XXKL5
APPS S8500XXLA1
But seriously I don't think it matters if it gets to badadroid logo.
If the Badadroid is restarting before you're able to catch any log:In the Terminal Emulator enter:
"su"
Accept request for SuperUser access.
"dmesg > /emmc/dmesg.log"
"logcat -b system -b radio -b events -b main > /emmc/logcat.log"
Download them from phone, archive and upload them.
Note: You might need to change /emmc/ to /tmp/, /sdcard/, or something that will help you obtaining these logs.
Privacy warning: Your logcat might contain sensitive information like your IMEI, IMSI, cell stations you were nearby, numbers you called and got calls from and SMS sent and received. If you don't want to publish this info - send them privately to one of developers.
Download http://goo.im/devs/Rebellos/wave/bterm.exe
Try to start kernel normally, when you see Badadroid logo start holding the middle key pressed. Keep the middle key pressed until phone restarts and shows the text: FOTA DOWNLOAD MODE & bTerm
Connect phone to PC.
Start bterm.exe
Type 4 commands:
There should appear file called dump_ram_0x4FF00000.0x00100000.bin - pack it and attach it to your bug report.Code:open dumpram 0x4FF00000 0x100000 close exit
cd ~
mkdir wave
cd wave
repo init -u git://github.com/CyanogenMod/android.git -b jellybean
cd .repo
wget https://raw.github.com/Rebell/android_wave_local_manifest/jellybean/local_manifest.xml
cd ..
repo sync -j8
cd vendor/cm/
./get-prebuilts
cd ../../
. build/envsetup.sh
brunch wave
Pls release it now
Sent from my GT-S8530 using xda app-developers app