yashsingh1/xdaforums huggingface dataset:
[Micromax A110] sayadrameez:
First touch takes lot of time to respond

Hi All,

I was facing the issue of complete non responsive touch , I thought digitizer might be the culprit (as I had replaced the LCD 3 months back) , but after lot of ROM flashes , touch started working again suddenly it stopped working . I thought it might be some software issue but didn't make much sense because I had tried all combination of removing SD , clearing data/cache and still issue appeared here.

Luckily I saw someone in this thread told about replacing the battery and that started to give some results.

Now , the issue is if the phone is in standby for long time , it takes a lot of time to start responding to touch , I have to keep pressing at various points on screen and after a minute it starts responding .

What is the exact issue , is it battery or the screen , or some syncing between both ?
[Micromax A110] nirajpatel1988:
Screen Freeze

Hi Guys,

I am facing issue of screen freeze for my canvas 2 a110. First it used to freeze for few mins after pressing the touch at different places it worked. But since few days it has stopped working. When i tried to do it hard reset the select button is not working. So, nothing is working. Anyone faced some issue? What do i do now?

Thanks in Advance.
[Android Q&A, Help & Troubleshooting] BurakYavuz:
How to Android to Ubuntu Mobil setub ?
[Android Q&A, Help & Troubleshooting] emyaz:
you want to install Ubuntu mobile on your phone, right?

Sorry for my bad englisch :)
[Android Q&A, Help & Troubleshooting] WannabeDeveloper:
Hasn't been released yet so that's a really though question there :D
[Android Q&A, Help & Troubleshooting] WHAAAZAAAP:
there is linux installer on market which says you how to intsall ubuntu on your android phone
[Android Q&A, Help & Troubleshooting] emyaz:
but he want to flash the mobile version of Ubuntu (which is not released yet) as i understand...

Sorry for my bad englisch :)
[Off-topic] punitvthakkar:
So folks, let us start this thread to know about each other's media library. Attach a screenshot of the number of songs and videos currently in your phone/tablet. I have used the library info provided in ZPlayer, an amazing Windows Phone themed music player.

Also post the song that is your current favourite. Mine is Good Times by Leroy. Amazing song, do check it out.

Keep posting and building this thread. Let us show off the music obsession we all have.

Sent from my Galaxy S3 from an unknown dimension.
[Off-topic] HereBeMonsters:
Had to attach as I can't link due to being "new". Er... :confused:
[Off-topic] punitvthakkar:
Holy cow dude!! 22k songs!!

AWESOME!!

Sent from my GT-I9300 using Xparent Blue Tapatalk 2
[Off-topic] tallyforeman:
Looks like one of those "other" phones.......
[Android Software/Hacking General [Developers Only]] arunmcops:
Please post your errors here. We (I and other esteemed devs) will try to solve them.
[Android Software/Hacking General [Developers Only]] arunmcops:
reserved for future.
[Android Software/Hacking General [Developers Only]] arunmcops:
reserved for future. 2222
[Android Software/Hacking General [Developers Only]] arunmcops:
reserved for future. another one... :)
[Android Software/Hacking General [Developers Only]] arunmcops:
By chrgegdoc

Before I get that error, I encountered these first:
building with
Code:
make -j4
gives me the following error:
Code:
make: *** No rule to make target `device/karbonn/a9plus/prebuilt/system/lib/lib/system/libcamera_client.so', needed by `out/target/product/a9plus/system/lib/libcamera_client.so'. Stop.
make: *** Waiting for unfinished jobs....
Notice file: external/icu4c/common/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libicuuc.so.txt
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked 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.
retyping
Code:
make
without
Code:
-j4
"solves" that but I encounter the following error:
Code:
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:135: error: Resource does not already exist in overlay at 'config_tether_upstream_regexs'; use <add-resource> to add.
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:136: error: Resource at config_tether_upstream_regexs appears in overlay but not in the base package; use <add-resource> to add.
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:137: error: Resource at config_tether_upstream_regexs appears in overlay but not in the base package; use <add-resource> to add.
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:149: error: Resource at config_tether_dun_required appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
So I deleted the overlay folder from device/karbonn/a9plus and it would go through until I get the error at my previous PM
[Android Software/Hacking General [Developers Only]] arunmcops:
Another one by chrgegdoc

