yashsingh1/xdaforums huggingface dataset:
[P8lite Original Android Development] XePeleato:
That's just compatible with Kitkat, however it doesn't look like the solution to our problem.

Enviado desde mi ALE-L21 mediante Tapatalk
[P8lite Original Android Development] fitsuli:
Thanks for answer.

So pity (for owners of 4C) that Honor 4C don't have any custom ROM. When I found your topic, I was very happy, but - no luck. :(
[P8lite Original Android Development] amageek:
i can flash as long as i have unlocked my bootloader right.. but is there any problem if i have root access?
[P8lite Original Android Development] hackslash:
Well both the Honor 4C and P8 Lite are same except that P8 Lite has NFC.

I have compared both firmwares and they are completely same. Even my 4C has NFC drivers (even though unsupported) and ALICE configurations (P8 Lite is codenamed ALICE whereas 4C is CHERRY). The reason it won't flash is simple. Both devices have different /system/ partition size.
[P8lite Original Android Development] wolfensg:
I still think that the hardware may be ALSO an issue (but I don't say that both mobiles are not very similar or that the firmware is nearly the same).

P8Lites camera is Sony Exmor RS IMX278

While Honor 4C has Sony Exmor RS IMX214

P8 Lite has LTE support while Honor 4C doesn't have (which means that the modem part is different)
[P8lite Original Android Development] XePeleato:
Well I don't have an Honor 4C, so I can't fix that, sorry about that.

Enviado desde mi ALE-L21 mediante Tapatalk
[P8lite Original Android Development] hackslash:
I would not like to go off topic but this would be the last time (I promise :p)

Honor 4C has different variants:

CHM-U** : No 4G LTE, No NFC

CHM-TL0** : Supports 4G LTE and NFC

CHM-UL** : Supports 4G LTE, NFC and based on Qualcomn Snapdragon

(However, there are sources which say that all 4C support 4G LTE but the feature is limited by the country vendor)

I compiled a ROM for my 4C using XePeleato's source and it did booted. The bugs were the same (RIL didn't worked). Bluetooth, WiFi, sound, these features worked. Also, the ROM at it's current state doesn't include any Sony Lens proprietary files so well....
[P8lite Original Android Development] wolfensg:
That seems to be the missing info :) Thanks - maybe it would help the 4C users to do further porting or help join forces.
[P8lite Original Android Development] fitsuli:
The size of the partition /system is enough for this image (700 mb - image, system partition - about 2 gb).

4C have two options - with IMX214 and with ov13850.

TL - 2g only.

UL - have 4g, but it's too have Hisi processor

CL - Snapdragon processor.

