[CLOSED][ROM][SM-G313H/HZ/ML]CyanogenMod 13 for Samsung Galaxy V

Status
Not open for further replies.
Search This thread

ngoquang2708

Senior Member
Nov 11, 2015
190
241
after flashing boot.img my phone always random reboot when using mobile data after 30~60 minute :(

have a solution ? :confused:
I have not found a solution yet. You should use mobile data only when needed. Currently, I cannot get a logcat (system and radio) when the phone auto restart. If anyone can provide it, I would very appreciate it.
 
  • Like
Reactions: bagaskara815
Jul 12, 2016
16
6
19
access_restricted
I have tried flash but my phone stuck on galaxy v.

Sent from my SM-G313HZ using Tapatalk

For mine goes well, but i'm on Ace 4.

Have you tried to flash it after clean install?
Or might you got a incomplete download.

Anyway download the Kernel for CM13 and flash it.

Make a Nandroid Backup with you things before flash anything (prefered with no changes at the system a.k.a install the boot.img or the Kernel or any script)
Just in case you might have a error after flashing, that is why you need an CLEAN BACKUP who is with your apps and settings and no changes at the system or odexed apps
 
Last edited:

hendramuhhh

Senior Member
Dec 29, 2014
50
2
When i just flash the rom without boot.img it can't grant root access for "seeder" app beacause it's selinux enforcing, so i install the boot.img, everything is working well except I facing random reboot.
random reboot not happen if I just flash the rom
 

Saket Sabane

Member
Apr 14, 2016
5
0
Boot.img

  1. ALPHA-1
    • Initial release
  2. BETA-1
    • Fixed RIL, switched to beta builds
    • Switched to AOSP charging module
  3. BETA-2
    • Fixed screen flickering.
    • Fixed audio, now you can maximize your volume!
  4. BETA-3
    • Fixed AudioFX
    • Fixed WiFi auto-disconnect
    • Working WiFi-Direct
    • No more "lock" at Setup Wizard
    • SELinux is now in Enforcing mode

What will the boot.img do and how to flash it?
 

notsuper

Senior Member
Mar 10, 2016
224
40
I think you fix the fm radio.....:good:
 

Attachments

  • IMG_20160808_080947.jpg
    IMG_20160808_080947.jpg
    238 KB · Views: 222

jesusadolfog

Senior Member
Jun 1, 2015
68
9
Maracaibo
  1. ALPHA-1
    • Initial release
  2. BETA-1
    • Fixed RIL, switched to beta builds
    • Switched to AOSP charging module
  3. BETA-2
    • Fixed screen flickering.
    • Fixed audio, now you can maximize your volume!
  4. BETA-3
    • Fixed AudioFX
    • Fixed WiFi auto-disconnect
    • Working WiFi-Direct
    • No more "lock" at Setup Wizard
    • SELinux is now in Enforcing mode
Good night, I pass by here to give info about this wonderful ROM

* Everything works correctly
* Good performance
* Good display
* Good battery performance
* Good performance zRAM (I think it would fail optimize video games)

////////////////// BUGS ///////////////////////

* FM Radio does not work :/
* Wakelocks problems in system applications (A look) > drains a lot of battery
* There is a huge bug on the lock screen.. When uploading a notification

** tested from SM-G313ML **
 

ngoquang2708

Senior Member
Nov 11, 2015
190
241
What will the boot.img do and how to flash it?
The boot.img is built with selinux mode set to permissive, like all previous version of this ROM. I provide it in case someone run into trouble with new selinux enforcing mode (default in the zip). I do not know why it causes troubles while it is supposed to solve troubles :)
If you got selinux denies and you do not want to flash the boot.img, run
Code:
setenforce 0
in Termial with root. It will set selinux mode to permissive. Note that that method will loose its effect after reboot.
 

doesntexits

Senior Member
Apr 12, 2015
1,332
1,743
/dev/null
The boot.img is built with selinux mode set to permissive, like all previous version of this ROM. I provide it in case someone run into trouble with new selinux enforcing mode (default in the zip). I do not know why it causes troubles while it is supposed to solve troubles :)
If you got selinux denies and you do not want to flash the boot.img, run
Code:
setenforce 0
in Termial with root. It will set selinux mode to permissive. Note that that method will loose its effect after reboot.

Or add these lines to a file in init.d folder (any name you want, like 03selinux or bla bla bla), change permissions to rwx-rx-rx
Code:
#!/system/bin/sh

