[GUIDE][ULTIMATE][Noobs-friendly]How to fix bugs and bootloop on a ported roms - Android

I Think this Guide going to help u lot
With this guide i think u will make a stable rom
So lets Start
1.)For fixing Bootloop when porting rom
Replace :
Code:
/system/lib/libandroid_runtime.so
/system/lib/libandroid_servers.so
/system/lib/libmedia_jni.so
*Repack boot.image
2.)Showing black screen after boot
Replace:
Code:
/system/lib/libMali.so
3.)Fixing Sensors
Replace:
Code:
/system/bin/akmd*
/system/lib/libsensors.so
/system/lib/libms3c_yamaha.so
/system/etc/firmware (folder)
/system/bin/servicemanager
4.)Fixing Bluetooth\Wifi not turning On\Off
Replace:
Code:
/system\lib\module\mtk_stp_wmt
5.) Fixing RadioFM
Replace:
Code:
\system\bin\fmradio
\system\etc\firmware\mt6620_patch_e3_hdr.bin
\system\etc\firmware\mt6620_patch_e6_hdr.bin
\system\etc\firmware\WMT.CFG
\system\lib\modules\mtk_fm_drv.ko
\system\lib\libfmcust.so
6.) Fixing Bluetooth
Replace:
Code:
/system/bin/bd_prov
/system/bin/uim*
/system/bin/hcid
/system/bin/bluetooth*
/system/bin/hciattach
/system/bin/sdptool
/system/xbin/hciconfig
/system/bin/brcm_patchram_plus
/system/lib/libbluetooth_mtk.so
/system/lib/libbluetoothem_mtk.so
7.) Fixing Wifi
Replace:
Code:
Wifi :
/system/bin/netcfg
/system/bin/dhcpcd
/system/bin/ifconfig
/system/bin/hostap
/system/bin/hostapd
/system/bin/hostapd_bin
/system/bin/pcscd
/system/bin/wlan*
/system/bin/wpa*
/system/bin/netd -> Fix wifi hotspot
/system/lib/libhardwarelegacy.so -> Fix wifi /system/lib/modules/mtk_stp_wmt.ko/system/lib/modules/mtk_wmt_wifi.ko
/system/etc/wifi (folder)
/system/etc/firmware (folder)
8.) Fixing Camera
Replace :
Code:
system/lib/libfeatureio.so - camera not working
/system/etc/media_profiles.xml
/system/lib/libcamera.so
/system/lib/liboemcamera.so
\system\lib\hw\camera.default.so
\system\lib\libcamera_client.so
\system\lib\libcameracustom.so
\system\lib\libcamer aprofile.so
\system\lib\libcameraservice.so
\system\lib\libmhal.so
\system\lib\libmhalcontent.s o
\system\lib\libmhaldrv.so
\system\lib\libmhalmdp.so
\system\lib\libmhalpipe.so
\system\lib\libmhalscenario.so
\system\lib\libmhalutility.so
\system\etc\permission\android.hardware.camera.front.xml
\system\lib\libOmx*.so -fix camcoder
\system\lib\libfeatureo.so -fix cam focus
# camera not working or force close or any other problem
copy all libs starting with /libcam*.so
#Camera showing wrong model in pic property?
Change model in build.prop
Still not working? Replace following file from STOCK to PORT
system/lib/libexif.so
9.)Fixing SD card/memory
Replace:
Code:
/system/bin/vold
\system\etc\vold.fstab -> edit file for swap internal and external
\system\etc\vold.fstab.nand
10.)Fixing Storage Not mounting
Replace:
Code:
Decompile framework-res.apk using apktool or apk multitool and replace following file from STOCK framework-res.apk to PORT framework-res.apk
/res/xml/storage_list.xml
11.) Fixing GPS
Replace:
Code:
\system\xbin\libmnlp
/system/etc/gps.conf
12.) Fixing Touch Screen(Haptic)
Replace :
Code:
/system/usr
/system/usr\keylayout\Generic.kl ->fix HomeKey
13.) Fixing Sim1/2 (RIL)
Replace:
Code:
\system\etc\firmware\modem.img
\system\etc\permission (RIL)
/system/bin/stmd
/system/bin/rild*
/system/etc/rril
14.) Fixing Audio/Sound
Relace:
Code:
\system\lib\libaudio* .so
15.) Fixing Network / 3G Network
Replace:
Code:
/ system / etc / agps_profiles_conf
/ system / etc / APNs-conf
/ system / etc / epo-conf
/ system / etc / spn-conf
/ system / etc / virtual-spn-conf-by-efspn
/ system / etc / virtual-spn-conf-by-IMSI
16.)Fixing Pixalation in video
Replace:
Code:
Replace following file from STOCK to PORT or Port to ur Ported rom
system/lib/libvcodecdrv.so
---------------------------------------------------------------
Note Some file will not be there so dont worry jst skip it
And last thing Dont forget to Press Thanks If this helped .......................:good:​

Reserved

Thank you @adityaupreti ... i need this badly.... I will try to fix the bugs in my port ROM using this guide bro.....whenever i hav time......Thanks A lot bro

Please elaborate for bootloop.
as you said replace these files from port system folder & repack your boot image.
what changes it will make to boot image ?
will this work for 32 bit or 64 bit ?
---------- Post added at 09:48 AM ---------- Previous post was at 09:07 AM ----------
what if stuck at boot animation ?

rajlko said:
Please elaborate for bootloop.
as you said replace these files from port system folder & repack your boot image.
what changes it will make to boot image ?
will this work for 32 bit or 64 bit ?
---------- Post added at 09:48 AM ---------- Previous post was at 09:07 AM ----------
what if stuck at boot animation ?
Click to expand...
Click to collapse

