Help with CM10.2 Development

Discussion in 'Lenovo IdeaTab A2109 Development' started by doomboss, Oct 18, 2013.

  1. doomboss

    doomboss Senior Member

    Joined:
    Jan 17, 2013
    Messages:
    252
    Likes Received:
    47
    Trophy Points:
    210
    Location:
    Boston, MA
    Tablet / Device:
    Lenovo IdeaTab A2109
    I am not a dev, and I don't know a lot about making my own Android ROM. But, I want to build CM10.2 for our tablet (Lenovo A2109). I have Ubuntu 13.10 64-bits ready, and I am syncing the repo right now. Is there anyone that can give me some direction?

    I am following tutorial from these forums:

    [HOW-TO] Building CM10, AOKP & TeamBaked For The JB Bootloader [Ubuntu 12.04+ 64-bit] - xda-developers

    COMPILE From Source For Any Phone On Linux Distros [BUILD ENVIRONMENT TO COMPILE] - xda-developers

    I know it is for a specific phone or tablet, but still, worth a try.
     
  2. Bender007

    Bender007 Member

    Joined:
    Oct 2, 2013
    Messages:
    24
    Likes Received:
    17
    Trophy Points:
    37
    Location:
    Germany
    Tablet / Device:
    Lenovo Ideatab A2109A / Galaxy Ace 2
    That sounds great.
    Iḿ not a dev too, but i want to help.
    I started my journey a few weeks ago with the cm10 source from here: https://github.com/A2109devs/android_device_lenovo_a2109a
    Nothing happend that i can show here, just for me to learn how compiling works and what is necessary for building a rom.

    And now i hope that we can work together to bring up cm10.2 to our device.

    Iḿ already synced the cm10.2 source.
     
    • Like Like x 2
  3. flashallthetime

    flashallthetime Senior Member

    Joined:
    Dec 28, 2012
    Messages:
    499
    Likes Received:
    235
    Trophy Points:
    132
    Tablet / Device:
    ideatabA2109
    Good to hear, wish I could help but gave my tablet to my kids. Remember to change the media XML file in the etc folder and also you have to work on skia.libs to jpeg viewing

    Sent on my Moto X
     
    • Like Like x 2
  4. doomboss

    doomboss Senior Member

    Joined:
    Jan 17, 2013
    Messages:
    252
    Likes Received:
    47
    Trophy Points:
    210
    Location:
    Boston, MA
    Tablet / Device:
    Lenovo IdeaTab A2109
    Making CyangenMod is way more difficult than i thought, but oh well, I am on the step where i need to enter "brunch a2109a" on the terminal. The googlesource site(curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo) is retarded when i was trying to sync the repo for our tablet. But yeah, I am getting closer now.

    Also, @Bender007
    Good thing that superhansi uploaded his file to the github!:p;) That's why i decided to make CM10.2 myself.

    By the way, I am also using these tutorial:

    http://forum.xda-developers.com/showthread.php?t=2464683

    [Tutorial] Compile JB on Ubuntu - xda-developers
     
  5. doomboss

    doomboss Senior Member

    Joined:
    Jan 17, 2013
    Messages:
    252
    Likes Received:
    47
    Trophy Points:
    210
    Location:
    Boston, MA
    Tablet / Device:
    Lenovo IdeaTab A2109
    Will take note of that after I make the ROM :p
    Too bad that you are not using this tablet anymore :( I still remember the time when i was waiting for your ROM'S update and flashing your inverted Gapps :D :D
     
    Last edited: Oct 21, 2013
  6. doomboss

    doomboss Senior Member

    Joined:
    Jan 17, 2013
    Messages:
    252
    Likes Received:
    47
    Trophy Points:
    210
    Location:
    Boston, MA
    Tablet / Device:
    Lenovo IdeaTab A2109
    I don't understand how to create the xml file:

    You will need to add a local manifest, which tells repo where to get extra repositories that are not part of the main Cyanogenmod source. To do this, add the following to .repo/local_manifest.xml (you may need to create this file):

    <?xml version="1.0" encoding="UTF-8"?>
    <manifest>
    <project name="A2109devs/android_device_lenovo_a2109a" path="device/lenovo/a2109a" remote="github" revision="jellybean" />
    </manifest>

    where is the local_manifest.xml file?? And if i need to create it, where should i put it or how should i create it???

    PS: oh never mind... I found it, its on the hidden folder within my source folder.... lol, sorry i am kinda talking to myself now...
     
    Last edited: Oct 21, 2013
    • Like Like x 2
  7. Bender007

    Bender007 Member

    Joined:
    Oct 2, 2013
    Messages:
    24
    Likes Received:
    17
    Trophy Points:
    37
    Location:
    Germany
    Tablet / Device:
    Lenovo Ideatab A2109A / Galaxy Ace 2
    I've got the same Problem. I made a xml file in ./repo/local_manifest. But nothing happend.
    In ./repo nothing happend.
    I read somewhere the XML must named blabla.XML and not local_manifest (i'm at work so i can't look for the Name).
    Nothing works. So i downloaded the ZIP Form Git and extract it in ~/yoursource/device/lenovo/a2109a
     
    Last edited: Oct 22, 2013
    • Like Like x 2
  8. ownjoouk

    ownjoouk Member

    Joined:
    Feb 24, 2013
    Messages:
    79
    Likes Received:
    13
    Trophy Points:
    72
    Location:
    Blackpool, UK
    Tablet / Device:
    Lenovo A2109
    Good to hear this! I was gutted when superhansi seemed to disappear from the lenovo forum. Things were getting to the point it would all be finished but then suddenly stopped.

    Sadly I have no dev experience but I'm happy to test and report back once its ready.

    I have always uses cm on all my devices so if it became available on the a2109 then I would happily use it.

    One thing though. Try not to focus on using vimpirefo's kernel. While it is good it has ext sdcard issues.

    Its because of that kernel I have avoided most custom ROMs on here. Some people seem to get issues but most people don't. Or perhaps they just dont use ext SD cards?


    Either way good to hear it is in development.
     
  9. Ricky405jr

    Ricky405jr Member

    Joined:
    Feb 23, 2013
    Messages:
    255
    Likes Received:
    23
    Trophy Points:
    87
    Location:
    Suriname
    Tablet / Device:
    Coby Kyros MID8042
    How can you confirm that Vampirefo's kernel causes ext sdcard issues? Think before posting something you don't know about!. nOObs are the cause of issue's with there devices for not following the given instructions!. And if the devices Vampirefo uses isn't the same as the nOObs one, is it the cause of his kernel?.

    Vampirefo's work is apart from the others and in my opinion it's the best there is here!.
     
  10. doomboss

    doomboss Senior Member

    Joined:
    Jan 17, 2013
    Messages:
    252
    Likes Received:
    47
    Trophy Points:
    210
    Location:
    Boston, MA
    Tablet / Device:
    Lenovo IdeaTab A2109
    I don't know about the kernel issue you mention, and i did not have any issue with it before when i was using it. But anyway I don't have enough time and therefore this CM10.2 development is taking me forever... :( If you guys have the requirement(Ubuntu 64bit, or other Linux related OS maybe?), then you guys should try to learn how to port it as well :D
     
  11. tpaine

    tpaine Senior Member

    Joined:
    Aug 18, 2012
    Messages:
    525
    Likes Received:
    130
    Trophy Points:
    132
    Location:
    Socal
    Tablet / Device:
    Coby 7042, Coby 8065, Lenovo A2109
    LOL, best laugh all day! You haven't got a clue, have you ? You don't even have a A2109 so talk about posting something you dont know about, look in the mirror.

    At least the poster has the device.
     
  12. ownjoouk

    ownjoouk Member

    Joined:
    Feb 24, 2013
    Messages:
    79
    Likes Received:
    13
    Trophy Points:
    72
    Location:
    Blackpool, UK
    Tablet / Device:
    Lenovo A2109
    Thanks for this!! At least some one will stick up for me.

    I am far from a noob just because I can't dev. I have used cm now since the g1 on multiple devices so I have a fair idea how things work.

    I meant no disrespect to vampirefo. I too know his work is great.

    It wasn't just me who posted ext SD issues. Flashallthetime may remember multiple instances of people saying they had issues.

    The real issue is that not many people have this device and so not enough testing and reporting was being done.

    I know it is the kernel because it works flawlessly on stock but and ROM with vamporefo kernel and the ext SD suddenly has issues.

    I think senior members should stop and think before they shoot their mouth off.
     
    Last edited: Oct 26, 2013
  13. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,828
    Likes Received:
    1,389
    Trophy Points:
    655
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    Yes such a project requires a lot of time with little to no reward. It's nice to see you tried, if more people tried there might be less criticism and more appreciation for a Rom.
    Good luck.

    Sent from my SPH-D710 using Android Tablet
     
    • Like Like x 2
  14. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,828
    Likes Received:
    1,389
    Trophy Points:
    655
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    My kernel doesn't have sdcard problems, no kernel does sdcard problems if they exist are due to vold file or the tablets hardware.
    You can use any kernel you want, no requirement to use mine.

    My kernel won't be in this project, so no need to worry.

    Sent from my SPH-D710 using Android Tablet
     
    • Like Like x 2
  15. doomboss

    doomboss Senior Member

    Joined:
    Jan 17, 2013
    Messages:
    252
    Likes Received:
    47
    Trophy Points:
    210
    Location:
    Boston, MA
    Tablet / Device:
    Lenovo IdeaTab A2109
    I am really having trouble with the CM10.2 development. I have to use multiple instruction just to remind me some of the step, but that also make things complicated for me.

    Also, after doing this:
    {
    cd device/lenovo/a2109a
    ./extract-files.sh
    cd ../../..
    ./vendor/cm/get-prebuilts
    }

    I cannot run the "brunch a2109a". Probably because I am making CM10.2 (or CM with Android 4.3.1) and the step is a little bit different.

    The "vendor/cm/vendorsetup.sh" file is not loading the info correctly as below:
    {
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=4.3.1
    CM_VERSION=10.2-20131026-UNOFFICIAL-a2109a
    TARGET_PRODUCT=cm_a2109a
    TARGET_BUILD_VARIANT=userdebug
    TARGET_BUILD_TYPE=release
    TARGET_BUILD_APPS=
    TARGET_ARCH=arm
    TARGET_ARCH_VARIANT=armv7-a-neon
    TARGET_CPU_VARIANT=
    HOST_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-3.11.0-12-generic-x86_64-with-Ubuntu-13.10-saucy
    HOST_BUILD_TYPE=release
    BUILD_ID=JLS36I
    OUT_DIR=/home/bio/CM10.1/out
    }

    The BoardConfig is on BoardConfigCommon.mk on my SourceFolder/device/lenovo/a2109a folder. I am trying to find a way for the code to load file correctly when i type "brunch a2109a".

    Any direction for me?? :D :D


    BTW, instead of using jellybean branch, I type this in my local_manifest.xml "<project name="A2109devs/android_device_lenovo_a2109a" path="device/lenovo/a2109a" remote="github" revision="cm-10.2" />".
     
    Last edited: Oct 26, 2013

Share This Page

Search tags for this page

android loadrecoveryfstab malformed error

,

how to port custom rom to stock rom zte armv7 neon

,

jellybean rom for coby kyros 7042

,

why my pictures disapeare on lenovo a2109a