I know that we don't have 4G on hardware, it is not locked by country vendor.
[P8lite Original Android Development] hackslash:
Please stay on topic. Off topic discussion about other device/model is like 'hijacking' and is not tolerated well on XDA. Create a different thread for your concerns/problems. (Also thanks for rectifying my mistakes. Saw them a long time ago and couldn't remember well)
[P8lite Original Android Development] SuperProHacker:
oh ok
[P8lite Original Android Development] SuperProHacker:
Well does this work then?

https://play.google.com/store/apps/details?id=com.sibbor.getril&hl=en
[P8lite Original Android Development] XePeleato:
I don't think it will. Thanks however
[P8lite Original Android Development] SuperProHacker:
well goddamit!
[P8lite Original Android Development] edrodez:
If you try this??

http:// abelpaz. blogspot .mx/2011/12/ril-baseband-que-son-y-como-cambiarlas .html?m=1

Erase all spaces, it's a 2011 post but it can solve the problem with the RIL

Enviado desde mi hi6210sft mediante Tapatalk
[P8lite Original Android Development] hackslash:
I am not trying to be mean here (and maybe I have no right to post regarding this), but please:

No RIL solutions that were developed for HTC, LG or others will work.

We don't need to flash a modem or baseband image. It's already flashed on your device. It's just 'incompatible with AOSP'

This whole RIL issue is due to either incompatible libs, incompatible framework or incompatible baseband. Hence, they have to be patched from scratch for this device in order to get RIL working.

I appreciate everyone is trying to help [MENTION=7354786]XePeleato[/MENTION] here, but please there is no 'already developed solution' to this problem. If you know any Huawei or HiSilicon Kirin based device which has a RIL patch, only then post regarding it.
[P8lite Original Android Development] XePeleato:
I appreciate the effort to help, however sadly, it's not so simple, Whenever Huawei releases Android 6.0 Officially I'll have more news.
[P8lite Original Android Development] cristi.blidariu:
this is final version releases from spain http://xdaforums.com/p8lite/general/official-ubdate-released-t3358262
[P8lite Original Android Development] XePeleato:
Yeah, I have it installed, I am already working on it.
[P8lite Original Android Development] cristi.blidariu:
K,good luck
[P8lite Original Android Development] Mozdef32:
Cellular not working

Hi! You did a really good job you saved me from a bricked device

Is the cellular Not working or it's just my phone ?
[P8lite Original Android Development] XePeleato:
It's a known bug, I am working on it.
[P8lite Original Android Development] JamesVL:
WHEN?

Marshmallow for ALE - L21 longer available. APPROXIMATELY WHEN it worked the RIL de este AOSP ?
[P8lite Original Android Development] XePeleato:
I don't really know when it will be fixed, since I am busy right now, whenever it's done, I'll let everyone know.
[P8lite Original Android Development] LordR3tard:
Am I the only one whose security tab in the settings crashes when I click it?
[P8lite Original Android Development] PCSE:
No, Same here
[P8lite Original Android Development] hackslash:
[MENTION=7354786]XePeleato[/MENTION]

Can you please tell me what changes you made to the Kernel sources to make them compatible for AOSP / CM. I am also trying to build CM but I can't get past the Huawei logo. ADB is also not working which means I can't get past the early init. This however means that there is a problem with the Kernel (I am using sources from Huawei rather than yours to learn about the build process).

Any help would be aprreciated. Thanks!
[P8lite Original Android Development] XePeleato:
I changed nothing, the problem should be somewhere else.
[P8lite Original Android Development] hackslash:
The problem is I can't even get ADB to run hence I can't even take logcats. Must be a Ramdisk issue then.
[P8lite Original Android Development] XePeleato:
Not really, now I am building AOSP 6 and I am using stock kernel, I just changed 'init.environ.rc' and adb works, look at your system image as well.
[P8lite Original Android Development] hackslash:
Ok. So you're using Android 5.1.1 kernel sources. Also does it boots?
[P8lite Original Android Development] XePeleato:
Marshmallow? Not yet, framebuffer works however.
[P8lite Original Android Development] hackslash:
What about the kernel? Using the same one (Android 5)? I am using Android 6.0 sources. i guess all problem starts from there.
[P8lite Original Android Development] XePeleato:
Are you using Android 6.0 kernel with a 5.0 system? That should be the problem.
[P8lite Original Android Development] hackslash:
I am basically trying to build CM 13 using Android 6.0 sources. Here's my tree: https://dev.pctecha.com/hackslash/android_device_huawei_hi6210sft
[P8lite Original Android Development] XePeleato:
I can't give you good advice since I can't get it working, moreover, I don't have much experience building Cyanogenmod.
[P8lite Original Android Development] hackslash:
Just one last thing. Which kernel are you using for your builds?
[P8lite Original Android Development] XePeleato:
The one I extracted from the stock boot.img, I am not sure if it'll work with CM, as I said, I have no experience with it.
[P8lite Original Android Development] bujamin:
Does this ROM ship with or without Google apps?
[P8lite Original Android Development] tamaskurti:
Without gapps, the whole system is more lightweight, moreover, you can later install google play store if you want from other sources (ex. mobilism).

- for example, the chinese roms comes WITHOUT gapps, howewer those roms have huawei app store, from where you can download google play store.
[P8lite Original Android Development] bujamin:
I am aware of that, that's why I'm asking. Installing a ROM without Gapps is easier than installing a ROM with Gapps and removing Gapps afterwards. I prefer a system without Gapps (due to privacy concerns) and I use F-Droid in place of Google Play.
[P8lite Original Android Development] Prostokuche:
I have little to no experience with coding on Android. But I'd presume our kernel wouldn't work with CM. Investing time into a new kernel really is a drag but might not be a bad idea since our current kernel limits the use of our CPU as you might have noticed already. Also could you explain to me your current problems with the development of the ROM. I got confused in all the comments. And I don't understand much of github to comprehend what's going on there. Either way thank you for starting this topic.
[P8lite Original Android Development] XePeleato:
The cellular radio is not working because it's invoked from a Huawei propietary java class. That's the big problem.
[P8lite Original Android Development] Prostokuche:
Hmmm... I know a recent github page which is for the honor 4c but I don't think there is much to it. I could send the link to you. Idk if you've seen it. Both devices use the Hisilicon chipset so yeah.
[P8lite Original Android Development] hackslash:
I am maintaining that repo. RIL doesn't works. It requires a load of framework patches.
[P8lite Original Android Development] Prostokuche:
Are you Wadim377?

Because I think that was the name of the creator.
[P8lite Original Android Development] hackslash:
I forked that repo from XePeleato and adopted it to 4C. I the distributed it to some Russian developers for collaborations. (I am not Wadim)
[P8lite Original Android Development] Prostokuche:
Ah now that makes sense thanks. Damn. Should have taken those Java classes last year.
[P8lite Original Android Development] hackslash:
You know hope is not lost. Search for Linaro HiKey boards on Google. It's a HiSilicon Kirin 620 SoC board which has official AOSP. It has some framework patches for RIL, display, etc. I am currently studying those patches (even I am very basic in Java). (I also got a chance to learn Java last year. I kicked that chance away)
[P8lite Original Android Development] XePeleato:
Thank you, I am aware of it, however it won't help in that matter.
[P8lite Original Android Development] Prostokuche:
Hmmm I did search it and found instructions on building aosp from source but I didn't find anything on RIL. I'll see some more and come back in a minute.

---------- Post added at 08:20 PM ---------- Previous post was at 07:44 PM ----------

How about we look at the official huawei RIL manual? You can download it from this link:

http://consumer.huawei.com/en/solut...ides/detail/mu709s-6-minipcie-en.htm?id=15441
[P8lite Original Android Development] FabrizioAL:
does the internet connection work?
[P8lite Original Android Development] XePeleato:
It works over WiFi.
[P8lite Original Android Development] FabrizioAL:
there is a chance to see a beta in the future?
[P8lite Original Android Development] XePeleato:
Sure.
[P8lite Original Android Development] FabrizioAL:
Perfect
[P8lite Original Android Development] Prostokuche:
I feel so helpless because of my addiction to playing around with Android settings and yet here I am struggling to find info on RIL for the Hisilicon SoC
[P8lite Original Android Development] Prostokuche:
I don't know if you've seen it but I found a miui ROM for our device but I didn't find any screenshots of it. On the other hand it might be useful. It was in a Spanish forum. Edit: Never mind, I think it's another MOD ROM but seeing how it's the only useful thing I've stumbled upon I could send the link.
[P8lite Original Android Development] XePeleato:
Alright, post it, it might be useful.
[P8lite Original Android Development] Prostokuche:
http://www.htcmania.com/showthread.php?t=1175891

I also found a thread in a German forum which mentions you and this whole aosp development but sadly nobody there went to help or so I think.
[P8lite Original Android Development] enskje:
its emui and op knows about this. he came from Htcmania too.
[P8lite Original Android Development] Prostokuche:
Then I'll just have to continue searching for more stuff. I expected to find something from the Deutsch forum but didn't succeed.
[P8lite Original Android Development] Prostokuche:
I have a question. How much does the RIL in a CM device tree differ from our RIL?
[P8lite Original Android Development] mentalghost:
Will be looking forward to this once final version can get away from this dreaded EMUI huawei should of made versions with it on but noooooo makes us l8 users suffer. Looking forward to p9 just hit the UK
[P8lite Original Android Development] Prostokuche:
And here I thought the EMUI wouldn't be a problem for me and here I am learning java and basics of github.
[P8lite Original Android Development] Prostokuche:
So I'm confused a tiny bit: https://android.googlesource.com/pl.../java/com/android/internal/telephony/RIL.java

This is a link to a standard RIL in Java. I'm currently studying it and I can't help but wonder in where does the RIL for the Huawei specify that a password is needed or something at all to even give access to the sim card?
[P8lite Original Android Development] XePeleato:
I don't really understand what do you mean with that. The sim card is unlocked by AT Commands, and that's managed by the modem, that class is written in Java, and it's not the whole RIL code.
[P8lite Original Android Development] Prostokuche:
Hmmm... Then I guess I got something wrong.
[P8lite Original Android Development] mentalghost:
I do not mind EMUI just some of the stuff on it is annoying and layout and usability am not liking having to add customization and more stuff and more just to get some good function out of it for the way I want it.
[P8lite Original Android Development] Prostokuche:
I just hate not having an app drawer and the way some icons look. And no I wouldn't put a launcher because it would drain my battery too much.
[P8lite Original Android Development] :
Freeze stock launcher? Or get Android N emui theme. You will love the new look.
[P8lite Original Android Development] SuperProHacker:
Ril y u no work!!!!!!!!
[P8lite Original Android Development] matamata15c:
Más desarrollo?

Enviado desde mi hi6210sft mediante Tapatalk
[P8lite Original Android Development] XePeleato:
[Spanish]

Ahora mismo estoy muy ocupado, pero sigue en pie.

[English]

I am really busy right now, I am still developing the 6.0 rom, that's why it's taking so long.
[P8lite Original Android Development] :
Can you point me to tutorials and learning resources for android development, please?
[P8lite Original Android Development] XePeleato:
I fear I can't, since I am not an android developer, but a C/C++ developer.
[P8lite Original Android Development] hackslash:
[MENTION=7354786]XePeleato[/MENTION] did you used the HwHisiRIL.java I told you about?
[P8lite Original Android Development] XePeleato:
I haven't tried it, is it for 5.0 or 6.0?
[P8lite Original Android Development] hackslash:
I have posted on Github. It's from 6.0.
[P8lite Original Android Development] dzemiik:
Any progress?

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Original Android Development] XePeleato:
I'll be very busy until June, however I am still working on it, as always, I'll let everybody know whenever I achieve something.
[P8lite Original Android Development] speedster_no1:
When can we expect first beta or something like that ??? :D
[P8lite Original Android Development] XePeleato:
I don't really know, August? I am just guessing.
[P8lite Original Android Development] Lordbannakaffalatta:
Keep it going we're looking forward to this...
[P8lite Original Android Development] mentalghost:
Does GPS work on this as can not wait for it to be fully function rom get of rid of this EMUI BS
[P8lite Original Android Development] lozohcum:
8 core processor and you still want OC? It's not LG GT540
[P8lite Original Android Development] Cymianel:
Nice! I'm gonna test this soon, very curious...