rajlko said:
Please elaborate for bootloop.
as you said replace these files from port system folder & repack your boot image.
what changes it will make to boot image ?
will this work for 32 bit or 64 bit ?
---------- Post added at 09:48 AM ---------- Previous post was at 09:07 AM ----------
what if stuck at boot animation ?
Click to expand...
Click to collapse
whats ur phone model and what is the model of phone ur porting?

brownstyle said:
whats ur phone model and what is the model of phone ur porting?
Click to expand...
Click to collapse
ze550kl, 5.0.2 ( https://www.asus.com/in/Phone/ZenFone-2-Laser-ZE550KL/HelpDesk_Download/ 1.16.40.763) & YU Lettuce 12.0 version. (https://download.cyanogenmod.org/get/jenkins/124086/cm-12-20150901-SNAPSHOT-YNG4NAO254-lettuce.zip)

adityaupreti said:
Click to expand...
Click to collapse
Dear,
Please provide a solution, your solution does not work & it s still in bootloop, you have replied with

rajlko said:
ze550kl, 5.0.2 ( https://www.asus.com/in/Phone/ZenFone-2-Laser-ZE550KL/HelpDesk_Download/ 1.16.40.763) & YU Lettuce 12.0 version. (https://download.cyanogenmod.org/get/jenkins/124086/cm-12-20150901-SNAPSHOT-YNG4NAO254-lettuce.zip)
Click to expand...
Click to collapse
i think huawei honor 4x is a better option

brownstyle said:
i think huawei honor 4x is a better option
Click to expand...
Click to collapse
4x have 5.1 but base rom is 5.0.2.

rajlko said:
Dear,
Please provide a solution, your solution does not work & it s still in bootloop, you have replied with
Click to expand...
Click to collapse
It will not work coz ur porting a marshmallow or lollipop based ROM
Use any other guide of porting and then come to my threadto fix bugs

rajlko said:
ze550kl, 5.0.2 ( https://www.asus.com/in/Phone/ZenFone-2-Laser-ZE550KL/HelpDesk_Download/ 1.16.40.763) & YU Lettuce 12.0 version. (https://download.cyanogenmod.org/get/jenkins/124086/cm-12-20150901-SNAPSHOT-YNG4NAO254-lettuce.zip)
Click to expand...
Click to collapse
thanx for providing this link but when i try to flash it says E:footer is wrong installation aborted.we have the same device asus ze550kl..wat could have been the problem?

brownstyle said:
thanx for providing this link but when i try to flash it says E:footer is wrong installation aborted.we have the same device asus ze550kl..wat could have been the problem?
Click to expand...
Click to collapse
asus signature verification process is totally different. , I have provided both link so that any one may try to port it.
both having same version android, same cpu, same gpu.

rajlko said:
asus signature verification process is totally different. , I have provided both link so that any one may try to port it.
both having same version android, same cpu, same gpu.
Click to expand...
Click to collapse
is there any way to bypass that verification process?any other workaround?

what are the lib files for bluetooth in Marshmallow for Qualcomm devices ? I have found libbluetooth_jni.so but replacing it didn't fix the issue. What other files do I have to replace?

Great Work
Thanks for this guide

ROBERT CM said:
Great Work
Thanks for this guide
Click to expand...
Click to collapse
Ur welcome

Hi adi bro.
I have cm 12.1 ROM but in camera video recording is not working can u tell me how to fix it??

Man trying get wifi on this port to the s6 i found some files which i moved then bingo wifi turned on scanning put password in now its saying Failed to obtain IP address any tips some the files just arnt there. I got 920p S6

Jimmy1life said:
Man trying get wifi on this port to the s6 i found some files which i moved then bingo wifi turned on scanning put password in now its saying Failed to obtain IP address any tips some the files just arnt there. I got 920p S6
Click to expand...
Click to collapse
Always when i had that problem, i had to go to system/etc/dhcpcd and change the permission of dhcpcd-run-hooks so that "Owner", "Group" and "Others" can execute. Also in build.prop you can change ro.secure.storage=true to false (if it's not already). This is usaly for not saving the password but worth a try.
And by the way if someone has more knowledgement than me:
I'm on the Note Edge and therefor does no exist a CM 13 version. I have read somewhere you can do it also with a sammy rom as base. So i took a S7 edge rom and a Note edge rom, both 6.0.1. I get it to flash and boot but endless boot. I pulled the prev_dump.log to get the errors but all i can see is this
Code:
01-01 00:11:15.899 17542 17542 I boot_progress_system_run: 680900
01-01 00:11:15.999 17542 17542 W SystemConfig: [COLOR="red"]Got exception parsing permissions[/COLOR].
01-01 00:11:15.999 17542 17542 W SystemConfig: [COLOR="red"]org.xmlpull.v1.XmlPullParserException: No start tag found[/COLOR]
01-01 00:11:15.999 17542 17542 W SystemConfig: at com.android.server.SystemConfig.readPermissionsFromXml(SystemConfig.java:275)
01-01 00:11:15.999 17542 17542 W SystemConfig: at com.android.server.SystemConfig.readPermissions(SystemConfig.java:197)
01-01 00:11:15.999 17542 17542 W SystemConfig: at com.android.server.SystemConfig.(SystemConfig.java:157)
01-01 00:11:15.999 17542 17542 W SystemConfig: at com.android.server.SystemConfig.getInstance(SystemConfig.java:110)
01-01 00:11:15.999 17542 17542 W SystemConfig: at com.android.server.pm.PackagePrefetcher.prefetchPermissions(PackagePrefetcher.java:251)
01-01 00:11:15.999 17542 17542 W SystemConfig: at com.android.server.SystemServer.run(SystemServer.java:420)
01-01 00:11:15.999 17542 17542 W SystemConfig: at com.android.server.SystemServer.main(SystemServer.java:363)
01-01 00:11:15.999 17542 17542 W SystemConfig: at java.lang.reflect.Method.invoke(Native Method)
01-01 00:11:15.999 17542 17542 W SystemConfig: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
01-01 00:11:15.999 17542 17542 W SystemConfig: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
01-01 00:11:16.059 17542 17630 W ResourceType: Failure getting entry for 0x7f020020 (t=1 e=32) (error -75)
01-01 00:11:16.059 17542 17630 D PackagePrefetcher: put: /system/app/ANTRadioService
01-01 00:11:16.089 702 866 E BootAnimationLoader: [email protected] : ####Clear Cover is closed####
01-01 00:11:16.099 17542 17542 D AndroidRuntime: Shutting down VM
01-01 00:11:16.099 17542 17542 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
01-01 00:11:16.099 17542 17542 E AndroidRuntime:[COLOR="red"] java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "TZ_CCM_register_default" referenced by "/system/lib/libandroid_servers.so"...[/COLOR]
01-01 00:11:16.099 17542 17542 E AndroidRuntime: at java.lang.Runtime.loadLibrary(Runtime.java:372)
01-01 00:11:16.099 17542 17542 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1076)
01-01 00:11:16.099 17542 17542 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:463)
01-01 00:11:16.099 17542 17542 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:363)
01-01 00:11:16.099 17542 17542 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-01 00:11:16.099 17542 17542 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
01-01 00:11:16.099 17542 17542 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
01-01 00:11:16.119 17542 17629 D PackagePrefetcher: put: /system/app/AllShareCastPlayer
01-01 00:11:16.149 17542 17542 E android.os.Debug: ro.product_ship = true
01-01 00:11:16.149 17542 17542 E android.os.Debug: ro.debug_level = 0x4f4c
01-01 00:11:16.149 17542 17542 E android.os.Debug: sys.mobilecare.preload = false
01-01 00:11:16.149 17542 17542 E AndroidRuntime: Error reporting crash
01-01 00:11:16.149 17542 17542 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'void android.app.IActivityManager.handleApplicationCrash(android.os.IBinder, android.app.ApplicationErrorReport$CrashInfo)' on a null object reference
01-01 00:11:16.149 17542 17542 E AndroidRuntime: at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:96)
01-01 00:11:16.149 17542 17542 E AndroidRuntime: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
01-01 00:11:16.149 17542 17542 E AndroidRuntime: at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
01-01 00:11:16.149 17542 17542 I Process : Sending signal. PID: 17542 SIG: 9
01-01 00:11:16.179 702 866 E BootAnimationLoader: [email protected] : ####Clear Cover is closed####
01-01 00:11:16.209 16339 16339 [COLOR="Red"]E Zygote : Exit zygote because system server (17542) has terminated[/COLOR]
But i don't know how to solve it.
Or is it kernel related because of selinux (i use stock Note edge)?
Code:
[ 537.872906] init: Warning! Service gatekeeperd needs a SELinux domain defined; please fix!
[ 537.873485] init: Warning! Service gpu_snapshotd needs a SELinux domain defined; please fix!
[ 537.873938] init: Warning! Service thermal-engine needs a SELinux domain defined; please fix!
[ 537.874395] init: Warning! Service imsqmidaemon needs a SELinux domain defined; please fix!
[ 537.874892] init: Warning! Service mdm_helper needs a SELinux domain defined; please fix!
[ 537.875353] init: Warning! Service mdm_helper_proxy needs a SELinux domain defined; please fix!
[ 537.886664] init: cannot execve('/system/bin/mdm_helper_proxy'): Permission denied
[ 537.887518] init: cannot execve('/system/bin/mdm_helper'): Permission denied
[ 537.887717] init: property_set("ro.service.mdm_helper_restarted", "true") failed
[ 537.888674] init: setgid failed: Invalid argument
[ 537.890330] init: cannot execve('/system/vendor/bin/thermal-engine'): Permission denied
[ 537.891130] init: cannot execve('/system/bin/gpu_snapshotd'): Permission denied
[ 537.891871] init: cannot execve('/system/bin/gatekeeperd'): Permission denied
Or is it completly nonsens?
Thank you.
prev_dump.log

