yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] m@nish123:
congo :)

seems storage bug...u need to fix storage .............check guide and comments

i don't think so....again try and don't touch ramdisk :p
[Miscellaneous Android Development] rockydracer:
How to solve storage bug??

Device booted.Not able to mount/access storage. ??
[Miscellaneous Android Development] Traace:
Hey there, i installed PhilZ succesful, the Updater Script runs without errors now, thats fine.

However the System still not boot, me and [MENTION=4797355]chanaka89[/MENTION] have the same phone, tried touched and untouched ramdisk already. Both end up at same, hang on Vendor Logo.

Maybe we miss some steps in ramdisk, as few month back i was able to port DarkL from Gionee M2 MT6582 at first try.
[Miscellaneous Android Development] chanaka89:
I think that's the issue. Tried everything. :(
[Miscellaneous Android Development] Traace:
But i don't get why, as other ports work out of box.

MTK is such a mess, but i'm still in love.
[Miscellaneous Android Development] lopestom:
For win8 or win8.1 to unpack/pack kernel use the Carliv tool.... This is the easy tool.... Tks for [MENTION=5186178]carliv[/MENTION]...

I'm making some modification for have the ROM more functional...

The process started to final process and flash file: 2h

I used the CWM CTRv3 for flash file.

Your guide is simple and fast....:cool:
[Miscellaneous Android Development] rockydracer:
How to fix storage bug??
[Miscellaneous Android Development] Maximus1a:
where can i find informations what to change in ramdisk?

i have a Elephone G6.
[Miscellaneous Android Development] m@nish123:
compare every .rc file...if u found any diff ...like extra lines in ur stock....add them...bt before this try with untouched ramdisk
[Miscellaneous Android Development] Maximus1a:
ok thanks.

i´ll try it tomorrow.
[Miscellaneous Android Development] M7ammad.eb:
well I have a question.. my system partition is only about 900MB.. is there a need to re-partition and increase it?!

and thanks in advance :)
[Miscellaneous Android Development] Traace:
On stock mtk u setup storage size via EBR1 & EBR2. Then flash via SP Flash Tool(But only these two files :) ). Afterwards go straight to recovery and format all partitions, reboot your recovery once more so they get recognized and flash your cm12 on.

Hope it work for u :)
[Miscellaneous Android Development] nikkali25:
[MENTION=2425503]Traace[/MENTION]..I don't know how to compare my boot.IMG...can you do it,pls...
[Miscellaneous Android Development] Traace:
try it untoched by urself first.
[Miscellaneous Android Development] glemco:
What can I do if i get error in binary from recovery? I tried with both TWRP 2.8.6 and Philz 6 but, with your META-INF i cannot get over the error. I was only able to install with META-INF from cm11 but it never booted.

Thanks
[Miscellaneous Android Development] dip1991:
can some share working updater script ???updater script given in op comes with error in my device..."some sym links fails."
[Miscellaneous Android Development] m@nish123:
well there is no error etc.....it's due to ur recovery....try to find good recovery any which support context file nd proper sym link;)
[Miscellaneous Android Development] m@nish123:
use winmerge application for compare
[Miscellaneous Android Development] dip1991:
thanks for reply,i'm using philz recovery......all other updater scripts works good for me.just this doesn't work.
[Miscellaneous Android Development] m@nish123:
well yeah...try latest or old version ...or twrp:)
[Miscellaneous Android Development] nikkali25:
Thanks.i will try asap.
[Miscellaneous Android Development] Traace:
http://xdaforums.com/showthread.php?t=2748169

This version of philz works fluid with newer updater-scripts
[Miscellaneous Android Development] dip1991:
my port booted but stuck at starting apps,

here is logcat....

anyone please help on that....
[Miscellaneous Android Development] Ciprum:
Hi Manish,

I tried porting a rom from the K1 to my Coolpad F1. I used a very clean KK rom as a base. Anyways... I don't really get the part when you say

