1. Download our Official Android App: Forums for Android!

Root [KERNEL][Linaro][Hybrid] ZER0 Kernel for Samsung Galaxy Avant

Discussion in 'Android Devices' started by Dm47021, Jun 11, 2016.

  1. Humanoid924

    Humanoid924 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    5
    Joined:
    Jun 18, 2016

    Jun 18, 2016
    5
    0
    5
    Nvm guys. I returned to stock and rerooted. Everythings great now. Awesome kernel btw. Thanks for all your time and effort in keeping this phone's development alive. :):):):):):)
     

    Advertisement

  2. papadog

    papadog Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    106
    Joined:
    Sep 8, 2010

    Sep 8, 2010
    106
    19
    38
    I have the same problem with it also. Ever time my screen turns off it will not turn back on.
     
  3. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    How'd you fix it? To help @papadog and anyone else who may need it... Or did you try to install on a custom rom?
     
  4. Humanoid924

    Humanoid924 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    5
    Joined:
    Jun 18, 2016

    Jun 18, 2016
    5
    0
    5
    What I did was install busybox and kernel adiutor before flashing the kernel. Try doing that and keep us posted
     
  5. papadog

    papadog Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    106
    Joined:
    Sep 8, 2010

    Sep 8, 2010
    106
    19
    38
    That didn't work for me.
     
  6. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    What is your model number and android version?
    This seems to work on the G386T, G386T1, and G386W running stock 4.4.2 firmware. Doesn't work on G386U or G386U, as they are dual core instead of quad.
     
  7. papadog

    papadog Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    106
    Joined:
    Sep 8, 2010

    Sep 8, 2010
    106
    19
    38
    SM-G386T
    4.4.2
     
  8. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    Same as mine... Weird...
    Have you tried a wipe from recovery? That's about all I can think of that might help... Or maybe your recovery is acting up... Could try using dFuse's "Avant Exploded" app to flash a new recovery... You need Busybox for it, though...

    https://play.google.com/store/apps/...ed&pcampaignid=APPU_19_TmtoV9H0CoKImQHGppeIAQ

    Also, how did you root? Flashing SuperSu or with an app (kingroot, etc)?
     
  9. papadog

    papadog Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    106
    Joined:
    Sep 8, 2010

    Sep 8, 2010
    106
    19
    38
    I flashed SuperSu to get root.
     
  10. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    Best I can think of, if nothing else works, is to use Odin to restore stock everything and try again... Could also use Flasfire if you don't have access to a pc (this is how I do it), but it's a little complex... I can type up a quick guide if you need it, though...

    https://play.google.com/store/apps/details?id=eu.chainfire.flash&hl=en&referrer=utm_source=google&utm_medium=organic&utm_term=flashfire&pcampaignid=APPU_19_rW5oV-TUG8PImQGh7arYDA


    Here's a guide for Flashfire:
    http://androidforums.com/threads/restore-stock-with-flashfire-no-pc.1042848/
     
    #35 ciresiuol123, Jun 20, 2016
    Last edited: Jun 20, 2016
  11. papadog

    papadog Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    106
    Joined:
    Sep 8, 2010

    Sep 8, 2010
    106
    19
    38
    Thanx will have to give that a shot.
     
    ciresiuol123 likes this.
  12. Dm47021

    Dm47021 Android Expert
    Thread Starter
    Rank:
     #77
    Points:
    323
    Posts:
    1,472
    Joined:
    Nov 26, 2011

    Nov 26, 2011
    1,472
    2,115
    323
    Male
    tech.
    coloma mi
    is it possible for you to send me a logcat ?
     
  13. Humanoid924

    Humanoid924 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    5
    Joined:
    Jun 18, 2016

    Jun 18, 2016
    5
    0
    5
    sorry for the noob question but how exactly do i do that??
     
  14. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
  15. aurey2244

    aurey2244 Well-Known Member
    Rank:
     #207
    Points:
    73
    Posts:
    229
    Joined:
    Aug 18, 2015

    Aug 18, 2015
    229
    55
    73
    Male
    Sales retail
    Ann Arbor
    Great job on this kernel, I was using dfuses aokp ROM until recently I've seen this up in the forums, unfortunately even tho I've set the secure storage to false I still have to input WiFi every reboot which is annoying but the kernel is very nice. This also works on the latest version of metropcs stock KitKat, I prefer ANK3 tho because the new version had too many differences I don't like

    Nvm, a couple of reboots and WiFi works fine although the screen occasionally doesn't turn back on sometimes, I'll whined up figure it out some where down the line but right now I'm enjoying this. Also this question goes out to anyone BTW, can this kernel support USB fast charge or is that only for certain phones?
     
    #40 aurey2244, Jun 28, 2016
    Last edited: Jun 28, 2016
  16. papadog

    papadog Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    106
    Joined:
    Sep 8, 2010

    Sep 8, 2010
    106
    19
    38
    Are you working on a kernel for the aokp rom and if so how is that coming along.
     
  17. Dm47021

    Dm47021 Android Expert
    Thread Starter
    Rank:
     #77
    Points:
    323
    Posts:
    1,472
    Joined:
    Nov 26, 2011

    Nov 26, 2011
    1,472
    2,115
    323
    Male
    tech.
    coloma mi
    AOSP in general, the only difference in roms as far as that goes is the ramdisk
     
    ciresiuol123 likes this.
  18. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    Can't wait...lol...
    The Zer0 kernel for stock has issues with the newest MetroPCS rom (AOH2). Sometimes the device won't wake after turning the screen off... Have to pull the battery... I've tried messing with all kinds of settings, but nothing fixes it...
    Works great on every other stock rom I've tested, though (pretty sure I've tested all, T-Mobile and MetroPCS)...

    EDIT:
    It appears as though the minimum clock speed is too low to allow the device to wake while the screen is off... I can not seem to adjust the min clock, though, no matter which governor I use...
     
    #43 ciresiuol123, Jul 6, 2016
    Last edited: Jul 7, 2016
  19. ciresiuol123

    ciresiuol123 Well-Known Member
    Rank:
    None
    Points:
    93
    Posts:
    118
    Joined:
    Feb 7, 2016

    Feb 7, 2016
    118
    53
    93
    Male
    Attached logcat from AOH2 screen wake error. Hope it helps.


    Edit: I set everything to default in Kernel Aduiter and then changed individual settings and tested... The only option I've changed is hotplugging and now it works. Had to turn off all hotplugging...

    I know it's not a 'fix', per-se, since we kinda need hotplugging, but I would assume that the hotplug isn't working correctly with the screen off for some reason (hopefully this reason is shown in my logs)...

    EDIT (again):
    Zen Decision hotplug works... No issues at all... Although, for real, it doesn't seem any different than having hotplugging disabled...
     

    Attached Files:

    #44 ciresiuol123, Jul 8, 2016
    Last edited: Jul 8, 2016
  20. Dm47021

    Dm47021 Android Expert
    Thread Starter
    Rank:
     #77
    Points:
    323
    Posts:
    1,472
    Joined:
    Nov 26, 2011

    Nov 26, 2011
    1,472
    2,115
    323
    Male
    tech.
    coloma mi
  21. mercury0x000d

    mercury0x000d The ultra-modern operator
    Rank:
    None
    Points:
    313
    Posts:
    1,665
    Joined:
    Nov 24, 2011

    About time the Avant got some of that good ol' DM awesomeness. Great job, man!
     
    Dm47021 and ciresiuol123 like this.
  22. longjons

    longjons Lurker
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    Nov 17, 2011

    Nov 17, 2011
    9
    0
    5
    Hi I've tried and tried to get this kernel to work stably on my metro pcs galaxy avant 4.4.2 G386T1 current kernel version 3.4.0-2399036 if anyone knows of a good kernel or how to increase the max cpu & gpu speed limits to 1.6 & 580 using my existing kernel I'd appreciate it
     
  23. longjons

    longjons Lurker
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    Nov 17, 2011

    Nov 17, 2011
    9
    0
    5
    ok just an update I got it to work but I just wanted to know
    if anyone has corrected the hotplug issue
     
  24. digitalchaos

    digitalchaos Newbie
    Rank:
    None
    Points:
    16
    Posts:
    11
    Joined:
    Sep 17, 2012

    Sep 17, 2012
    11
    4
    16
    Male
    Autozone
    NE Florida
    I am having issues with my cpu cores always staying online and rarely ever switching off and on. This is whether DVFS is enabled or disabled. Also doesnt seem to change much no matter which governor I use OR which hotplug I use. Alot of times the screen wont come back on, as if the min cpu speed is too low and I cannot change it no matter what I do. Its a good kernel but it would be nice if the speeds and hotplugging would work like it should. Right now to circumvent the screen power on failure I have dvfs enabled, hotplug set as mpdecision and using the performance governor that way the speed doesnt drop and keep my screen from coming on. Its a bit annoying as its eating my battery faster. Im not in any way putting the kernel down because, as the only TW kernel that I know of for this phone, I think it is a very good one! Anyone got any ideas?

    Chuck
     
  25. Dm47021

    Dm47021 Android Expert
    Thread Starter
    Rank:
     #77
    Points:
    323
    Posts:
    1,472
    Joined:
    Nov 26, 2011

    Nov 26, 2011
    1,472
    2,115
    323
    Male
    tech.
    coloma mi
    I shall release a fix build for the screen issue... iam 99% sure i know what it is
     
    digitalchaos likes this.

Share This Page

Loading...