checked out your new device tree and tried building from it using

Code:

make

I get the following error:

Code:

/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1

By the way, I am building CM9, haven't tried CM10 though.
[Android Software/Hacking General [Developers Only]] arunmcops:
Try to start with make -j1
[Android Software/Hacking General [Developers Only]] arunmcops:
Overlay packages changed...
[Android Software/Hacking General [Developers Only]] chrgegdoc:
I incorporated your changes and it seems that error is gone while using

make -j1

However, I encountered an new error

device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:199: error: Resource at config_networkLocationProviderPackageName appears in overlay but not in the base package; use <add-resource> to add.
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:202: error: Resource at config_geocodeProviderPackageName appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'

EDIT:

So I tried deleting line 199 and 202 from the config.xml at the build went through.

But, I encountered the previous error

target thumb C: libhardware_legacy <= hardware/libhardware_legacy/power/power.c
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1

I don't know if they are connected with each other. I conclude that building with make -j1 doesn't solve the EOF error.
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
Compile Error

I also confirm the same error...

build with make -j1

<command-line>: warning: "REFRESH_RATE" redefined
<command-line>: warning: this is the location of the previous definition
system/core/libpixelflinger/codeflinger/disassem.c:710: warning: initialization from incompatible pointer type
target thumb C: libhardware_legacy <= hardware/libhardware_legacy/power/power.c
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1
[Android Software/Hacking General [Developers Only]] chrgegdoc:
I used a different device tree (my own) and now I am getting this error:

make: *** No rule to make target `vendor/qcom/s100/proprietary/lib/libaudioalsa.so', needed by `out/target/product/s100/obj/lib/libaudioalsa.so'. Stop.

What I did is add some lines in device.mk and it seems to compile (hopefully)

EDIT:

