Closed diepquynh closed 8 years ago
Updated c7c99c2c019a700637560177122064951685a9a1. About adoptable storage, I will do it later when the device successfully booted. Currently, it cannot boot at all, just reboot to recovery.
SELinux also needs to be updated, in kernel implementations, because it's now in Android mainline
Can you give me the ROM zip?
I think it is useless now. No Boot animation, no logcat, nothing.
Reboots straight to recovery?
Yes On 19 Apr 2016 13:17, "Quyền" notifications@github.com wrote:
Reboots straight to recovery?
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/ngoquang2708/android_device_samsung_vivalto3gvn/issues/38#issuecomment-211752890
CM 13.0 supports radio?!!
Any idea on how to get system logs (dmesg, logcat) when the device auto reboot to recovery mode?
Nope, you can't At least it must shows the boot animation OR screen lowers the light (decompressing kernel completed) then you can get dmesg or logcat
Umm... radio? Which app?
It is good if I have UART, even I don't know what is is :D
I can see it compiles some codes have radio
word.
You just need a cable, because you've a Raspberry Pi right? It can do UART jobs
Doesn't have any experience with this UART thing.
I guess you shouldn't touch this if you don't want everything end up in pain :D
OK
It just stop here: https://github.com/ngoquang2708/android_system_core/blob/cm-13.0/init/init.cpp#L988, cannot go further :( Failed to load selinux policy.
OK, It seems that the kernel do not know the format of the new sepolicy
file which is generated by CM-13.0. I use the one in rootdir
and the device now stuck at SS logo, not auto reboot any more. Still no logcat.
There still lots of if conditions that triggers security_failure() command, including restorecon("/init"), write("...checkreqprot"...) https://github.com/ngoquang2708/android_system_core/blob/cm-13.0/init/init.cpp#L994 Let's see if this kernel patch work for you: https://github.com/SandPox/android_kernel_samsung_kyleproxx/commit/0fe93a236f1d35875310b6bde82621ac58ae298e
I'm having the same issue with my cm13 build for samsung galaxy star pro S7262 (logan2g)
@ngoquang2708 Bro, I think we should use CM12.1's init binary instead
CM13's init binary got fvcked up
@koquantam the patch you linked to before doesn't work
@Qiangong2 Can you be able to get logcat?
@koquantam it doesn't even build
Anyone know how to use UART. I planned to buy a UART to USB convert to debug the kernel. It is CP2012. It should be Bus Pirate but the CP2012 is just about $3, Bus Pirate is $40 and I cannot effort. Then we need to probe the UART location in the phone main board. But one thing make I afraid is that what is the console name the phone use to direct its output to. proberly /dev/ttyS1
but while the phone is running, /proc/cmdline
doesn't have it.
Well, I don't think our country has those UART thingy, because it's not popular here Anyway, how do you build kernel first in CM source?
@koquantam Are you kidding man, we have tons of it here.
To build the kernel first, run make bootimage
. Do not use any commands that use parallel building like make -jX
or mka
.
BONUS: I broke my softkeys while opening the screen, such a genius.
LOL, the whole mainboard is glued, not screws
Just reconnect the connection cable
Did it many times but didn't help, using your qemu.hw.mainkeys=0
trick.
Cannot locate the UART location on the board :(
Yes, since changes in Marshmallow, so storage depends on fstab a lot storage_list.xml now useless (removed from framework code) Also, external fstab need this flag to be used by adoptable storage: encryptable=userdata See here: https://source.android.com/devices/storage/config.html