I unpacked the boot.img from both roms.

What to change in the kernel?

And what means "Do necessary changes to stock ramdisk? What are the "necessary changes" I have to do?
[Miscellaneous Android Development] superdragonpt:
SELinux issues, since we're using kk 3.4.67 kernel on LP.

Either re-compile your kernel with SELinux as permissive, or you could try the initramfs SELinux hack ...

cheers
[Miscellaneous Android Development] superdragonpt:
Meaning, you'll need to add by yourself your own device's .init services/daemons on initramfs and corresponding blobs into /bin.

cheers
[Miscellaneous Android Development] Typhus_:
Hello!

I'm trying to port this ROM to my device (Aquaris E5 FHD).

I've only replaced the files mentioned on this guide and unpacked CM12.1 boot.img in order to replace the existing kernel.img for the one present on my device stock boot.img. I left the boot.img ramdisk untouched.

Bugs I have:

- Baseband unknown (Lost IMEI's, Wi-Fi and BT MAC's)

- The HOME and MENU soft buttons don't work

- I have no access to internal storage (only external while using CM's File Manager)

I thought I could fix these bugs, since they're mentioned on the OP but, unfortunately, I couldn't.

- Baseband unknown -> Tried to restore IMEI's using IMEI & SN Writer Tool -> It doesn't work because every time I connect the phone (turned off) to my PC, the phone boots up. Therefore, the tool doesn't recognize it. Anyone knows how to restore this differently? Or, better yet, does anyone knows how to prevent this bug from happening? Or, even, anyone knows how to disable this feature (the booting up procedure as soon as it gets connected to a charger and/or USB port)?

- The HOME and MENU soft buttons don't work -> Already edited both kl files mentioned on the OP. The problem persists. Don't really know what I'm doing wrong. This was supposed to be a simple fix...

- I have no access to internal storage (only external while using CM's File Manager) -> Tried to edit boot.img ramdisk relevant files...ROM doesn't boot. Anyone knows which specific files must be edited?

HERE you will find both Kngzone's CM12, and my device, key files and Ramdisk's. If anyone could help me, I would be very much appreciated.

Thank you for the guide.
[Miscellaneous Android Development] M7ammad.eb:
for this issue you have to edit "mk-kpd.kl" and delete the # in line 29:

#key 102 HOME WAKE

and you have to delete the file "mtk-tpd.kl" in the same directory!

about the internal storage I think if you opened the storage in the settings you'll see your internal storage but it all detected as "unreachable" and if I'm not wrong you only have EBR1 without EBR2!! and if so you have nothing to do bot editing your EBRs...

about the IMEI I'm still working on it!
[Miscellaneous Android Development] m@nish123:
ahh i don't think... u need ebr editing... it's only for increase partition of blocks like system etc....for mount problem...u need to edit framework-res.apk,do changes in fstab ,mt65xx.rc file in your boot.img's ramdisk. if still unsolved try to change bins like sdcard ,vold from kk rom and even patch of services.jar needed
[Miscellaneous Android Development] El greco:
hi m@nish123, weren't you working on a coolpad f1 port some time ago? could you try porting the cm 12.1 to that device? thanks!
[Miscellaneous Android Development] m@nish123:
ahh....already ported and enjoying rom

currently three Roms r ready.....Cm 12.1, Pac man and ressuraction remix....

since m busy in life....dats why unable to do for coolpad f1
[Miscellaneous Android Development] raavanan:
Please help, I tried to port ressuraction remix for mt6582 using this guide, it booted well & app upgrading screen coming after that it stays on in STARTING APPS for hours.
[Miscellaneous Android Development] M7ammad.eb:
yes.. having one EBR means merging the applications and internal storage together.. which not supported in cm12 as I noticed.. there is several tutorials talking about editing the EBRs.. but must of them talking about EBR1 and EBR2 together.. try googling

and about flashing using MTK Flash Tool I don't know.. I'm using SP Flash Tool (it might be the same but I don't think so)

I've already tried this with no luck! the problem is that the new software not showing the IMEI (nut even "null") wich means it can't see it.. and I think it needs some lib checks and maybe ramdisk edits.. I'm little busy right now and will work on it within 5-7 days.. and will keep you updated for any new...
[Miscellaneous Android Development] M7ammad.eb:
you mean menu as I underlined.. well have you tried lines 17,18,19 inside mtk-kpd.kl?!

and about Baseband unknown bug this what I'm trying to fixed today on!!

any progress keep us up-to-date :D
[Miscellaneous Android Development] Typhus_:
Yes, of course, I meant MENU. And, yes, I've tried those lines. It doesn't make sense. This has got to be edited somewhere else...

No progress so far...

I've replaced init.modem.rc, and added meta_init.modem.rc, on the kernel's ramdisk (I've taken both from my stock kernel ramdisk). It didn't work.

Afterwards, I've tried to (besides the ramdisk changes on the kernel, as stated above) replace /system/bin/rild; /system/lib/mtk-ril.so; /system/lib/libril.so; /system/lib/librilmtk.so; /system/lib/librilmtkmd2.so; /system/lib/librilutils.so; and /system/lib/mtk-rilmd2.so as stated HERE. Still, no luck.

Anyway, I'll keep on trying to find a solution.
[Miscellaneous Android Development] anonimo95:
Yeah baseband missing so annoying, I cant fix that aswell
[Miscellaneous Android Development] m@nish123:
Guys if u unable to fix baseband.......try this method

1. change selinux to permissive using app ...link is in first post

2. change modem.img in system/etc/firmware

3. after above steps...still facing then restore ur imei

4. if still facing ....change modem.rc file from cm 11 rom or any other rom

:)
[Miscellaneous Android Development] M7ammad.eb:
well sadly I've tried all these sol. with no luck..

the point is it's not showing invalid IMEI nor null..

it shows nothing and tells you NO SIM card.. :/

see these screenshots...
[Miscellaneous Android Development] m@nish123:
i think,u need proper kernel and modem.img combination

also try to restor imei too
[Miscellaneous Android Development] M7ammad.eb:
I'm now trying editing on smali files of framework.jar ..

but it seems going nowhere as any edit I do leads to stuck on bootanimation...

so I'll try with the kernel..

and thanks for your help BTW :)
[Miscellaneous Android Development] superdragonpt:
Baseband issues

If changing SELInux to Permissive didn't worked.

Most likely, you'll need proper Kernel/ compile the rom.

Only devices with similar kernel/ hw specs won't have major issues.

There's no magic wan that can fix it.

Porting CM's is not the best thing, im surprised that some phones got an "decent" port, from the original roms (6592 / 6582)

reply #61, is the perfect example of NVRAM and sys** kernel (at user level )issues

cheers
[Miscellaneous Android Development] M7ammad.eb:
Excuse me.. I though I'm understanding, but I figured that I'm not...

What do you mean with "proper kernel"?! Do you mean compiling it from the source?!

I've tried to start building from the source.. But " repo sync" ran for more than three days and didn't finish yet.. I knew that the repo size is about (60 GB), but when I checked mine I found it's still (10 GB) so disappointed and stopped :D

Any help please :) [MENTION=5397716]m@nish123[/MENTION]
[Miscellaneous Android Development] Yuvraj Kohli:
hey bro i need help i am porting canvas gold so can u explain in brief that what to do to( change Kernel and Do necessary changes acc. to your stock's ramdisk) and in mount points we have to change this mmcblk0p8 in first line where we have to replace that 8, format line for system and mount for data. and from where to take these things from mobile or i have to take backup of system from recovery and then copy plssss help
[Miscellaneous Android Development] manhar2108:
Pull system using adb or take a backup using cwm and then extract the tar file using winrar
[Miscellaneous Android Development] Yuvraj Kohli:
i am not able to find the 2 files mentioned in 6th point
[Miscellaneous Android Development] manhar2108:
Like?

If u don't find those files leave them
[Miscellaneous Android Development] Yuvraj Kohli:
can u give m ur no. so that i can consult in brief
[Miscellaneous Android Development] m@nish123:
currently there is no guide of cross porting between mt6592 and mt6591
[Miscellaneous Android Development] M7ammad.eb:
what about guides for building from source for MTK SoCs?!
[Miscellaneous Android Development] m@nish123:
Follow Mr. Awsome's guide
[Miscellaneous Android Development] fzn tools:
Nice guide
[Miscellaneous Android Development] Alien69:
Can someone port this to iOcean X8

i really dont know how to do it ! :/

Many thanks
[Miscellaneous Android Development] rockydracer:
How to fix GPS???
[Miscellaneous Android Development] PiSpecialist:
we can port this to tianhe h928 mtk6592 octacore android 4.3 ?? thanks
[Miscellaneous Android Development] Hugomm:
Baseband unknow and SIM not working any tip?

Also camera dont focus.
[Miscellaneous Android Development] saurabh1234:
check your IMEI....
[Miscellaneous Android Development] Hugomm:
My IMEIs are OK. When I go back to other the stock rom are ok. I think the problem is the unknow baseband.
[Miscellaneous Android Development] Hugomm:
Wow really thanks. I will test it on my E5 FHD as soon as posible.

How about setting SeLinux to permissive as default?
[Miscellaneous Android Development] Typhus_:
Well, that would imply a kernel build from source, I think. And so, for the time being, I don't think it's possible to achieve that.

Enviado do meu Aquaris E5 FHD através de Tapatalk
[Miscellaneous Android Development] Hugomm:
Its because I tested a CM12.1 rom for other mobile and the SeLinux was in permissive as default.

Is there any way to do it easier?

PD: Are you facing issues in camera focus?
[Miscellaneous Android Development] Typhus_:
I haven't tested the camera yet. The icon doesn't appear...

I didn't try to solve any other bugs until I couldn't fix the baseband issue.

I still haven't flashed gapps.

I'm going to do that later on today and see what happens.

----EDIT----

By the way, which other ROM have you tested? If Linux is set to permissive by default, that would be nice.

I could try to test that other ROM as well.
[Miscellaneous Android Development] dinosauria123:
CM12.1 Lenovo A806 Port

Hi,

I am porting CM12.1 to Lenovo A806, it is basically working.

http://www.needrom.com/download/cyanogenmod-12-1-5/

I still have several problems, no working Camera, 3G/LTE, Microphone and Screen auto rotation.

If you have any suggestions, please teach me about them.

Thank you for original port to MTK6592.
[Miscellaneous Android Development] pedrazadixon:
someone porting for doogee dg550?
[Miscellaneous Android Development] Prince_Abhay:
bro i got bootloop, pls help what o do
[Miscellaneous Android Development] IshtaNoob:
I've been trying to follow this guide, because it's about time my device gets an updated ROM (the manufacturer does not remember ever creating the phone I bought xD), but I'm facing some issues that prevent me from progressing:

a) On your step 3, you mention unpacking the .dat file and extracting the system folder. I downloaded the ROM, and there's no .dat file, the system folder is plainly there O.o Am I missing something?

b) On your step 4, yousay I should edit the ramdisk to add extra lines that are on my stock. I'm using a stable CM11 ROM as stock (long story short, the stock 4.4.2 ROM has an issue with sound, so CM11 is the best I have), and there's A LOT of lines in there! I have no idea what are needed and what are not... as an example, where a stock .rc mentions one "ccci", CM12's same .rc refers "ccci", "ccci2", "ccci3"... So, any essential changes to apply?

