yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] hersche:
do you know where i could get the mtkroms-source?

in case of cyanogenmod-source, with which device you would feed the "lunch"-part?

tonight, i've tried to build a own kernel with /proc/uid_cputime/show_uid_stat enabled. both, original-config and modified where able to compile. the resulting .bin-kernel-file is sadly invalid, no matter if i want to

upack it

pack it with existing ramfs

or flash direct

after looking around, i found out that mediatek got a build-enviroment called "alps".

this building-enviroment seems to be for diverse kinds of partitions, such as:

- system

- data

- sec_ro

- ebr1/2 (seems to be something with mounting)

in this link is documentation about the alps-enviroment-system.

https://github.com/luckasfb/Development_Documents/tree/master/MTK-Mediatek-Alps-Documents

it's a lot, not specific for our processor, but docs seems to be rare..

if someone of you knows alps, then it's maybe possible to feed the android-part with cyanogenmod and compile our system.

but personaly, i was able to compile the kernel, but not to do the (basicly possible) "bootimage"-part, which contains initramfs + kernel, and would be able to be flashed via sp-flashtool directly in my understanding. error-message was "no rules for make target" from make. this also appears on trys to create data, system etc.

it looks like the cat-people let those parts empty, so this could be kind of a chance. anyway, i think i'm slowly in a personal limit with expirience (it's still my first (ported) rom), it would others as well to get this work done.

to the finish, i think i port one rom of each version, very basicly and mainly with the mtkroms-advices. maybe there's more stability in a 4.4-cm since our base was that. at least there will be a little more choice for interessted..

if you like to, you could tell me a wished version and kind of rom (aosp for example).
[Upgrading, Modifying and Unlocking] bone101:
I think " Superdragonpt " or "fire855" knows a way to do great thigs b.c. we have the kernel source .......
[Upgrading, Modifying and Unlocking] arjunalov:
Can i get this one to?? Mail Me Please..
[Upgrading, Modifying and Unlocking] hersche:
PLEASE WAIT WITH TRY OUT CM 12.1 FOR FOLLOWING V3.

arjunalov: i've added recover-files for a while under https://drive.google.com/open?id=1eqAxkD-yeW1qdFESesp0ZRCGqAh54mJBAnIDCWWbnng and there under recover. for manuals, may consider http://piratepad.net/b15q

i just upload another image for testing, based on android 5.1. it's main-issues are about not detecting the right sim-provider.

i also upload a v4 of cm 13, which hopefully works well, at least it does on my phone. cm 12 is still more stable.

maybe gapps will work on cm 12?

about doing this from source, yes, found those from fire855 also but i did not have enough expiriences to do this.. when you open a repo for b15q specific, i will have a interessted look in it :)

EDIT:

PLEASE WAIT WITH TRY OUT CM 12.1 FOR FOLLOWING V3.

For cm 12, there are two diffrent links for diffrent bugs. as i found out, the primary downloaded version is based on qualcom.

i tried the other link and much more stuff is working, similiar to current cm 13.. i think, it's based on mtk.

also doing the rom's (13 and 12) from base again and get it may more or same stable with replacing under 10 files. and, btw, downloading this right now: https://github.com/rohantaneja/device_mediatek_mt6582

maybe someone like to join then..

i know i said i will not do it, but interesst of having something VERY proper is still there.

in cyanogenmod-forum i've a interessting talk, and i will try to port also a google-free non-cm-kitkat, which is hopefully same on depends as stockrom)
[Upgrading, Modifying and Unlocking] hersche:
basicly this post is written for cyanogenmod-forums..

there are 3 "updates" for now.

cm 13 works well with one sim (could not test two now) - i tested it just rough. bluetooth seems to be a bit laggy, but i was able to connect to my headset after restarting bluetooth. it's a try to "do not touch too much" and is retried from base.

cm 12.1 works also well, but did not handle sensors the right way, rotation still doesn't work. the variant "B2" just have one other binary: /system/bin/mtk_agps - don't know if it makes a diffrent, but just to be more shure it may doesn't crash (in one or the other variant)

do not use airplane-mode with cm, you will have to restart for a telephone-connection.

i found this as 4.4.2-variant: http://www.mtkroms.com/2015/10/inspired-6-android-m-rom-for-mt6582.html

google-apps seems preinstalled there, as well as su and some weird apps which are it worth to get a rid of them..

gsm seems to work fine/"best", i was able to disable it and enable it again. it has still bugs on shortcuts (wrong info of current connection in shortcuts).

