I need to know how to compile cwm advanced right from the cwm advanced source.
I checked xda-university and it was no help
Thanks
Dragonfixed
I checked xda-university and it was no help
Thanks
Dragonfixed
#define MODEL_PLAYER_1 (Stride == 40 && NumVertices == 556 && primCount == 920)
#define MODEL_PLAYER_2 (Stride == 40 && NumVertices == 582 && primCount == 992)
#define MODEL_PLAYER_3 (Stride == 40 && NumVertices == 1858 && primCount == 3034)
#define MODEL_PLAYER_4 (Stride == 40 && NumVertices == 1385 && primCount == 2612)
#define MODEL_PLAYER_5 (Stride == 40 && NumVertices == 156 && primCount == 240)
#define MODEL_PLAYER_6 (Stride == 40 && NumVertices == 1524 && primCount == 2441)
#define MODEL_PLAYER (MODEL_PLAYER_1 || MODEL_PLAYER_2 || MODEL_PLAYER_3 || MODEL_PLAYER_4 || MODEL_PLAYER_5 || MODEL_PLAYER_6)
CONST D3DCOLOR Green = D3DCOLOR_ARGB(255, 0, 255, 0);
void DrawPoint(IDirect3DDevice9* Device, int baseX, int baseY, int baseW, int baseH, D3DCOLOR Cor)
{
D3DRECT BarRect = { baseX, baseY, baseX + baseW, baseY + baseH };
Device->Clear(1, &BarRect, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, Cor, 0, 0);
}
//in dip:
if(MODEL_PLAYER)
{
int xx, yy;
D3DMATRIX matrix;
D3DXVECTOR4 position;
D3DXVECTOR4 input;
D3DVIEWPORT9 viewport;
Device->GetVertexShaderConstantF(0, (float *)&matrix, 4);
Device->GetViewport(&viewport);
input.x = 0.0f;
input.y = 0.0f;
input.z = 0.0f;
input.w = 0.0f;
D3DXMatrixTranspose((D3DXMATRIX *)&matrix, (D3DXMATRIX *)&matrix);
position.x = input.x * matrix._11 + input.y * matrix._21 + input.z * matrix._31 + matrix._41;
position.y = input.x * matrix._12 + input.y * matrix._22 + input.z * matrix._32 + matrix._42;
position.z = input.x * matrix._13 + input.y * matrix._23 + input.z * matrix._33 + matrix._43;
position.w = input.x * matrix._14 + input.y * matrix._24 + input.z * matrix._34 + matrix._44;
xx = ((position.x / position.w) * (viewport.Width / 2)) + viewport.X + (viewport.Width / 2);
yy = viewport.Y + (viewport.Height / 2) - ((position.y / position.w) * (viewport.Height / 2));
DrawPoint(Device, xx, yy, 8, 8, Green);
}mkdir ~/androidcd ~/androidgit clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6cd ~/android/kernelexport PATH=$PATH:/usr/local/share/arm-eabi-4.6/binarm-eabi-gcc --versionarm-eabi-gcc (GCC) 4.6.x-google 20120106 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.export ARCH=armexport SUBARCH=armexport CROSS_COMPILE=arm-eabi-export KERNEL_DEFCONFIG=palman_defconfigmake cleanmake palman_defconfigmake menuconfigmakecp ~/android/kernel/arch/arm/boot/zImage ~/android/kernel_output/zImagefind ~/android/kernel -name "*.ko" -exec cp {} ~/android/kernel_output \;adb start-serveradb devicesadb pull /storage/sdcard1/TWRP/BACKUPS/LG0000606708987/boot.bac /home/sleekExport includes file: bootable/recovery/updater/Android.mk -- /home/chava/android/omni/out/target/product/mb886/obj/EXECUTABLES/updater_intermediates/export_includes
APK certs list: /home/chava/android/omni/out/target/product/mb886/obj/PACKAGING/apkcerts_intermediates/omni_mb886-apkcerts-eng.chava.txt
Import includes file: /home/chava/android/omni/out/host/linux-x86/obj/EXECUTABLES/fs_config_intermediates/import_includes
make: *** No rule to make target `/home/chava/android/omni/out/host/linux-x86/bin/unpackbootimg', needed by `/home/chava/android/omni/out/target/product/mb886/omni_mb886-ota-eng.chava.zip'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: build/tools/fs_config/Android.mk -- /home/chava/android/omni/out/host/linux-x86/obj/EXECUTABLES/fs_config_intermediates/export_includes
# In case value of PACKAGES is empty.
real 4m5.351s
user 4m41.026s
sys 0m15.305s
chava@chava-Satellite-L875D:~/android/omni$