The power of Nandroid backups.
[P8lite Original Android Development] lukezaa:
I would rather prefer four fast cores than eight slow cores. Or four fast cores and four slow for power saving.
[P8lite Original Android Development] snapdesign:
[MENTION=7354786]XePeleato[/MENTION] slimroms is looking for device maintainers... so maybe you can bring aosp to us...

http://www.slimroms.net
[P8lite Original Android Development] XePeleato:
I need to build AOSP first, then We could move on to other roms.
[P8lite Original Android Development] :
[MENTION=7354786]XePeleato[/MENTION] Are you going to upload 6.0 for testing?
[P8lite Original Android Development] XePeleato:
I will whenever it's finished, I have stopped the development since May, I'll resume it this weekend.
[P8lite Original Android Development] Vika__:
Hi, hopefully we can see full aosp on our device. Would it be possible to put files in update.app and install trough force update
[P8lite Original Android Development] XePeleato:
I don't think so, isn't it signed by Huawei?
[P8lite Original Android Development] Szyszuudleelele:
What's the status of the rom? :DD
[P8lite Original Android Development] XePeleato:
So far the screen works (past the Huawei logo). Note that this is the 6.0 version.
[P8lite Original Android Development] Szyszuudleelele:
Cool, I hope, that all features will work :D
[P8lite Original Android Development] Punraz_:
Nice , glad that someone Developer Android for our Device
[P8lite Original Android Development] XePeleato:
That was fast!