c) I kind of hammered my way through all the same, even though I wasn't sure of what I was doing, and when flashing I got: "setfilecon of /system/lost+found blabla". Apparently, this would be related to the recovery, so I installed TWRP on purpose, upgraded it to 2.8.20 using the mtk installer on XDA, and even though it still says it's 2.7.10, it also confirms that SElinux is enabled. Anything I should do with the updater-script to circumvent this?

Thank you in advance for your attention.
[Miscellaneous Android Development] MaxisMan:
a. No, some lollipop roms are compressed into .dat files. You can skip this part since you already have the system folder.

b. Try modifying fstab or fstab.mt65xx only and see how it goes.
[Miscellaneous Android Development] sagar.singh:
Bro can u tell me complete guide for fixing storage bug its not clear from this guide storage is shown as emulated storage and only shows 3gb
[Miscellaneous Android Development] vladuhin:
Bluetooth go to fc when I receive or send a file. Through third-app i can only send file (ex. Bluetooth File Transfer). I see a lot of devices, they see me, than I send a file and... FC, how fix this? Bluetooth have 9 services running, after fc a have 7 remaining, I also can't reenable him until reboot or stop the app in setting. The services names is bluetoothbpabservice and bluetoothoppservices, I trying to paste any combos of libs, bin, xbin - no luck, or immediately fc or nothing changes. Where I have to dig? Trying to read logcat - nothing interesting, the last line is always different
[Miscellaneous Android Development] Typhus_:
Hello!

