[PORT][HELP NEEDED] MIUI 6 Port from Mi4W - ONE Q&A, Help & Troubleshooting

Hey there, I'm trying to port MIUI 6 from MI4 to our OnePlusOne. Of course it bootloops and maybe someone here may got some idea.
What I did :
On base ROM ( CM11 M11 ), deleted
/system/app
/systel/priv-app
/system/media
/system/font
/system/framework
I replaced by the ported ROM ( Mi4/MI3W MIUI 6 5.1.23 )
I added missing libs from port to base without replace
I replaced libdvm.so and libjavacore.so by the one from ported rom
I replaced framework.jar with the one from CM 11 ( base ) ROM.
(I didnt get to fix errors from framework until replace it entirely)
I edited bootclasspath to the one from MIUI 6 kernel
I replaced updater-script permissions set
Here's the log : http://cjoint.com/?EBsm3ZvDkv7
Main error for me :
F/libc ( 3863): Fatal signal 11 (SIGSEGV) at 0x00000014 (code=1), thread 3863 (zygote)
Here's the ROM : https://drive.google.com/folderview?id=0Bx5Izzyb5WF-a0FpU21peVJSWGc&usp=sharing
Base link : http://download.cyanogenmod.org/get/jenkins/86415/cm-11-20141008-SNAPSHOT-M11-bacon.zip
Port link : https://drive.google.com/folderview?id=0Bx5Izzyb5WF-a0FpU21peVJSWGc&usp=sharing ( Uploading )
Thanks for any help or suggestion.

If you do upload, I would be grateful
Thanks

The libnetcmdiface errors are bogus material. You can, more often than not, ignore those.

MrColdbird said:
The libnetcmdiface errors are bogus material. You can, more often than not, ignore those.
Click to expand...
Click to collapse
Yes. I saw this. Thanks for reply anyway
luigirenna said:
If you do upload, I would be grateful
Thanks
Click to expand...
Click to collapse
I will upload it
Tapatalké depuis mon OnePlus One MIUI !

@Kingzak34
off topic Q
Which version of AK you are using with MIUI 5 on OPO?

sajid533 said:
@Kingzak34
off topic Q
Which version of AK you are using with MIUI 5 on OPO?
Click to expand...
Click to collapse
77 CM11

Miui V6
try to see here
http://en.miui.com/thread-84084-1-1.html

luigirenna said:
try to see here
http://en.miui.com/thread-84084-1-1.html
Click to expand...
Click to collapse
I saw this, but it's broken, and doesnt even work with multirom.
I want to try to port myself for now.
I didnt not upload my work yet, cause I started over from scratch, and I didnt fix enough for now.

I am also experimenting with Mi4W rom to make a port. trying in multi rom. stuck in boot step

sajid533 said:
I am also experimenting with Mi4W rom to make a port. trying in multi rom. stuck in boot step
Click to expand...
Click to collapse
Boot animation or before ? Got logcat ?

V6
I tried the version, actually the Wi-Fi and the camera did not work.
I guess with a logcat active (I hope) to see why it does not work.
There are problems with shutting down.
but it's a good start.:good:

Here is my last-kmsg file when I booted with miui 6 with official miui5 rom boot.img
No bootloop. No boot animation
Just stuck at one+ logo
https://mega.co.nz/#!Ghp01JwB!sK6FhYyf6xYZ2c_OgdI66fvoCrv6rAooCek71Ty3jmI
Sent from my One+ using XDA Free mobile app

My ROM is uploading.

Kingzak34 said:
My ROM is uploading.
Click to expand...
Click to collapse
Problem solved? how?

No its not solved. It's still on the same state.
Dalvik VM starts working then fatal signal from libc
Tapatalké depuis mon OnePlus One MIUI !

Here will be the ROM when uploaded :
https://drive.google.com/folderview?id=0Bx5Izzyb5WF-a0FpU21peVJSWGc&usp=sharing
WARNING : Remember that ROM doesnt boot and it's only for work.
I updated logcat on 1st post. Here we are for now.

Kingzak34 said:
I saw this, but it's broken, and doesnt even work with multirom.
I want to try to port myself for now.
I didnt not upload my work yet, cause I started over from scratch, and I didnt fix enough for now.
Click to expand...
Click to collapse
You can try to fix wifi ,sound and camera and Make it multirom ready ???
Its easier because its booting and yours not ??

jamal2367 said:
You can try to fix wifi ,sound and camera and Make it multirom ready ???
Its easier because its booting and yours not ??
Click to expand...
Click to collapse
stop talking.
Kingzak34 said:
Here will be the ROM when uploaded :
https://drive.google.com/folderview?id=0Bx5Izzyb5WF-a0FpU21peVJSWGc&usp=sharing
WARNING : Remember that ROM doesnt boot and it's only for work.
I updated logcat on 1st post. Here we are for now.
Click to expand...
Click to collapse
this mostly refers to missing resources, but i'm not quite sure atm :/
Code:
F/libc ( 3894): Fatal signal 11 (SIGSEGV) at 0x00000014 (code=1), thread 3894 (zygote)
maybe to:
Code:
D/idmap ( 3992): error: no read access to /vendor/overlay: No such file or directory
and:
Code:
D/dalvikvm( 3894): Unable to stat classpath element '/data/app/com.miui.sdk-1.apk'
D/dalvikvm( 3894): Unable to stat classpath element '/data/app/com.miui.sdk-2.apk'
D/dalvikvm( 3894): Unable to stat classpath element '/data/app/com.miui.framework-1.apk'
D/dalvikvm( 3894): Unable to stat classpath element '/data/app/com.miui.framework-2.apk'
try move this stuff to data and reboot, want to see the log if the files are present

OldDroid said:
this mostly refers to missing resources, but i'm not quite sure atm :/
Code:
F/libc ( 3894): Fatal signal 11 (SIGSEGV) at 0x00000014 (code=1), thread 3894 (zygote)
Click to expand...
Click to collapse
For this one, I must give some search on internet, I saw many people having this but didnt find solution for now.
OldDroid said:
Code:
D/idmap ( 3992): error: no read access to /vendor/overlay: No such file or directory
Click to expand...
Click to collapse
There is no overlay folder or file in vendor folder of both ROM. I think it can be ignored. ( But I may be wrong )
OldDroid said:
Code:
D/dalvikvm( 3894): Unable to stat classpath element '/data/app/com.miui.sdk-1.apk'
D/dalvikvm( 3894): Unable to stat classpath element '/data/app/com.miui.sdk-2.apk'
D/dalvikvm( 3894): Unable to stat classpath element '/data/app/com.miui.framework-1.apk'
D/dalvikvm( 3894): Unable to stat classpath element '/data/app/com.miui.framework-2.apk'
try move this stuff to data and reboot, want to see the log if the files are present
Click to expand...
Click to collapse
These, are written in the bootclasspath of MIUI ROM ( so it's looking for it ), but doesnt exist in the ROM. I saw same kind of errors on a working ROM, so I think it can be ignored too.

jamal2367 said:
You can try to fix wifi ,sound and camera and Make it multirom ready ???
Its easier because its booting and yours not ??
Click to expand...
Click to collapse
I want to work on my ROM. I need my phone working so I use mine that works with multirom.

Related

[REQ] Mashup of Drizzy's Blur 1.5.7's /system/framework with any Hero ROM out there

Code:
D/AndroidRuntime( 1537): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 1537): CheckJNI is OFF
D/dalvikvm( 1537): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1537): Stale deps in cache file; removing and retrying
W/dalvikvm( 1537): Size mismatch on inflated file (927937 vs 924012)
E/dalvikvm( 1537): Unable to extract+optimize DEX from '/system/framework/services.jar'
D/dalvikvm( 1537): Failed on '/system/framework/services.jar' (boot=1)
D/dalvikvm( 1537): VM cleaning up
D/dalvikvm( 1537): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm( 1537): JNI_CreateJavaVM failed
E/AndroidRuntime( 1537): JNI_CreateJavaVM failed
As some of you know, I have been having this looping in my logcat after I flash a ROM properly. I tried to push services.jar and even services.odex from some ROMs, but none worked.
To make things work, I tried flashing the only recent ROM that worked for me (Blur 1.5.7), booted once, wiped data (not ext3) then flashed any other ROM (like Maxisma's 1.7). It worked, but some things kept force closing (clock, wallpapers, sometimes even launcher).
So...rather than focusing on a hardware/NAND problem I can't fix, could I request all you devs to modify your ROM with a different services.jar or framework files? Or could you teach me the basics so I can experiment for myself how I can modify your ROMs?
Any help on this is greatly appreciated.
I am not a dev. But i did stay at a holiday inn last night.
Not sure if this is exactly what you want but you can push the framework-res.apk from drizzys 1.5.7 to most of the new heros. Push it to /system/framework.
Im using Maxismas 1.6 framework-res on drizzys 1.5.5
I hope this helps. If not, or i am way off of what you want, i appologize.
alpha22 said:
So...rather than focusing on a hardware/NAND problem I can't fix............
Click to expand...
Click to collapse
Myabe you should. Are you 100% that your sd card isn't toast? It sounds like it could be causing the file mismatch problems you are having.
I had a brand new class 6 sd card that was causing all kinds of trouble for me just like this.
So...it's not the fault of the phone's hardware, but rather the SD?
And I've managed to flash mdhero 1.7, mlign as well as kingklick's ROMs by pushing Blur 1.5.7's framework-res.apk and services.jar after flashing. I pushed the originals back after they've booted, though.
Some things like clock/launcher still force-close on me, so I'm not fully satisfied with my solution. Mlign's is terribly slow, too.
Ok alpha22 now that you figured out your problem please move this to Q&A ....you're choking up the dev section with this ,,,,so pretty pretty please , repost in Q&A !!!
dan0zone said:
Ok alpha22 now that you figured out your problem please move this to Q&A ....you're choking up the dev section with this ,,,,so pretty pretty please , repost in Q&A !!!
Click to expand...
Click to collapse
Nah the problem is far from solved. Everything resets after a reboot, as i just found out. And this is a legit request going out to developers to either teach me how framework works, or modify their ROMs to help me. I could PM them if you think I'm clogging up this board.
Ok then put this in the q&a section!!!
your_helpfull_hand said:
Ok then put this in the q&a section!!!
Click to expand...
Click to collapse
I don't know how to move this. Only a mod can. And if I post this in Q&A, the devs will never get to read it.
Whatever, I'm done here. Thank you all for trying to help, especially Drizzy and Cyanogen. They're like the only devs who truly bother.
I shall convert to Apple soon enough.
Mikey, you can close this. Thanks.
alpha22 said:
I don't know how to move this. Only a mod can. And if I post this in Q&A, the devs will never get to read it.
Whatever, I'm done here. Thank you all for trying to help, especially Drizzy and Cyanogen. They're like the only devs who truly bother.
I shall convert to Apple soon enough.
Mikey, you can close this. Thanks.
Click to expand...
Click to collapse
done here? we are trying to help you, but all people are trying to say is next time please post in the correct subforum.
now, what exactly are you trying to do. framework-res.apk? are you trying to change/add animations from blur or what?
also, between ROMs you should wipe ext or at least /system/sd/app* and /system/sd/dalv*. maybe this is causing the mismatch/FC between switching ROM's
and one last thing, asking devs to modify all their ROMs per one users request seems farfetched. while some devs will probably be more than happy to help you on a single basis, its quite hard to ask all devs to do this. shoot me a PM or hit me on gtalk- [email protected] and i will see if i can get you up and running again, in the meantime Mikey can you move this thread over to Q&A.
lets get you back up and running again alpha.
palosjr said:
now, what exactly are you trying to do. framework-res.apk? are you trying to change/add animations from blur or what?
Click to expand...
Click to collapse
Which files are related to the blur animations, if I may ask?
AGx-07_162 said:
Which files are related to the blur animations, if I may ask?
Click to expand...
Click to collapse
in the blur rom, go to frameworks pull those files and push them into your current rom its something like 45 files... just do a search for "blur animations"

[Phoneless Dev Needs Help]kernel errors?

hello ,when i try to compile a kernel,i always get errors
I tried-
1)arbatdat's source-error
2)Stock Samsung source-error
3)Patched Samsung source-error
I also tried multiple toolchains,but fail
Code:
drivers/rtc/rtc-max8907c.c: In function 'max8907c_rtc_probe':
drivers/rtc/rtc-max8907c.c:402: error: implicit declaration of function 'max8907c_rtc_read_alarm_boot'
drivers/rtc/rtc-max8907c.c:348: warning: unused variable 'irq1'
make[2]: *** [drivers/rtc/rtc-max8907c.o] Error 1
make[1]: *** [drivers/rtc] Error 2
make: *** [drivers] Error 2
This is gonna be my first time with tegra 2(previously with MSM7x30),so kindly help me
Hi
This 'max8907c_rtc_read_alarm_boot' function do not exists in original source and i assume you wrote it, then i at least need to see a part of code where you define it and how you use it, and explaining what it intend to do will help.
no i didnt
how did arbaddat compile a kernel if he didnt write it too ?
I had no problems compiling it, which copiler did you use?
Sent from my GT-I9103 using XDA App
I found it but do not see any thing wrong with it, can you post your .config so i will run it and maybe will understend what wrong with it
Sent from my GT-I9103 using XDA App
Here is the config i used(seems to be the stock one)
http://forum.xda-developers.com/attachment.php?attachmentid=827594&d=1324674384
No this config differ with my stock kernel config in this two options
Config you provided us:
Code:
CONFIG_MPU_SENSORS_TIMERIRQ=y
CONFIG_DISABLE_3D_POWERGATING=y
My config do not have CONFIG_DISABLE_3D_POWERGATING option at all
and CONFIG_MPU_SENSORS_TIMERIRQ is disabled
And it did fail at my build too
sakindia123 said:
Here is the config i used(seems to be the stock one)
http://forum.xda-developers.com/attachment.php?attachmentid=827594&d=1324674384
Click to expand...
Click to collapse
If this config from me (http://forum.xda-developers.com/showpost.php?p=20624969&postcount=12)
I think, that time i used 2.3.6 ZSKK5.(http://forum.xda-developers.com/showthread.php?t=1372457).
And for some reason with this options disabled it do not build too maybe problem is in other settings but it really strange because before i copied tegra_n1_chn_defconfig and it did not ask me for schedule IO and cpu freq options but with this config it did i enabled them and maybe i did some thing wrong in any case this is not working config with above options disabled View attachment config_1.txt(but looks like they do not matters)
And this config that did wok for me View attachment config_2.txt
need to do more research on it
thanks ,the config worked for me.Now i will set up a nice kernel for i9103 in a few days.
Also,can anyone upload for me their /system folder?Needed for rom cooking
If it's ok with my hybrid FW (latest taiwanese based on 2.3.6 + nordic csc) then here you go. I pulled whole /system:
http://www.filesonic.com/file/fY9Kveq
Here is test kernel.Flash via recovery mode.
http://www.multiupload.com/S598RF25O0
If this works,i will create a thread soon
Regards
Thx, I'll test it soon!
EDIT: Autorotation and WiFi doesn't work on my 2.3.6.
well,made a new thread
@m.kochan-Is the system dump u uploaded de-odexed?
I'm pretty sure it's not de-odexed.
When you navigate to /system/app - u'll see a lot of .odex fies
Can u deodex it and upload?
see here
http://forum.xda-developers.com/showthread.php?t=1383382
sure, but it can take some time.
No problem.
I am right know makin a solid kernel.Kindly test if u can(Its in the thread i cfeated)
Test#2
I run into some problems during deodexing, namely I stuck on Maps.odex
Starting Maps.odex
*****************************************
* Deodexing... *
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find int
erface Landroid/view/MenuItem$OnActionExpandListener;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadAllImplementedInte
rfaces(ClassPath.java:823)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:
683)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280
)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:16
3)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPath(ClassPath.j
ava:131)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:111)
at org.jf.baksmali.main.main(main.java:282)
Error while loading class Lcom/google/googlenav/actionbar/d; from file .\origi_a
pp\Maps.odex
Error while loading ClassPath class Lcom/google/googlenav/actionbar/d;
Press any key to continue . . .
I found people with similar issue, but no solution yet.

[Rom] [4.4.4] Cyanogenmod 11 for Moto X

***Posting this on behalf of current CM developer for this device***
Source can be found at https://github.com/CyanogenMod
This is a unified build for Moto X
To build CyanogenMod for yourself you can follow http://wiki.cyanogenmod.org/w/Build_for_moto_msm8960dt
If you'd rather not extract files from the latest CyanogenMod build you can add vendor.xml to your .repo/local_manifests folder.
It's been confirmed to work on both the 4.3 and 4.4 bootloaders.
Details on Installing and downloading CyanogenMod can be found here: http://wiki.cyanogenmod.org/w/Moto_msm8960dt_Info
Official nightlies can be downloaded here: http://download.cyanogenmod.org/?device=ghost
Gapps: http://wiki.cyanogenmod.org/w/Gapps
Known Issues: http://wiki.cyanogenmod.org/w/Known_Issues_page_for_moto_msm8960dt
Changelog: http://www.cmxlog.com/11/moto_msm8960dt/
Before you post a bug report:
Please ensure you have done a full wipe of data and formated system under Mounts and Storage.
If you have flashed parts for other versions you may need to do a full flash of the factory software for your model and start clean.
Do not report bugs in nightlies to jira.cyanogenmod.org
Enjoy!
Already known bugs
So, already known bugs:
1. Speakerphone did not work.
2. GPS sometimes do not find satellites.
3. Video camera have only CIF and QVGA resolution of video quallity.
Also, no external audio at all (speaker, ringer, etc) for the xt1030.
Sent from my unknown using Tapatalk
Rottgrub said:
Also, no external audio at all (speaker, ringer, etc) for the xt1030.
Sent from my unknown using Tapatalk
Click to expand...
Click to collapse
Strange. Bootloader unlocked?
da900 said:
Strange. Bootloader unlocked?
Click to expand...
Click to collapse
Yep, unlocked boot loader. It seems to happen with all of the CM11 based ROMs on the Droid Mini.
That said, headphone audio works fine. I haven't tested bluetooth audio, but I can test that later today.
I'd be happy to run any tests, or provide logcat info if you like. Just let me know.
I am not a dev. Post logcat here. Dhacker will see it and will be able to isolate the problem.
Will this work on unlocked xt1055 US cellular CDMA version?
Sent from my XT1055 using Tapatalk
khanapurechait said:
Will this work on unlocked xt1055 US cellular CDMA version?
Sent from my XT1055 using Tapatalk
Click to expand...
Click to collapse
Codename: moto_msm8960dt
Also known as: ghost, obake-maxx
Vendor: Motorola
Release Date: 2013 Aug 23
Carrier: TMobile, International GSM, Verizon, US Cellular, Sprint
From the link in the OP it says it will: http://wiki.cyanogenmod.org/w/Moto_msm8960dt_Info
Hi I'm using the new PA google camera and I found that de back camera has the CIF QVGA and QCIF resolution and front camera has 1080p resolution, this may addres the issues taking videos with the back camera.
Hope this helps to developers.
I'm using Liquid rom right now.
Videocamera fix
Hi, guys and girls. Seems like I have managed to fix video camera to recocord 1080p and 720p videos and also front video camera, wich can record up to 720p now. I was rying to make front camera record also 1080p videos as on stock ROMs it can do so, but did not find a solution at the moment.
Proof is in the screenshots.
How to;
1. Download attached media-profiles.zip and extract xml file
2. Copy to Sdcard
3. Using any root file manager (I use RootExplorer) go to /system/etc
4. Copy downloader media-profiles.xml to this location and agree with the replacement.
5. Set permissions rw--r--r--
6. Reboot
7. Enjoy fully functional AOSP camera
P.S. If anyone is familiar with gerrit and/or github, please, add this fix to msm8960dt cm source code.
P.P.S. Finaly managed to add 1080p front camera recording.
da900 said:
I am not a dev. Post logcat here. Dhacker will see it and will be able to isolate the problem.
Click to expand...
Click to collapse
Appreciate the advice nevertheless.
Motorola driver decided to be a jerk, so the logcat took me longer than expected. This is the xt1030 Droid Mini, unlocked bootloader, running a clean install of CM11, no gapps package, as of a few days ago. Clean booted the phone, played with the volume controls, and sound ringtone selector.
The bug: No external audio at any point. Headphones work, however.
http://pastebin.com/Q4qjZYbv
If someone takes a look, and wants further tests, please let me know. Be happy to dig into the issue.
Cheers!
-- after rooting around --
Looking it over, since it seems to be horking out around here:
Code:
D/ALSADevice( 347): ALSA module opened
D/AudioHardwareALSA( 347): AudioHardware: DLOPEN successful for ACDBLOADER
E/ ( 347): 2 (No such file or directory) opendir /sys/kernel/debug/asoc/msm8960-tabla1x-snd-card/msm8960-snd-card failed
E/ ( 347): failed to get Peek and Poke names
E/ ( 347): [ACDB RTC]->rtc init done!->result [0]
E/ ( 347): [ACDB ACPH]->actp diag init done!
E/ACDB-LOADER( 347): Error: ACDB ANC returned = -8
E/ACDB-LOADER( 347): done with conversion, anc config size is 148
I've included the contents of that directory structure in case it's useful. Looks like the directory it's looking for is at:
/sys/kernel/debug/asoc/msm8960-snd-card
But that's just a guess without looking directly at the code, which I may do.
http://pastebin.com/HdyCwLyx
Rottgrub said:
Appreciate the advice nevertheless.
Motorola driver decided to be a jerk, so the logcat took me longer than expected. This is the xt1030 Droid Mini, unlocked bootloader, running a clean install of CM11, no gapps package, as of a few days ago. Clean booted the phone, played with the volume controls, and sound ringtone selector.
The bug: No external audio at any point. Headphones work, however.
http://pastebin.com/Q4qjZYbv
If someone takes a look, and wants further tests, please let me know. Be happy to dig into the issue.
Cheers!
--
Looking it over, since it seems to be horking out around here:
Code:
D/ALSADevice( 347): ALSA module opened
D/AudioHardwareALSA( 347): AudioHardware: DLOPEN successful for ACDBLOADER
E/ ( 347): 2 (No such file or directory) opendir /sys/kernel/debug/asoc/msm8960-tabla1x-snd-card/msm8960-snd-card failed
E/ ( 347): failed to get Peek and Poke names
E/ ( 347): [ACDB RTC]->rtc init done!->result [0]
E/ ( 347): [ACDB ACPH]->actp diag init done!
E/ACDB-LOADER( 347): Error: ACDB ANC returned = -8
E/ACDB-LOADER( 347): done with conversion, anc config size is 148
I've included the contents of that directory structure in case it's useful. Looks like the directory it's looking for is at:
/sys/kernel/debug/asoc/msm8960-snd-card
But that's just a guess without looking directly at the code, which I may do.
http://pastebin.com/HdyCwLyx
Click to expand...
Click to collapse
Guess I found a solution for you. Open zip with CM11 nightly. Go to system and find a folder called xt1080. Open it. You will see 3 folders. Extarct them. Then using any root file manager copy files from every folder to /sytem/bin, /system/etc, /system/lib. Extracted folders have the same names. Set permissions. Reboot.
da900 said:
Guess I found a solution for you. Open zip with CM11 nightly. Go to system and find a folder called xt1080...
Click to expand...
Click to collapse
Unfortunately, I've already tried those files with no luck. Appreciate the idea though.
Sent from my Xperia Sola using Tapatalk
Rottgrub said:
Unfortunately, I've already tried those files with no luck. Appreciate the idea though.
Sent from my Xperia Sola using Tapatalk
Click to expand...
Click to collapse
Then just extract the same files from your stock ROM.
da900 said:
Then just extract the same files from your stock ROM.
Click to expand...
Click to collapse
Tried that as well, unfortunately.
Sent from my Xperia Sola using Tapatalk
da900 said:
Hi, guys and girls. Seems like I have managed to fix video camera to recocord 1080p and 720p videos and also front video camera, wich can record up to 720p now. I was rying to make front camera record also 1080p videos as on stock ROMs it can do so, but did not find a solution at the moment.
Proof is in the screenshots.
How to;
1. Download attached media-profiles.zip and extract xml file
2. Copy to Sdcard
3. Using any root file manager (I use RootExplorer) go to /system/etc
4. Copy downloader media-profiles.xml to this location and agree with the replacement.
5. Set permissions rw--r--r--
6. Reboot
7. Enjoy fully functional AOSP camera
P.S. If anyone is familiar with gerrit and/or github, please, add this fix to msm8960dt cm source code.
P.P.S. Finaly managed to add 1080p front camera recording.
Click to expand...
Click to collapse
Is this working for anyone else? My camera still just freezes up when you try to record which is why I removed those resolutions.
---------- Post added at 08:27 PM ---------- Previous post was at 08:08 PM ----------
da900 said:
Guess I found a solution for you. Open zip with CM11 nightly. Go to system and find a folder called xt1080. Open it. You will see 3 folders. Extarct them. Then using any root file manager copy files from every folder to /sytem/bin, /system/etc, /system/lib. Extracted folders have the same names. Set permissions. Reboot.
Click to expand...
Click to collapse
Yeah the unified build isn't set up to recognize Droid Mini. Can you send me the output of:
adb shell
Code:
getprop
cat /proc/cmdline
dhacker29 said:
Yeah the unified build isn't set up to recognize Droid Mini. Can you send me the output of:
adb shell
Code:
getprop
cat /proc/cmdline
Click to expand...
Click to collapse
Happily. I appreciate you looking into it. I restored to stock 4.4, added root, and pulled the below:
xt1030 Stock 4.4: getprop
http://pastebin.com/F0AtmxXU
xt1030 stock 4.4: /proc/cmdline
http://pastebin.com/0ELEb8tk
Let me know if you need anything else.
da900 said:
Hi, guys and girls. Seems like I have managed to fix video camera to recocord 1080p and 720p videos and also front video camera, wich can record up to 720p now. I was rying to make front camera record also 1080p videos as on stock ROMs it can do so, but did not find a solution at the moment.
Proof is in the screenshots.
How to;
1. Download attached media-profiles.zip and extract xml file
2. Copy to Sdcard
3. Using any root file manager (I use RootExplorer) go to /system/etc
4. Copy downloader media-profiles.xml to this location and agree with the replacement.
5. Set permissions rw--r--r--
6. Reboot
7. Enjoy fully functional AOSP camera
P.S. If anyone is familiar with gerrit and/or github, please, add this fix to msm8960dt cm source code.
P.P.S. Finaly managed to add 1080p front camera recording.
Click to expand...
Click to collapse
Tried your solution and two things happend to me, the first one is that no longer had wifi and the second one is that did nit work your solution every time I opened the google camera failed.
did I miss something?
have google now?
if google now worked, this rom will be perfect!!!
http://www.cmxlog.com/11/moto_msm8960dt/
TiagoRigueto said:
have google now?
if google now worked, this rom will be perfect!!!
http://www.cmxlog.com/11/moto_msm8960dt/
Click to expand...
Click to collapse
It works and can be installed from google play

[Help]Porting miui KK rom

Hey i am trying to port the miui kk rom. i tried to port from a lot of devices but in the end i always get these errors
anyone can help me understand them?
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
E/MP-Decision( 341): MPDecision server starting
E/MP-Decision( 341): OPTION ENABLED: Control sleep modes
E/MP-Decision( 341): OPTION ENABLED: Adjusting average
E/MP-Decision( 341): Decision parameters CPU 0: Nw=0.000000, Tw=0, Ns=0.000000, Ts=0
E/MP-Decision( 341): util_h_and=0, util_h_or=0, util_low=0
E/MP-Decision( 341): Decision parameters CPU 1: Nw=1.900000, Tw=140, Ns=1.100000, Ts=190
E/MP-Decision( 341): util_h_and=35, util_h_or=75, util_low=20
E/MP-Decision( 341): Decision parameters: poll_ms: 9 decision_ms: 50
E/wcnss_service( 345): Failed to stat cal file : No such file or directory
E/wcnss_service( 345): No cal data is written to WCNSS -1
E/MP-Decision( 341): persistent file is not present could be first time boot
E/mm-camera( 332): qcamsvr_start: old_mode = 3f
E/mm-camera( 332): qcamsvr_load_gesture_lib Error opening gesture library
E/mm-camera( 332): Cannot init Gesture library
E/MediaPlayerFactory(25130): calling dlopen on FACTORY_LIB
E/MediaPlayerFactory(26308): calling dlopen on FACTORY_LIB
E/tadif ( 190): Failed to connect to tad.
E/taimport( 192): Failed to read unit 60203: Unit not found
E/taimport( 192): Failed to read unit 60220: Unit not found
E/taimport( 192): Failed to read unit 60221: Unit not found
E/taimport( 192): Failed to read unit 60240: Unit not found
E/taimport( 192): Failed to read unit 2560: Unit not found
E/taimport( 192): Failed to put unit to /data/etc/wlan_macaddr0
E/taimport( 192): Failed to read unit 2561: Unit not found
E/taimport( 192): Failed to put unit to /data/etc/wlan_macaddr1
E/taimport( 192): Failed to read unit 2562: Unit not found
E/taimport( 192): Failed to put unit to /data/etc/wlan_macaddr2
E/taimport( 192): Failed to read unit 2563: Unit not found
E/taimport( 192): Failed to put unit to /data/etc/wlan_macaddr3
E/taimport( 192): Failed to read unit 2564: Unit not found
E/taimport( 192): Failed to put unit to /data/etc/wlan_txpower_2_4g
E/taimport( 192): Failed to read unit 2565: Unit not found
E/taimport( 192): Failed to put unit to /data/etc/wlan_txpower_5g_low
E/taimport( 192): Failed to read unit 2566: Unit not found
E/taimport( 192): Failed to put unit to /data/etc/wlan_txpower_5g_mid
E/taimport( 192): Failed to read unit 2567: Unit not found
E/taimport( 192): Failed to put unit to /data/etc/wlan_txpower_5g_high
this is the error log if any one wants a full log here it is
http://d-h.st/e2d
pastebin.com/raw.php?i=NCrMHW3e
@TakuyaZ
You should take a look at this. Gesture library missing again?
Either the signature is different or its broken/not placed properly
Sent from my SO-04E using Tapatalk
TakuyaZ said:
Either the signature is different or its broken/not placed properly
Sent from my SO-04E using Tapatalk
Click to expand...
Click to collapse
What should i do to fix it?
AlphaBeta said:
What should i do to fix it?
Click to expand...
Click to collapse
Im not the guy to ask for these. not a rom porter
try to take the lib from cm11 and put it there? maybe that
EDIT: Apparently its the camera, try porting without camera
EDIT2: Add this lib from base rom "libnetcmdiface.so"
TakuyaZ said:
Im not the guy to ask for these. not a rom porter
try to take the lib from cm11 and put it there? maybe that
EDIT: Apparently its the camera, try porting without camera
EDIT2: Add this lib from base rom "libnetcmdiface.so"
Click to expand...
Click to collapse
Are you sure its the camera which is not letting the rom boot?
Well i'll give it a try
And this lib is not there in our base rom :/ i searched for it even at github
And i have asked from all the people i guess no one is ready to help us
I will keep trying on my own let's hope it boots
AlphaBeta said:
Are you sure its the camera which is not letting the rom boot?
Well i'll give it a try
And this lib is not there in our base rom :/ i searched for it even at github
And i have asked from all the people i guess no one is ready to help us
I will keep trying on my own let's hope it boots
Click to expand...
Click to collapse
There's a lot of camera errors
TakuyaZ said:
There's a lot of camera errors
Click to expand...
Click to collapse
well but the logcat loops on that libnetcmdiface.so file
it surely is stopping the device to boot :\
i guess a file related to it needs to be replaced :\
AlphaBeta said:
well but the logcat loops on that libnetcmdiface.so file
it surely is stopping the device to boot :\
i guess a file related to it needs to be replaced :\
Click to expand...
Click to collapse
Add that file, if it still not boots, there should be some more helpful errors
TakuyaZ said:
Add that file, if it still not boots, there should be some more helpful errors
Click to expand...
Click to collapse
that is what i am trying to say libnetcmdiface.so doesnot exist in our base rom :\
i tried replacing the netd file from the base but still no change
it is just looping at it again and again :\
i guess varun can help us with this :\
ok so...to fix our netd error we modded our port boot.img changing some lines in init.rc and replacing files into sbin folder from base rom...try this i suggest to use dsixda kitchen on ubuntu to do this
---------- Post added at 09:11 PM ---------- Previous post was at 09:05 PM ----------
also try asking someone here
http://forum.xda-developers.com/xperia-l/development/rom-miui-xl-v1-0-15-3-1-14-t2647061
it's miui for xperia L jellybean but maybe someone could still help you if they had your same problem
manups4e said:
ok so...to fix our netd error we modded our port boot.img changing some lines in init.rc and replacing files into sbin folder from base rom...try this i suggest to use dsixda kitchen on ubuntu to do this
---------- Post added at 09:11 PM ---------- Previous post was at 09:05 PM ----------
also try asking someone here
http://forum.xda-developers.com/xperia-l/development/rom-miui-xl-v1-0-15-3-1-14-t2647061
it's miui for xperia L jellybean but maybe someone could still help you if they had your same problem
Click to expand...
Click to collapse
Well i too feel it is a kernel level issue but i don't have any idea of it i matched my init.rc with the port rom's and found them identical
And that is just a modded rom not a complete one
Sent from my C2105 using XDA Free mobile app
Deleted
Deleted
well..try replacing files in sbin folder (ramdisk always)
manups4e said:
well..try replacing files in sbin folder (ramdisk always)
Click to expand...
Click to collapse
Which files?
Sent from my C2105 using XDA Free mobile app
all files in sbin folder in boot.img from miui ramdisk to the kernel in ported rom
manups4e said:
all files in sbin folder in boot.img from miui ramdisk to the kernel in ported rom
Click to expand...
Click to collapse
I din't get you
You want me to replace the sbin files from my base kernel to the miui kernel or the vice versa?
Sent from my C2105 using XDA Free mobile app
Vice versa from from miui to base
manups4e said:
Vice versa from from miui to base
Click to expand...
Click to collapse
All the sbin files? Ramdisk and busybox and other?
Don't you think replacing those can brick my device?
Sent from my C2105 using XDA Free mobile app

Roborock app on a custom ROM

Hi, if anybody is using the Roborock app from playstore installed on a custom ROM, can you share which ROM are you using?
I tried a few ROMs about a year ago, but the app kept crashing.
Roborock – „Google Play“ programos
„App“ gali valdyti „Roborock“ dulkių siurblius iš bet kur, kur yra daug funkcijų.
play.google.com
Did you ever do a LOGCAT to get the very reason why the mentioned app crashes?
xXx yYy said:
Did you ever do a LOGCAT to get the very reason why the mentioned app crashes?
Click to expand...
Click to collapse
I'm no expert with logcat, but I see this:
[04-25 14:38:21.785 20823:20823 W/System.err]
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.tuya.sdk.log.LogPlugin" on path: DexPathList[[zip file "/data/app/com.roborock.smart-1/base.apk"],nativeLibraryDirectories=[/data/app/com.roborock.smart-1/lib/arm, /data/app/com.roborock.smart-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
Attaching the logcat, filtered by "roborock"
My guess is that problem is that mentioned app expects a lib ( what houses the named class ) to exist but that lib doesn't exist elsewhere within Android OS in use, at least not it /system nor in /vendor partition.
xXx yYy said:
My guess is that problem is that mentioned app expects a lib ( what houses the named class ) to exist but that lib doesn't exist elsewhere within Android OS in use, at least not it /system nor in /vendor partition.
Click to expand...
Click to collapse
That would be my guess also, thank you for the logcat suggestion.
If I understand this correctly, the app tries to search for the lib in /data/app/com.roborock.smart-1/lib/arm folder.
Maybe someone who uses the roborock app, could share the contents of this folder? or check if the files match the ones I have:
libTuyaSmartLink.so libjscexecutor.so
libc++_shared.so libjsijniprofiler.so
libcloudsignature-lib.so libjsinspector.so
libfb.so libnative-filters.so
libfolly_futures.so libnative-imagetranscoder.so
libfolly_json.so libnetwork-android.so
libgdx-box2d.so libreactnativeblob.so
libgdx.so libreactnativejni.so
libgifimage.so librrcodec.so
libglog.so libtuyammkv.so
libglog_init.so libv8android.so
libimagepipeline.so libv8executor.so
libjingle_peerconnection_so.so libvorbis-jni.so
libjnimain.so libyoga.so
Hi, i had same crashing problem, but version 2.4.18 is working stable. You can try it. For me is problem solved.
junke17 said:
Hi, i had same crashing problem, but version 2.4.18 is working stable. You can try it. For me is problem solved.
Click to expand...
Click to collapse
Thank you for the reply, version 2.4.18 crashes for me also, what rom are you using?
Edit: version 2.3.46 seems to be working for me.
I have same problem. None of the suggested versions working for me.
If I use roborock app on LineageOS 18.1 official it is working fine. If I try to use it on LineageOS unofficial 19 or 20, it is not working, crashing every time. All ROM are not rooted. Anybody have an idea how to fix it? Or is it a ROM fault?

Categories

Resources