Gues who's back? The baseband!
[P8lite Original Android Development] :
I guess the only thing that is missing now to get sim working are the right ril libs. Hopefully hak has the solution.
[P8lite Original Android Development] iMigz:
Nice man! Hope this will be 100% successful! :)
[P8lite Original Android Development] daaasek:
When you share a Version 6.0 operating ril?

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Original Android Development] XePeleato:
I forgot to add the RIL libs, I guess that's the problem. I'll fix it in the afternoon (like 6 hours) since I need to make some calls and I use it to work. Whenever it works stable I'll upload it so you can test it.
[P8lite Original Android Development] kostek1337:
Well, you'd uploud it today? I can test it, because im very happy that You started one more time on working with this rom. I love AOSP builds, You are my God :) I believe that You will create this rom this month. good luck and thank u :D
[P8lite Original Android Development] nyl:
this was unexpected for me, had this phone around but didn't think i gonna see it on github :D checked out the source, very nice :D by any chance can i fork the kernel for a Ubuntu Touch port?
[P8lite Original Android Development] XePeleato:
Sure, I'd like to make it a little bit more stable, but I hope I can do that today.

I wasn't able to compile the kernel, since the one uploaded by Huawei doesn't work, however if you find another source you might achieve something.
[P8lite Original Android Development] toncek333:
Hi!