I've been trying to fix some video related issues on my ported ROM.

The thing is, on youtube I cannot get higher resolutions and, worst, on Facebook some videos just won't play.

This is a codec related issue. I know, by now, that I cannot add all codecs from stock media_codecs.xml since they are hardware decoders and encoders.

What I would like to know is if it's possible to add software codecs that could fix this issues. I've seen that there are a lot of google and ffmpeg codecs included on the original ROM but none of them is sufficient to solve this problem.

Has anyone else come with a solution for this?

Thanks in advance.
[Miscellaneous Android Development] DeviLL2014:
What to do?

01-01 04:28:12.243 E/sdcard ( 151): missing packages.list; retrying
[Miscellaneous Android Development] MaCroX95:
Hello all good people here =)

Since I'm not very good with rom porting I'd like to ask somebody to port this ROM for our device which is Onda Tablet v919 3g air running MT6592 chipset.

Lollipop update would be a huge deal for our small community. If anybody has some time, good will and would like to help me I can send you the files of our stock rom =)

Best regards, MaCroX95
[Miscellaneous Android Development] bravonova:
Done everything as per your instructions. Bootlooping...
[Miscellaneous Android Development] Typhus_:
Hello!

Try to unpack boot.img, replace the kernel, and repack the boot.img.

Don't do any more changes on ramdisk nor on the ROM.