Related

Wifi won't turn on, stuck at "WIFI turning on"

What happened here, wifi won't turn on:
01-01 00:00:51.729 I/WifiService(158): WifiService starting up with Wi-Fi enabled
01-01 00:00:53.659 D/WifiService(158): New client listening to asynchronous messages
01-01 00:03:38.579 D/WifiHW (158): start to isnmod 8192cu.ko
01-01 00:03:38.899 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:38.899 D/WifiHW (158): insmod wifi driver...
01-01 00:03:39.089 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:39.089 D/WifiHW (158): insmod wifi driver...
01-01 00:03:39.289 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:39.289 D/WifiHW (158): insmod wifi driver...
01-01 00:03:39.489 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:39.489 D/WifiHW (158): insmod wifi driver...
01-01 00:03:39.689 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:39.689 D/WifiHW (158): insmod wifi driver...
01-01 00:03:43.299 E/WifiHW (158): timeout, register netdevice wlan0 failed.
01-01 00:03:43.329 E/WifiStateMachine(158): Failed to load driver!
01-01 00:03:43.359 E/WifiStateMachine(158): DriverFailedState
It sometimes works after reboot, sometimes it doesn't. How is that possible?
Just try it
stanjkof said:
What happened here, wifi won't turn on:
01-01 00:00:51.729 I/WifiService(158): WifiService starting up with Wi-Fi enabled
01-01 00:00:53.659 D/WifiService(158): New client listening to asynchronous messages
01-01 00:03:38.579 D/WifiHW (158): start to isnmod 8192cu.ko
01-01 00:03:38.899 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:38.899 D/WifiHW (158): insmod wifi driver...
01-01 00:03:39.089 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:39.089 D/WifiHW (158): insmod wifi driver...
01-01 00:03:39.289 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:39.289 D/WifiHW (158): insmod wifi driver...
01-01 00:03:39.489 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:39.489 D/WifiHW (158): insmod wifi driver...
01-01 00:03:39.689 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:39.689 D/WifiHW (158): insmod wifi driver...
01-01 00:03:43.299 E/WifiHW (158): timeout, register netdevice wlan0 failed.
01-01 00:03:43.329 E/WifiStateMachine(158): Failed to load driver!
01-01 00:03:43.359 E/WifiStateMachine(158): DriverFailedState
It sometimes works after reboot, sometimes it doesn't. How is that possible?
Click to expand...
Click to collapse
I think that you should wipe user data from settings or recovery.
This will fix it...
This is possible because your cache /dalvik cache needs to be cleaned
Good luck
Oh you mean, to do factory reset? I can't risk that, because I would be in offline mode without any means to install all apps (no internet)
Device is rooted. Can I just delete the files in folder data/dalvik?
stanjkof said:
Oh you mean, to do factory reset? I can't risk that, because I would be in offline mode without any means to install all apps (no internet)
Click to expand...
Click to collapse
Ok... if you don't want to leave internet for 15 seconds !!!!, just go to recovery mode and wipe cache. Cache store just logs and image previews and some web pages. (no data loss)
About factory reset, it will not delete your files from sdcard or ext. sdcard.
The device is in my car, it's few kilometres from me right now
It's an android headunit.
stanjkof said:
The device is in my car, it's few kilometres from me right now
It's an android headunit.
Click to expand...
Click to collapse
If is rooted just use an app (instead recovery) to send command to wipe cache (or dalvik cache)
MaDaLiNoSt said:
If is rooted just use an app (instead recovery) to send command to wipe cache (or dalvik cache)
Click to expand...
Click to collapse
What app would do that? I can't install anything, because wifi doesnt work
stanjkof said:
What app would do that? I can't install anything, because wifi doesnt work
Click to expand...
Click to collapse
No wi-fi because no reset!!!! Just go to the phone and wipe data !!!!
MaDaLiNoSt said:
No wi-fi because no reset!!!! Just go to the phone and wipe data !!!!
Click to expand...
Click to collapse
It's not a phone. Ok, thanks!
stanjkof said:
It's not a phone. Ok, thanks!
Click to expand...
Click to collapse
Thanks button?
MaDaLiNoSt said:
Thanks button?
Click to expand...
Click to collapse
I'll probably have more questions later afternoon
stanjkof said:
I'll probably have more questions later afternoon
Click to expand...
Click to collapse
No problem
I had that problem once or twice. Restart fixed mine. I wonder why sony hasn't fixed this in the latest firmware.
stanjkof said:
What happened here, wifi won't turn on:
01-01 00:00:51.729 I/WifiService(158): WifiService starting up with Wi-Fi enabled
01-01 00:00:53.659 D/WifiService(158): New client listening to asynchronous messages
01-01 00:03:38.579 D/WifiHW (158): start to isnmod 8192cu.ko
01-01 00:03:38.899 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:38.899 D/WifiHW (158): insmod wifi driver...
01-01 00:03:39.089 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:39.089 D/WifiHW (158): insmod wifi driver...
01-01 00:03:39.289 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:39.289 D/WifiHW (158): insmod wifi driver...
01-01 00:03:39.489 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:39.489 D/WifiHW (158): insmod wifi driver...
01-01 00:03:39.689 D/WifiHW (158): faied to read proc/net/wireless
01-01 00:03:39.689 D/WifiHW (158): insmod wifi driver...
01-01 00:03:43.299 E/WifiHW (158): timeout, register netdevice wlan0 failed.
01-01 00:03:43.329 E/WifiStateMachine(158): Failed to load driver!
01-01 00:03:43.359 E/WifiStateMachine(158): DriverFailedState
It sometimes works after reboot, sometimes it doesn't. How is that possible?
Click to expand...
Click to collapse
Restart your phone and wipe some cache
Sent from my C5302 using Tapatalk
My,nexus 4 did,that on 4.4.4. I facet restored, went back to 4.4.2, 4.3, back to stock uprooted. Did not fix it. Mine also started by fixing it by a reboot, but 2 months after it just stuck off.
4ringsa6 said:
My,nexus 4 did,that on 4.4.4. I facet restored, went back to 4.4.2, 4.3, back to stock uprooted. Did not fix it. Mine also started by fixing it by a reboot, but 2 months after it just stuck off.
Click to expand...
Click to collapse
Tried deleting dalvik-cache contents, 99 files were inside. No dice.
Also deleted app cache via some cleaner app...
Only f*cked up my payed Poweramp app, and no way to connect it to google play to verify purchase, because device is in offline mode.
stanjkof said:
Tried deleting dalvik-cache contents, 99 files were inside. No dice.
Also deleted app cache via some cleaner app...
Only f*cked up my payed Poweramp app, and no way to connect it to google play to verify purchase, because device is in offline mode.
Click to expand...
Click to collapse
Did you tried factory reset?
MaDaLiNoSt said:
Did you tried factory reset?
Click to expand...
Click to collapse
No, I will lose all data, and won't be able to reinstall all of it without internet access. :crying:
stanjkof said:
No, I will lose all data, and won't be able to reinstall all of it without internet access. :crying:
Click to expand...
Click to collapse
No wipe no internet....
Also, wipe data will erase just installed apps not your media files from sdcard... Microsd...
Sent from my GT-S6500D using Tapatalk 2
MaDaLiNoSt said:
No wipe no internet....
Also, wipe data will erase just installed apps not your media files from sdcard... Microsd...
Sent from my GT-S6500D using Tapatalk 2
Click to expand...
Click to collapse
Why do you think wiping would restore wifi? In many cases stated around forums it doesn't.
If after restauration wifi doesn't work, I'm toast I can't install anything on it, let alone some navigation that I use.