there was a kitcat-file for a short moment, with kitcat in the filename.

if your system isn't booting after flashing and if you tried the kitcat-rom (not inspired 6) before, reflash the hidden partitions (PROTECT_F and PROTECT_S seems to be most-important

also important: after a factory-reset, the custom IMEI will be replaced with the one of NVRAM (in my case at least) - depending on provider, this can cause problems or not - sunrise/lebara makes no problem about, while swisscom doesn't let you in, for example. because this was a "public" avaible NVRAM, it's maybe also a restricted IMEI..

you just could replace it with mtkdroid-tools or other methods again, and it will stay till the next factory-reset. do you still have your original IMEI?

Tweakker-links seems to be usefull, but on the new versions, it's not preinstalled - when it's need config anyway, it's maybe something for the user? or may it's needed in combination with the stock-apk + right spn-configs, don't know..

self-compiled cm13 still doesn't work, will try it later.

i hope, this helps you..
[Upgrading, Modifying and Unlocking] uhuru-meditation:
I cannot say more than thanx a lot for your effort.

I will let you know if it works and will keep you updated on how my B15Q behaves, although I do need Gapps.

Keep up the good work.
[Upgrading, Modifying and Unlocking] bone101:
V5 works very well......

Location through network is Working

Gapps should be flashed direkt after rom or factory reset is needed

Do Not install other Design

THX sir hersche

This is maybe a problem :

10-07 21:32:00.676 E/DataBuffer(8965): Internal data leak within a DataBuffer object detected! Be sure to explicitly call release() on all DataBuffer extending objects when you are done with them. (internal object: com.google.android.gms.common.data.DataHolder@102e587)
[Upgrading, Modifying and Unlocking] bone101:
Camera focus does not work in V5 !!!!!!!!!!!!!
[Upgrading, Modifying and Unlocking] hersche:
bone101: ok, camera-focus on V5 should be fixable, cool it did a such good job to you in the other parts.

the error-message looks like from google-apps (com.google.android.gms) but also doesn't look very bad. i've got some of those "leak"-messages with microg installed, but microg itself works fine.

last week i did work some days for getting the stuff from source. since about 2 days, there's a first upload, including still bugs aaaaand the FMRadio-app again.

it's still not working, but instead of crashing, i've got this night scanning and everything else, but not the radio-sound back. so for all who missed this app, it will come back :) it's not uploaded like this, but it's going forward behind the scenes ;)

within the from_source-package, there are very new versions (aosp 6 r72), so be warned: data-backups from this system will not work on older androids (also not on mtkroms). they couldn't downgrade.

i've tried a lot with binarys also. for example, camera is back with 5 megapixel. in the ported roms, it was on 8 mp, but i'm not shure if that really improve quality.. but i hope, the stability is improved at all.
[Upgrading, Modifying and Unlocking] hersche:
there it goes: https://github.com/hersche/android/blob/cm-13.0/README.mkdn

joining is welcome!!

bone101: i will bring out a (propably last) version 6, with fixes for provider + camera until later evening, i think..
[Upgrading, Modifying and Unlocking] bone101:
Is this building a working cm???

Repo is syncing...
[Upgrading, Modifying and Unlocking] hersche:
yes, this should work well..

but it's important to do one more step: you have to replace the boot.img in the generated cm-zip-file with the boot.img from the ported cm13 (V5 or others). else it won't start!

i don't know why it doesn't, since i've replaced the kernel. kernel-source is not included yet, but would be very cool!

and cm-14.0 definently doesn't work.. it's a playground for try to get all the stuff while cm13 does compile from ground again now (except it use the fmradio from aosp, not cyanogenmod's one)..
[Upgrading, Modifying and Unlocking] hersche:
version 6 is uploaded, fixed camera testet, also becoming provider-names. beside, a little library which is often used by old apps is integrated (found in android-sdk-folders and is in the vendor-repo under framework).

also two alternative images for the startup-logos.. ;)

they shouldn't touch system-stability...

i've cleaned up the folder-structure again, hope it's not more complicated than before :)
[Upgrading, Modifying and Unlocking] hersche:
btw, new documentation is here:

https://github.com/hersche/android/wiki
[Upgrading, Modifying and Unlocking] bone101:
GPS is in v6 buggy too..

Cam focus is working....

Providerlogo corrected....

Is compiled from source build working and ready for a tryout ?
[Upgrading, Modifying and Unlocking] hersche:
gps isn't touched in V6, i don't know how to get this more stable yet.