See if it boots.

If it does, then, and only then, we move to the next step, which is, solving the porting bugs.
[Miscellaneous Android Development] bravonova:
let me try... hope it boots up
[Miscellaneous Android Development] Domcek:
I tried to port in 5 different variations on a Elephone G6 (Mtk6592,1/8 gb). Flashed ok, stuck at boot. Tried porting kernel with and without ueventrc Change. Full boot.img port and only zimage replacement. Then edited mount points and init.rc. stil stuck at boot. This is the at least the 5th ported Rom for MTK6592 (Blisspop,Aicp,...) all lollipop (from 4.4.2), until now had no problems. Any advice?
[Miscellaneous Android Development] Typhus_:
Edit fstab.mt6592 on ramdisk and framework-res.apk. It could be a storage configuration issue.

I had to do it on my port.
[Miscellaneous Android Development] Domcek:
Managed to boot. Only zimage replacement and it started , but GUI hangs sporadically (no Touch, soft reboot). Changed libmali.so and composer (/hw). Problem remains. Hangs, stops accepting touch, freeze and restarts.

Camera not working. If I Change libcamera Service and client *.so boot hang. Maybe only /etc cam permissions?

:(

wifi/bluetooth working After /etc/firmware and /wifi replacement. Storage ok.

Still testing...

But at least it boots. :)