adb backup fails when shared storage is enabled

On my Sony Xperia Z5 Compact, when trying to make the adb backup with shared option enabled it displays forever the message "Shared storage" on the screen for more than an hour. Finally I cancelled it because I guessed out it was wrong. This is a fragment of adb logcat:
----------------------------------------------------
1402 3109 V BackupManagerService: Requesting full backup: apks=true obb=true shared=true all=true system=false pkgs=[Ljava.lang.String;@874481f
[...]
1402 22074 D BackupManagerService: Binding to full backup agent : com.android.sharedstoragebackup
1402 22074 D BackupManagerService: awaiting agent for ApplicationInfo{c76bf85 com.android.sharedstoragebackup}
1402 1412 D BackupManagerService: agentConnected pkg=com.android.sharedstoragebackup [email protected]
1402 22074 I BackupManagerService: got agent [email protected]
1402 22074 I BackupRestoreController: Getting widget state for user: 0
1402 23361 D BackupManagerService: Calling doFullBackup() on com.android.sharedstoragebackup
22075 22086 I SharedStorageAgent: Backing up 1 shared volumes
22075 22086 I FullBackup: Unrecognized domain shared/0
22075 22075 I Process : Sending signal. PID: 22075 SIG: 9

I wanna port MIUI for Moto Z, need opinions

I know one of the great points on Z line is the quite untouched Google ROM. MIUI is my favorite customized ROM by manufacturer.
So, why don't give a option to use both? Will you like my idea and will use it?
Thanks for your opinion.
Enviado de meu XT1650 usando Tapatalk
Totally. I don't know if I would use it as my daily since I'm a flashaholic, but will try it for days/weeks depending on how smooth/stable it is. I've had some nice experiences before, so I'm having high hopes on this.
Not bad idea, go for it, i really like MIUI
The only problem is that my Bootloader is upgraded, so I cannot test since MIUI isn't in 7.0 version. I will wait for MIUI 9 because of that, because develop a port that the developer cannot test isn't a good idea in my view
Enviado de meu XT1650 usando Tapatalk
andregarcia_1 said:
I know one of the great points on Z line is the quite untouched Google ROM. MIUI is my favorite customized ROM by manufacturer.
So, why don't give a option to use both? Will you like my idea and will use it?
Thanks for your opinion.
Enviado de meu XT1650 usando Tapatalk
Click to expand...
Click to collapse
Hey last month i started to port MIUI8.2 7.0 from Mi5 firmware to our device and i had some progress
i'm not with my PC for a month, i thought to share my work for interested devs
here's my ROM and superR kitchain Project FIles : Download Folder
it's Not Booting (Do NOT INSTALL if you are NOT Dev)
here's Error Log : Unable to open socket for UEventObserver
it Happens Because of NetLink Socket Opening. I couldn't fix this (tried netd, ipacm & iptables), someone smarter than me should take a look. i don't know what i missed (probably it's kernel side)
i really like MIUI i'll appreciate if you have look
Notes :
+ this rom has 6.0.1 moto Kernel so it's not booting on new bootloaders. and when i updated to 7.0 kernel(and dt) i got this error crashes surfaceflinger while booting:
Code:
Adreno-GSL: <ioctl_kgsl_driver_entry:562>: open(/dev/kgsl-3d0) failed: errno 5. I/O error
No idea why!
+ all blobs(except apps) taken from here and ipacm from here
+ selinux files is compiled from cm14.0 source with needed permissions on griffin device tree
+ adbd is starting on init at init.rc to debug and shell access on bootloops just replace "adb_keys" if adb needs permissions
+ i replaced all needed HALs and ETC folder files
+ if you have any Questions PM me
If someone can do the port is going to be excellent, I'm waiting.
sam564 said:
If someone can do the port is going to be excellent, I'm waiting.
Click to expand...
Click to collapse
+1
++1
+1
1+:good:
Is this project still in the works? I'd love to use this!
+1
I wan MIUI too.
Hello again guys
today i just wanted to play with treble and CLT so i decided to boot MIUI from leaked oreo 8.1 firmware : https://www.xda-developers.com/xiaomi-redmi-note-5-pro-android-oreo-stable/
and after all it's booted on griffin
i'll upload my twrp backup from system partition
bugs : very very unstable :
* for boot need to enter "wificond" in adb shell and to get adb access you need run this command on adb shell from twrp : "cd ~/.android && adb push adbkey.pub /data/misc/adb/adb_keys"
* wifi broken
* ril broken
* camera broken
whats working :
* few things like BT and sensors ...
twrp backup : https://www.androidfilehost.com/?fid=890129502657599583
flash lineage
restore backup
flash premssiver.zip
---------------------------------------------------
how is it booted?
i'm going to explain from beginning, porting it is not very hard
got leaked miui and latest lineage and started CLT on it
then i got miui with griffin vendor inside
flashed on device with clean (not magisked) boot.img from lineage
and enabled premissive selinux
edited prop.default and build.prop to remove device specific props and enabled adb + pm.dexopt (see props.zip)
build.prop for /system/
and prop.default for /system/etc/
>>> First try to boot failed by rebooting to bootloader
by generating multiple times the spammy console-remoops, finally i found out reboots because of selinux problems
i didn't want to mess with it so i directly adb pushed lineage /system/etc/selinux dir to my device
>>> booted to bootanimation
here i got huge errors as usual
/bin/keystore was looking for vendor.qti.hardware.wifi.keystore...._vendor.so and we don't have it because that miui rom is built from full CAF source and we are using aosp keystore in lineage so i replaced it with lineage /bin/keystore
wificond had missing symbol which is coming from qsap_sdk so i just replaced miui wificond with lineage one
and cameraserver is spamming here
>>> nothing much same on bootanimation
now zygote dies because can't find power_profile.xml in res/xml
actually this miui is not enabled RRO in that build so theres no framework-res__auto_generated_rro.apk in vendor, everything is on system framework-res.apk
so i removed my framework-res__auto_generated_rro.apk
need to wipe data
>>> failed again
libstagefright had some issues
i replaced it with lineage one with some other media libs (sorry i don't remember names)
>>> i guess booted this time :fingers-crossed: but soft reboots on setupwizard on trying to search for wifis with this error:
Code:
04-23 11:04:56.499 893 1505 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: WifiScanningService
04-23 11:04:56.499 893 1505 E AndroidRuntime: java.lang.IllegalArgumentException
04-23 11:04:56.499 893 1505 E AndroidRuntime: at android.os.BinderProxy.transactNative(Native Method)
04-23 11:04:56.499 893 1505 E AndroidRuntime: at android.os.BinderProxy.transact(Binder.java:767)
04-23 11:04:56.499 893 1505 E AndroidRuntime: at android.net.wifi.IWifiScannerImpl$Stub$Proxy.scan(IWifiScannerImpl.java:310)
04-23 11:04:56.499 893 1505 E AndroidRuntime: at com.android.server.wifi.WificondControl.scan(WificondControl.java:600)
04-23 11:04:56.499 893 1505 E AndroidRuntime: at com.android.server.wifi.WifiNative.scan(WifiNative.java:351)
04-23 11:04:56.499 893 1505 E AndroidRuntime: at com.android.server.wifi.scanner.WificondScannerImpl.processPendingScans(WificondScannerImpl.java:452)
04-23 11:04:56.499 893 1505 E AndroidRuntime: at com.android.server.wifi.scanner.WificondScannerImpl.startSingleScan(WificondScannerImpl.java:203)
04-23 11:04:56.499 893 1505 E AndroidRuntime: at com.android.server.wifi.scanner.HalWifiScannerImpl.startSingleScan(HalWifiScannerImpl.java:78)
04-23 11:04:56.499 893 1505 E AndroidRuntime: at com.android.server.wifi.scanner.WifiScanningServiceImpl$WifiSingleScanStateMachine.tryToStartNewScan(WifiScanningServiceImpl.java:851)
04-23 11:04:56.499 893 1505 E AndroidRuntime: at com.android.server.wifi.scanner.WifiScanningServiceImpl$WifiSingleScanStateMachine$DriverStartedState.processMessage(WifiScanningServiceImpl.java:650)
04-23 11:04:56.499 893 1505 E AndroidRuntime: at com.android.internal.util.StateMachine$SmHandler.processMsg(StateMachine.java:992)
04-23 11:04:56.499 893 1505 E AndroidRuntime: at com.android.internal.util.StateMachine$SmHandler.handleMessage(StateMachine.java:809)
04-23 11:04:56.499 893 1505 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
04-23 11:04:56.499 893 1505 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
04-23 11:04:56.499 893 1505 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:65)
you can stop rebooting by entering "wificond" in adb shell
now setupwizard after sim detect stops with black screen
---
in logs we can see it's looking for 2 services miui.shell and miui.fdpp :silly:
they have some ramdisk scripts related to miui in boot.img but all we need is init.miui.rc
import it in your init.qcom.rc and add to /vendor/etc/init/hw/
almost done but you need to clear file_contexts of this 2 bin because we're using lineage sepolicies : /system/xbin/shelld and /system/bin/fdpp
>>> setupwizard goes further
but i couldn't finish it so simply removed it from /priv-app
booted but system is not very usable
so i took this TWRP backup and tried flashing gapps
finished setupwizard
and restored backup
>>> now miui is fully booted
i don't know any better way to bypass setupwizard
Wow,,MIUI coming.. :victory::victory:
I love you man!
@erfanoabdi,. You working on miui?
rakee said:
@erfanoabdi,. You working on miui?
Click to expand...
Click to collapse
No i just did it for my treble testing and actually fun
Maybe after release of one official miui with Android 8.1 i can start working on it
erfanoabdi said:
No i just did it for my treble testing and actually fun
Maybe after release of one official miui with Android 8.1 i can start working on it
Click to expand...
Click to collapse
MIUI from leaked oreo 8.1 firmware is already quite stable, right?
https://www.xda-developers.com/xiaomi-mi-6x-china-dual-cameras-snapdragon-660/ @erfanoabdi
Its MIUI 9.5 on top of Android 8.1 Oreo

[ROM][MONTANA][UNOFFICIAL] LineageOS 14.1

LineageOS 14.1
{
"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"
}
​
Code:
/*
* 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.
*/
Prerequisites
Bootloader unlock > HERE
Recovery twrp > squid2 or sevenmaxs
What works
RIL (dual sim, volte)
WIFI
Tethering
Camera
Bluetooth
Sensors
MTP
Sound
Fingerprint
NFC
MotoActions
- - SELinux: enforcing
Todo
Fix "Enable on-screen nav-bar" toggling option.
Download
https://www.androidfilehost.com/?w=files&flid=251047 AFH LOS7 Files
https://opengapps.org/ OpenGApps - Choose ARM/7.1/PICO or NANO
Source
Device: https://github.com/kayesk/android_device_motorola_montana
Vendor: https://github.com/kayesk/android_vendor_motorola_montana
Branch: cm-14.1
How to install the rom ?
Copy the rom to your G5S.
Restart in recovery (squid or Sevenmaxs)
Take a backup of existing ROM.
Wipe clean (Cache, Data, Dalvik/ART, System)
Install ROM.
Make a wipe cache.
Reboot System.
Initial load would take time.
Contributions :
@GoldeneyeS2 for fixing OEM bloatware, NFC and releasetools script.
THANKS TO :
@squid2 for twrp
@SevenMaxs for twrp
All other users who provided support, valuable suggestions and productive comments.
Report bugs with proper logcat details.
Device is unrooted. Root using Magisk works.
Thanks
KS
Nice,happy new year!
customs on g5s incomming
Thanks, HAPPY NEW YEAR
good job my friend and thank you for your work
Happy new year .
Video recording - FIXED
FIXED another issue with MTP.
NFC selinux rules are added - SOMEONE PLEASE VERIFY IF IT WORKS.
NEW BUILD: lineage-14.1-20171231_060004-UNOFFICIAL-montana.zip
Link: Same as in topic.
Thanks
KS
Awesome work! Works fine, no bugs until right now, BUT
one thing about the moto devices that i love, is the moto actions and the moto display, how to keep them?
Have some flashable lib from stock? Can you Add or teach how to use it? I need one hand navigation on the fingerprint sensor.
Thx
Great work...i was trying for this but failed...now u can expect Oreo ROMs too
kalyansundhar said:
Video recording - FIXED
FIXED another issue with MTP.
NFC selinux rules are added - SOMEONE PLEASE VERIFY IF IT WORKS.
NEW BUILD: lineage-14.1-20171231_060004-UNOFFICIAL-montana.zip
Link: Same as in topic.
Thanks
KS
Click to expand...
Click to collapse
can u please push kernel sources...i can help fixing moto acions
Happy new year.
NFC is not working. I don't see it in the settings.
Tomorrow more time....
Anyone drop screenshots
govind1233 said:
Anyone drop screenshots
Click to expand...
Click to collapse
Tomorrow I will do. But its just lineage 14.1.
The ROM is based on the stock version. Some services are still from Motorola.
Following bug I found:
The first time you watch a full screen video. You will get a message about it. Portrait modes there is no problem but in landscape you will see a weird thing happening with the message and the video.
Thanks so much for developping a rom for this device, because not a lot a developper make something for this device contrary to the dev arround the moto g5s plus. And happy new year.
govind1233 said:
Anyone drop screenshots
Click to expand...
Click to collapse
Done.
GoldeneyeS2 said:
Tomorrow I will do. But its just lineage 14.1.
The ROM is based on the stock version. Some services are still from Motorola.
Following bug I found:
The first time you watch a full screen video. You will get a message about it. Portrait modes there is no problem but in landscape you will see a weird thing happening with the message and the video.
Click to expand...
Click to collapse
Thank you very much for making a rom for the Moto G5S. Are you aware of the bug in the developer options and Moto Actios does not work? Sorry for any mistake in English.
Doug.97 said:
Thank you very much for making a rom for the Moto G5S. Are you aware of the bug in the developer options and Moto Actios does not work? Sorry for any mistake in English.
Click to expand...
Click to collapse
Yes. I am aware of the issues you mentioned.
@govind1233, I have published kernel code as well https://github.com/kayesk/android_kernel_motorola_msm8937.
Can someone confirm NFC support in this device? Mine is XT1795 (India) and I don't see NFC support.
Also I have one confusion. If I add MotoActions apk to code, will it interfere with CMActions?
Thanks
KS
Please release kernel sources
kalyansundhar said:
Can someone confirm NFC support in this device? Mine is XT1795 (India) and I don't see NFC support.
KS
Click to expand...
Click to collapse
I have the XT1794 with NFC. I dont see the nfc in settings.
I also try to get it working.
Maybe its something with settings.apk??? Did you also copy that from the G5???
@kalyansundhar
Are now working building or still copying and pasting? you can better upload your system.img and boot.img to github(extract).
kalyansundhar said:
Yes. I am aware of the issues you mentioned.
@govind1233, I have published kernel code as well https://github.com/kayesk/android_kernel_motorola_msm8937.
Can someone confirm NFC support in this device? Mine is XT1795 (India) and I don't see NFC support.
Also I have one confusion. If I add MotoActions apk to code, will it interfere with CMActions?
Thanks
KS
Click to expand...
Click to collapse
Thanks bro
---------- Post added at 04:35 PM ---------- Previous post was at 03:35 PM ----------
kalyansundhar said:
Yes. I am aware of the issues you mentioned.
@govind1233, I have published kernel code as well https://github.com/kayesk/android_kernel_motorola_msm8937.
Can someone confirm NFC support in this device? Mine is XT1795 (India) and I don't see NFC support.
Also I have one confusion. If I add MotoActions apk to code, will it interfere with CMActions?
Thanks
KS
Click to expand...
Click to collapse
For Moto actions to work u need proper commits for cmactions
GoldeneyeS2 said:
I have the XT1794 with NFC. I dont see the nfc in settings.
I also try to get it working.
Maybe its something with settings.apk??? Did you also copy that from the G5???
@kalyansundhar
Are now working building or still copying and pasting? you can better upload your system.img and boot.img to github(extract).
Click to expand...
Click to collapse
Well, I am doing little bit here and there with whatever limited experience I have.
My main concern now is my lack of understanding on how everything fits in the big picture. And without knowing it if I make some change that shouldn't be screwing up something which works fine.
I think it is better for me to stop here, so that good developers could take it further. Anyway the repositories are public.
I cannot push system.img to github because of file size limitation. File size is 900MB and allowed limit is 100MB.
I would share it in my onedrive account and publish the link.
Bugs so far:
1) Developer options - Getting selinux permission issue which is blocked by global rule. I don't know how to override a global rule.
2) Moto Actions - Not working.
3) NFC - Getting zygote error related to seapp_context.
Code:
01-02 21:32:58.857 1534 1593 E ActivityManager: android.util.Log$TerribleFailure: Removing process that hasn't been killed: ProcessRecord{ffc4c99 8487:com.android.nfc/1027}
01-02 21:32:58.857 1534 1593 E ActivityManager: at android.util.Log.wtf(Log.java:295)
01-02 21:32:58.857 1534 1593 E ActivityManager: at android.util.Slog.wtfStack(Slog.java:98)
01-02 21:32:58.857 1534 1593 E ActivityManager: at com.android.server.am.ActivityManagerService.removeLruProcessLocked(ActivityManagerService.java:3419)
01-02 21:32:58.857 1534 1593 E ActivityManager: at com.android.server.am.ActivityManagerService.processStartTimedOutLocked(ActivityManagerService.java:6611)
01-02 21:32:58.857 1534 1593 E ActivityManager: at com.android.server.am.ActivityManagerService.-wrap13(ActivityManagerService.java)
01-02 21:32:58.857 1534 1593 E ActivityManager: at com.android.server.am.ActivityManagerService$MainHandler.handleMessage(ActivityManagerService.java:1895)
01-02 21:32:58.857 1534 1593 E ActivityManager: at android.os.Handler.dispatchMessage(Handler.java:102)
01-02 21:32:58.857 1534 1593 E ActivityManager: at android.os.Looper.loop(Looper.java:154)
01-02 21:32:58.857 1534 1593 E ActivityManager: at android.os.HandlerThread.run(HandlerThread.java:61)
01-02 21:32:58.857 1534 1593 E ActivityManager: at com.android.server.ServiceThread.run(ServiceThread.java:46)
01-02 21:32:58.872 8500 8500 E SELinux : seapp_context_lookup: No match for app with uid 1027, seinfo default, name com.android.nfc
01-02 21:32:58.873 8500 8500 E SELinux : selinux_android_setcontext: Error setting context for app with uid 1027, seinfo default: No such file or directory
01-02 21:32:58.873 8500 8500 E Zygote : selinux_android_setcontext(1027, 0, "default", "com.android.nfc") failed
01-02 21:32:58.873 8500 8500 F art : art/runtime/jni_internal.cc:492] JNI FatalError called: frameworks/base/core/jni/com_android_internal_os_Zygote.cpp:631: selinux_android_setcontext failed
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] Runtime aborting...
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] Aborting thread:
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] "main" prio=5 tid=1 Native
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] | group="" sCount=0 dsCount=0 obj=0x73784268 self=0xa5a05400
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] | sysTid=555 nice=0 cgrp=default sched=0/0 handle=0xa86de534
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] | stack=0xbe70f000-0xbe711000 stackSize=8MB
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] | held mutexes= "abort lock"
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] kernel: (couldn't read /proc/self/task/555/stack)
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] native: (backtrace::Unwind failed for thread 555: Thread doesn't exist)
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:95)
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] at com.android.internal.os.ZygoteConnection.runOnce(ZygoteConnection.java:225)
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] at com.android.internal.os.ZygoteInit.runSelectLoop(ZygoteInit.java:853)
01-02 21:32:58.905 8500 8500 F art : art/runtime/runtime.cc:422] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
Looks like all 3 issues boils down to selinux, file contexts, uevent permissions.
Thanks,
KS
GoldeneyeS2 said:
I have the XT1794 with NFC. I dont see the nfc in settings.
I also try to get it working.
Maybe its something with settings.apk??? Did you also copy that from the G5???
@kalyansundhar
Are now working building or still copying and pasting? you can better upload your system.img and boot.img to github(extract).
Click to expand...
Click to collapse
Uploaded boot-20180102.img and system-20180102.img to onedrive. https://1drv.ms/f/s!Ahq68S0B7zYZjmVhmIHwvYGoz3gq. Please find it within build_images subdirectory.
Thanks
KS