from source-images in google-repo are prepared for simply flashing (boot.img is replaced there). so yes, just give it a try.

one gps-file gets compiled there, two others are copied from ported cm-13.0 (system/lib/hw/gps.goldfish is compiled, default and mt6582 are not)

i use personaly the source-images as daily-image. please be aware of they've a status like nightlys!

where you able to build it?
[Upgrading, Modifying and Unlocking] bone101:
It waz a little bit frustrating to set things up for a semi-noob like me but

It is building now.....

....building error....deprecated api.....
[Upgrading, Modifying and Unlocking] hersche:
ok, don't know this error, it's always difficult to say if it's possible to compile or not.

for example, last time the radio-app doesn't found a variable, so i had to comment stuff out for successfull compile.

is there any hint in which project the error appears? was "repo sync" running proper through?

btw, found this repos: https://github.com/MTK-mt65xx-CM-Project

we're using right now those for mtk: https://github.com/ferhung-mtk
[Upgrading, Modifying and Unlocking] bone101:
I had to compile with -xlint:deprecated

told by build system,

I do not know exactly what than mean , but then it goes on.... until other error about missing stuff.....i aborted building bc. of less time to figure things out...
[Upgrading, Modifying and Unlocking] hersche:
sounds really like repo sync was not running through..

just retry again with "repo sync", then it should get it..
[Upgrading, Modifying and Unlocking] bone101:
With Ubuntu 15 it was working.....
[Upgrading, Modifying and Unlocking] hersche:
It was quite still the last days, but active in before in various forums.

Today i've uploaded another image. It has many commits, more than all before. Some repos got less updates than others (cause mtk-specifig != cyanogenmod directly).

As i read, some of this commits fixes bugs. I've added them manualy.

https://drive.google.com/open?id=0ByDwEzL3kR7iWWNOZGFLaDlFY00

The last update is with all commits until today and is the first which is compiled withing kernel 3.18. The kernel is still replaced, but compiling works and maybe affects stability as well.

Join the development!

https://github.com/hersche/android/wiki/Kernel-build

https://github.com/hersche/kernel_cat_b15q
[Upgrading, Modifying and Unlocking] Mateuszol:
Hey,

do anybody can write - send some tutorial how to root CAT B15Q - it seems it's the first step to enlarge memory for apps using external sd memory. Phote with 2GB is worth noting.

I read a lot, tried a lot - but using existing root apps nothing works.

Could anybody help???
[Upgrading, Modifying and Unlocking] hersche:
Hey people, since cyanogenmod.org is down, i annouce my latest release of cm 13.0 here. It's the first upload on github itself, so you will find it here:

https://github.com/hersche/android/releases/tag/cm-13.0

Mateuszol: i've tried to document the stuff as good as possible here: https://github.com/hersche/android/wiki

i assume you have to learn something more about sp-flashtool, but i'm not shure where it hangs on your side.

i whish you good luck and a good new year :)
[Upgrading, Modifying and Unlocking] uhuru-meditation:
Hey Hersche, thanks a lot for your great work, again.

Also thanks for preventing me time and time again of having to buy a new phone :)

I have installed last CM 13 earlier today and it appears stable, fast and a GPS seems to be less erratic than the version prior to this one.

BT pairing is ok, not super-fast but it works allright. FM radio works, WiFi is fine and quick in switching to and from mobile data, so all is fine at the moment.

As I only use about 20 apps on an irregular basis, Maps, dual SIM, calls and SMS are prioritised with me and good old CAT B15Q still is useful phone, provided that battery lasts and is not quickly drying out.

However I do remember that once I was asked by system if I want to reformat and merge SD with system's memory.

I opted out of it, but as I might need and extra Gig or so in the future It would be interesting to know how that is done.

So if anyone has a tip, you are most welcome.

I will update this post in case I discover something or some bugs appear.
[Upgrading, Modifying and Unlocking] tecya:
Hi hersche, I just registered to thank you for everything you have done!

Right now I'm still using the stock rom (modified so the micro sd appears as the internal memory) and I believe that CM 13 will really help me, since you can keep the internal memory for the system stuff and use the micro sd as the "internal memory" for all the other applications.

I will install CM 13 in a couple days and report if the performance increased.

BTW, I believe that there should be a thread just for CM on the cat b15q, your post was actually hard to find...

Thanks again!
[Upgrading, Modifying and Unlocking] M.A.T.O7:
Hi herse, I have problem on your latest release cm-13.0-20161229-UNOFFICIAL-mt6582. I cant install .apk files from my phone. I dont know why it shows me that app not installed the package appears to be corrupt. I dont know why. Can you explain why the problem appearing? Or can you fix because I am using many 3rd apps which are installed directly from phone. Maybe this fix will be helpfull for many users. For example I downloaded Aptoide app from browser and I cant install it. It shows me on every apps whose are not from Google play. So I am asking to you if it possible to fix it. Please reply soon. Thank you very much
[Upgrading, Modifying and Unlocking] tecya:
I was able to install fdroid using **adb install appname.apk** however this isn't really a solution...

BTW, I thought it was just me...

Also, I'm unable to use my Micro SD as internal, using the system interface.

Basically, Settings crashes if I try to. Then my SD appears ad damaged inside settings, however in reality it works perfectly
[Upgrading, Modifying and Unlocking] M.A.T.O7:
Yes I am facing to problem microSD cant be used as internal.

Hersche please reply to us if exist solution to fix installing 3rd apps in phone and Sdcard mount as internal. Please reply thank you
[Upgrading, Modifying and Unlocking] chris.android:
How do i install the cm13 rom,can i install it from twrp recovery or do i have to flash it using sp flash tools?

Also can i downgrade to stock rom from cm13?
[Upgrading, Modifying and Unlocking] chris.android:
CM 13 Format sd card as internal emmory

Hi again,

I managed to flash the rom from twrp recovery,everything things seems to be working fine but even I like the others above have a problem formatting the sd card as internal(the sd card gets formatted and then asks me if i want to move stuff to the card now or later....when i tap now-it says the settings app has stopped working and when i press later it goes back to menu and sd card appears as corrupted)

For now i have formatted the sd card as portable but i would really like to use it as internal so please see what can be done to fix this.

BTW Credits to the developer for this excellent ROM especially hersche who ported it.

Thanks and hope this issue is fixed soon.
[Upgrading, Modifying and Unlocking] Doggy77:
I get the same error and additionally I can't install any APK's from the memory (and yes, installation from unknown sources is activated).

When selecting the APK it shows the rights I have to grant.When selecting "Install" it says something like "can't install, package is damaged", but it is surely safe because I installed this specific file on other devices.

I Used to flash the "cm-13.0-20161217-UNOFFICIAL-mt6582.zip" and after this the "open_gapps-arm-6.0-nano-20170312.zip".

I did not try to login to the playstore and install from there because I first want to get my barcode reader app in order to login to the WiFi.

[MENTION=7724513]hersche[/MENTION]: Are there any newer or better versions to ZIP?

And is there any chance to get the SD card used as internal memory?

Kindest Regards,

Markus
[Upgrading, Modifying and Unlocking] bone101:
Copy and paste .apk to data/app/ and reboot phone is a workaround
[Upgrading, Modifying and Unlocking] Doggy77:
Needed to copy it in TWRP because the "stock filemanager" didn't show the directory. But with this it worked. :) Thank you very much!

Do you have any hints regarding the usage of the SD card? If not successful with this stock android function I would proceed with Link2SD, but maybe you have another hint on it.

Greets,

Doggy77
[Upgrading, Modifying and Unlocking] bone101:
No idea , sorry...
[Upgrading, Modifying and Unlocking] hersche:
hey people, i'm sorry for answering that late..