ge=`getenforce`
if [ "$ge" != 'Permissive' ]; then
setenforce 0
fi;
 
Last edited:

Idayrad

Member
Jun 11, 2016
35
10
Waw it's amazing ... There is even more phone with better specs that not have "taste" marshmallow & cm13 yet, but it already developed in this Cheap phone .... oH i'm so touched ????

Sent from my SM-G313HZ using Tapatalk
 

ngoquang2708

Senior Member
Nov 11, 2015
190
241
New BETA-4 build guys. Check for download in Downloads section. I am uploading mirror link. This BETA-4 should fix an annoying issue that existed for so long - the battery drain issue. Plus, I added lz4 compressor/de-compressor for zram. It means better performance. I also fixed (not literally a bug but my mistake, sorry :)) unstable mobile data, means no connection drop, no lost signal (except your are out of coverage :D).
Good news is over, here is bad news. I cannot switch mobile data to other SIM except when I reboot the phone. That all. Good luck to you guys an thank you.
@doesntexits Please add this to changelog:
* Fixed battery drain
* Added lz4 compressor/de-compressor for zram
Thank you.
 
Last edited:

doesntexits

Senior Member
Apr 12, 2015
1,332
1,743
/dev/null
New BETA-4 build guys. Check for download in Downloads section. I am uploading mirror link. This BETA-4 should fix an annoying issue that existed for so long - the battery drain issue. Plus, I added lz4 compressor/de-compressor for zram. It means better performance. I also fixed (not literally a bug but my mistake, sorry :)) unstable mobile data, means no connection drop, no lost signal (except your are out of coverage :D).
Good news is over, here is bad news. I cannot switch mobile data to other SIM except when I reboot the phone. That all. Good luck to you guys an thank you.
@doesntexits Please add this to changelog:
* Fixed battery drain
* Added lz4 compressor/de-compressor for zram
Thank you.

Updated in OP. Also from now I'll add post link of changelog instead, so no copy-pastes and BB texts
Oh yeah everyone too, make a big yeah for this long-living device. It had been resurrected from being dead by our great guy, so don't give thanks to me, give to him
I just the one who making threads only :D
 
Last edited:
  • Like