Poslano sa mog SM-A500FU koristeći Tapatalk
[Miscellaneous Android Development] ashwaa:
Rom booted cm12.1 boot logo

Then restart

Updating apps

Reeboot

Then starting system

Reeboot

Then cm 12.1 rom booted gone thru whole setup

Then white screen then reeboot

Pls can some one help

I have booted into cm12.1 rom but after some time the cm12.1 rom freezes and reeboots

My phone storage is 8 gb shows only 4 gb

My sd card shown as phone storage and sand system storage as sd card

Tried editing framework res wt apk editor can decompile but error recompiling

Pls help wt the cm12.1 screen freeze
[Miscellaneous Android Development] krrish7405916877:
help

HOW CAN I PORT exynos 5433 TO exynos 5260.... PLZZ HELP ME :confused::confused :confused:
[Miscellaneous Android Development] jampack101:
Newb here I have storage issue. Do I need to change all of these or there's easy ways thanks
[Miscellaneous Android Development] kameldeeb:
Xperia E4

Please tell me, can you work on xperia E4 !!! :confused:

Unfortunately, there is no direct support by a team CyanogenMod for xperia E4 :(

Thanxxx for work :good:
[Miscellaneous Android Development] Kineto6002:
Is there a chance that the Clear Motion would work in here? Thanks.. :)
[Miscellaneous Android Development] joekerr00:
managed to port a working rom to my device, unforyinetly the source had a low res camera and I'm stuck in 5M anybody knows how to get the camera working at full rresolution?
[Miscellaneous Android Development] geek android:
fighting with camera issue

hi guys

I have ported CM12.1 for my mt6592 I am just struck on camera issue:(

please any help to correct it

it is working but showing the false resolution 8mp and showing weird camera sensor pictures(really is 13mp front and 5mp back) showing" can't connect camera issue" also flashlight is not working

whenever I click to camera it freezes and doesn't show any sign of taking picture also video recording is not supporting

replaced libcam.paramsmgr.so file from stock to cm but didn't work

please help

also any tweak for Notification LED light

everything else is quite impressive working

have any multiple suggestions? plese it is extremely important
[Miscellaneous Android Development] Innfinite4evr:
Cm12 booted with kk kernel???

Lollipop can boot on kitkat kernel?????????????
[Tilt, TyTN II, MDA Vario III General] gorstj:
Does anybody have any details on which networks this phone will be available from?

Dates and prices would be nice too, but probably no one know this yet!
[Tilt, TyTN II, MDA Vario III General] djwillis:
I know Vodafone UK plan to carry it (I have had a chance to play with a beta device some months ago).

Not sure on the brand other then V'something' but we are hoping to get QA devices in early July so I guess that is as good a time frame as any. That said it would not surprise me if it gets put back.
[Tilt, TyTN II, MDA Vario III General] gorstj:
I wish it was on t-mobile or three with their better data plans. Althought vodafone seem to do good discounts on their headsets with 1/2 price line rental offers. Shame there arent any pda handsets on thier website to compare likely prices of the subsidised headset.
[Tilt, TyTN II, MDA Vario III General] ausbj:
T-Mobile

My phone was a UK T-Mobile test phone when I got it. It was also locked to T-Mobile so perhaps thats a good sign for you...
[Tilt, TyTN II, MDA Vario III General] GordonTGopher:
It's coming to T-Mob as the Vario III

Don't know when or how much yet.

Gordon
[Tilt, TyTN II, MDA Vario III General] ericlin0122:
http://www.pdadb.net/index.php?m=specs&id=733

It might be in august. I hope so, if then I will get it in Taiwan.