patchrom icon indicating copy to clipboard operation
patchrom copied to clipboard

Bacon booting issue

Open Hugomm opened this issue 8 years ago • 12 comments

Hi, as Patchrom has been released for Miui 8 Im trying to get Miui on the OnePlus One. I succesfully build a fullota.zip file but when flashing it doesnt pass the OnePlus logo, no bootanimation, no booting.

Any help?

Thanks in advance

Hugomm avatar Dec 06 '16 13:12 Hugomm

you can use adb logcat to cat log

DCMMC avatar Dec 06 '16 13:12 DCMMC

I tried to but nothing happens.

It says waiting for device when I perform abd logcat

Hugomm avatar Dec 06 '16 16:12 Hugomm

same as me, but when i use init file from stock rom boot, it booting. however it stop at bootanimation

2637309949 avatar Dec 07 '16 13:12 2637309949

you can unpackimg the bootimg ,then open default.prop and edit the lines like this: ro.adb.secure=0 ro.secure=0 ro.allow.mock.location=0 ro.debuggable=1 persist.sys.usb.config=mtp,adb persist.service.adb.enable=1 persist.service.debuggable=1

DCMMC avatar Dec 07 '16 13:12 DCMMC

Maybe the issue is selinux, patchrom remove it from cmdline but it has to be permissive

Hacker432-Y550 avatar Dec 07 '16 18:12 Hacker432-Y550

Tried your solution DCMMC but Im not able to get the logcat 😢

Tried replacing the init file on the ramdisk but not even getting the boot image 2637309949.

How to change the selinux to permissive on the boot? Hacker432-Y550

Hugomm avatar Dec 11 '16 20:12 Hugomm

After the compilation Unpack the boot.img and edit the cmd line adding androidboot.selinux=permissive Then repack Flash ROM Flash modified boot.img

Hacker432-Y550 avatar Dec 11 '16 23:12 Hacker432-Y550

I have do like DCMMC say and change the selinux to permissive but the phone wan't boot. P.S. adb logcat say waiting for device P.S.2 I have a OPPO R7 Plus f and use CM13 like base ROM

shadow25 avatar Dec 13 '16 14:12 shadow25

Will try to when I have time, Hacker431-Y550 and post back the results. Any other idea?

Hugomm avatar Dec 14 '16 11:12 Hugomm

hei, @Hugomm flash stock rom boot.img from twrp'backup and then ... i do it but stop at bootanimation

2637309949 avatar Dec 15 '16 03:12 2637309949

Will try this weekend all the ideas. I found a xda tutorial, and it shows how to port the boot.img, will try too and post back

http://forum.xda-developers.com/android/software/guide-build-port-miui-rom-to-device-t3250984

Hugomm avatar Dec 15 '16 08:12 Hugomm

@Hugomm I have do it but don't work but if you use the port guide with a Xiaomi device compatible, it boot but go into bootloop (or at least, in my case).

shadow25 avatar Dec 15 '16 08:12 shadow25