I noticed that Honour 4x and our device have the same SoC. Could you use RIL from Honor 4x aosp roms?
[P8lite Original Android Development] Azaradel:
Honour 4C has kirin 620 and Honour 4x has one of the Qualcomm's sockets. That makes them two different smartphones.
[P8lite Original Android Development] toncek333:
Sorry, my bad!
[P8lite Original Android Development] olrak:
[MENTION=7354786]XePeleato[/MENTION] : working tree to build Kernel for 6.0 : https://github.com/olrak2/android_kernel_huawei_hi6210sft
[P8lite Original Android Development] Greyclif:
progress

some progress ???
[P8lite Original Android Development] XePeleato:
Yes, now I can use the phone to bake bread. Just kidding it just gets really hot. Today I tried to implement the media service, it will take some time.
[P8lite Original Android Development] PCSE:
If you need any help by a mediocre good kinda guy Im here for ya [MENTION=7354786]XePeleato[/MENTION].

No but seriously just hit me up if you need help doing stuff
[P8lite Original Android Development] XePeleato:
Sure, a Java developer would be really helpful. However if you can, send me a PM with a brief description of your habilities.
[P8lite Original Android Development] :
[MENTION=7354786]XePeleato[/MENTION] did you try it with the ril libs yet? And does it work?
[P8lite Original Android Development] snapdesign:
please wait for the dev to update the status... don't ask every day for news... when the dev makes a build for testing you will know... and i ask all users, please don't put pressure on dev because that's why we don't have nice things... thanks
[P8lite Original Android Development] :
Actually I wanted to make a helpfull suggestion but k if you put me into the category of people who cant wait.
[P8lite Original Android Development] XePeleato:
Yes, I tried, however I am still working on it. It detects the IMEI and the baseband so far, I hope to fix it soon.
[P8lite Original Android Development] XePeleato:
Custom kernel = no baseband

Thank you a lot [MENTION=1900297]olrak[/MENTION] but it looks like Huawei 'forgot' to include the baseband.
[P8lite Original Android Development] olrak:
When I build my custom kernel baseband was working. I think it has something to do with cust or modem partition. Sometimes when I flash a stock rom I lose my baseband, after update from huawei it comes back.
[P8lite Original Android Development] snapdesign:
maybe doesn't like the name of the kernel?:p

kidding... just a question unrelated with this... I'm on stock 565 MM, i deleted a few things and now when i try to change the alarm ringtone it tries to open something and then exits to home... any ideas?
[P8lite Original Android Development] XePeleato:
Maybe it's trying to access a file manager and it fails? Try to install one if you don't have one already.
[P8lite Original Android Development] snapdesign:
i have files and miExplorer...i put back documentui and all the files i could think of, even the permissions...anyway... doesn't matter... when calling and SMS will work I'm jumping in to this ROM
[P8lite Original Android Development] XePeleato:
Hi there, is anybody up for a challenge? I need the deodexed hwframework.jar of the last emui version, if anybody could send it to me, that would speed everything up. Thanks!
[P8lite Original Android Development] mr_sjs:
Where is it located I'll grab it

Edit... Think this is it

https://www.dropbox.com/s/o96l080odpvwstp/framework.jar?dl=0
[P8lite Original Android Development] :
Dude thats the framework xP

Here hwframework arm64 deodexed: https://mega.nz/#!Z0gnhBTB!7Z7ZquFxpg51bjKuXD7ug2QXrrc2qLjyRRLBdHWs7iU

arm one just for fun
[P8lite Original Android Development] XePeleato:
Lots of thanks! I'll try it out.

It's located at /system/framework/hwframework.jar

Send it if you want, maybe it's from a different version and it turns out to be useful.
[P8lite Original Android Development] PCSE:
Do you know what you exactly deleted? If you do I might be able to backup that file from my phone and send it to you. Kinda sounds like a media explorer or something like that to me.
[P8lite Original Android Development] snapdesign:
thanks but i already decompile the system and i have all the apps, libs etc, but I'm lazy... it's not a big deal, i can change the alarm with the file explorer... I'm waiting for a aosp rom because I'm coming from a Nexus 5 and really hate emui :D
[P8lite Original Android Development] XePeleato:
I am back, the file was helpful, but I need another one, is located at /system/framework/org.simalliance.openmobileapi.jar

If anyone could send it to me it would help me a lot!

(from a deodexed 6.0 rom)
[P8lite Original Android Development] snapdesign:
wrong quote but here it is...i think
[P8lite Original Android Development] Szyszuudleelele:
Hi guys, some progress? :)
[P8lite Original Android Development] snapdesign:
from XePeleato