Giter Site home page Giter Site logo

cyanmobile / android_frameworks_base_cyanmobile Goto Github PK

View Code? Open in Web Editor NEW
2.0 9.0 19.0 159.28 MB

License: Other

Shell 0.03% Java 58.07% C++ 30.46% C 10.38% C# 0.10% JavaScript 0.01% Objective-C 0.47% Rust 0.01% Assembly 0.44% Perl 0.01% Python 0.04%

android_frameworks_base_cyanmobile's People

Contributors

ahmad-safar avatar keyur2maru avatar maniac103 avatar squadzone avatar taichin avatar thekraven avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android_frameworks_base_cyanmobile's Issues

Unable to Build Cyan Mobile for P350

Hi,
I'm Compiling Cyan Mobile for P350 But I'm Getting Error Please hELP ME FIXING IT HERE IS LOG

target Non-prelinked: librtp_jni (out/target/product/p350/symbols/system/lib/librtp_jni.so)
target Strip: libwebcore (out/target/product/p350/obj/lib/libwebcore.so)
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java:793: cannot find symbol
symbol : variable centerIconex
location: class com.android.systemui.R.id
mCenterIconex = (SignalClusterView)mExpandedView.findViewById(R.id.centerIconex);
^
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java:796: cannot find symbol
symbol : variable expstatusIcons
location: class com.android.systemui.R.id
mStatusIconsExp = (LinearLayout)mExpandedView.findViewById(R.id.expstatusIcons);
^
Copying: out/target/common/obj/APPS/ApiDemosTests_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/HelloActivityTests_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/LunarLanderTests_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/NotePadTests_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/SkeletonAppTests_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/SnakeTests_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/FrameworksCoreTests_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/FrameworksServicesTests_intermediates/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/librilproto-java_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/SmokeTest_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/CalculatorTests_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/CalendarTests_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/DeskClockTests_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/Gallery3DTests_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/APPS/LatinIMETests_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/target/product/p350/system/app/Contacts.apk
Install: out/target/product/p350/system/app/ThemeChooser.apk
Install: out/target/product/p350/system/app/ThemeManager.apk
Install: out/target/product/p350/system/lib/libui.so
target Non-prelinked: audioloop (out/target/product/p350/symbols/system/bin/audioloop)
target Strip: libmediaplayerservice (out/target/product/p350/obj/lib/libmediaplayerservice.so)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/Ticker.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
make: *** [out/target/common/obj/APPS/SystemUI_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
keyur@anthony-ubuntu:~/cyan/cyan$

Waiting for the fix :)

systemui error

Hi. I have been getting this error for about a week and a half, and I can confirm someone else is getting the same error. any solutions would be great. (this occurs on the VM670, Shooter, and another device that I cant think of right now)

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/navbar/NavigationBarView.java:314: cannot find symbol
symbol : variable lights_out
location: class com.android.systemui.R.id
lowLights = mNaviBackground.findViewById(R.id.lights_out);
^
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/navbar/NavigationBarView.java:336: cannot find symbol
symbol : variable home_out
location: class com.android.systemui.R.id
mHomeOutButton = (ImageView) mNaviBackground.findViewById(R.id.home_out);
^
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/navbar/NavigationBarView.java:337: cannot find symbol
symbol : variable menu_out
location: class com.android.systemui.R.id
mMenuOutButton = (ImageView) mNaviBackground.findViewById(R.id.menu_out);
^
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/navbar/NavigationBarView.java:338: cannot find symbol
symbol : variable back_out
location: class com.android.systemui.R.id
mBackOutButton = (ImageView) mNaviBackground.findViewById(R.id.back_out);
^
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/navbar/NavigationBarView.java:339: cannot find symbol
symbol : variable search_out
location: class com.android.systemui.R.id
mSearchOutButton = (ImageView) mNaviBackground.findViewById(R.id.search_out);
^
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/navbar/NavigationBarView.java:340: cannot find symbol
symbol : variable quicker_out
location: class com.android.systemui.R.id
mQuickOutButton = (ImageView) mNaviBackground.findViewById(R.id.quicker_out);
^

Thanks for any help!

add button in status bar -- enhancement --

add button in status bar to switch to tile view somthing like on jelly bean 4.2.
reason - small sceen on galaxy mini , sometimes you clik one of tiles insted on power widget or notification text

download progress on lockscreen enhancement