[Porting] CANNOT LINK EXECUTABLE < /system/bin/ file>: cannot locate symbol < ... >

[Porting] CANNOT LINK EXECUTABLE < /system/bin/ file>: cannot locate symbol < ... >
Hi.
I encountered a problem while trying to port AOSP Extended v. 4.1 (Android 7.1.2, kernel 3.10.65+, MTK 6753) on my device (VOYO Q101, 2GB/32GB, kernel 3.10.65+, MTK 6753).
After successfully started the booting process (after one week of research, and a stupid line in /system/build.prop: ro.setupwizard.enterprise_mode=1 which caused stucking at logo), I have managed to get a logcat via adb. LOG (it's 8MB)
It is booting.. and booting... forever. It is not stucked, nor bootlooping. It is just booting (the "Google dots" animations running forever).
I have attached the log. There are a lot of CANNOT LINK EXECUTABLE <....> cannot locate symbol < ... > referenced by <...> and also a lot of:
01-01 02:05:46.410 1451 1451 D ccci_fsd(1): Write 56 bytes to slot 0, CCCI_H(0x0)(0x38)(0x801D000F)(0x0)
01-01 02:05:46.410 1451 1451 D ccci_fsd(1): Read 128 bytes from FS device
01-01 02:05:46.410 1451 1451 D ccci_fsd(1): Read 128 bytes from slot 0, CCCI_H(0x0)(0x80)(0x801E000E)(0x0)
01-01 02:05:46.411 1451 1451 D ccci_fsd(1): CMPT File name:Z:/NVRAM/NVD_DATA/ULMH_000 opid_map:0x00000013 Flag:0x00000100 Offset:34 Whence:-229154332 Length:16384
01-01 02:05:46.411 1451 1451 D ccci_fsd(1): O: [1010103F282D2C35](0x00000100): (7 1)
01-01 02:05:46.411 1451 1451 D ccci_fsd(1): F: 1: 1906 0
01-01 02:05:46.411 1451 1451 D ccci_fsd(1): C: 1: 0
[What I did]
- just copying the kernel from stock ROM (tried also: stock kernel + stock ueventd.rc +/- stock fstab): all caused bootloop or even stucked at logo. Just kernel change works good (at least till the actual stage) .
- compared with old .rc files. No replaces needed (in my opinion)
- From system/build.prop file I have DELETED all lines from ADDITIONAL_BUILD_PROPERTIES section (especially ro.setupwizard.enterprise_mode=1) - which took me 4 DAYS !!! to understand why it was stucked at logo .
- tried with and without patching with init.d (from porting ROM's website)
- tried to put the stock binaries mentioned in errors <CANNOT LINK ...> (/system/bin/mtk_agpsd, xlog) - not booting at all (it even stucks at logo...). Should I try with stock linker.so lib(64) ? But I think it will not boot at all (It really can't).
I hope for your help . Thanks!
up

Categories

Resources