[ROM][STABLE][4.4.4][UNOFFICIAL][SM-G313H/HZ/ML] CyanogenMod 11 for Samsung Galaxy V - Samsung Galaxy Ace 4

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.4.4 (KK), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include
/*
* 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
Thanks to @JeffersonCaf for confirmed working on SM-G313ML
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:
have flashed mods
modified system files
didn't follow our intructions word by word
are unfriendly
What's working:
Wifi (connection, WiFi Direct (testing), tethering, etc)
Bluetooth
RIL (Calls, SMS, mobile data for both SIMs)
Storage (both internal and external)
ART (but don't use this as daily because some apps could FC due to compatibility)
MTP storage (both internal and external)
Offline charging
zRAM (compressed-RAM swap)
GAPPS (both ART and normal gapps)
Tethering (USB, Wifi, Bluetooth)
Hardware rendering
Camera
Torch (flashlight)
GPS
Video codecs
Sound recording
BUGS/Not working (none for SM-G313HZ, but...) :
(SM-G313ML) Mobile data doesn't work (this will remain unsolved permanent because we don't have the phone)
BUGS REPORTS ARE GREATLY APPRECIATED.
*Before reporting bugs please include logcat to help us solve the problems easier
NOTE: Bugs report for this ROM is closed, as it is already at stable state now
This ROM is suitable for daily use
First time installing CyanogenMod 11.0 to your Galaxy V, or coming from another ROM:
Install ClockworkMod Recovery (OR TWRP)
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 ClockworkMod Recovery (OR TWRP)
Optionally install the Google Apps (GAPPS)
*NOTE: If you're running TWRP recovery, you must FULLY WIPE DATA on Wipe >> Wipe data >> Type "yes", not swipe to factory reset. If not, you would get bootloops sometimes
ROM
Click to expand...
Click to collapse
LITE GAPPS (7,87MB): Link
GAPPS FOR ART RUNTIME: Link
ROM
[3RD FINAL RELEASE]: [TEMPORARILY REMOVED]
[2ND FINAL RELEASE]: Link
[1ST FINAL RELEASE]: Link
Source: Link
FAQ
1. Why i'm getting bootloops after only wipe data w/o /data/media internal storage?
A: Because sometimes, our /data partition is corrupted, so full wipe is possible.
2. Do i get OTAs everyday?
A: No! Because we're not get this to official, so no OTAs
3. Is init.d supported?
A: Yes, all CyanogenMod ROMs support this, so be free at scriptings
4. Can you include Samsung Apps/ ABCXYZ features here?
A: No! But, you can customize this ROM for your own. If you wanna release it public, give proper credits.
5. I've installed on SM-G313H, but my phone is single-SIM, so why i'm getting dual-SIM?
A: Remove "persist.radio.multisim.config=dsds" from build.prop to switch to single-SIM mode.
6. I'm on SM-G313H/ML, but when installed this ROM, i got SM-G313HZ, why?
A: This ROM is mainly created for SM-G313HZ. If you want to get back to your phone model, change "ro.product.model" in build.prop to your phone model.
7. I can't connect to WiFi?
A: Use any root browser software, go to /data/misc/wifi, change "ctrl_interface" from wpa_supplicant.conf from "wlan0" to "/data/misc/wifi/sockets"
8. WiFi Direct in Settings is not working?
A: This feature is in beta-testing. You can use any 3rd-party software to use this feature.
9. What kernel is using in this ROM? Can i install any kernel on this ROM?
A: Mostly is stock kernel with sth modified to work with CM. You could use any kernel in this CM as you want, but don't send bug reports or confuses about bricked your device due to installing custom kernel. Read carefully first if you're going to install custom kernel. If your device is soft bricked, restore it with Odin or reinstall the ROM with factory reset.
10. Why i can't move apps to SD card?
A: Google and CM themselves removed the code of App2SD from framework mainline, so this feature is unavailable
11. Why i can't call to anyone, even you said that RIL is fixed?
A: You've to active SIMs first, by go to Settings >> SIM cards >> Configure SIM cards >> Touch active (ON/OFF switch) to active SIMs and use them as usual
12. Why installing apps is so damn long?
A: Due to our phone's nature, a 512MB RAM and single-core CPU so if many apps is running background, this could happens. Installing full gapps play a role with this too
13. Where's transparent status bar?
A: You have to enable developer options first, by go to Settings >> About phone >> 7-taps on build number >> Back to settings >> Performance >> Choose "Force high-end graphics" >> Reboot
14.Why after recording, my videos are blacked-out? And changing snap pics << >> recording the screen is nearly black?
A: First, before recording, you've to change codec to MPEG4 first in camera settings. The screen is nearly black because camera's low-light detection module seems broken. Switch to other modes >> Get out camera app >> Reopen it again to fix.
15. Missing 480p quality on YouTube, tho stock still have it?
A: Look at build.prop, change Android version to 4.4.2 and reboot, feel the magic
Credits:
@Nikiz and @itigr for some works taken from them
@corphish for his patches
@NgĂ´ Minh Quang for his fixes and stuffs
@cleverior.ipul for his TWRP and CWM recovery
Sammy for the phone and kernel
Forgive me if i forgot someone
DEAR KANGERS
Click to expand...
Click to collapse
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"
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CHANGELOG:
Code:
- 2016/1/10
+ Initial release
- 2016/01/24
+ Fixed bluetooth (yay!)
+ Partially fixed video decoding (you can still watching YouTube videos but with low res. FB playback still dead for now)
+ Now with zRAM enabled (harder multitasking)
+ GPS fixed
+ Apps FC fixed (due to OOM-situation, because of missing dalvik lines from build.prop)
- 2016/01/31
+ Fully fixed hardware rendering, now the phone is super-smooth (another yay!, thanks to [user=5822936]@corphish[/user])
+ Fixed wifi and bluetooth tethering
+ Partially fixed camera (still can't take pics and record but can see what's your camera heading to)
+ SD card is now unmountable
+ Fixed battery stats
+ ALMOST FULLY FIXED RIL (damn the 2nd SIM data, but the 1st SIM data still works and big thanks to [user=6100326]@itigr[/user]) (HZ/ML only)
+ Integrates all modules as built-in
- 2016/02/06
+ Fully fixed audio recording
+ Fully fixed camera (now you can snap pics and record like stock)
+ Fixed HW codecs (you could watch films at 720p, but... YouTube seems hates it on 4.4.4)
+ Fixed 2nd SIM signal (going for 2nd SIM data) (HZ/ML only, H fully functional with RIL)
+ Fully fixed tethering (USB, Bluetooth and Wifi tethering now works as it does)
+ Increased zRAM size to 256MB
+ Switch to CM11 bluetooth firmware
+ Added WiFi Direct option (testing)
- 2016/02/08
+ Fixed apps freezes (needs confirmation)
+ Added deadline scheduler
- 2016/02/11 (stable)
+ Fixed phone freezes immediately when doing intensive tasks like games.... (finally)
- 2016/02/13 (FINAL RELEASE)
+ Fully fixed dual-SIM (finally again)
- 2016/04/29 (2nd FINAL RELEASE)
+ Fixed gallery bug, ROM now will be in completely stable state

I can install it on a SM-G313ML of Mexico?

5u4573 said:
I can install it on a SM-G313ML of Mexico?
Click to expand...
Click to collapse
Sure, you can test it, because G313ML and HZ has same specs

Nice

Well, can't let this damn RIL thing to work.
It just shows one SIM working (still can't make calls but mobile data working), the second only IMEI and mobile number, else no signals
Needs someone to help me here

Se Puede Instalar Con La Stock , Por Que No Hace Un Tutorial Sobre Como Flashear La Rom
---------- Post added at 03:25 PM ---------- Previous post was at 03:24 PM ----------
Kaneki16fav said:
Se Puede Instalar Con La Stock , Por Que No Hace Un Tutorial Sobre Como Flashear La Rom
Click to expand...
Click to collapse
Por Que No Hacen Un Video Sobre Como Flashea La Rom

Kaneki16fav said:
Se Puede Instalar Con La Stock , Por Que No Hace Un Tutorial Sobre Como Flashear La Rom
---------- Post added at 03:25 PM ---------- Previous post was at 03:24 PM ----------
Por Que No Hacen Un Video Sobre Como Flashea La Rom
Click to expand...
Click to collapse
Explain in English please I don't know Spanish
Instructions was in OP, you can understand it even you're a noob.

For apps force-closing, you need to add this to build.prop (i'll add it to the next future builds)
Code:
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=128m
dalvik.vm.heaptargetutilization=0.25
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=2m
Edit: Fixed on newer build!

New build. Changes:
Code:
- Fixed bluetooth (yay!)
- Partially fixed video decoding (you can still watching YouTube videos but with low res. FB playback still dead for now)
- Now with zRAM enabled (harder multitasking)
- GPS fixed
- Apps FC fixed (due to OOM-situation, because of missing dalvik lines from build.prop)
Can't let this damn RIL thing to work. IDK what Sammy does to its stock (our stock is KitKat, but it doesn't requires any SIM-card registeration LOL)
Link updated to OP

New build. Changes:
Code:
- Fully fixed hardware rendering, now the phone is super-smooth (another yay!, thanks to @corphish)
- Fixed wifi and bluetooth tethering
- Partially fixed camera (still can't take pics and record but can see what's your camera heading to)
- SD card is now unmountable
- Fixed battery stats
Link updated to OP

doesntexits said:
New build. Changes:
Code:
- Fully fixed hardware rendering, now the phone is super-smooth (another yay!, thanks to @corphish)
- Fixed wifi and bluetooth tethering
- Partially fixed camera (still can't take pics and record but can see what's your camera heading to)
- SD card is now unmountable
- Fixed battery stats
Link updated to OP
Click to expand...
Click to collapse
Could you use this libbinder and let me know if camera taking pics are working or not?
Don't ask why its in form of a vendor blob, long story.

corphish said:
Could you use this libbinder and let me know if camera taking pics are working or not?
Don't ask why its in form of a vendor blob, long story.
Click to expand...
Click to collapse
Stuck on Sammy logo
Forgot to mention this: The phone will freezes when taking pics and recording

doesntexits said:
Stuck on Sammy logo
Forgot to mention this: The phone will freezes when taking pics and recording
Click to expand...
Click to collapse
Have you checked the permissions? Changing libbinder on the go can cause this, I prefer to use aroma file manager to change this libs... And set perms.
And yeah, we had the same problem of camera freezing while taking pics. This binder fixed it.
And this libbinder actually worked on 2 sprd phones.
Infact, the libbinder from core3 stock ROM atleast got us to homescreen.

corphish said:
Have you checked the permissions? Changing libbinder on the go can cause this, I prefer to use aroma file manager to change this libs... And set perms.
And yeah, we had the same problem of camera freezing while taking pics. This binder fixed it.
And this libbinder actually worked on 2 sprd phones.
Infact, the libbinder from core3 stock ROM atleast got us to homescreen.
Click to expand...
Click to collapse
LOL, i though AROMA recovery FM already changes permission to default during copy files?
Another Q: which one?
Edit: even deleted the default and copy the downloaded one doesn't work

doesntexits said:
LOL, i though AROMA recovery FM already changes permission to default during copy files?
Another Q: which one?
Click to expand...
Click to collapse
The binder which i linked in previous post

corphish said:
The binder which i linked in previous post
Click to expand...
Click to collapse
Sorry.... but i asked you which phone? (typo )
The phone still stuck, even delete-copy-paste doesn't work

doesntexits said:
Sorry.... but i asked you which phone? (typo )
The phone still stuck, even delete-copy-paste doesn't work
Click to expand...
Click to collapse
Oh!
Then get full logs, has to be fixed in source.
Its SG Star Pro btw.

corphish said:
Oh!
Then get full logs, has to be fixed in source.
Its SG Star Pro btw.
Click to expand...
Click to collapse
OK, idk what reason
Here's the full log, it ends in the end(another typo) and showing no more
Code:
--------- beginning of /dev/log/main
E/logwrapper( 89): executing /system/bin/e2fsck failed: No such file or directory
D/MODEMD ( 119): TD modem is not enabled
D/MODEMD ( 119): W modem is enabled
D/MODEMD ( 119): It's w native version
D/MODEMD ( 119): enter start_service!
D/MODEMD ( 119): open stty dev: /dev/stty_w0
D/MODEMD ( 119): write AT+SMMSWAP=0
to /dev/stty_w0
--------- beginning of /dev/log/system
I/auditd ( 120): Starting up
D/MODEMD ( 119): ret = 6, buffer =
D/MODEMD ( 119): OK
D/MODEMD ( 119): read OK from /dev/stty_w0
D/MODEMD ( 119): write AT+CMUX=0
to /dev/stty_w0
D/MODEMD ( 119): modemd_listenaccept_thread: Waiting for new connect ...
D/MODEMD ( 119): ret = 6, buffer =
D/MODEMD ( 119): OK
D/MODEMD ( 119): read OK from /dev/stty_w0
D/MODEMD ( 119): start w phoneserver!
D/MODEMD ( 119): modemd_engcontrol_thread: Waiting for new connect ...
D/MODEMD ( 119): modemd_engcontrol_listen: enter
D/MODEMD ( 119): modemd_engcontrol_listen:begin select
I/audit_log( 120): Previous audit logfile detected, rotating
I/Vold ( 118): Vold 2.1 (the revenge) firing up
D/Vold ( 118): Volume extSdCard state changing -1 (Initializing) -> 0 (No-Media)
I/DEBUG ( 123): debuggerd: Jan 29 2016 21:57:40
I/installd( 134): installd firing up
I/cm ( 139): ____ _ _ ____ _ _ ____ ____ ____ _ _ _ _ ____ ___
D/DataRouter( 137): Main entered
D/DataRouter( 137): switchUser
D/DataRouter( 137): monitor_usb_thread
E/DataRouter( 137): Opening of the usb select file failed fd is -1 & errno is 2
E/DataRouter( 137): Opening of the usb select file failed fd is -1 & errno is 2
E/DataRouter( 137): Opening of the usb select file failed fd is -1 & errno is 2
E/DataRouter( 137): Opening of the usb select file failed fd is -1 & errno is 2
E/DataRouter( 137): Opening of the usb select file failed fd is -1 & errno is 2
D/DataRouter( 137): Initialise USB and start the thread
D/DataRouter( 137): dr_usb_init
E/DataRouter( 137): USB Interface is open with 0x9
D/DataRouter( 137): USB interface is now configured for usb_fd = 0x9
D/DataRouter( 137): monitor_data_of_usb
D/DataRouter( 137): USB monitor thread launched, usb_fd= 0x9
D/DataRouter( 137): Before the usb select
D/MODEMD ( 119): start engservice!
I/cm ( 143): | \_/ |__| |\ | | | | __ |___ |\ | |\/| | | | \
I/cm ( 150): |___ | | | | \| |__| |__] |___ | \| | | |__| |__/
I/NPS_MOBEX( 141): Feature_Init
D/MODEMD ( 119): start rild!
D/MODEMD ( 119): start w rild!
E/ ( 145): main: slog begin to work. [12]
E/ ( 145): handle_slog_property: slog.step = 0, slog.reload = 0 [12]
I/NPS_MOBEX( 141): task Start
D/MODEMD ( 119): detect_sipc_modem: open assert dev: /dev/spipe_w2, fd = 7
D/MODEMD ( 119): detect_sipc_modem: open watchdog dev: /proc/cpw/wdtirq, fd = 15
D/MODEMD ( 119): detect_sipc_modem: wait for modem assert/hangup event ...
D/MODEMD ( 119): detect_modem_blocked: try to connect socket phsw...
D/phoneserver( 151): detect_at_no_response: accept soc_client=40
D/MODEMD ( 119): detect_modem_blocked: connect socket phsw success
D/MODEMD ( 119): detect_modem_blocked: begin detect blocked event on socket phsw...
I/NPS_MOBEX( 141): wscMessageGet msgid:4097
I/NPS_MOBEX( 141): wscSerialOverMTPServiceStartThread
D/Vold ( 118): Volume extSdCard state changing 0 (No-Media) -> 2 (Pending)
I/NPS_MOBEX( 141): wscSerialOverMTPServiceThread
I/NPS_MOBEX( 141): wscSerialOverMTPServiceStart
I/NPS_MOBEX( 141): wscSerialOverMTPServiceConnect
I/NPS_MOBEX( 141): wscSerialOverMTPServiceConnect START
I/NPS_MOBEX( 141): wscSerialOverMTPServiceConnect accept
I/NPS_MOBEX( 141): wifi_wscDataServiceStart
I/NPS_MOBEX( 141): wifi Create server_sockid: 10
I/NPS_MOBEX( 141): wifi_wscDataServiceConnect
I/NPS_MOBEX( 141): wifi_wscDataServiceConnect START
D/DirectVolume( 118): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 129, PARTN 1
D/DirectVolume( 118): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 130, PARTN 2
D/DirectVolume( 118): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 131, PARTN 3
D/DirectVolume( 118): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 132, PARTN 4
D/Vold ( 118): Volume extSdCard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/cm ( 196): Welcome to Android 4.4.4 / CyanogenMod-11-20160131-UNOFFICIAL-vivalto3gvn
E/ ( 145): handle_kmemleak: handle_kmemleak: off
E/ ( 145): [12]
D/refnotify( 205): Enter RefNotify main
D/refnotify( 205): Enter RefNotify main td_flag 0
D/refnotify( 205): RefNotify main: wait for modem notify event ...
D/refnotify( 205): RefNotify ready to do cmd
D/refnotify( 205): RefNotify_DoCmd, 4
E/refnotify( 205): RefNotify_rtc_readtm failed, error: Permission denied
E/refnotify( 205): error to get rtc time
D/refnotify( 205): RefNotify main: wait for modem notify event ...
D/refnotify( 205): RefNotify ready to do cmd
D/refnotify( 205): RefNotify_DoCmd, 3
E/refnotify( 205): RefNotify_rtc_readtm failed, error: Permission denied
E/refnotify( 205): error to get rtc time
D/refnotify( 205): RefNotify main: wait for modem notify event ...
D/NVITEM ( 204): /system/bin/nvitemd /dev/spipe_w1 /system/etc/nvitem_w.cfg FALSE
D/NVITEM ( 204): /system/bin/nvitemd /dev/spipe_w1 /system/etc/nvitem_w.cfg FALSE
D/NVITEM ( 204): is_cali_mode 0
D/NVITEM ( 204): NVITEM: ramDisk_Init enter
D/NVITEM ( 204): NVITEM: partId originImage backupImage length
D/NVITEM ( 204): NVITEM: 0x 1 /dev/block/platform/sprd-sdhci.3/by-name/FIXNV1 /dev/block/platform/sprd-sdhci.3/by-name/FIXNV2 0x 40000
D/NVITEM ( 204): NVITEM: 0x 2 /dev/block/platform/sprd-sdhci.3/by-name/RUNTIMENV1 /dev/block/platform/sprd-sdhci.3/by-name/RUNTIMENV2 0x 60000
D/NVITEM ( 204): NVITEM get config finished!
D/NVITEM ( 204): ramDisk_Read enter
D/NVITEM ( 204): NVITEM partId1:/dev/block/platform/sprd-sdhci.3/by-name/FIXNV2 read success!
D/NVITEM ( 204): ramDisk_Read enter
D/NVITEM ( 204): NVITEM partId2:/dev/block/platform/sprd-sdhci.3/by-name/RUNTIMENV1 read success!
D/NVITEM ( 204): NVITEM:channel open
D/NVITEM ( 204): NVITEM:_getPacket
I/macloader( 149): WIFI MAC is valid

doesntexits said:
OK, idk what reason
Here's the full log, it ends in the end(another typo) and showing no more
Code:
--------- beginning of /dev/log/main
E/logwrapper( 89): executing /system/bin/e2fsck failed: No such file or directory
D/MODEMD ( 119): TD modem is not enabled
D/MODEMD ( 119): W modem is enabled
D/MODEMD ( 119): It's w native version
D/MODEMD ( 119): enter start_service!
D/MODEMD ( 119): open stty dev: /dev/stty_w0
D/MODEMD ( 119): write AT+SMMSWAP=0
to /dev/stty_w0
--------- beginning of /dev/log/system
I/auditd ( 120): Starting up
D/MODEMD ( 119): ret = 6, buffer =
D/MODEMD ( 119): OK
D/MODEMD ( 119): read OK from /dev/stty_w0
D/MODEMD ( 119): write AT+CMUX=0
to /dev/stty_w0
D/MODEMD ( 119): modemd_listenaccept_thread: Waiting for new connect ...
D/MODEMD ( 119): ret = 6, buffer =
D/MODEMD ( 119): OK
D/MODEMD ( 119): read OK from /dev/stty_w0
D/MODEMD ( 119): start w phoneserver!
D/MODEMD ( 119): modemd_engcontrol_thread: Waiting for new connect ...
D/MODEMD ( 119): modemd_engcontrol_listen: enter
D/MODEMD ( 119): modemd_engcontrol_listen:begin select
I/audit_log( 120): Previous audit logfile detected, rotating
I/Vold ( 118): Vold 2.1 (the revenge) firing up
D/Vold ( 118): Volume extSdCard state changing -1 (Initializing) -> 0 (No-Media)
I/DEBUG ( 123): debuggerd: Jan 29 2016 21:57:40
I/installd( 134): installd firing up
I/cm ( 139): ____ _ _ ____ _ _ ____ ____ ____ _ _ _ _ ____ ___
D/DataRouter( 137): Main entered
D/DataRouter( 137): switchUser
D/DataRouter( 137): monitor_usb_thread
E/DataRouter( 137): Opening of the usb select file failed fd is -1 & errno is 2
E/DataRouter( 137): Opening of the usb select file failed fd is -1 & errno is 2
E/DataRouter( 137): Opening of the usb select file failed fd is -1 & errno is 2
E/DataRouter( 137): Opening of the usb select file failed fd is -1 & errno is 2
E/DataRouter( 137): Opening of the usb select file failed fd is -1 & errno is 2
D/DataRouter( 137): Initialise USB and start the thread
D/DataRouter( 137): dr_usb_init
E/DataRouter( 137): USB Interface is open with 0x9
D/DataRouter( 137): USB interface is now configured for usb_fd = 0x9
D/DataRouter( 137): monitor_data_of_usb
D/DataRouter( 137): USB monitor thread launched, usb_fd= 0x9
D/DataRouter( 137): Before the usb select
D/MODEMD ( 119): start engservice!
I/cm ( 143): | \_/ |__| |\ | | | | __ |___ |\ | |\/| | | | \
I/cm ( 150): |___ | | | | \| |__| |__] |___ | \| | | |__| |__/
I/NPS_MOBEX( 141): Feature_Init
D/MODEMD ( 119): start rild!
D/MODEMD ( 119): start w rild!
E/ ( 145): main: slog begin to work. [12]
E/ ( 145): handle_slog_property: slog.step = 0, slog.reload = 0 [12]
I/NPS_MOBEX( 141): task Start
D/MODEMD ( 119): detect_sipc_modem: open assert dev: /dev/spipe_w2, fd = 7
D/MODEMD ( 119): detect_sipc_modem: open watchdog dev: /proc/cpw/wdtirq, fd = 15
D/MODEMD ( 119): detect_sipc_modem: wait for modem assert/hangup event ...
D/MODEMD ( 119): detect_modem_blocked: try to connect socket phsw...
D/phoneserver( 151): detect_at_no_response: accept soc_client=40
D/MODEMD ( 119): detect_modem_blocked: connect socket phsw success
D/MODEMD ( 119): detect_modem_blocked: begin detect blocked event on socket phsw...
I/NPS_MOBEX( 141): wscMessageGet msgid:4097
I/NPS_MOBEX( 141): wscSerialOverMTPServiceStartThread
D/Vold ( 118): Volume extSdCard state changing 0 (No-Media) -> 2 (Pending)
I/NPS_MOBEX( 141): wscSerialOverMTPServiceThread
I/NPS_MOBEX( 141): wscSerialOverMTPServiceStart
I/NPS_MOBEX( 141): wscSerialOverMTPServiceConnect
I/NPS_MOBEX( 141): wscSerialOverMTPServiceConnect START
I/NPS_MOBEX( 141): wscSerialOverMTPServiceConnect accept
I/NPS_MOBEX( 141): wifi_wscDataServiceStart
I/NPS_MOBEX( 141): wifi Create server_sockid: 10
I/NPS_MOBEX( 141): wifi_wscDataServiceConnect
I/NPS_MOBEX( 141): wifi_wscDataServiceConnect START
D/DirectVolume( 118): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 129, PARTN 1
D/DirectVolume( 118): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 130, PARTN 2
D/DirectVolume( 118): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 131, PARTN 3
D/DirectVolume( 118): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 132, PARTN 4
D/Vold ( 118): Volume extSdCard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/cm ( 196): Welcome to Android 4.4.4 / CyanogenMod-11-20160131-UNOFFICIAL-vivalto3gvn
E/ ( 145): handle_kmemleak: handle_kmemleak: off
E/ ( 145): [12]
D/refnotify( 205): Enter RefNotify main
D/refnotify( 205): Enter RefNotify main td_flag 0
D/refnotify( 205): RefNotify main: wait for modem notify event ...
D/refnotify( 205): RefNotify ready to do cmd
D/refnotify( 205): RefNotify_DoCmd, 4
E/refnotify( 205): RefNotify_rtc_readtm failed, error: Permission denied
E/refnotify( 205): error to get rtc time
D/refnotify( 205): RefNotify main: wait for modem notify event ...
D/refnotify( 205): RefNotify ready to do cmd
D/refnotify( 205): RefNotify_DoCmd, 3
E/refnotify( 205): RefNotify_rtc_readtm failed, error: Permission denied
E/refnotify( 205): error to get rtc time
D/refnotify( 205): RefNotify main: wait for modem notify event ...
D/NVITEM ( 204): /system/bin/nvitemd /dev/spipe_w1 /system/etc/nvitem_w.cfg FALSE
D/NVITEM ( 204): /system/bin/nvitemd /dev/spipe_w1 /system/etc/nvitem_w.cfg FALSE
D/NVITEM ( 204): is_cali_mode 0
D/NVITEM ( 204): NVITEM: ramDisk_Init enter
D/NVITEM ( 204): NVITEM: partId originImage backupImage length
D/NVITEM ( 204): NVITEM: 0x 1 /dev/block/platform/sprd-sdhci.3/by-name/FIXNV1 /dev/block/platform/sprd-sdhci.3/by-name/FIXNV2 0x 40000
D/NVITEM ( 204): NVITEM: 0x 2 /dev/block/platform/sprd-sdhci.3/by-name/RUNTIMENV1 /dev/block/platform/sprd-sdhci.3/by-name/RUNTIMENV2 0x 60000
D/NVITEM ( 204): NVITEM get config finished!
D/NVITEM ( 204): ramDisk_Read enter
D/NVITEM ( 204): NVITEM partId1:/dev/block/platform/sprd-sdhci.3/by-name/FIXNV2 read success!
D/NVITEM ( 204): ramDisk_Read enter
D/NVITEM ( 204): NVITEM partId2:/dev/block/platform/sprd-sdhci.3/by-name/RUNTIMENV1 read success!
D/NVITEM ( 204): NVITEM:channel open
D/NVITEM ( 204): NVITEM:_getPacket
I/macloader( 149): WIFI MAC is valid
Click to expand...
Click to collapse
I mean, you can flash the working rom, while system is booting, get a logcat..

corphish said:
I mean, you can flash the working rom, while system is booting, get a logcat..
Click to expand...
Click to collapse
Yeah, i know and that's the full log when using your binder, end

Related

[Q] [dev] help me in porting rom

hi friends
I want to port rom for my device (optimus one) from (optimus gt540)
well I do all basic things like
changing kernel
build.prop
vold.fstab
usr folder
but
phone is stuck at LG loge here is the logcat
--------- beginning of /dev/log/main
I/DEBUG ( 1418): debuggerd: Jun 13 2011 00:42:24
E/RPC ( 1426): error opening /dev/oncrpc/3000008c:00040000: No such file or directory
E/RPC ( 1426): ERROR OPENING [/dev/oncrpc/3000008c:00040000]: No such file or directory
E/RPC ( 1426): failed to initialize client (permissions?)!
E/loc_api_rpc_glue( 1426): Error: cannot create RPC client.
D/WiperIface( 1426): WiperIface open : Location handle -1234, pid 1426
D/libloc ( 1426): loc_read_gps_conf: using /etc/gps.conf
D/libloc ( 1426): loc_read_gps_conf: PARAM INTERMEDIATE_POS = 1
D/libloc ( 1426): loc_read_gps_conf: PARAM ACCURACY_THRES = 3000
D/libloc ( 1426): qct_loc_eng_wiper_init: wiper enable = 0
--------- beginning of /dev/log/system
I/Vold ( 1416): Vold 2.1 (the revenge) firing up
D/Vold ( 1416): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1416): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 1416): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
W/Vold ( 1416): Ignoring unknown switch 'usb_connected'
W/Vold ( 1416): Ignoring unknown switch 'usb_configuration'
W/Vold ( 1416): Ignoring unknown switch 'usb_connected'
W/Vold ( 1416): Ignoring unknown switch 'MSM72K_UDC'
W/Vold ( 1416): Ignoring unknown switch 'MSM72K_UDC'
W/Vold ( 1416): Ignoring unknown switch 'usb_configuration'
Click to expand...
Click to collapse
after this there is no changes(I wait 15 minutes)
any idea?
thanks for help
It may help U:
http://forum.xda-developers.com/showthread.php?t=1273718

[Q] ICS on OB...Logcat...any solution?

I'm trying to port ICS to Optimus Black
Cm7 is the base and ICS for Milestone 2 (becouse he has the same hardware) is the porting rom.
I've followed the tutorial posted on this forum, but now, after flashing the new rom i got this logcat on boot:
--------- beginning of /dev/log/main
I/cm ( 1283): Welcome to Android 4.0.4 / 9.0.0-RC0-galaxysl-UNOFFICIAL
I/cm ( 1284): _
I/cm ( 1285): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))
I/cm ( 1286): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(
I/cm ( 1287): )) _))
I/cm ( 1288):
I/run-parts( 1278): /sd-ext not mounted.. skipping a2sd
E/lib2ext ( 1326): /sd-ext is not mounted.
--------- beginning of /dev/log/system
I/Vold ( 1348): Vold 2.1 (the revenge) firing up
D/Vold ( 1348): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1348): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 1348): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/Vold ( 1348): USB connected
D/Vold ( 1348): Share method ums now available
D/Vold ( 1348): USB disconnected
D/Vold ( 1348): Share method ums now unavailable
D/Vold ( 1348): USB connected
D/Vold ( 1348): Share method ums now available
W/Vold ( 1348): Ignoring unknown switch 'usb_mass_storage'
D/Vold ( 1348): USB connected
I/DEBUG ( 1350): debuggerd: Mar 14 2012 23:46:07
Anyone has any idea to solve this problem making ICS booting?
Many thanks.
...Up!

[Q] Boot Fail - Netd loop

Hey guys I recently edited the init.rc in the boot.img of my ROM to try and fix the SD card mount problem. After I made select changes to the file while comparing it to IceColdSandwich 8.2's init.rc file, I now get stuck at the white HTC screen and the logcat shows netd just keeps saying starting... but never starts. Any ideas as to what's causing this?
Code:
--------- beginning of /dev/log/main
I/cm ( 1299): Welcome to Android 4.0.4 / CyanogenMod-CM9-Woot!
I/cm ( 1300): _
I/cm ( 1301): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))
I/cm ( 1302): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(
I/cm ( 1303): )) _))
I/cm ( 1304):
I/DEBUG ( 1309): debuggerd: Jul 3 2012 00:16:21
I/rmt_storage( 1319): rmt_storage user app start
I/rmt_storage( 1319): rmt_storage open success
I/rmt_storage( 1319): rmt_storage shared memory ioctl success
I/rmt_storage( 1319): rmt_storage mmap addr = 4000d000
E/HtcEbdLog( 1322): open /devlog/.htc_ebdlog.daemon.pid: Read-only file system
E/HtcEbdLog( 1322): write /devlog/.htc_ebdlog.daemon.pid: Bad file number
I/Netd ( 1308): Netd 1.0 starting
D/AK8975 ( 1318): AK8975 daemon 1.0.8 Start
D/AK8975 ( 1318): (Library version : 1.2.1.1125)
--------- beginning of /dev/log/system
I/Vold ( 1307): Vold 2.1 (the revenge) firing up
D/Vold ( 1307): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1307): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 1307): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 65, PARTN 1
D/Vold ( 1307): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/ ( 1313): ServiceManager: 0x18910
I/Netd ( 1408): Netd 1.0 starting
I/Netd ( 1430): Netd 1.0 starting
I/Netd ( 1452): Netd 1.0 starting
I/Netd ( 1474): Netd 1.0 starting
I/Netd ( 1496): Netd 1.0 starting
I/Netd ( 1518): Netd 1.0 starting
Also I can never seem to find any information on what hell is going on when the logcat shows -
E/HtcEbdLog( 1322): open /devlog/.htc_ebdlog.daemon.pid: Read-only file system
E/HtcEbdLog( 1322): write /devlog/.htc_ebdlog.daemon.pid: Bad file number
Does anyone know what that means and how it can be fixed?
You should post the original and your modified init.rc files, as well as the diff between the two, so people could see rapidly what you have changed and how it affected the boot. Just saying
adlx.xda said:
You should post the original and your modified init.rc files, as well as the diff between the two, so people could see rapidly what you have changed and how it affected the boot. Just saying
Click to expand...
Click to collapse
Thanks, I'll make sure to do that next time I ask a question related to the boot.img. I figured this one out on my own though
ZaySk said:
Thanks, I'll make sure to do that next time I ask a question related to the boot.img. I figured this one out on my own though
Click to expand...
Click to collapse
Hey,
any chance you could share your resolution or what you did wrong in the first place ?
Would be very appreciated.
With Regards,
meld0
ZaySk said:
Thanks, I'll make sure to do that next time I ask a question related to the boot.img. I figured this one out on my own though
Click to expand...
Click to collapse
I would also be interested in knowing how the problem was remedied.
I have the same problem
Here's my output from logcat. What did you do to solve this?
--------- beginning of /dev/log/system
I/USB3G ( 90): usb 3g monitor v0.1 start
I/USB3G ( 90): event { 'add', '/devices/platform/sw_hcd_host0/usb1', 'usb', '', 189, 0 }
I/Netd ( 81): Netd 1.0 starting
I/Vold ( 80): Vold 2.1 (the revenge) firing up
D/Vold ( 80): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 80): Volume extsd state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 80): Volume usbhost1 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 80): Volume sdcard state changing 0 (No-Media) -> 1 (Idle-Unmounted)
I/Netd ( 119): Netd 1.0 starting
I/Netd ( 140): Netd 1.0 starting
I/Netd ( 179): Netd 1.0 starting
I/Netd ( 191): Netd 1.0 starting
I/Netd ( 220): Netd 1.0 starting
I/Netd ( 229): Netd 1.0 starting

[Q] [HELP] understand my logcat

Hello, here is my problem,
I have always ported the miui rom to my thl w200 device.
in the latest builds, after porting it to my phone I get stuck at bootlogo.
I did a logcat but cant really find what causes this.
someone can look at it and help me?
--------- beginning of /dev/log/main
I/Resize ( 86): The size of data already meet the request.
I/Resize ( 86): Partition has been resized,so nothing to do!
D/ADB_SERVICES( 158): install_listener('tcp:5037','*smartsocket*')
D/ADB_SERVICES( 158): adb_main(): pre init_jdwp()
D/ADB_SERVICES( 158): adb_main(): post init_jdwp()
D/ADB_SERVICES( 158): Event loop starting
D/ADB_SERVICES( 158): transport: 0xf67520 init'ing for usb_handle 0xf67498 (sn='')
I/ADB_SERVICES( 158): transport: usb
D/ADB_SERVICES( 158): transport: (null) registered
D/ADB_SERVICES( 158): transport: (null) (16,17) starting
W/ADB_SERVICES( 158): (null): starting transport input thread, reading from fd 17
W/ADB_SERVICES( 158): (null): starting transport output thread on fd 17, SYNC online (2)
D/ADB_SERVICES( 158): recv: SYNC 00000001 00000002 0000
W/ADB_SERVICES( 158): (null): transport SYNC online
E/ccci_mdinit(0)( 121): md_init ver:1.00
E/ccci_mdinit(0)( 120): md_init ver:1.00
I/6620_launcher( 117): open device node succeed.(Node:/dev/stpwmt, fd:3)
I/6620_launcher( 117): keypersist.mtk.wcn.combo.chipid)-value0x6628),chipId:0x6628
I/6620_launcher( 117): index:1, chipId:0x6628
I/6620_launcher( 117): chiId:0x6628
I/6620_launcher( 117): index:1, chipId:0x6628
I/6620_launcher( 117): set chipId(0x6628) to HIF-SDIO module
I/6620_launcher( 117): Info:key:mt6620.defAnt value:mt6620_ant_m3.cfg
I/6620_launcher( 117): Info:key:mt6628.defAnt value:mt6628_ant_m1.cfg
I/6620_launcher( 117): NULL is returned, eighter EOF or error maybe found
I/6620_launcher( 117): close /system/etc/firmware/WMT.cfg succeed
I/6620_launcher( 117): index:1, chipId:0x6628
I/6620_launcher( 117): STP Mode is not set, fetching default mode...
I/6620_launcher( 117): chipId(0x6628), default Mode(1), strlen(gWmtCfgName)(39), wmtCfgFile(/system/etc/firmware//mt6628_ant_m1.cfg)
I/6620_launcher( 117): HifConfig:0x0001, wmtCfgFile:/system/etc/firmware//mt6628_ant_m1.cfg
I/6620_launcher( 117): keyro.build.type)-valueuser)
I/6620_launcher( 117): MCU patch folder path: /system/etc/firmware/
I/6620_launcher( 117): Common Interface: UART mode
I/6620_launcher( 117): MCU patch folder path: /system/etc/firmware/
I/6620_launcher( 117): Common Interface: UART mode
I/6620_launcher( 117): uart name ttyMT2
D/MsensorDaemon( 151): Msensor deamon statr!!!!!!!!!!!!
D/MsensorDaemon( 151): msensor demon start process detect demon name = memsicd3416x
D/MsensorDaemon( 151):
D/MsensorDaemon( 151): msensor demon start process detect demon prop = init.svc.memsicd3416x
D/MsensorDaemon( 151):
D/MsensorDaemon( 151): start_msensor_demon
D/MsensorDaemon( 151): HAVE_LIBC_SYSTEM_PROPERTIES
E/MsensorDaemon( 151): [99] ''
D/permission_check( 145): permission check ver:0.01
D/permission_check( 145): Empty, not decrypt!
D/permission_check( 145): change_md_nvram_attr++
--------- beginning of /dev/log/system
E/POAD ( 155): boot_mode = 0
E/POAD ( 155): update boot reason = 0
D/permission_check( 145): new_ver file exist!!!
D/permission_check( 145): change_md_nvram_attr--0
I/stp_dump( 143): ==>main
I/stp_dump( 143): stp_dump_ctrl_iface_trace_logger_sendto_fd succeed
E/stp_dump( 143): [STP_DBG] family id = 19
I/stp_dump( 143): sending dummy command
I/stp_dump( 143): set sock number to 9
I/stp_dump( 143): addr.sun_path:stp_DIR=/data/misc/stp_dump GROUP=stp
I/stp_dump( 143): Using existing control interface directory.
E/stp_dump( 143): mkdir (/data/misc/stp_dump) succeed
I/stp_dump( 143): ctrl_interface_group=1000 (from group name 'stp')
I/stp_dump( 143): chown (/data/misc/stp_dump) succeed
I/stp_dump( 143): CTRL: chmod[/data/misc/stp_dump] succeed
E/stp_dump( 143): ctrl_iface bind(PF_UNIX) failed: Address already in use
E/stp_dump( 143): ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program termination
D/stp_dump( 143): Successfully replaced leftover ctrl_iface socket '/data/misc/stp_dump/stpd'
I/stp_dump( 143): set sock number to 10
I/stp_dump( 143): stp_dump_ctrl_iface_init succeed.
I/stp_dump( 143): ==>main222
I/busybox ( 114): run-parts: /system/etc/init.d: No such file or directory
D/wlanLoader( 144): checkSupport 0x6628
D/wlanLoader( 144): Match 0x6628
D/wlanLoader( 144): Get the correct chip version mt6628
D/wlanLoader( 144): Get chip Version mt6628.
D/wlanLoader( 144): DRIVER_MODULE_PATH is /system/lib/modules/wlan_mt6628.ko
D/MsensorDaemon( 151): HAVE_LIBC_SYSTEM_PROPERTIES
D/MsensorDaemon( 151): memsicd3416x running
D/MsensorDaemon( 151): Msensor deamon2 statr!!!!!!!!!!!!
D/MsensorDaemon( 151): open demon attr err = No such file or directory
E/stp_dump( 143): table == NULL || table->table == NULL
E/stp_dump( 143): table == NULL || table->table == NULL
D/wlanLoader( 144): Success to insmod the /system/lib/modules/wlan_mt6628.ko
I/thermal_repeater( 154): START+++++++++ 154
I/thermal_repeater( 154): Success to write 154 to /proc/wmt_tm/tm_pid
I/thermal_repeater( 154): Fail to chmod ffffffff
I/thermal_repeater( 154): Enter infinite loop
I/AEE/AED ( 122): Built Jan 30 2013 19:35:15
D/AEE/AED ( 122): ChangeAEEWorkMode: 3
I/AEE/AED ( 122): AED config
I/AEE/AED ( 122): mode '3'
I/AEE/AED ( 122): exp level '1
I/AEE/AED ( 122): dal enable '0'
I/AEE/AED ( 122): db count '20'
I/AEE/AED ( 122): db storage '1'
I/AEE/AED ( 122): SMP Info => 1
I/MobileLogD( 123): [void change_permission()] set mobile_log_d is in root user, adjust caps for its thread
I/MobileLogD( 123): mobilelog start after boot, mode:0
D/MobileLogD/cache( 123): init cache configure items....
D/MobileLogD/cache( 123): value of ro.build.type:user.
I/installd( 140): installd firing up
D/PQ ( 130): PQ init start...
D/PQ ( 130): PQ test...
I/ ( 137): ServiceManager: 0x41661698
D/PQ ( 130): PQ init end !
E/AEE/LIBAEE( 122): Can't remove file /sdcard/mtklog/aee_exp/temp: No such file or directory
E/AEE/LIBAEE( 122): Can't remove file /data/aee_exp/temp: No such file or directory
V/AEE/AED ( 122): ETB buffer length = 512
I/AEE/AED ( 122): wdt_status = 2, fiq_step=0
I/AEE/AED ( 122): reboot_reason = 0
V/AEE/AED ( 122): ETM start
D/installd( 140): LBE is enabled, starting...
D/NVRAM ( 152): NvRAMAgent created
E/NVRAM ( 152): Haman, serviceManager work well
D/NVRAM ( 152): NvRAMAgent Service is now ready
I/DPFD ( 149): [DPFD] main start ...
I/DPFD ( 149): [DPFD] set priority to RR:268435540
I/DPFD ( 149): [int adjustPriority()] set dpfd is in root user, adjust caps for its thread
D/DPFD ( 149): [DPFD] Wait Request.....
I/DMAgent ( 147): DMAgent created
I/DMAgent ( 147): [DMAgent]register OK.
D/DMAgent ( 147): DMAgent Service is now ready
D/MobileLogD( 123): write "mobilelog start after boot, mode:0" to mblog
E/installd( 140): Failed to load liblbesec.so
I/installd( 140): add service shelld success!
W/installd( 140): service start entry 'shelld', flag :0
W/installd( 140): starting 'shelld'
E/ccci_fsd(0)( 118): md_fsd Ver:v1.00
I/Hald ( 133): Hald 1.1011 starting
D/ccci_fsd(1)( 118): /dev/ccci_fs is opend(600).
D/ccci_fsd(1)( 118): Check OTP...
D/Hald ( 133): Create ResetManager
D/Hald ( 133): Size of initial message: 6
D/Hald ( 133): [MTK_WIFI] family id = 20
D/Hald ( 133): Reset Manager Prepare Dummy command
D/Hald ( 133): Reset Manager Send Command for binding
D/Hald ( 133): Start ResetManager
E/ccci_fsd(0)( 119): md_fsd Ver:v1.00
E/ccci_fsd(2)( 119): /dev/ccci2_fs is not enabled(2).
D/MobileLogD/cache( 123): config autostart=0 same as current value
D/MobileLogD/cache( 123): config logpath=/mnt/sdcard same as current value
D/MobileLogD/cache( 123): config logsize=300 same as current value
D/MobileLogD/cache( 123): config AndroidLog=1 same as current value
D/MobileLogD/cache( 123): config KernelLog=1 same as current value
D/MobileLogD/cache( 123): config BTLog=1 same as current value
D/MobileLogD/cache( 123): config BTLog=1 same as current value
E/MobileLogD/cache( 123): cant get true log path through property
E/MobileLogD/cache( 123): true path is /mnt/sdcard
D/MobileLogD( 123): create local socket server success
D/Vold ( 116): Check whether nvram restore ready!
D/NVRAM ( 128): g_i4CFG_File_Count: 25
D/NVRAM ( 128): NVM_Init Max Lid: 43
D/NVRAM ( 128): Total nvram Lid number is 43
I/Netd ( 125): Netd 1.0 starting
W/InterfaceController( 125): Warning (Cannot load library: load_library(linker.cpp:745): library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
D/agps ( 142): [agps] WARNING: [Main] mtk_agpsd is running ver=0.46
D/agps ( 142): [agps] WARNING: [Main] mkdir failure for /data/agps_supl/log reason=[File exists]
D/MtkAgpsNative( 142): SuplRawLog.bEnable:0
D/MtkAgpsNative( 142): SuplRawLog.szPath:/sdcard
D/MtkAgpsNative( 142): SuplRawLog.szFile:agps_raw.log
D/MtkAgpsNative( 142): SuplSslLog.bEnable:0
D/MtkAgpsNative( 142): SuplSslLog.szPath:/sdcard
D/MtkAgpsNative( 142): SuplSslLog.szFile:agps_ssl.log
I/MtkAgpsNative( 142): Enter up_int_init
I/MtkAgpsNative( 142): Enter mtk_agps_up_init
D/MtkAgpsNative( 142): FS_CreateDir: /data/agps_supl
W/MtkAgpsNative( 142): -> errno(EEXIST) => dir already exists
D/MtkAgpsNative( 142): ############ mtk_agps_up_init --> agps_disable_enalbe_times = 1 ############
Click to expand...
Click to collapse

[Q] Phone bootloops on first boot with lollipop ROMs

I think my i9100 (16 GB model) has a serious KitKat addiction issue...
I've tried to switch from SlimSaber 4.4.4 to a 5.1 ROM and the phone just gets stuck on the first boot. Since I can't access the logcats on the first boot i don't know what is causing the phone to get stuck.
Here's what i tried and came up with the same result:
- From a KitKat ROM -> Flash a 5.0.4 one with a full wipe before and /system format, or just a data / cache / dalvik wipe
- From various TWRP / CWM KitKat Recovery -> FULL format on ALL partitions on the phone (sdcard included) -> Flash 5.0.4 / 5.1
- From a KitKat ROM -> Flash a 5.1 one with a /system format before and a data / cache / dalvik wipe after
- From various TWRP / CWM KitKat / Lollipop Recovery -> Flash a 5.0.4/5.1 one with data / cache / dalvik wipe before and / or after
Note: Some of the flashing tries were ROM only, others were ROM + Gapps (and + SuperSU in some cases).
Basically I've tried many combinations of flashing and the freaky phone just hangs on first boot (and yes I've waited more than 20 minutes for the phone to boot and it doesn't pass the animation screen).
However... If I flash any KitKat ROM the phone boots perfectly fine!
I'd appreciate any help solving this issue as I don't know any KitKat Annonymous Android Addicts Association in my area
I got this log on a first boot logcat-enabled ROM:
Code:
--------- beginning of main
I/lowmemorykiller( 1860): Using in-kernel low memory killer interface
W/auditd ( 1858): type=2000 audit(0.0:1): initialized
I/auditd ( 1858): type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
W/auditd ( 1858): type=1404 audit(0.0:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
W/vold ( 1862): type=1400 audit(0.0:4): avc: denied { search } for name="/" dev=mmcblk0p1 ino=2 scontext=u:r:vold:s0 tcontext=u:object_r:efs_file:s0 tclass=dir
--------- beginning of system
I/Vold ( 1862): Vold 2.1 (the revenge) firing up
D/Vold ( 1862): Volume sdcard0 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1862): Volume sdcard1 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1862): Volume usbdisk0 state changing -1 (Initializing) -> 0 (No-Media)
I/Cryptfs ( 1862): Check if PFE is activated on Boot
E/Cryptfs ( 1862): Cannot open footer file /efs/metadata for get
E/Cryptfs ( 1862): Error getting crypt footer and key
D/Vold ( 1862): Volume sdcard0 state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 3, PARTN 3
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 4, PARTN 4
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 5, PARTN 5
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 6, PARTN 6
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 7, PARTN 7
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 0, PARTN 8
E/DirectVolume( 1862): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p8' has a different major than its disk!
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 1, PARTN 9
E/DirectVolume( 1862): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p9' has a different major than its disk!
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 2, PARTN 10
E/DirectVolume( 1862): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p10' has a different major than its disk!
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 3, PARTN 11
E/DirectVolume( 1862): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p11' has a different major than its disk!
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 259, MINOR 4, PARTN 12
E/DirectVolume( 1862): Partition '/devices/platform/dw_mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p12' has a different major than its disk!
D/Vold ( 1862): Volume sdcard0 state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/Vold ( 1862): Volume sdcard1 state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 1862): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 9, PARTN 1
D/Vold ( 1862): Volume sdcard1 state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/slim ( 1917): Welcome to Android 5.1.1 / SlimKat Slim-5.1.1.alpha.0.1-UNOFFICIAL-20150509-0944
I/SurfaceFlinger( 1863): SurfaceFlinger is starting
I/SurfaceFlinger( 1863): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 1863): loaded /system/lib/egl/libEGL_mali.so
I/run-parts( 1869): /data/system: No such file or directory
D/libEGL ( 1863): loaded /system/lib/egl/libGLESv1_CM_mali.so
W/ls ( 1935): type=1400 audit(0.0:5): avc: denied { search } for name="wifi" dev=mmcblk0p10 ino=16399 scontext=u:r:sysinit:s0 tcontext=u:object_r:wifi_data_file:s0 tclass=dir
I/run-parts( 1869): /data/misc/wifi/wpa_supplicant.conf: Permission denied
I/SELinuxLabel( 1937): data is unlabeled, fixing...
W/ls ( 1938): type=1400 audit(0.0:6): avc: denied { getattr } for path="/system/bin/surfaceflinger" dev=mmcblk0p9 ino=24672 scontext=u:r:sysinit:s0 tcontext=u:object_r:surfaceflinger_exec:s0 tclass=file
I/run-parts( 1869): /system/bin/surfaceflinger: Permission denied
D/libEGL ( 1863): loaded /system/lib/egl/libGLESv2_mali.so
I/run-parts( 1869): /system/priv-app/GoogleServicesFramework.apk: No such file or directory
I/SELinuxLabel( 1944): /data relabel starting...
E/ ( 1863): Device driver API match
E/ ( 1863): Device driver API version: 23
E/ ( 1863): User space API version: 23
E/ ( 1863): mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct 9 21:05:57 KST 2013
I/gralloc ( 1863): using (fd=14)
I/gralloc ( 1863): id = s3cfb
I/gralloc ( 1863): xres = 480 px
I/gralloc ( 1863): yres = 800 px
I/gralloc ( 1863): xres_virtual = 480 px
I/gralloc ( 1863): yres_virtual = 1600 px
I/gralloc ( 1863): bpp = 32
I/gralloc ( 1863): r = 16:8
I/gralloc ( 1863): g = 8:8
I/gralloc ( 1863): b = 0:8
I/gralloc ( 1863): width = 56 mm (217.714279 dpi)
I/gralloc ( 1863): height = 93 mm (218.494629 dpi)
I/gralloc ( 1863): refresh rate = 60.38 Hz
I/run-parts( 1869): SELinux: Loaded file_contexts from /file_contexts
I/run-parts( 1869): SELinux: Skipping restorecon_recursive(/data)
I/SurfaceFlinger( 1863): Using composer version 1.0
I/SurfaceFlinger( 1863): EGL information:
W/SurfaceFlinger( 1863): Ignoring duplicate VSYNC event from HWC (t=0)
I/SurfaceFlinger( 1863): vendor : Android
I/SurfaceFlinger( 1863): version : 1.4 Android META-EGL
I/SurfaceFlinger( 1863): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( 1863): Client API: OpenGL_ES
I/SurfaceFlinger( 1863): EGLSurface: 8-8-8-8, config=0x60000014
I/SurfaceFlinger( 1863): OpenGL ES informations:
I/SurfaceFlinger( 1863): vendor : ARM
I/SurfaceFlinger( 1863): renderer : Mali-400 MP
I/SurfaceFlinger( 1863): version : OpenGL ES 2.0
I/SurfaceFlinger( 1863): extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness GL_OES_depth_texture_cube_map
I/SurfaceFlinger( 1863): GL_MAX_TEXTURE_SIZE = 4096
I/SurfaceFlinger( 1863): GL_MAX_VIEWPORT_DIMS = 4096
E/cutils-trace( 1863): Error opening trace file: No such file or directory (2)
I/SELinuxLabel( 1948): /data relabel complete
D/SurfaceFlinger( 1863): Set power mode=2, type=0 flinger=0x40c82000
I/SELinuxLabel( 1956): /cache relabel starting...
I/run-parts( 1869): SELinux: Loaded file_contexts from /file_contexts
I/run-parts( 1869): SELinux: Skipping restorecon_recursive(/cache)
I/SELinuxLabel( 1959): /cache relabel complete
D/SurfaceFlinger( 1863): SF. shader cache generated - 26 shaders in 48.281040 ms
D/libEGL ( 1955): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 1955): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 1955): loaded /system/lib/egl/libGLESv2_mali.so
E/ ( 1955): Device driver API match
E/ ( 1955): Device driver API version: 23
E/ ( 1955): User space API version: 23
E/ ( 1955): mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct 9 21:05:57 KST 2013
E/cutils-trace( 1955): Error opening trace file: No such file or directory (2)
E/BootAnimation( 1955): couldn't find audio_conf.txt
W/BootAnimation( 1955): Audio service is not initiated.
D/BootAnimation( 1955): Use save memory method, maybe small fps in actual.
D/BootAnimation( 1955): Use save memory method, maybe small fps in actual.
I was having the same problem for weeks until I stumbled on this post:
http://forum.xda-developers.com/showpost.php?p=60473209&postcount=1106
Attached the PhilZ-kernel for flashing after the concerning PIT-file was flashed successfully. This kernel allows to format the Preload-partition from recovery. This is needed, that you don't stuck in a bootloop, after flashing a custom LolliPop-ROM.
Click to expand...
Click to collapse
I flashed PhilZ kernel, wiped the /pre-load, /data, /system, /cache, flashed another TWRP kernel, then finally successfully flashed cm12.1. I'm not sure why the attached PhilZ failed to flash cm12.1, perhaps the recovery is not updated.
Hope this helps.

Categories

Resources