Still getting the same error. I have no idea on how to fix this :(
[Android Software/Hacking General [Developers Only]] arunmcops:
Plz post ur device tree ...
[Android Software/Hacking General [Developers Only]] x10forevers:
U need to copy proprietary files of your device to vendor/qcom/s100 by either running command from your device folder or just download the files and put it to vendor/qcom/s100 .

Edit : I think this is the files u need . confirm that is it the one and if that is the one CD to vendor/qcom dir and issue following command

git clone https://github.com/liquid-moto/android_vendor_qcom_proprietary s100

It will clone those files to vendor/qcom/

Than go to vendor/qcom/s100 and rename system to proprietary and than start the build....

Hope u got it fixed
[Android Software/Hacking General [Developers Only]] arunmcops:
Use libaudioalsa.so from /system/lib and modify mk files. Also mail me device folder.
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
Will Try

Arun will you modify your device tree.. I will try to compile again..

Will try for qcom/s100 also.. Both are same build.. Any way.. Device can be changed on .prop later..!!:D

---------- Post added at 07:04 PM ---------- Previous post was at 06:56 PM ----------

Will share your device tree..??
[Android Software/Hacking General [Developers Only]] chrgegdoc:
I'll post my device tree after I try x10forevers' suggestion.

UPDATE:

So I tried x10forevers' suggestion. I modified proprietary-files.txt and extracted the files. However, some files were not found, namely:

libmm-color-convertor.so
libmmparser_divxdrmlib.so
a225_pfp.fw
a225_pm4.fw
a225p5_pm4.fw
a300_pfp.fw
a300_pm4.fw
leia_pfp_470.fw
leia_pm4_470.fw
libC2D2.so

UPDATE1:

what should be the value for TARGET_ARCH_VARIANT?

UPDATE 2:

arunmcops, you might want to edit out the '6' from your device.mk

See this line:

frameworks/base/data/etc/android.soft6ware.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
[Android Software/Hacking General [Developers Only]] arunmcops:
GITHUB

Your github id ?
[Android Software/Hacking General [Developers Only]] arunmcops:
TARGET_ARCH_VARIANT := armv7-a-neon

TARGET_ARCH_VARIANT_CPU := cortex-a5

TARGET_ARCH_VARIANT_FPU := neon
[Android Software/Hacking General [Developers Only]] x10forevers:
@Chargegdoc

I think that fw files are in the clone files I have told you in earlier post

Check it
[Android Software/Hacking General [Developers Only]] chrgegdoc:
Here is my GitHub

Please check for errors. I just copied all the folders from karbonna9plus and made a few changes.

EDIT:

@x10forevers

Indeed it is there.

I got another error:

make: *** No rule to make target `device/qcom/s100/prebuilt/system/etc/vold.fstab_use_tflashvold.fstab_use_emmc', needed by `out/target/product/s100/system/etc/vold.fstab_use_tflash'. Stop.

Edited the device.mk and changed the following lines:

device/qcom/s100/prebuilt/system/etc/vold.fstab_use_tflashvold.fstab_use_emmc:system/etc/vold.fstab_use_tflash

to

device/qcom/s100/prebuilt/system/etc/vold.fstab_use_tflash:system/etc/vold.fstab_use_tflash

I'll sleep for now and continue working on this the next day.

---------- Post added at 01:23 AM ---------- Previous post was at 12:50 AM ----------

There's a LOT of make: *** No rule to make target errors. I'll try to fix these tomorrow.
[Android Software/Hacking General [Developers Only]] chrgegdoc:
Compiling for about 40 minutes and this error occurs

device/qcom/s100/overlay/packages/apps/Torch/res/values/config.xml:29: error: Resource at flashDeviceLuminosity appears in overlay but not in the base package; use <add-resource> to add.
device/qcom/s100/overlay/packages/apps/Torch/res/values/config.xml:32: error: Resource at valueOff appears in overlay but not in the base package; use <add-resource> to add.
device/qcom/s100/overlay/packages/apps/Torch/res/values/config.xml:37: error: Resource at valueLow appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/Torch_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....
[Android Software/Hacking General [Developers Only]] arunmcops:
Use this config.xml in overlay\packages\apps\Torch\res\values
[Android Software/Hacking General [Developers Only]] x10forevers:
First of all you gave to use native framework to compile, so u have to edit all frameworks/base to frameworks/native under #hardware property in device_s100.mk file....

That will fix this huge terror of build :thumbup:
[Android Software/Hacking General [Developers Only]] arunmcops:
Thanks for insight. Plz join us in this task. We can benifit greatly from your experience.
[Android Software/Hacking General [Developers Only]] x10forevers:
I will try to solve problems here for sure

But thing is that I have 6 ROMs to build from source for new updates and m busy with work too, so whenever I get the time I will sure help, already subscribed this thread.

Cheers

Raj
[Android Software/Hacking General [Developers Only]] arunmcops:
Thanks for support :).
[Android Software/Hacking General [Developers Only]] chrgegdoc:
I am sorry, but how do I do this?

This is from device_s100.mk

## Hardware properties
PRODUCT_COPY_FILES += \
frameworks/base/data/etc/android.hardware.camera.xml:system/etc/permissions/android.hardware.camera.xml \
frameworks/base/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/base/data/etc/android.hardware.location.xml:system/etc/permissions/android.hardware.location.xml \
frameworks/base/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \
frameworks/base/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \
frameworks/base/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
frameworks/base/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
frameworks/base/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
frameworks/base/data/etc/android.hardware.touchscreen.multitouch.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.xml \
frameworks/base/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/base/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
frameworks/base/data/etc/platform.xml:system/etc/permissions/platform.xml \
frameworks/base/data/etc/android.software.sip.xml:system/etc/permissions/android.software.sip.xml \
frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
frameworks/base/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml

Are you telling to to change all frameworks/base to frameworks/native? Because if I do, that path doesn't exist.
[Android Software/Hacking General [Developers Only]] x10forevers:
Which repo did u sync ???

Cm9 or 10??
[Android Software/Hacking General [Developers Only]] rahult:
Please help us to achieve this, will be very great full to you.

Thanks in Advance.:good:
[Android Software/Hacking General [Developers Only]] x10forevers:
@OP

Please update which cm you guys compiling it will be lot more easier to look into

And also specify your cm device tree and git repo link so that if I want I can push some changes to github

Thanks

Raj
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
Yes..I think it is time to standardize.

Specify the basics. So that errors are not repeated.

As the initiative please do it arun...
[Android Software/Hacking General [Developers Only]] rahult:
I agree with Prince.Paul.K
[Android Software/Hacking General [Developers Only]] arunmcops:
We are compiling CM10 /CM10.1.
[Android Software/Hacking General [Developers Only]] chrgegdoc:
Well, I'm compiling CM9 :( Looks like I'm the only one. I think that I should compile CM9 first since there's no working stock JB out there. Whereas in CM9, there's the stock ICS.
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
Solved libaudioalsa.so by copying from the stock system to the lib

Today it is building...

Already more than one hour... Keeping fingers crossed..!!!
[Android Software/Hacking General [Developers Only]] yabyuh22:
wow nice a CM MOD FOR Karbonn a9+/cm flare
[Android Software/Hacking General [Developers Only]] chrgegdoc:
CM9 successfully compiled. Still have to test it.
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
Success on AOSP too..

:good:

Since I was syncing CM 10.1 I tried the device tree with AOSP. :good:

Build successfully. But I found recovery.img is something of about 11MB. Did you notice that..??

Will test on emu.. and post results here...!!
[Android Software/Hacking General [Developers Only]] ultrarain:
OMG :) this is real . i guess it would finished in a day cheers +1
[Android Software/Hacking General [Developers Only]] arunmcops:
Give to some tester who know how to use logcat.
[Android Software/Hacking General [Developers Only]] arunmcops:
Do not use recovery.img . Device will become bricked.
[Android Software/Hacking General [Developers Only]] arunmcops:
This means device tree is working fine. I am going to make it master branch and adding jb patches. Now someone has to work on kernel.
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
Arun..

Some changes are required to device tree as qcom/s100 proprietary is used.

I used modified mk files.. Shall I put changes to your repo in github or upload my device folder to github..??
[Android Software/Hacking General [Developers Only]] chrgegdoc:
Update:

Doesn't boot. Logcat doesn't work. I'll try to extract the compiled system.img

christian@christian-ubuntu:~$ adb logcat
- waiting for device -
- exec '/system/bin/sh' failed: No such file or directory (2) -

christian@christian-ubuntu:~$ adb devices
List of devices attached
0123456789ABCDEF	device
[Android Software/Hacking General [Developers Only]] arunmcops:
Push in my git.
[Android Software/Hacking General [Developers Only]] arunmcops:
Push the changes to my git asap. I am syncing kernel.
[Android Software/Hacking General [Developers Only]] chrgegdoc:
Do I need to make an otapackage? as in

make -j# otapackage

Does flashing via CWM work?I haven't tested it.

Still doesn't boot. I have flashed the stock ROM for the meantime.
[Android Software/Hacking General [Developers Only]] arunmcops:
Push ur whole device folder to git. Also try to use stock boot.img.
[Android Software/Hacking General [Developers Only]] chrgegdoc:
I'll do that later. Have to go to the mall to buy some things.
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
Whether data/cache to be formatted or what..??
[Android Software/Hacking General [Developers Only]] arunmcops:
Compiling cm10. 1 . Waiting to be done... :)
[Android Software/Hacking General [Developers Only]] arunmcops:
Do not format data n cache. Permanent hard brick if u r using cwm5. Format via stock recovery, flash cwm, then install cm.
[Android Software/Hacking General [Developers Only]] arunmcops:
CM9- compiled

AOSP JB- compiled

CM10. 1- compiling