add download progress on lockscreen
reason -
old way - unlock device(button), swipe to unlock,pull down statusbar
new way - unlock device(button)
at least in present DL 50 %

bad activity token cause by new implementation activity manager

some app having bad activity token cause by new implementation activity manager

see logcat

W/ActivityManager( 997): Bad activity token: android.os.BinderProxy@407be328
W/ActivityManager( 997): java.lang.ClassCastException: android.os.BinderProxy
W/ActivityManager( 997): at com.android.server.am.ActivityRecord.forToken(ActivityRecord.java:278)
W/ActivityManager( 997): at com.android.server.am.ActivityStack.isInStackLocked(ActivityStack.java:427)
W/ActivityManager( 997): at com.android.server.am.ActivityManagerService.getCallingRecordLocked(ActivityManagerService.java:4680)
W/ActivityManager( 997): at com.android.server.am.ActivityManagerService.getCallingPackage(ActivityManagerService.java:4667)
W/ActivityManager( 997): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:422)
W/ActivityManager( 997): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2189)
W/ActivityManager( 997): at android.os.Binder.execTransact(Binder.java:320)
W/ActivityManager( 997): at dalvik.system.NativeStart.run(Native Method)

Problem with SharedBufferStack

turn off screen with screen off animation enable show this on logcat

W/SharedBufferStack( 1093): waitForCondition(LockCondition) timed out (identity=6, status=0). CPU may be pegged. trying again

Failed mounting internal storage

this issue already in oldest build too, and need to fix this, since this bug sometimes problem in device that using VOLD binary not from this build or using from stock firmware

Stk problem in samsung devices

cant use mobile banking with Stk app (only samsung device)
Suspect:
Telephony framework need patch
To Do:
Keep testing with current patch and need to determine other bugs

CRT- animation gone

CRT- off animation has gone after commit "f410af2721d3b55e36fc06b4b221d6419caeba2e"
"Moar refactor broadcast system, and acttivity manager"

after changing file "android_frameworks_base_cyanmobile/services/java/com/android/server/PowerManagerService.java"

create screensaver for cmx

use this template as example

package com.yourpackage;

public class ScreenSaverActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    // use click or touch listener to finish this activity when user interact with this activity
    button.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            finish();
        }
    });
     setContentView("your layout");
}

@Override
protected void onResume() {
    super.onResume();
}

@Override
public void onStart() {
    super.onStart();
    IntentFilter s = new IntentFilter();
    s.addAction(Intent.ACTION_SCREEN_ON);
    s.addAction(Intent.ACTION_SCREEN_OFF);
    registerReceiver(mScreenTimeoutListener, new IntentFilter(s));
}

@Override
public void onStop() {
    unregisterReceiver(mScreenTimeoutListener);
    super.onStop();
}

private BroadcastReceiver mScreenTimeoutListener = new BroadcastReceiver() {
    @Override
    public void onReceive(Context context, Intent intent) {
        if (Intent.ACTION_SCREEN_OFF.equals(intent.getAction())) {
            finish();
        }
    }
};

@Override
protected void onPause() {
    super.onPause();
}

}

suggestion

hi @Squadzone

cyanmobile can have support for this confs.. ?

hardware info

ro.device.chipset=
ro.device.cpu=
ro.device.rear_cam=
ro.device.front_cam=
ro.device.screen_res=

thanks

sorry for disturb !

Cyanmobile never boot on first boot !

tested in :

Galaxy y

Galaxy S

Galaxy SB

always i need for install cyanmobile ,reboot , bootloop forever , remove baterry , turn on the phone

and done

boot and work !

