11-11-2014 03:21 PM
275 ... 34567 ...
tools
  1. _alexkta's Avatar
    Finally got to flash test 50 with build 6 of JBC. It's great! Accelerometer is definitely working, and charging status shows correctly as well, after wake of course. I ran into a similar situation as did at least one other person.

    I flashed in this order:
    1. ROM
    2. Kernel
    3. Virgin Fix 3 (- /system/usr/)
    4. Gapps (KonstaKang)


    I then rebooted, signed into my Google account, waited until contacts synced, and changed a few UI settings. Everything was running really smooth, so I rebooted into recovery.

    Once in recovery, I made a nandroid, and then flashed Crossbreeder. I rebooted and got the welcome screen again with no radio service. I figured Crossbreeder had screwed something up, so I rebooted into recovery and restored the nandroid.

    After restoring, I booted back into Android, and of course, everything was fine. I tested cell and wifi, and both were working fine. I rebooted, and then after a few minutes rebooted again into recovery with the intent of flashing an int2ext script. I flashed CronMod int2ext+, rebooted, and got the welcome screen again, yet again with no cell service. Wifi was still working, so I figured why not try to sign in again and see what happens. After signing in, I still had no cell service, so I rebooted.

    After this reboot, everything was/has been fine. After a few more reboots, I booted into recovery and flashed Crossbreeder. Everything is running fine now. Weird. I don't have a clue as to what in either Crossbreeder or the int2ext script may have caused that to happen. But that's what happened. Hopefully that's of some use to you. If not, at least know that running your kernel with JBC is extremely satisfying! Thanks again for all your work!
    I was also having this problem and it was pretty annoying it would happen everyday... Anyways after using the int2extv2+ & a different gapps then the Konsta ones I haven't had a problem in 3 days

    Sent from my LG-VM670 using Tapatalk 4 Beta
    bigsupersquid likes this.
    07-26-2013 04:39 AM
  2. bigsupersquid's Avatar
    test 60
    cleans up charger notification a little... breaks into two separate functions for charger and battery rpc calls.
    //edit: my testing says battery shows full regardless of voltage. binary pulled until repaired.
    still no instant notification. sleep/wake only. looking at da9030_battery.c (as suggested by something in the Documentation/power files in the kernel source) for a timed refresh instead of a callback format to at least get closer to realtime.
    07-29-2013 01:37 PM
  3. zemm356's Avatar
    Hi to all!!
    I am just user and beginner, so I am have LG Vortex Verizon Mobile. All good if it is a clean rom 2.2.1 or 2.2.2, I am tried many custom ( all which found for Vortex, all for Optimus V, Optimus S). All are good but some bugs, main is no autorotation.
    Your kernel is perfect, but some strange, if I use CM9 quatrimmus beta2 for VS660 + init pac or init cai + your kernel 45 - 60, Rotation works well, all fast and clear, but WiFi cannot On((( and camera says need to install SD card((( tested on Maceks Mod 10.0, 4.1.2 - no rotation, no wifi
    If I use b6-cm-10.1-20130715-thekraven-LS670, 4.2.2 for Optimus V/S, all works good, hard keys no light, rotation like mirror ( meaning up is down and down is up) for all positions((( wifi and BT work well
    can you do some amendments in kernel for VS 660 (LG Vortex)? IF need to Donate, indicate amount.
    Regrards, Igor
    07-29-2013 05:37 PM
  4. bigsupersquid's Avatar
    Hi to all!!
    I am just user and beginner, so I am have LG Vortex Verizon Mobile. All good if it is a clean rom 2.2.1 or 2.2.2, I am tried many custom ( all which found for Vortex, all for Optimus V, Optimus S). All are good but some bugs, main is no autorotation.
    Your kernel is perfect, but some strange, if I use CM9 quatrimmus beta2 for VS660 + init pac or init cai + your kernel 45 - 60, Rotation works well, all fast and clear, but WiFi cannot On((( and camera says need to install SD card((( tested on Maceks Mod 10.0, 4.1.2 - no rotation, no wifi
    If I use b6-cm-10.1-20130715-thekraven-LS670, 4.2.2 for Optimus V/S, all works good, hard keys no light, rotation like mirror ( meaning up is down and down is up) for all positions((( wifi and BT work well
    can you do some amendments in kernel for VS 660 (LG Vortex)? IF need to Donate, indicate amount.
    Regrards, Igor
    I didn't realize VM670 kernel would work at all on VS660!
    I would need a VS660 to test with to do any work on that model. Not sure how long it would take.
    07-29-2013 09:27 PM
  5. zemm356's Avatar
    I didn't realize VM670 kernel would work at all on VS660!
    I would need a VS660 to test with to do any work on that model. Not sure how long it would take.
    Here no so big choice of ROMs for VS660 at all. I started to test all similar ROMs for LG phones, ROM for Optimus One refused by phone)) so I begin to see for CDMA phones. Optimus V and S are similar in spec, so if use S, hard keys need to remap, V ROM better, but here 2 types, one do not work at all, second works +/- well.
    So in fact I have LG Verizon VS660 with b6-cm-10.1-20130715-thekraven-LS670 ROM + Virgin.fix4.3.0kernel.jbc-CM10.1 + 3.0.8.test_60
    this is most stable working, only 100% batt all time and accelerometer working +180 from real position.
    in case if used 3.0.8.test_55 - can work 1-2 hours, 10 hours after just switch off, need to remove batt and put back
    3.0.8.test_50 testing now
    main problem, if phone connected to charger or to PC and to reload it, it freezing at booting(((( need to re-instal kernel than and all ok)))
    07-30-2013 03:36 AM
  6. bigsupersquid's Avatar
    there's still issues getting the charger data right in the source code. the 3.0.8 stock msm_battery.c doesn't read most of the battery data, and doesn't read charger data right until after boot is finished. So it is still freezing up boot on some ROMS because the offline charging is locking up trying to read the charger info. You can remove /sbin/chargerlogo from the ramdisk to stop it or disable it in init.thunderc.rc in the ramdisk as well to allow booting until I get the battery fixed. I can maybe figure out what the difference between test 40 and on up is, because those pre-accelerometer versions boot ok with the offline charging enabled (they just don't see the charger at all.) I pulled that test 60 build because of the 100% battery issue. trying to get an alternate up soon.
    the inverted accelerometer could be worked out in the driver itself. I just need hardware to test on, because of all the boot/check/rebuild cycles needed to figure out glitches.
    flapjack.fiasco and zemm356 like this.
    07-30-2013 10:18 AM
  7. zemm356's Avatar
    the inverted accelerometer could be worked out in the driver itself. I just need hardware to test on, because of all the boot/check/rebuild cycles needed to figure out glitches.
    that's very strange, as on 4.0.4 + your kernel 45-55 accelerometer working perfectly. but wifi disabl by this new kernel.
    with 4.2 wifi working well, but accelerometer inverted, and this specially can see on photo, in any position it rotate +180 from current. so up became down)))
    07-30-2013 11:41 AM
  8. bigsupersquid's Avatar
    compare the /thunderc.init.rc files for wifi differences between 4.0.4 and 4.2. match the 4.2 settings into the 4.0.4 file and maybe your wifi will inititialize correctly.
    zemm356 likes this.
    07-30-2013 11:47 AM
  9. bigsupersquid's Avatar
    test 61
    'fixes' battery readout from test 60. bounces around like a jumping bean, though. manual calculation, probably slows down the kernel too. need to retrieve the value from battery rpc like before, no more time this afternoon though.
    07-30-2013 01:01 PM
  10. zemm356's Avatar
    compare the /thunderc.init.rc files for wifi differences between 4.0.4 and 4.2. match the 4.2 settings into the 4.0.4 file and maybe your wifi will inititialize correctly.
    compare, size differences first of all and what in it
    so working composition is next step by step: quattrimus-VS660-cm9-beta2 + 3.0.8.test_61.zip + init.thunderc.rc.cai.zip + OS-keyswap.zip
    WIFI +
    GPS +
    Accelerometer + ( all working perfectly)
    Camera and SD card + ( disappeared bug with SD, this only with happens using init.thunderc.rc.pac.zip)

    and In fact it is VS660, 4.0.4, kernel 3.0.8.test_61

    BUGS
    cannot install GAPPS
    if for ICS 4.0 - home button correct, but Google play closed in time of loadings after authorization
    if for 4.2 - home hard key works like PG UP button... Google same story..
    and known BUG indicated in 1st post
    init.thunderc.rc.cai.zip for CAI to stop bootloop. no adb in CAI with this... in fact, no usb functionality at all. no charging indicator

    night is long... try to see the turn for installing...
    * note if I am installing GAPPS before kernel, apps no want to work, if after, same((( ** if use Virgin.fix4.3.0kernel.jbc-CM10.1 - hard key +, but WIFI -
    If no installing GAPPS, manually install from SD all I need, all works perfectly for me

    EDIT:
    F**K that was amazing
    so step by step
    1. WIPE ALL + DALVIK + SYSTEM
    2.quattrimus-VS660-cm9-beta2
    3. gapps ics
    4. kernel 61
    5. init cai
    6. os-kayswap
    7. reboot

    working WiFi, Accelerometer all rotations as need, Bt, GPS, root explorer ( put in apps), Navitel, Kate Mobile, Hard Keys as need.
    installed new Google Play Store 4,2,9 working 2-3 sec after - Unfortunately. Google Play Store has stopped. If clear apps data, start, again accept conditions, it show 3 apdates for my apps, and 3-5 sec - stopped
    so all apps need to discover in the internet and install from SD\PC (((
    same no charge indicator and usb((
    continue to testing)))
    // LAST EDIT
    no want to talk a lot
    done next way
    1. Wipe
    2. ROM CM9
    3. Kernel 061
    4. Keyswap
    5. Init ( took original 4.0.4 init.thunderc.rc, deleted boot logo line, replaced all wifi lines from init.thunderc.rc.cai)
    6. flash gapps-ics-20120429-small
    7. Reboot

    Well, all working well +/-. no usb, no hardkey light, no battery indications
    maybe can find some solution soon)))
    wifi, accelerometr, finally works Play Stoere, Google play services, Gmail, etc ( all Google)
    Installed apps
    Facebook + Messenger
    Foursquare
    Skype
    Kate Mobile
    Navitel navigation full
    Smart Keyboard Pro
    MXplayer +codec
    Unnistaller for root

    Many thanks to bigsupersquid
    Attached Thumbnails [Kernel][android_kernel_lge_msm7x27-3.0.x][bigsuperkernel-3.08]-screenshot_2013-07-31-13-09-43.png   [Kernel][android_kernel_lge_msm7x27-3.0.x][bigsuperkernel-3.08]-screenshot_2013-07-31-13-09-58.png  
    bigsupersquid likes this.
    07-30-2013 04:51 PM
  11. bigsupersquid's Avatar
    test 65
    should make battery readout more accurate and less jumpy. Reads 100% until after sleeping first time, though.
    patch for Novatek driver dmesg error.
    usb host mode turned off since I can't get it working yet.
    has unnecessary file system support in it that will be removed later (ISO, etc.)
    08-06-2013 02:12 PM
  12. zemm356's Avatar
    test 65
    should make battery readout more accurate and less jumpy. Reads 100% until after sleeping first time, though.
    patch for Novatek driver dmesg error.
    usb host mode turned off since I can't get it working yet.
    has unnecessary file system support in it that will be removed later (ISO, etc.)
    HI
    with this new kernel got same problem like with 60 ( batt 100% all time)
    but this is on my VS660 with 4.0.4
    08-07-2013 01:59 PM
  13. bigsupersquid's Avatar
    test 70: remove extra filesystems, tweak at battery some more. should read battery level correctly on boot again. (nope, reads 100% till it dies. use at own risk.)
    still wake/sleep deal for charger notify and battery level update.
    08-07-2013 02:02 PM
  14. zemm356's Avatar
    test 70: remove extra filesystems, tweak at battery some more. should read battery level correctly on boot again. (nope, reads 100% till it dies. use at own risk.)
    still wake/sleep deal for charger notify and battery level update.
    got same problem like with 60 ( batt 100% all time)
    but this is on my VS660 with 4.0.4
    so i am used 50test
    08-07-2013 03:10 PM
  15. bigsupersquid's Avatar
    test 75
    revert battery capacity to calculation as per before test 41. Has readout again.
    08-08-2013 12:01 AM
  16. bigsupersquid's Avatar
    I am getting really aggravated with the battery code.
    every time I try to incorporate callbacks for battery info, the system reboots without warning or anything in the kernel log.
    I tried to implement a 10-sec update function instead of handling callbacks, but it caused a straight-up kernel panic with the work thread instead. Same crash as trying to use the 2.6 msm_battery_thunderc.c code.
    I cannot find diddly squat with google about using RPC callbacks. Barely any info about RPC calls either.
    Anybody got any pointers to RPC/callback programming examples?
    08-11-2013 06:46 PM
  17. flapjack.fiasco's Avatar
    Way over my head at this point, but I'll do a little digging later tonight. Maybe I'll find something relevant.

    Sent from my LG-VM670 using Tapatalk 4
    bigsupersquid likes this.
    08-11-2013 08:11 PM
  18. flapjack.fiasco's Avatar
    Could you point me to which files I should be looking at? I've done a little C++ in school, and I assume that the battery code is in C, right? I can probably follow along, at least a little. Maybe that will better inform my searches as well. I'll take a look at your github, but if you could point me straight to the relevant files, that would be awesome.
    bigsupersquid likes this.
    08-11-2013 11:04 PM
  19. bigsupersquid's Avatar
    drivers/power/msm_battery.c is stock and has the callback code.
    you'll need the commit from before I started messing with that file. look under commits and you'll find it.
    drivers/power/msm_battery_thunderc.c is the modified version.
    thekraven's 2.6 kernel has the original of those two files to compare. the link is in the OP.
    there's bits in drivers/power/power_supply_sysfs.c in the 2.6 kernel, some in arch/arm/mach-msm/lge/LG_rapi_client.c too. probably more I haven't found.
    lots missing in the 3.0 kernel I didn't bother to patch in cause the callbacks crash.
    flapjack.fiasco likes this.
    08-12-2013 01:51 AM
  20. dingermtb's Avatar
    So far, the best version for me, and most accurate battery reading is test 55. This is the version I keep going back too

    Sent from my ZombieBean-VM670 using Xparent Blue Tapatalk 2
    08-13-2013 09:40 AM
  21. bigsupersquid's Avatar
    So far, the best version for me, and most accurate battery reading is test 55. This is the version I keep going back too

    Sent from my ZombieBean-VM670 using Xparent Blue Tapatalk 2
    ok, then, test 80 reverts battery to test 55 msm_battery_thunderc.c
    08-13-2013 09:32 PM
  22. dgb43070's Avatar
    bisupersquid, thanks for your work on this kernel. My Optimus V is running better than ever. Though I'm new to kernel hacking I'd like to try contributing to this project. I managed to build the kernel but I don't know how to package it into a flashable zip. Can you tell me how it's done? When I flashed test 80 I saw that you used koush's AnyKernel, but I tried using that and got an error when I tried to flash the zip, something about expecting to mount 4 partitions instead of 3.
    upconvert likes this.
    08-14-2013 12:34 AM
  23. bigsupersquid's Avatar
    to package your kernel,
    open the test 80 zip with an archiving tool, copy your zImage into the kernel folder, and your wireless.ko (and any other modules you make) into system/lib/modules folder. close the archiver (save if it hasn't as you go) and rename the zip.
    use something to sign it if you want, or just leave it unsigned (one of the niceties of custom recoveries in my opinion is ignoring verification.)
    08-14-2013 08:54 AM
  24. flapjack.fiasco's Avatar
    So squid, I've been looking at the battery code in my spare time (which is minimal right now), and I haven't gotten very far yet. I have done a little searching on RPC though. I just want to make sure that I'm searching for the right thing. When you say RPC, you're talking about remote procedure calls, right? If so, I found a tutorial: CS 417 Documents. Don't know if that will help you any or not, but if I'm going to contribute anything other than a link, it's gonna take a while for me to get comfortable with the code. Hope that helps some, and if I am on the right track with my searching, I'll keep looking for more possibly helpful info.
    08-14-2013 11:05 PM
  25. brotherswing's Avatar
    You're heading in the right direction, flapjack. I'd love to help also, but I haven't done any kernel hacking since around '03, and between work and the kids I barely have time to work on my existing projects. The best advice an old Slackware dog like me can give is keep it simple, make your changes small and test everything ad nauseam!

    Sent from my LG-VM670
    08-15-2013 09:31 AM
275 ... 34567 ...

Similar Threads

  1. [Kernel][android_kernel_lge_msm7x27-3.0.x (3.0.8)]bigsuperkernel-3.0.8
    By bigsupersquid in forum LG Optimus S Rooting, ROMs, and Hacks
    Replies: 0
    Last Post: 05-28-2013, 06:33 PM
  2. Verizon Teaser Video - Feb Release [Old News]
    By bmcclure937 in forum Verizon HTC Thunderbolt
    Replies: 4
    Last Post: 02-08-2011, 10:36 AM
  3. Amazon's annoying teaser pricing
    By joebob2000 in forum Verizon Fascinate
    Replies: 7
    Last Post: 10-01-2010, 11:13 AM
  4. Exclusive: DROID X See You Tomorrow Teaser
    By stacyadell in forum Motorola Droid X
    Replies: 14
    Last Post: 07-15-2010, 09:37 AM
  5. Evo commerials vs Droid X teaser video
    By Jerzyiroc in forum HTC EVO 4G
    Replies: 0
    Last Post: 07-15-2010, 02:29 AM
LINK TO POST COPIED TO CLIPBOARD