CodeAurora Source- syncing

Now we have to start working on kernel. Syncing sources from codeaurora.
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
Getting error...

target thumb C: libhardware_legacy <= hardware/libhardware_legacy/power/power.c

/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'

/bin/bash: -c: line 1: syntax error: unexpected end of file

make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1
[Android Software/Hacking General [Developers Only]] ->DronZer<-:
Cool Nice Job Done...I'll Theme the CM's :D

When you're done and its working :D

Waiting!!
[Android Software/Hacking General [Developers Only]] arunmcops:
Ask chrgdoc how he solved it.
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
I tried using his git.. along with yours.. That time the error was not there..?? I will check it..!!
[Android Software/Hacking General [Developers Only]] arunmcops:
Now getting this error

error: unknown target CPU 'cortex-a5'
[Android Software/Hacking General [Developers Only]] chrgegdoc:
I'm gonna update my GitHub in a while. I still have to repair my Ubuntu installation.
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
Please let us know after the update..!!
[Android Software/Hacking General [Developers Only]] arunmcops:
Removed the line from Boardconfig.mk, now compiling. Going on. ..... :) Fingers crossed.
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
I also got the same error.. doing the same..!!
[Android Software/Hacking General [Developers Only]] arunmcops:
Facing this error

target Generated: libwebcore <= external/webkit/Source/WebCore/css/CSSCharsetRule.idl
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
Can't call method "fileName" without a package or object reference at external/webkit/Source/WebCore/bindings/scripts/IDLParser.pm line 122.
make: *** [/home/arun/cm10.1/out/target/product/s100/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8CSSCharsetRule.h] Error 1

Any solution..
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
Check gcc-c++ is installed..!!
[Android Software/Hacking General [Developers Only]] chrgegdoc:
GitHub

Try my device tree. This is for CM9 but you can try it for CM10/10.1
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
Thanks for sharing.. How was the build..?? Was it success..??
[Android Software/Hacking General [Developers Only]] arunmcops:
Already got that.... GOOGLE...... Compiling again...
[Android Software/Hacking General [Developers Only]] arunmcops:
Error during kernel compilation

arch/arm/mach-msm/qdsp5/adsp_driver.c: In function 'adsp_ion_do_cache_op':
arch/arm/mach-msm/qdsp5/adsp_driver.c:272: error: implicit declaration of function 'msm_ion_do_cache_op'
make[2]: *** [arch/arm/mach-msm/qdsp5/adsp_driver.o] Error 1
make[1]: *** [arch/arm/mach-msm/qdsp5] Error 2
make: *** [arch/arm/mach-msm] Error 2

Any idea ?

Edit:

Solved..

Now new error

arch/arm/mach-msm/spm_devices.c: In function 'msm_spm_dev_init':
arch/arm/mach-msm/spm_devices.c:112: warning: passing argument 3 of 'msm_spm_drv_write_seq_data' makes pointer from integer without a cast
error, forbidden warning: spm_devices.c:112
make[1]: *** [arch/arm/mach-msm/spm_devices.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
None of the builds are booting..!!! :crying:
[Android Software/Hacking General [Developers Only]] arunmcops:
Needs new kernel...
[Android Software/Hacking General [Developers Only]] arunmcops:
I am facing same error.. Solution ????
[Android Software/Hacking General [Developers Only]] Prince.Paul.K:
I didn't get those errors..!! I donno why..??
[Android Software/Hacking General [Developers Only]] chrgegdoc:
Did a repo sync (CM9) last Saturday and those frameworks/base errors are now gone.
[Android Software/Hacking General [Developers Only]] arunmcops:
K. I will sync again.
[Android Software/Hacking General [Developers Only]] arunmcops:
U looked at Kernel errors ? Very confused.....

One more thing.. DesireX (protou) is the single msm8225 device using same wifi (bcmhd.ko) as ours. Kernel is 4. 2 mb. I think we can use its sources. It already has working CM9. Today I will try using its kernel sources and compiling cwm6.