anyone have this issue , what device u using ? if no , because i have it in 3 devices :(

thanks !

Statusbar problem

StatusBar need to restart and also disable navibar if changing theme
Suspect:
Expanded height not calculate while recreate
To Do:
Force Statusbar to calculate Expanded height using delay command

translation

how to translate "Unread Messages" and "Missed Calls"

this is what i get with search

/home/:D/bin/frameworks/base/policy/src/com/android/internal/policy/impl/HoneycombLockscreen.java
2009: mSmsCountView.setText(Integer.toString(smsCount) + " Unread Messages");
2011: mSmsCountView.setText("1 Unread Message");
2013: mSmsCountView.setText("0 Unread Message");

/home/:D/bin/frameworks/base/policy/src/com/android/internal/policy/impl/LockScreen.java
1786: mSmsCountView.setText(Integer.toString(smsCount) + " Unread Messages");
1788: mSmsCountView.setText("1 Unread Message");
1790: mSmsCountView.setText("0 Unread Message");

i cant find strings.xml

Lockscreen Weather Widget not working

compiled fresh releases of CyanMobile X, but still i cant get the weather widget on lockscreen -_-
Seems to be a bug ... (me and some other users cant enable it from the settinings)

Error Building CyanMobile For LG Optimus me p350

Hello Sir Im building CyanMobile For LG Optimus me P350 But Sir Im Getting Error While Building it ! Please Help Me Fixing it This is LOG

keyur2maru@Lydia:~/cyanmobile/gb$ make -j2

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.8
TARGET_PRODUCT=lge_pecan
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release

BUILD_ID=GINGERBREAD

*** Build configuration changed: "cyanogen_pecan-eng-{en_US,en_US,ar_EG,ar_IL,ur_PK,fa_IR,bg_BG,ca_ES,cs_CZ,da_DK,de_AT,de_CH,de_DE,de_LI,el_GR,en_AU,en_CA,en_GB,en_IE,en_IN,en_NZ,en_SG,en_ZA,es_ES,fi_FI,fr_BE,fr_CA,fr_CH,fr_FR,he_IL,hi_IN,hr_HR,hu_HU,id_ID,it_CH,it_IT,iw_IL,ja_JP,ka_GE,ko_KR,lt_LT,lv_LV,nb_NO,nl_BE,nl_NL,pl_PL,pt_BR,pt_PT,ro_RO,ru_RU,sk_SK,sl_SI,sr_RS,sv_SE,th_TH,tl_PH,tr_TR,uk_UA,vi_VN,zh_CN,zh_HK,zh_TW,ldpi,ldpi,mdpi,nodpi}" -> "lge_pecan-eng-{en_US,en_US,ar_EG,ar_IL,ur_PK,fa_IR,bg_BG,ca_ES,cs_CZ,da_DK,de_AT,de_CH,de_DE,de_LI,el_GR,en_AU,en_CA,en_GB,en_IE,en_IN,en_NZ,en_SG,en_ZA,es_ES,fi_FI,fr_BE,fr_CA,fr_CH,fr_FR,he_IL,hi_IN,hr_HR,hu_HU,id_ID,it_CH,it_IT,iw_IL,ja_JP,ka_GE,ko_KR,lt_LT,lv_LV,nb_NO,nl_BE,nl_NL,pl_PL,pt_BR,pt_PT,ro_RO,ru_RU,sk_SK,sl_SI,sr_RS,sv_SE,th_TH,tl_PH,tr_TR,uk_UA,vi_VN,zh_CN,zh_HK,zh_TW,ldpi,nodpi}"
*** Forcing "make installclean"...
*** rm -rf out/target/product/pecan/data/* out/target/product/pecan/data-qemu/* out/target/product/pecan/userdata-qemu.img out/host/linux-x86/obj/NOTICE_FILES out/host/linux-x86/sdk out/target/product/pecan/.img out/target/product/pecan/.txt out/target/product/pecan/.xlb out/target/product/pecan/.zip out/target/product/pecan/data out/target/product/pecan/obj/APPS out/target/product/pecan/obj/NOTICE_FILES out/target/product/pecan/obj/PACKAGING out/target/product/pecan/recovery out/target/product/pecan/root out/target/product/pecan/system out/target/product/pecan/dex_bootjars out/target/product/pecan/obj/JAVA_LIBRARIES
*** Done with the cleaning, now starting the real build.
find: out/target/common/docs/gen': No such file or directory find:out/target/common/docs/gen': No such file or directory
find: out/target/common/docs/gen': No such file or directory find:out/target/common/docs/gen': No such file or directory
find: out/target/common/docs/gen': No such file or directory system/core/toolbox/Android.mk:94: warning: overriding commands for targetout/target/product/pecan/system/bin/lsof'
build/core/base_rules.mk:474: warning: ignoring old commands for target out/target/product/pecan/system/bin/lsof' build/core/Makefile:32: warning: overriding commands for targetout/target/product/pecan/system/usr/keylayout/AVRCP.kl'
sdk/emulator/keymaps/Android.mk:18: warning: ignoring old commands for target out/target/product/pecan/system/usr/keylayout/AVRCP.kl' build/core/Makefile:32: warning: overriding commands for targetout/target/product/pecan/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:474: warning: ignoring old commands for target out/target/product/pecan/system/etc/wifi/wpa_supplicant.conf' build/core/Makefile:32: warning: overriding commands for targetout/target/product/pecan/system/etc/dhcpcd/dhcpcd.conf'
build/core/base_rules.mk:474: warning: ignoring old commands for target out/target/product/pecan/system/etc/dhcpcd/dhcpcd.conf' build/core/Makefile:32: warning: overriding commands for targetout/target/product/pecan/system/bin/rild'
build/core/base_rules.mk:474: warning: ignoring old commands for target out/target/product/pecan/system/bin/rild' build/core/Makefile:32: warning: overriding commands for targetout/target/product/pecan/system/lib/libril.so'
build/core/base_rules.mk:474: warning: ignoring old commands for target out/target/product/pecan/system/lib/libril.so' build/core/Makefile:32: warning: overriding commands for targetout/target/product/pecan/system/lib/libOmxCore.so'
build/core/base_rules.mk:474: warning: ignoring old commands for target `out/target/product/pecan/system/lib/libOmxCore.so'
No private recovery resources for TARGET_DEVICE pecan
Install: out/host/linux-x86/framework/apicheck.jar
Install: out/host/linux-x86/framework/clearsilver.jar
Install: out/host/linux-x86/lib/libneo_util.so
Copying: out/target/common/obj/JAVA_LIBRARIES/core_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/dx.jar
Notice file: frameworks/base/libs/utils/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libutils.a.txt
Notice file: system/core/liblog/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/liblog.a.txt
Notice file: system/core/libcutils/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libcutils.a.txt
Notice file: external/expat/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libexpat.a.txt
Notice file: external/libpng/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libpng.a.txt
host C++: aidl <= out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_l.cpp
Copy: apicheck (out/host/linux-x86/obj/EXECUTABLES/apicheck_intermediates/apicheck)
target Prebuilt: (out/target/product/pecan/system/usr/share/zoneinfo/zoneinfo.dat)
target Prebuilt: (out/target/product/pecan/system/usr/share/zoneinfo/zoneinfo.idx)
target Prebuilt: (out/target/product/pecan/system/usr/share/zoneinfo/zoneinfo.version)
Copy: out/host/linux-x86/usr/share/zoneinfo/zoneinfo.dat
Copy: out/host/linux-x86/usr/share/zoneinfo/zoneinfo.idx
Copy: out/host/linux-x86/usr/share/zoneinfo/zoneinfo.version
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc -mthumb-interwork -Ibionic/libc/private -DCRT_LEGACY_WORKAROUND -o out/target/product/pecan/obj/lib/crtbegin_static.o -c bionic/libc/arch-arm/bionic/crtbegin_static.S
target thumb C: updater <= bootable/recovery/updater/install.c
frameworks/base/tools/aidl/aidl_language_l.l: In function ‘int yylex()’:
frameworks/base/tools/aidl/aidl_language_l.l:58: error: ‘IMPORT’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:59: error: ‘IMPORT’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:63: error: ‘PACKAGE’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:64: error: ‘PACKAGE’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:82: error: ‘PARCELABLE’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:82: error: ‘PARCELABLE’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:83: error: ‘INTERFACE’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:83: error: ‘INTERFACE’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:84: error: ‘IN’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:84: error: ‘IN’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:85: error: ‘OUT’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:85: error: ‘OUT’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:86: error: ‘INOUT’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:86: error: ‘INOUT’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:87: error: ‘ONEWAY’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:87: error: ‘ONEWAY’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:89: error: ‘ARRAY’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:89: error: ‘ARRAY’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:91: error: ‘IDENTIFIER’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:91: error: ‘IDENTIFIER’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:93: error: ‘GENERIC’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:93: error: ‘GENERIC’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:98: error: ‘IDENTIFIER’ was not declared in this scope
make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_l.o] Error 1
make: *** Waiting for unfinished jobs....
bootable/recovery/updater/install.c: In function 'FormatFn':
bootable/recovery/updater/install.c:249: warning: implicit declaration of function 'format_ext2_device'
bootable/recovery/updater/install.c:258: warning: implicit declaration of function 'format_ext3_device'
keyur2maru@Lydia:~/cyanmobile/gb$

plz help me

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.