Reactions: Idayrad
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    NOTE: THERE'S A NEW THREAD HAS BEEN MADE. ANY UPDATES FROM THIS THREAD WILL BE MOVED TO THE NEW THREAD. THIS THREAD IS NOW CLOSED!!

    CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0.1 (MM), which is designed to increase performance and reliability over stock Android for your device.

    Code:
    #include <std_disclaimer.h>
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     *
     */

    BEFORE INSTALLING THIS ROM, MAKE SURE YOUR DEVICE MODEL IS THE SAME AS TITLE
    IF YOU ASK ANY QUESTIONS LIKE "IS THIS FOR MODEL BLABLABLA" THEY WILL BE ALL IGNORGED

    CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.


    We'll not support users and answer questions from users which:
    • are running a custom kernel
    • have flashed mods
    • modified system files
    • didn't follow our intructions word by word
    • are unfriendly
    • And most important: DON'T READ THE OP


    What's working:
    • RIL (Calls, SMS, Mobile data) [Dual-SIM]
    • Wifi (connection, tethering, etc)
    • Bluetooth
    • Camera, video codecs
    • Storage (both internal and external)
    • Storages (internal, external, adoptable storage) (*)
    • Offline charging
    • zRAM (compressed-RAM swap)
    • GAPPS
    • Tethering (USB, Wifi, Bluetooth)
    • GPS
    • Torch (flashlight)
    • WiFi-Direct
    • SELinux enforcing
    • New lz4 compressor/de-compressor for zram (new)

    BUGS/Not working :
    There're lots of bugs, but main are
    • No sound (beware making alarm while running this ROM), also Sound Recording doesn't work
    • Sound quality not too good when playing loud music or sound
    • FM radio app FC (due to missing libraries)
    • Screen recorder freeze the system (due to codecs, maybe)
    • Screen flickering on apps only (known as "strict mode"). Quick solution is pressing recents button, then return to the app. Currently, we can't disable it through Developer options
    • Distorting sound when using Bluetooth headset in call
    • WiFi-Direct does not work
    • WiFi auto-disconnect
    • AudioFX is not working
    • Battery drain caused by RIL
    • Cannot switch mobile data to other SIM without reboot

    First time installing CyanogenMod 13 to your Galaxy V, or coming from another ROM:
    • Install TWRP Recovery
    • Reboot into Recovery using 3-button-combo (Vol-up+Home+Power)
    • Do a Nandroid backup! (Optional and only if you weren't running TouchWiz before)
    • WIPE (wipe data/factory reset + wipe cache partition + format /system partition)*
    • Install the ROM from sdcard using TWRP Recovery
    • Optionally install the Google Apps ( get it here: https://opengapps.org ) (pico GAPPS recommended) (*)

    (*) NOTE: If you're about going to install GAPPS with ROM, install it right after you've installed the ROM, else you have to do a factory reset if you've booted the ROM first

    DEAR KANGERS
    • If you're going to reuse our work, be kind and give proper credits
    • This is the only payment we're really demanding and we deserve it to be mentioned because of the countless hours we've put into this project.
    • Open-source doesn't mean "out of respect"

    DOWNLOADS:
    ALPHA-1: Link
    BETA-1: Link
    BETA-1Update1: XDA MF
    BETA-2: XDA MF
    BETA-3:
    BETA-4: Mirror MF

    Want some screenshots? Get them in Screenshot tab above

    XDA:DevDB Information
    CyanogenMod 13, ROM for the Samsung Galaxy Ace 4

    Contributors
    doesntexits, ngoquang2708
    Source Code: https://github.com/ngoquang2708/android_device_samsung_vivalto3gvn/tree/cm-13.0

    ROM OS Version: 6.0.x Marshmallow
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: Stock 4.4.2
    Based On: CyanogenMod

    Version Information
    Status: Beta
    Current Beta Version: 3
    Beta Release Date: 2016-08-01

    Created 2016-06-14
    Last Updated 2016-08-28
    13
    CHANGELOG

    1. ALPHA-1
      • Initial release
    2. BETA-1
      • Fixed RIL, switched to beta builds
      • Switched to AOSP charging module
    3. BETA-2
      • Fixed screen flickering.
      • Fixed audio, now you can maximize your volume!
    4. BETA-3
      • Fixed AudioFX
      • Fixed WiFi auto-disconnect
      • Working WiFi-Direct
      • No more "lock" at Setup Wizard
      • SELinux is now in Enforcing mode
    5. BETA-4: Post #199
    8
    F.A.Q

    Q: ROM startup too slow?
    A: This device is just a single-core phone, so the first startup is super-duper slow, and some lags are expected during usage

    Q: ETAs?
    A: See here: Link

    Q: Anymore models supported?
    A: SM-G313ML, SM-G313H

    Q: Is init.d supported on this ROM?
    A: Every CyanogenMod ROMs support init.d, so be free at scriptings

    Q: Can you include ABCXYZ feature / Samsung Apps here?
    A: NO!

    Q: Can i use your ROM as a base for portings?
    A: Yes, you could, but give proper credits

    Q: Status 7 when installing the ROM?
    A: Use TWRP recovery to install the ROM, as CWM is not supported yet

    Q: Server error in Google Play Store?
    A: Install latest Google Play Services manually first (might take long time, due to Lollipop's nature), then you can install apps from GG Play as usual

    Q: How to use adoptable storage feature? I see it's new in Marshmallow
    A: Go to Settings >> Storage & USB >> Tap on the SD card label (not the eject icon) >> 3 dots menu on the top right >> Settings >> Format as internal and done!

    Q: Where's the MTP option in Marshmallow? I don't see it in Storage settings
    A: This feature has been moved to Developer settings, and will reset to default (Charging) after every reboots. Enable developer options first by tapping 7 times on Build number in About phone section >> Go to Developer settings >> Select USB configuration. The fastest way to do this is plug in your USB with your PC, scroll down notification bar and tap on "USB for Charging"

    Q: Where's the "running" section in Apps settings?
    A: It has been cut off separately to Memory setting and "Running services" in Developer settings. You can see the memory used by apps for a period of time and closing apps too, but they won't disappear in the menu, and in "Running services", still same as old-fashioned running apps section
    6
    New build guys. Links: XDA MF.
    Applied a workaround for audio. Audio is now work, but the quality is bad.
    Fixed ScreenRecorder app.
    6
    BETA-1 has been released! Changes:
    • Fixed RIL (though audio still dead, you can still hear what people say using internal and loud speaker as well)
    • Switched to AOSP offline charger (bye bye green battery)
    • ...
    Download link updated to OP!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone