Hello, I have cm7 running on my Samsung Dart. I ported this CM7 Rom from the Samsung Galaxy Mini:
http://forum.xda-developers.com/showthread.php?t=1712654
It booted and got to the setup screen. The problem is that there are black lines in the screen and everything is cut up. I've been pressing things and everything is responding, I just ca't see it. What did I do wrong and how can I fix it? Do I need to change the filenames in system>lib>hw to match the galaxy mini's?
I used this to Port it
http://forum.xda-developers.com/showthread.php?t=2276871
eugeneeaster18 said:
Hello, I have cm7 running on my Samsung Dart. I ported this CM7 Rom from the Samsung Galaxy Mini:
http://forum.xda-developers.com/showthread.php?t=1712654
It booted and got to the setup screen. The problem is that there are black lines in the screen and everything is cut up. I've been pressing things and everything is responding, I just ca't see it. What did I do wrong and how can I fix it? Do I need to change the filenames in system>lib>hw to match the galaxy mini's?
I used this to Port it
http://forum.xda-developers.com/showthread.php?t=2276871
Click to expand...
Click to collapse
I would recommend replacing the system/lib folder in the Samsung Galaxy Mini port ROM with the system/lib folder of your Samsung Dart base ROM this way your ROM should have the proper graphic libraries and other libraries that should fix your graphic issues. I would also recommend taking a look at this guide that manually explains how to port ROM's.
shimp208 said:
I would recommend replacing the system/lib folder in the Samsung Galaxy Mini port ROM with the system/lib folder of your Samsung Dart base ROM this way your ROM should have the proper graphic libraries and other libraries that should fix your graphic issues. I would also recommend taking a look at this guide that manually explains how to port ROM's.
Click to expand...
Click to collapse
Tried this but same results, please what else can I do? Another question , have you had sucess with this guide? Thanks .
eugeneeaster18 said:
Tried this but same results, please what else can I do? Another question , have you had sucess with this guide? Thanks .
Click to expand...
Click to collapse
Even though the guide mentions it for HTC devices it's still work a shot trying this fix for graphic glitches that the guide mentions:
Decompile framework.jar
Change these files with your base
smali\smali\android\os
Environment
SystemProperties
smali\smali\android\view
HardwareCanvas
HardwareRenderer$Gl20Renderer
HardwareRenderer$GlRenderer
HardwareRenderer
Personally I have had success with the guide following the exact steps in the guide I was able to port a ROM or two. Your other option would be to try and build for your device from source.
Related
Hey Guys
Just for fun, i want to port miui v5 to my lg optimus 4x hd I have al neccassary a official MIUI 5 from one x (similar processor and gpu like 4x hd (tegra 3) same resolution etc.) but the problem is miui v5 is based on android 4.1.1 and there is only CM 10.1 Android 4.2.2 for my Optimus 4x. Is it possible to port apps and the other stuff from 4.1 to 4.2 ?
DarkFantasy6
Nobody can help me? :/
You can port apps to newer versions of Android, but it's complicated. You'll have to know how to code for that.
Or, you could try rolling back your Optimus 4X HD to 4.1, so long as you're not bothered by the features lost.
Edit: Also, you could try just extracting Apps from a 4.2 version of MIUI (if there is one, I don't keep up with MIUI) because unless its a really system-dependant app for the most part Apps will still work, if not just a bit buggy. Framework and other stuff in ROMs is what screws up the compatibility when porting most of the time.
Sent from my Nexus 4.
Before we begin, please download the programs 7zip and Notepad++ as we will need them. And get a Stock JB ROM for our Device(Preferably DeOdexed)
Get 7zip Here:
http://www.7-zip.org/download.html
Get NotePad++ Here:
http://notepad-plus-plus.org/download/
This guide is made for the noobs who are just getting into Android development or just wanna mess around with Android. I know for noobs, this may be a bit overwhelming, but trust me, it gets much much better!
So lets get started!!!
1) Download the ROM you want to port
2) Open it using 7zip
3) Replace the kernel/boot.img with ours
4) Go to /system/lib/modules. Delete everything and replace with ours
5) then go to /system/lib/hw. Delete and replace everything with ours
6) For the Hard keys and soft keys to work go to /system/usr/keychars and delete and replace then go to /system/usr/keylayout and delete and replace with ours
7) Now go to /system/etc and delete the following and replace with ours:
- vold.fstab
- /wifi
- /ppp
This has been tested on the International Version of the Galaxy S II
Be Sure To Click Dat THANKS Button If I Helped!
Sent from my GT-I9100 using xda premium
Dears....this post because since one week I'm struggling with decompiling and re-compiling the framework-res.apk for my LEWA rom on TCL Idol X+ s960 MTK6592.
Below some background:
1. I'm able to decompile the framework-res.apk without errors
2. Even without any modification I re-compile it with following steps:
a. Using apktool v2.0 and putting resources.asrc into decompiled folder then "apktool b fremwork-res" without any error (just getting warning: unable to find sources)
b. By copying the original META-INF and AndroidManifest into the new apk
3. When I put the new framework (again without any modifications, but just DE and RE compiled) into flashable zip of LEWA rom and flash it via TWRP, I get always the phoe freezing at boot logo.
I really do not have any clue on what I'm mistaking during this process.....anyone with some idea?...
THANK YOU IN ADVANCE!....
popo72 said:
Dears....this post because since one week I'm struggling with decompiling and re-compiling the framework-res.apk for my LEWA rom on TCL Idol X+ s960 MTK6592.
Below some background:
1. I'm able to decompile the framework-res.apk without errors
2. Even without any modification I re-compile it with following steps:
a. Using apktool v2.0 and putting resources.asrc into decompiled folder then "apktool b fremwork-res" without any error (just getting warning: unable to find sources)
b. By copying the original META-INF and AndroidManifest into the new apk
3. When I put the new framework (again without any modifications, but just DE and RE compiled) into flashable zip of LEWA rom and flash it via TWRP, I get always the phoe freezing at boot logo.
I really do not have any clue on what I'm mistaking during this process.....anyone with some idea?...
THANK YOU IN ADVANCE!....
Click to expand...
Click to collapse
Your best bet would be to run a logcat after you install. To be honest you will most likely have to build your own APK tool as MTK devices dont use the standard android setup so the apktool will not work on it.
zelendel said:
Your best bet would be to run a logcat after you install. To be honest you will most likely have to build your own APK tool as MTK devices dont use the standard android setup so the apktool will not work on it.
Click to expand...
Click to collapse
First of all really thank you for the quick feedback! Actually I had the suspect that MTK roms are different and this because in order to correctly (or at least without error) decompiling framework-res.apk, I had to load with apktool IF not only the framework-res.apk but also the Lewa-res.apk and the Mediatek-res.apk.
If it is needed to create a different apktool, I'm wondering how all the custom roms I see on network based on MTK devices are managed....I will have better investigation on it....
popo72 said:
First of all really thank you for the quick feedback! Actually I had the suspect that MTK roms are different and this because in order to correctly (or at least without error) decompiling framework-res.apk, I had to load with apktool IF not only the framework-res.apk but also the Lewa-res.apk and the Mediatek-res.apk.
If it is needed to create a different apktool, I'm wondering how all the custom roms I see on network based on MTK devices are managed....I will have better investigation on it....
Click to expand...
Click to collapse
You also have to install the system ui apk as well. Most of them are dirty hacks by using winzip to open the apk and then change the images out. MTK devices are not really a big thing on this site as they are still not main stream or even widely developed on. Most people avoid MTK devices.
zelendel said:
You also have to install the system ui apk as well. Most of them are dirty hacks by using winzip to open the apk and then change the images out. MTK devices are not really a big thing on this site as they are still not main stream or even widely developed on. Most people avoid MTK devices.
Click to expand...
Click to collapse
That I didn't know....so I have to also install SystemUI....great suggestion...:good:....I will try it hoping this is the missing part!....Yes...I know...MTK are very painful...I'm just realizing this....
Hi @popo72
Can you help me for this device i have some issues to have sounds working with speaker...
Thx in advance
Regards
Dexx
Hi...could you better explain your problem?
popo72 said:
Hi...could you better explain your problem?
Click to expand...
Click to collapse
Hi Popo72.
I have TCL S960 and try to port ROM everything seems to be working only the speaker.
I cannot listen music or watch movie and the phone cannot ring.
This is the issue.
Thx
Envoyé de mon MI 2 en utilisant Tapatalk
Hi,
I am learning to build android ROM and trying to build CM-11.0 for Karbonn Titanium S1 Plus (msm8610) a.k.a Phicomm C230WJA. In the last three months after lots of efforts I progressed up to getting working kernel and going past the boot animation.
Now, I am facing the following problems when running the ROM on actual device. Your help would be greatly appreciated.
Note: I am building it from source using CAF kernel, display and media.
1. After flashing, first boot gets past boot animation and only Top status bar appears. No launcher, no icons, no wallpaper nothing only Cyanogenmod's debugging icon, battery icon shows up, rest of the screen remains blank.
2. Second boot (reboot) does not get past boot animation.
3. When screen locks itself, it gets totally white. This also happens when phone is powered off and charger plugged in. I mean screen turn off issue.
4. Lock screen appears as it should be with background image and few icons etc.
Please let me know if you require anything related to above device.
Regards,
SDhi
SOLVED
Thanks.
I resolved all issues by myself.
1. Somehow CM-11.0 forced me to include (not inherit) vendor/cm/config/common_full_phone.mk file to build all CM apps.
2. White screen issue was related to Backlight. Made modification to kernel and problem has been resolved.
Regards,
Sameer Dhiman
Need help
i also want to flash my titanium s1 plus rom. can u provide instruction how to flash using ur method and give link about ur cynogen 11 rom.
suthar7777 said:
i also want to flash my titanium s1 plus rom. can u provide instruction how to flash using ur method and give link about ur cynogen 11 rom.
Click to expand...
Click to collapse
Suthar,
It is still work in progress. I am working hard to make stable kernel. This is an essential foundation part.
Regards,
SDhi
Have you made it ?
adwiit said:
Have you made it ?
Click to expand...
Click to collapse
Yes, an alpha version of CM-11.0 but I am not satisfied with the voice coming out specifically from earpiece during call. I can not understand what the person at other end is saying. He/She can hear me loud and clear. It appears there is some bug in CM-11.0 framework with dual sim phone.
To till date I have tried the followings
1. CM-11.0 voice call quality issue with earpiece only. Other things works fine except GPS.
2. CAF-4.4.4 GPS module gives kernel panic and crashes. Stock Proprietary blobs are not compatible.
3. Omnirom-4.4 does not support dual sim. Fastest ROM among the others. Trying to port dual sim support in Omni-4.4 chances of success is 1% or 2%.
4. CM-12.1 incompatible stock RIL Proprietary blobs. Same IMEI assigns to both SIM slots and SIM does not get detected.
5. Omnirom-5.1 same as CM-12.1
6. CM-13.0 build does not even start gives /.txt, /5.txt or /6.txt error and stops. CM-13.0 major bug.
7. Omnirom-6.1 unknown reason gives Kernel Panic and crashes.
Currently, giving a try to CAF-4.4.2. Let's hope for the best. I have already invested lot of time (days, nights, weeks and months) but the outcome is only failures but I have not given up. There is still hope remaining inside me.
Regards,
SDhi
Thanks a lot for that. I would like to try that one. Have you posted that on the forum ?
adwiit said:
Thanks a lot for that. I would like to try that one. Have you posted that on the forum ?
Click to expand...
Click to collapse
I did not publicized it because basic function not working properly (Earpiece voice quality issue).
I sent you PM, please check it.
Regards,
SDhi
adwiit said:
Thanks a lot for that. I would like to try that one. Have you posted that on the forum ?
Click to expand...
Click to collapse
Have you downloaded ?
In-Call audio issue has been fixed but I would require some time to polish the ROM before beta release.
CM-11.0 Unofficial ROM for Karbonn Titanium S1 Plus Beta version released.
http://forum.xda-developers.com/and...mm-c230wxx-t3517145/post70034757#post70034757
Hi to all.
Let me tell you this is a great forum, with a lot of great work by developers to android.
So my problem is that i ported a ROM from a similar device, but only the camera
isn´t working. Ril, wireless, Bluetooth
is working.
Don´t know if it´s kernel or the rom itself... I have both Rom´s...
Can some Dev could take a look?
Thank´s...
replace these files from stock to port
system\lib\hw\camera.default.so
system/lib/ libcamdrv.so
system/lib/libcamalgo.so
system/lib/libcameracustom.so
system/lib/libdpframework.so
system\etc\permissions\android.hardware.camera.xml
Ahmed Alisha said:
replace these files from stock to port
system\lib\hw\camera.default.so
system/lib/ libcamdrv.so
system/lib/libcamalgo.so
system/lib/libcameracustom.so
system/lib/libdpframework.so
system\etc\permissions\android.hardware.camera.xml
Click to expand...
Click to collapse
Hi thank you for reply.
I already did that, still get the "can´t connect to camera" error...
The problem is camera icon is missing right on
the first boot, so maybe is something with kernel??
does it have camera apk?
Yes, it has
Camera.apk in System/app/Camera2
Fjss said:
Yes, it has
Camera.apk in System/app/Camera2
Click to expand...
Click to collapse
Which rom you are porting? and kernel or chipset?
try to change these also
system\lib\libcamera_client.so
system\lib\libcameracustom.so
system\lib\libcameraprofile.so
system\lib\libcameraservice.so
The Rom im porting is cm12.1 for Alcatel 7043 5.1.1 snapdragon 410 msm8916
my device is Vodafone smart prime 6, there is also a cm12.1 rom for this device but has many bugs and drain a lot of battery
that´s why i want to port this one is better from 7043y... Android 5.1.1
Help.....
pls some Dev with extra free time, that could take a look at both Rom´s...???
Thanks
Description :
This magisk modules allows to have samsung's sounds & bootanimation on custom ROMs. Touchwiz is also supported.
This magisk module contains :
- Original S9 ringtones / notifications / UI sounds / bootanimation
- Original S5 alarms
Versions :
v1.4 : First S10 version - all sounds updated from s10 pie
v1.3 : Final S9 version - all sounds updated from s9 One UI
v1.2 : bootanimation from One Ui
v1.1 : bootanimation resolution corrected
v1 : initial release
Based on work from :
JonasCardoso for his own lineage media magisk module
@Llamas_are_Good for the bootanimation.zip
Droid views for the S10 media
Nice module
Working on mokee 7.1 rom
Great module, but is there any way of adding the newest Samsung boot animation and the newest Samsung charging sound?
Cheers mate
James160103 said:
Great module, but is there any way of adding the newest Samsung boot animation and the newest Samsung charging sound?
Cheers mate
Click to expand...
Click to collapse
Hi, of course! I've added the boot animation in the 1.2 version, please let me know if it is not the correct one. For the charging sound I couldn't find it easily so my proposal is to wait a couple days for S10 sounds to be released and I'll do a S10 version that should include it as it will be based on One Ui! If not, then I'll do both versions; s9 one Ui, and S10.
James160103 said:
Great module, but is there any way of adding the newest Samsung boot animation and the newest Samsung charging sound?
Cheers mate
Click to expand...
Click to collapse
I've updated all sounds from the latest S9+ pie rom let me know if it was what your were looking for! I'll wait for s10 for the next version. Enjoy
S10 version out!
Ringtones, notifications and UI sounds updated. See the first post for the downloads link
alexbelgium said:
I've updated all sounds from the latest S9+ pie rom let me know if it was what your were looking for! I'll wait for s10 for the next version. Enjoy
Click to expand...
Click to collapse
Thanks a lot, this is indeed what I was looking for!
I know this sounds all nitpicky, but is it possible to have the genuine S9/S10 boot animation?
I know Samsung uses another file type for their boot animations but is it possible to port it over somehow?
Thank you very much!
James160103 said:
Thanks a lot, this is indeed what I was looking for!
I know this sounds all nitpicky, but is it possible to have the genuine S9/S10 boot animation?
I know Samsung uses another file type for their boot animations but is it possible to port it over somehow?
Thank you very much!
Click to expand...
Click to collapse
Would you have an example, for example a YouTube link? To see how it is different from the current version and what we can do. Indeed Samsung uses qmg for their images and it is not straightforward to convert to PNG files. Thanks!
alexbelgium said:
Would you have an example, for example a YouTube link? To see how it is different from the current version and what we can do. Indeed Samsung uses qmg for their images and it is not straightforward to convert to PNG files. Thanks!
Click to expand...
Click to collapse
Found this video:
The Samsung logo is slightly more centered and the animation is slower.
I don't think that the Samsung logo in your boot animation is the genuine one also.
Perhaps there is some way to obtain it? :silly:
I don't know how much work you put into making a boot animation, if it's too much of a bother I'm fine with your current one.
Again, I'm being extremely spoilt and nitpicky here and I'm very grateful for your patience, answers and of course your work. :good:
James160103 said:
Found this video:
The Samsung logo is slightly more centered and the animation is slower.
I don't think that the Samsung logo in your boot animation is the genuine one also.
Perhaps there is some way to obtain it? :silly:
I don't know how much work you put into making a boot animation, if it's too much of a bother I'm fine with your current one.
Again, I'm being extremely spoilt and nitpicky here and I'm very grateful for your patience, answers and of course your work. :good:
Click to expand...
Click to collapse
Well I've looked at it and couldn't find a way... It seems that the only way to convert qmg images to png is to execute a software on a samsung phone running touchwiz, as it then uses the local library. As my phone is on lineage OS, I can't do it... if you are on stock rom we could try it, otherwise I don't see another way to extract the info! Regarding speed and size I could try to modify it manually when I will have some time
alexbelgium said:
Well I've looked at it and couldn't find a way... It seems that the only way to convert qmg images to png is to execute a software on a samsung phone running touchwiz, as it then uses the local library. As my phone is on lineage OS, I can't do it... if you are on stock rom we could try it, otherwise I don't see another way to extract the info! Regarding speed and size I could try to modify it manually when I will have some time
Click to expand...
Click to collapse
I'm surprised you're still looking into this, that's kind of you to do that, cheers!
I'd say don't bother, that's just too much effort.
I can't use my S5 anymore anyway as the motherboard seems to have some kind of fault; visual artefacts on the screen, items jittering, snowstorms, random reboots and when I turn off the screen it doesn't come back on.
Got a new genuine display last year and all was fine but now my phone has started acting up again. :silly:
It wasn't my main phone anyway but I just loved using it.
Anyway, thanks a lot again for your patience and helpfulness and your great work, I appreciate it! :good:
Any way you can bump the supported API level up to 29 so there is support for Android 10 ROMs? I've been wanting to use this on crDroid 6.4 (Based on LOS 17.1). Just tried to flash and it had told me that I have to downgrade the version to API 28 (Android Pie).
Any way to have these without the boot animation? Just the sounds change. Or if there's a way to edit the zip I can have a go at it. Just need to be pointed in the right direction. The One Ui sounds pack available for Magisk simply doesn't work for me.