A Little Project

Discussion in 'Lenovo IdeaTab A2109' started by FloRider, Jan 21, 2013.

  1. FloRider
    Offline

    FloRider Member

    Joined:
    Dec 2, 2012
    Messages:
    358
    Likes Received:
    110
    Trophy Points:
    43
    Location:
    Florida
    Tablet / Device:
    Lenovo A2109
    $Screenshot_2013-01-21-04-14-22.png

    Voltage control but stock frequencies? Call it a battery saver ;) I call it an experiment. This is on 4.0.4. Once I get JB source I'll take this a little more seriously.
    • Like Like x 2
  2. doomboss
    Offline

    doomboss Junior Member

    Joined:
    Jan 17, 2013
    Messages:
    251
    Likes Received:
    47
    Trophy Points:
    28
    Location:
    Boston, MA
    Tablet / Device:
    Lenovo IdeaTab A2109
    Nice man!!!!!!!!!!!!! Hope you will get the JB source soon!!!!! XD

    I am still figuring out how to deal with those code on your post :(

    Anyway great work!!!!!!
  3. FloRider
    Offline

    FloRider Member

    Joined:
    Dec 2, 2012
    Messages:
    358
    Likes Received:
    110
    Trophy Points:
    43
    Location:
    Florida
    Tablet / Device:
    Lenovo A2109
    Thanks, bro. Just a little something to whet the appetites. Getting around the frequency locks is harder, but I'm trying to figure it out. My contact keeps telling me that the JB source should be out already and is trying to figure out what's going on. Until then, I'm going to keep reading code and trying to get on top of it.
    • Like Like x 4
  4. WasteLandSavage
    Offline

    WasteLandSavage Junior Member

    Joined:
    Dec 3, 2012
    Messages:
    194
    Likes Received:
    38
    Trophy Points:
    28
    Location:
    Owenton Kentucky
    Tablet / Device:
    Acer Iconia A1-810, Acer Iconia A500
    Your an INSPIRATION to us all!!!!! :cool:
    • Like Like x 2
  5. FloRider
    Offline

    FloRider Member

    Joined:
    Dec 2, 2012
    Messages:
    358
    Likes Received:
    110
    Trophy Points:
    43
    Location:
    Florida
    Tablet / Device:
    Lenovo A2109
    LOL So far I am just stealing code and trying to fit it in. I've got a long way to go before I understand the cpu locks. I'm about to log a bunch of kernel output to see which device we have. I know it's the T30SL, but I need ids for the code. The N7 is the T30L, so the cpu freq code can't be just lifted in.
  6. Linsalata28
    Offline

    Linsalata28 Junior Member

    Joined:
    Dec 24, 2012
    Messages:
    155
    Likes Received:
    47
    Trophy Points:
    28
    Location:
    NJ , USA
    Tablet / Device:
    Lenovo A2109
    Dude your the man. This is some great work your getting done. Once the jb source is released a few of us should join up and create a ROM fully themed ROM with as many tweaks as we can. I'm working on a few pretty cool mods my self but having a hard time with .smali. If your any good at editing .smali pm me or manybe we can even start a thread to help everyone learn how to mod and theme. I'm pretty good at making themes just smali is my enemy :mad:

    Sent from my HTC myTouch 4g using Tapatalk 2
  7. FloRider
    Offline

    FloRider Member

    Joined:
    Dec 2, 2012
    Messages:
    358
    Likes Received:
    110
    Trophy Points:
    43
    Location:
    Florida
    Tablet / Device:
    Lenovo A2109
    Sounds great. I've never heard of smali, though. I'm trying to wade through the kernel code. I thought I came up with a big step and now the kernel won't compile. Aaaargh!
  8. Linsalata28
    Offline

    Linsalata28 Junior Member

    Joined:
    Dec 24, 2012
    Messages:
    155
    Likes Received:
    47
    Trophy Points:
    28
    Location:
    NJ , USA
    Tablet / Device:
    Lenovo A2109
    Here is one mod I'm working on.
    http://forum.xda-developers.com/showthread.php?t=1692080
    Add screenshot to power menu.
    I'm pretty close.
    Also adding reboot, hot reboot and reboot bootloader to power menu.

    Thats why if we all team up on a ROM we would all have our own things to bring to the table.
    • Like Like x 2
  9. doomboss
    Offline

    doomboss Junior Member

    Joined:
    Jan 17, 2013
    Messages:
    251
    Likes Received:
    47
    Trophy Points:
    28
    Location:
    Boston, MA
    Tablet / Device:
    Lenovo IdeaTab A2109
    Really? There is T30SL? Do you know what is the main different between T30SL and T30L? I read some article online and saw T30SL consumes less power than T30L, but not sure if this is true or not...
  10. FloRider
    Offline

    FloRider Member

    Joined:
    Dec 2, 2012
    Messages:
    358
    Likes Received:
    110
    Trophy Points:
    43
    Location:
    Florida
    Tablet / Device:
    Lenovo A2109
    I'm trying to get on top of the kernel, but it's kicking my butt right now. Adding enough N7 code seems to screw up the configuration eventually. For some reason the drivers get mixed up and the source won't compile. Last night I swapped some variables to make the A2109 look like an overclocked N7, but it should have only affected the cpu frequency code. I don't understand it. Then once I get the kernel working, I have to deal with an installer...
  11. FloRider
    Offline

    FloRider Member

    Joined:
    Dec 2, 2012
    Messages:
    358
    Likes Received:
    110
    Trophy Points:
    43
    Location:
    Florida
    Tablet / Device:
    Lenovo A2109
    If I remember I'll take a look. The frequency steppings are a little confusing, but there is a max millivolt value for each cpu type.
    • Like Like x 2
  12. vampirefo.
    Offline

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,743
    Likes Received:
    1,374
    Trophy Points:
    113
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    Good, I am glad I am not the only one to want to look into over clocking, I have added more schedulers and governors, I had also added N7 OC code to my source, the kernel builts, but wouldn't boot, the problem is not knowing exactly what files needed to be edited.

    common files need to be changed like.

    tegra3_clocks.c
    tegra3_dvfs.c

    Then perhaps these files

    tegra3_speedo.c
    cpu-tegra3.c
    cpu-tegra.c
    cpufreq.c

    and then it gets into the unknown

    I can't find any documentations on it.

    Anyway glad to see you have the same interests.

    I am building a JB kernel, you are building ICS kernel?

    PS, what do you mean by installer? Perhaps I can help you, if you are more specific on what this is and what you need.
    Last edited: Jan 23, 2013
    • Like Like x 4
  13. FloRider
    Offline

    FloRider Member

    Joined:
    Dec 2, 2012
    Messages:
    358
    Likes Received:
    110
    Trophy Points:
    43
    Location:
    Florida
    Tablet / Device:
    Lenovo A2109
    I've been playing with an overclocking kernel for a month or so, maybe an average of 10 hours a week -- but really off-and-on, trying code from a number of different sources. I've been more interested in learning than delivering anything. And yeah, I've been working with the ICS code. I've learned a lot about the cpu freq tables, speedo ids, threshold indices, Kconfigs... geez, a lot in the time I've been playing around. I'm not about to shoehorn some N7 code into our source, cross my fingers, and publish it if it works without really understanding it.

    In terms of an installer, I'm looking at code now that uses the Aroma installer to allow the user to select options for kernel variables. Then it plugs those into the cmdline option for kernel installation. But there pieces that I need to include to create a zip installer. I've got to figure out the ramdisk portion and the necessary scripting. I'd love to get your help with this, but right now I don't want to get distracted from the kernel. Maybe we can work in parallel? You could take the stock kernel and try to integrate an installer like Aroma, or something more basic, and add a variable or two to see if you can get that working.

    I'm actually really close in terms of overclocking. I just had an epiphany when I woke up from a nap and I'm getting on it now.
    • Like Like x 2
  14. FloRider
    Offline

    FloRider Member

    Joined:
    Dec 2, 2012
    Messages:
    358
    Likes Received:
    110
    Trophy Points:
    43
    Location:
    Florida
    Tablet / Device:
    Lenovo A2109
    $Screenshot_2013-01-24-03-23-35.png

    I need another nap.
    • Like Like x 4
  15. Linsalata28
    Offline

    Linsalata28 Junior Member

    Joined:
    Dec 24, 2012
    Messages:
    155
    Likes Received:
    47
    Trophy Points:
    28
    Location:
    NJ , USA
    Tablet / Device:
    Lenovo A2109
    So how is this going and have you heard anything about the jb source ?
  16. FloRider
    Offline

    FloRider Member

    Joined:
    Dec 2, 2012
    Messages:
    358
    Likes Received:
    110
    Trophy Points:
    43
    Location:
    Florida
    Tablet / Device:
    Lenovo A2109
    The frequency table does not seem to agree with the system. I'm not sure how it's supposed to work, because the first four frequencies are not in the table to begin with. There's very little documentation I can find on frequency scaling. Oddly, the N7 uses the same frequency table values, so go figure.

    I haven't heard a peep from my contact. Maybe there's a bug they want to fix first :) .

    Sent from my IdeaTabA2109A using Tapatalk HD
  17. Linsalata28
    Offline

    Linsalata28 Junior Member

    Joined:
    Dec 24, 2012
    Messages:
    155
    Likes Received:
    47
    Trophy Points:
    28
    Location:
    NJ , USA
    Tablet / Device:
    Lenovo A2109
    I was just messing around with some kernel stuff and the kitchen. I got everything setup on my computer I think lol. I'm first working on building a stockish jb ROM with init.d support so that I can run scripts on boot. I'm looking through some n7 ROMs to see what they are using. I know I at least want to add zipalign , sqlite , 4ext tweaks and fix permissions on boot. I'm also adding SuperSU by Chainfire and FX Explorer instead of the old su and ES File Explorer. You should check out FX Explorer. Its pretty nice for a free root file explorer. I use solid explorer but its a paid app but well worth the money.
  18. FloRider
    Offline

    FloRider Member

    Joined:
    Dec 2, 2012
    Messages:
    358
    Likes Received:
    110
    Trophy Points:
    43
    Location:
    Florida
    Tablet / Device:
    Lenovo A2109
    Ok, I hate it when people don't get back to someone (I especially hate it when I do it). The max mV for the T30SL (e.g. A2109) is 1150, while for the T30L (e.g. N7) is 1237. Appropriate, because I am running into serious thermal issues. I had a slight hope of increasing the thermal cap; I may have to lower it :(.
    • Like Like x 4
  19. Linsalata28
    Offline

    Linsalata28 Junior Member

    Joined:
    Dec 24, 2012
    Messages:
    155
    Likes Received:
    47
    Trophy Points:
    28
    Location:
    NJ , USA
    Tablet / Device:
    Lenovo A2109
    Well the more you mess with it the more you'll learn. What do you use to decompile and recompile on Ubuntu? I use to use tommytomatoe's Android Utility but it doesn't work for ICS or JB apk's.
  20. doomboss
    Offline

    doomboss Junior Member

    Joined:
    Jan 17, 2013
    Messages:
    251
    Likes Received:
    47
    Trophy Points:
    28
    Location:
    Boston, MA
    Tablet / Device:
    Lenovo IdeaTab A2109
    Thanks for the reply!

    Seems like the T30SL really does consume less power than the T30L since the max voltage is less. I feel like setting the max voltage would be very difficult :( Anyway thanks for the information!

Share This Page