[ROM] AOSP/CM Jelly Bean 4.2.2 for a2109

Discussion in 'Lenovo IdeaTab A2109 Development' started by PJBrs, Dec 29, 2014.

  1. tasinofan

    tasinofan Senior Member

    Joined:
    Jan 13, 2013
    Messages:
    92
    Likes Received:
    23
    Trophy Points:
    180
    Location:
    Antwerp
    Tablet / Device:
    Medion Lifetab MD 99300 (S9714) aka Lenovo A2110
    Interesting! How did you spot this service to be responsible?
     
  2. fusm

    fusm Senior Member

    Joined:
    Jun 5, 2014
    Messages:
    58
    Likes Received:
    8
    Trophy Points:
    180
    After flashed this rom, recovery was lost, why?
     
  3. PJBrs

    PJBrs Senior Member Developer

    Joined:
    Dec 29, 2014
    Messages:
    480
    Likes Received:
    404
    Trophy Points:
    340
  4. PJBrs

    PJBrs Senior Member Developer

    Joined:
    Dec 29, 2014
    Messages:
    480
    Likes Received:
    404
    Trophy Points:
    340
    I'm afraid that's how aosp works, it flashes aosp recovery on boot. If you use my cwm, it will offer to disable recovery being overwritten.
     
    • Like Like x 1
  5. PJBrs

    PJBrs Senior Member Developer

    Joined:
    Dec 29, 2014
    Messages:
    480
    Likes Received:
    404
    Trophy Points:
    340
    Again too soon... AAAAAARGH!!! Situation is improved, but still battery drain after some time. :mad:
     
    • Informative Informative x 2
  6. profeet

    profeet Senior Member

    Joined:
    Aug 17, 2014
    Messages:
    42
    Likes Received:
    7
    Trophy Points:
    180
    Location:
    Ukraine
    Tablet / Device:
    A2109
    I install greenify, and disable framework and play services all, but battery drain is still present.
    I think problem with all ROM!
     
  7. tasinofan

    tasinofan Senior Member

    Joined:
    Jan 13, 2013
    Messages:
    92
    Likes Received:
    23
    Trophy Points:
    180
    Location:
    Antwerp
    Tablet / Device:
    Medion Lifetab MD 99300 (S9714) aka Lenovo A2110
    I bought Wakelock Detector [FULL PACK] and some odd service called
    '1013' holds device awake 95% of the time with *overflow* on top.

    Normal services have a human readeable name like, say: Google
    Services. The 1013 service is mentioned to be a system media service.

    I Googled a bit about 1013 (media) service and *overflow* wakelock
    but have not found which one exactly I may need to disable.

    *overflow* is when a counter wraps.

    1013 is UID for /system/bin/mediaserver

    I do have a lot of media on SD card. You too?

    I have tentatively disabled media storage scanner and mtp
    service. Let's see what gives.

    Next thing to try is to kill mediaserver ;-)
     
    Last edited: Apr 24, 2015
    • Like Like x 1
    • Informative Informative x 1
  8. PJBrs

    PJBrs Senior Member Developer

    Joined:
    Dec 29, 2014
    Messages:
    480
    Likes Received:
    404
    Trophy Points:
    340
    I have quite some *overflow* too, but not to the extent that it prevents deep sleep. Did you see anything related to icing? As far as I understand it's something to do with SMS. I disabled all services with icing in their full name under google play services with DisableService and now I've gone over eight hours with 98% deep sleep (in addition to disabling the wearables thing).
     
  9. PJBrs

    PJBrs Senior Member Developer

    Joined:
    Dec 29, 2014
    Messages:
    480
    Likes Received:
    404
    Trophy Points:
    340
    What do you prefer? Camera with good video recording that doesn't take pictures, or camera that takes pictures okay but in video recording has incorrect aspect ratio?
     
  10. profeet

    profeet Senior Member

    Joined:
    Aug 17, 2014
    Messages:
    42
    Likes Received:
    7
    Trophy Points:
    180
    Location:
    Ukraine
    Tablet / Device:
    A2109
    As for me, I prefer camera take pictures, but video mod has incorrect aspect ratio (480p aspect ratio is ok).
     
    Last edited: Apr 25, 2015
  11. tasinofan

    tasinofan Senior Member

    Joined:
    Jan 13, 2013
    Messages:
    92
    Likes Received:
    23
    Trophy Points:
    180
    Location:
    Antwerp
    Tablet / Device:
    Medion Lifetab MD 99300 (S9714) aka Lenovo A2110
    Hi PJBrs
    How do you measure 'deep sleep'? I mean: which program will tell you? I use 'Wakelock Detector' and it still says device is awake 90% of the time. I only found one Google Play Services service with 'Icing' in the name. I have disabled it.
     
  12. PJBrs

    PJBrs Senior Member Developer

    Joined:
    Dec 29, 2014
    Messages:
    480
    Likes Received:
    404
    Trophy Points:
    340
    Hey Tasinofan, I use Wakelock Detector too :) Just tap the orange / green line that says Statistics somewhere, right below the top line of the screen.
     
    • Useful Useful x 2
  13. tasinofan

    tasinofan Senior Member

    Joined:
    Jan 13, 2013
    Messages:
    92
    Likes Received:
    23
    Trophy Points:
    180
    Location:
    Antwerp
    Tablet / Device:
    Medion Lifetab MD 99300 (S9714) aka Lenovo A2110
    Okay, I had not thought about tapping that line :rolleyes:
     
  14. PJBrs

    PJBrs Senior Member Developer

    Joined:
    Dec 29, 2014
    Messages:
    480
    Likes Received:
    404
    Trophy Points:
    340
    Bad news--I haven't found the cause of that wakelock. I'm now building with the following services disabled:
    com.google.android.gms/com.google.android.gms.wearable.service.WearableService
    com.google.android.gsf/com.google.android.gsf.update.SystemUpdateActivity
    com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService$Receiver com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService$SecretCodeReceiver
    com.google.android.gms/com.google.android.gms.update.SystemUpdateActivity
    com.google.android.gms/com.google.android.gms.update.SystemUpdateService$Receiver
    com.google.android.gms/com.google.android.gms.update.SystemUpdateService$ActiveReceiver
    com.google.android.gms/com.google.android.gms.update.SystemUpdateService$SecretCodeReceiver

    I don't think disabling other stuff was the problem.

    Good news--I *think* I finally managed to get the stock camera hal running :) I've renamed the stock libjpeg.so to libtjpg.so and then did
    $ sed -i s/libjpeg/libtjpg/camera.tegra.so
    $ sed -i s/libjpeg/libtjpg/libtjpg.so

    I have no idea whether this is even supposed to work, and I don't know whether I need to use specific build flags yet, but I do appear to be able to take pictures and use HD video without distorted aspect ratio, and even use panorama mode. That's better than 4.1.2!

    I hope to update cyanogenmod in the weekend. If by then I haven't found the wakelock, then I'll move to 4.3. Post your suggestions for disabling parts of google services here.
     
    • Like Like x 1
  15. DBlake

    DBlake Senior Member

    Joined:
    Nov 29, 2013
    Messages:
    90
    Likes Received:
    24
    Trophy Points:
    180
    Location:
    Ithaca, NY USA
    Tablet / Device:
    Lenovo A2109 (kai)
    These wakelocks are not unique to our device... I've seen hundreds of posts relating to this same GSF wakelock.
     

Share This Page

Search tags for this page

github android videorecording

,
9714s cyanogen
,
a2109 lollipop
,

a2109a aosp

,
aosp a2109
,
aosp a2109 pjbrs
,
cyanogenmod lifetab s9714
,

lifetab s9714 cyanogenmod

,

medion lifetab s9714 cyanogenmod

,

s9714 cyanogenmod