i invest my time atm really in other stuff and get me a blackview bv6000, rooted proper tonight, but with stock (wanna say: don't do dev there).

because of it's still in use, i've compiled another version - i'm really not shure if it solves any problem, but have a look at the commits told me, some zip-related stuff is fixed. also there are 3 "r-versions"/revisions increased from google itself which may also fix some stuff..?

i hope that helps, but with android 6 you may have to live with such workarounds like adb and/or moving the apk's directly to /data/apps..

the new rom is here: https://github.com/hersche/android/releases/tag/0.0.2

because it looks missing in discussion, i did some doc's there: https://github.com/hersche/android/wiki

also possible, that ported roms, which are older, works better on some points, but i don't will test this - hope there is a good solution for the users. if someone want to continue with the development, i will give answers where i can :)

good luck with the apks!
[Upgrading, Modifying and Unlocking] bone101:
APK instal from sdcard problem is not solved...

Greetz bone
[Upgrading, Modifying and Unlocking] tecya:
Can you try to use a Micro SD as internal memory?
[Upgrading, Modifying and Unlocking] bone101:
I do not know how to do this...
[Upgrading, Modifying and Unlocking] tecya:
When you insert a new micro sd it will ask you what do you want to do with it: either use it as the internal storage or like a regular micro sd.

Here is a more in depth explanation: https://motorola-global-portal.custhelp.com/app/answers/prod_answer_detail/a_id/109134/p/1449,9582
[Upgrading, Modifying and Unlocking] bone101:
I never used this
[Upgrading, Modifying and Unlocking] Doggy77:
No change on "SD as internal", unfortunately.

And my german "Netzclub" SIM card shows as Symbol an "R" for "Roaming", due to the national roaming / the fusion of the german providers "Telefonica O2"/ "E-Plus". Other phones do not show this "R", they recognize the new MCC-MNC combination as new network. But this is just a minor "flaw" which is addressed in the FAQ of my provider.
[Upgrading, Modifying and Unlocking] chris.android:
hmmm so is there going to be a possible fix for the sd card issue in the future?Also what about nougat rom develeopmet?
[Upgrading, Modifying and Unlocking] walckenaerius:
Link2SD not working

Hey there, great work with CM13!

SD card as internal not working is a problem for me too. I tried to use Link2SD but no luck. Tried all tricks on the on the internet plus unpacked and repacked the boot image many times altering fstab etc while trying to mount the second ext4 partition, but no luck. Did anyone manage to do that and use Link2SD?

Another bug I found: I have 2 sim cards (different countries) and when they're both in, mobile data does not work at all on neither of them. Tried all sorts of tricks also. Hope this can be fixed in a future update. For the moment I took out one of the sims (don't need it now) and mobile data is ok.
[Upgrading, Modifying and Unlocking] chris.android:
cellular data not working

Hey even I have the same problem as you with the cellular data but even after taking out one of the sims the issue still persists and I'm not able to use mobile data.....what do I do?
[Upgrading, Modifying and Unlocking] YandereJam:
Custom Recovery for CAT B15Q

Hi!

Is there anyone who still has a custom recovery img for me to flash? I want to install cm on my B15Q, but there are no custom recoveries for it on the internet whatsoever. Please let me know if you have one!
[Upgrading, Modifying and Unlocking] batisas:
Rooted but not quite...

I have installed this APK. And it went normally and installed King User.

This app works ok for me, but it does not get ROOT permissions to to the other apps. But it shows that everything is ok.

Does anyone get to achieve root permissions and can use it with the apps that needs it?

And how to uninstall this King User, because it needs root permissions to do that which i don't have :)
[Upgrading, Modifying and Unlocking] cityshark_cz:
Dunno, I got rooted.
[Upgrading, Modifying and Unlocking] batisas:
What do you mean by rooted?

Does it mean you just installed this app and thats it, or does Root Checker shows that it is rooted?
[Upgrading, Modifying and Unlocking] cityshark_cz:
It does mean root rights. Rootchecker says it as well...
[Upgrading, Modifying and Unlocking] batisas:
Nope, not for me?

Any suggestions how to uninstall that thing without root permissions?
[Upgrading, Modifying and Unlocking] cityshark_cz:
Not a clue... Silly question, but... Did you rebooted after install? Try install again maybe... How to uninstall no clue, maybe hard reset...
[Upgrading, Modifying and Unlocking] batisas:
Yap, I did all that, nothing worked.

It needs root permission in order to get rid of that king user app.

Wel... i would greatly appreciate root permission, but I cannot find any good manual of how to root that smartphone.
[Upgrading, Modifying and Unlocking] cityshark_cz:
Sorry to hear that bro :(
[Upgrading, Modifying and Unlocking] htron:
Hello cityshark_cz,

first many thanks for your usefull informations.

Short question before i try: Are the 3 yello buttons are still working

after the rooting as normal? Especially the middle button:

Long hold switches Cam-LED on / off and double push switches

to camera-mode?

Greetings,

htron
[Upgrading, Modifying and Unlocking] cityshark_cz:
Yes, hw buttons unchanged.
[Upgrading, Modifying and Unlocking] AZZA751:
NO LUCK

im new to android and rooting i tried the install but after 100% i just got an android crying face so i take it something went wrong but i dont know what because its all in chinese any clues?
[Upgrading, Modifying and Unlocking] AZZA751:
sorted

never mind got it rooted after a reboot any ideas on custom roms? wanting to save apps to sd card as 4gb aint cutting it and incrase music volume through headphones as its stupidly quiet