yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend XT Questions & Answers] madvane20:
i have a machine with linux on it and a remote desktop client called teamviewer for those who would want to help get one of these roms ported so to speak. further more anyone have ideas or know how to fix other issues as well as kernels. then post here let us know although my post its not just for me. i will also keep posting my progress here from now on. if anyone wants to learn what i learned i have a discord server where we can voice at. its hard to actually type and explain and the other machine can show as i talk about what ever. so feel free to post what ever as well if u just want me to call it quits let me know down bellow. i figure we get enough people who know stuff bout each of the process we might get farther then just me. then im gonna try to develop my own rom that will be awhile xd. i learned what i know in like a month so im no expert but i love learning new stuff as well as knowing i accomplished something good.heres what i got so far auto brightness doesnt work double tap does not work although its in the settings. wifi is still broke im getting closer to get wifi but maybe some new eyes can help with the kernel configs or symlink or well you get the picture.https://www.androidfilehost.com/?fid=457095661767145938heres how to flash goto twrp goto wipe do the delete data option that has you type yes. then just restore backup normal way in twrp. sorry first one was a old broke version posted new link. also install install one of these when ur finish restore http://opengapps.org/if this was helpful please hit the ty button. if u feel the need to donate thats there as well enjoy and maybe we can get rr marsh mellow to at least be our temp os. after you load it up at least once i recommend going back to twrp and doing the factory restore option

before u proceed to other stuff

discord code to join my server Hf9x6a5. make sure u install 64bit gapps
[Huawei Ascend XT Questions & Answers] madvane20:
bump
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
about to test

I am going to give this a spin and see how it does to give you feedback and to "field test it". i know i said that i was going to try to port a rom myself but im willing to admit that i got in over my head and just simply dont have the time to learn how to do so. im really excited to try what you have accomplished so far however. will let you know how it goes!. thanks again.
[Huawei Ascend XT Questions & Answers] madvane20:
k i just bout got crdroid done after i fix this error it should finish compiling

someone else i know said it runs good they might post i think it runs nice and fast just the wifi is killing me on that one but if i get crdroid working then thats a step to get the rest
[Huawei Ascend XT Questions & Answers] Nachitoo:
Yeah the Rom was pretty good, very fast, compared to the stock rom.
[Huawei Ascend XT Questions & Answers] madvane20:
stuck with this error on crdroid

hardware/qcom/audio-caf/msm8916/hal/audio_hw.c:438:14: error: use of undeclared identifier 'SND_AUDIOCODEC_ALAC'

id = SND_AUDIOCODEC_ALAC;

^

hardware/qcom/audio-caf/msm8916/hal/audio_hw.c:441:14: error: use of undeclared identifier 'SND_AUDIOCODEC_APE'

id = SND_AUDIOCODEC_APE;
[Huawei Ascend XT Questions & Answers] madvane20:
its like 70 or so % done
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
yeah it wont be a DD without wifi but im light on using data anyhow for the time being. what version of crdroid are you making? im not personally interested in any particular version of android i just cant wait any longer to rid myself of EMUI as a whole beyond what im already able to. i dont know if either of you had any issues or maybe it was just me, but copying RR to my ext-sd twrp folder it would just stop copying and i tried it both from within twrp and android. i had to copy it directly to the root of the ext-sd. anyway im installing now just wanted to let you know what was up so far over here.

Edit: I'm sure this wont apply to those who cant figure it out as you shouldnt mess with it anyway if you couldnt but, you have to remove the "_image" from the end of the system backup file in order for twrp to see that partition and be able to restore it.
[Huawei Ascend XT Questions & Answers] madvane20:
is android n im stuck atm on compiling but i might be fixing wifi on the rom ur using hope it works. also i this all was way over my head didnt think id make it this farxd
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
Hey its Jarrett didn't wanna login. RR works amazing and is exactly what I'm looking for from a ROM. Auto brightness works just fine for me, I came directly from b130 BTW. WiFi just sits there trying to turn on but it never does so I can confirm that. Also double tap to lock works for me. Is there anything that doesn't work for you that you'd like me to try and confirm coming from b130 seems to fix the issues you were having other than WiFi not working.
[Huawei Ascend XT Questions & Answers] madvane20:
see if nfc is there and works if so then yea only thing left is wifi and what ever minor bugs after that. so does it run much better than stock? also anyone have any luck or have ideas to fix the wifi?
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
I do not have a way yo test NFC but yes this ROM is butter smooth and leaves much more room available while also allowing you to use an SD card as expanded system storage. I have yet to find any bugs or settings that do not work as intended other than WiFi and double tap to wake but only WiFi is important to me.
[Huawei Ascend XT Questions & Answers] madvane20:
ok well since i been hitting alot of wall trying to get n up and running gonna see if i cant get a working kernel compiled for rr mm til then wish i had some help xd but i will do what i can cant expect to much only a month or so in on learning etc. later once i learn how im gonna go for a stab at enabling otg if its even possible on this phone
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
Im near certain that this phone hardware wise does not support otg. But if we get WiFi I'll be sure to hit that donate button. Thank you for what we have so far. Its running great and everything I wanted is available. Even audio over USB works just fine.
[Huawei Ascend XT Questions & Answers] madvane20:
i was gonna about the audio over usb looks like u done posted that is the speaker loud enough for speaker phone if not i will tweak that. also i might of not been a developer when i started but by the time im done i guess i can consider myself a developer xd
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
Speakerphone is a little quite but tolerable when playing a YouTube video. I suppose it could go up a little bit. Until I run into other situations that's all I have for you right now.
[Huawei Ascend XT Questions & Answers] madvane20:
yea i think i can fix speaker easy the wifi i have to compile a complete kernel with drivers etc designed for it
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
I found another bug, it may be kernal related. When watching videos via the YouTube app that video may freeze while Tue audio continues playing. This has been occurring since installed.
[Huawei Ascend XT Questions & Answers] madvane20:
ok well im working on rebuilding the kernel with new compiled drivers i will send u it to test when im done if u want hopefully i fix wifi as well. im surprised noone has offered any help or got everything working. guess i will keep trying. i have noticed in stock that there is a process running called usb otg so makes me wonder why otg doesnt work
[Huawei Ascend XT Questions & Answers] RN_ReFlux:
I've been intending to work on it, but I'm on vacation with the family this week so my time has been short.
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
I will definitely test it for you and regarding otg process I have found that huawei left a lot of default processes and services installed and or running even if they weren't actually in use or supported via the stock ROM. It is possible that most of the devices running that version of emui they simply used one ROM and modified it for each supported device to that devices needs and abilities.
[Huawei Ascend XT Questions & Answers] dkbyond:
WiFi calling feature would be highly appreciable. Thanks devs.
[Huawei Ascend XT Questions & Answers] madvane20:
working on lineage atm im determined to get android n working yea i will see what i can do atm its just me i have no team xd
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
Just an update for RR. Since using it more I can definitely confirm volume is wayyy too low while making a phone call both on speakerphone and using the ear speaker, however playing media such as music or YouTube audio is nice and loud. It even clips a little bit. I look forward to trying your lineage build!
[Huawei Ascend XT Questions & Answers] madvane20:
i got crdroid booting but got to fix wifi on it too xd im close to getting wifi working on both stay tuned for now im gonna work with mm soon i will work with n
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
Sounds great, yes I believe you should stick to whatever you find will be easier to get completely working first. From what you've learned so far how more difficult will N be as compared to MM?
[Huawei Ascend XT Questions & Answers] madvane20:
i dunno it acts like it doesnt wanna compile the kernel right to work for n could just be me not knowing enough in that aspect or not spending as much time since i have mm almost working. btw another member said they didnt have any issues with youtube etc but they were on b150 firmware before they tried it. i mean other than wifi being broke xd. almost have wifi. ok i figured out that when i build my kernel it builds the modules aka drivers into the kernel but still wifi doesnt work interesting
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
I'm ready to test whenever you sort it out.
[Huawei Ascend XT Questions & Answers] madvane20:
anyone got extra kiwi they can send me? also it seems our phone has otg but is disabled im trying to find where it does it so for time being stock users can have otg
[Huawei Ascend XT Questions & Answers] madvane20:
dont have a eta but thanks to [MENTION=2895182]clsA[/MENTION] for getting me some info to compare it helped me alot im gonna try get wifi fixed for rr for temp cause compiling the 14.1 i have to do some work to get that going
[Huawei Ascend XT Questions & Answers] madvane20:
nvm
[Huawei Ascend XT Questions & Answers] webosFTW:
Checking the thread daily. Thanks so much for what you are doing.
[Huawei Ascend XT Questions & Answers] madvane20:
doing my best hope tonight is the night to fix wifi
[Huawei Ascend XT Questions & Answers] madvane20:
long time when u goto the store with sister and mom then have to got sisters to work on laptops eh but if i dont fall asleep back to the grind wish i had a second xt to be running stock while i run custom on other debug logs study files and fix wifi
[Huawei Ascend XT Questions & Answers] yunior597:
Good luck
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
im excited to reinstall RR with working wifi, Even if thats the only rom id be more than satisfied. keep up the great work!
[Huawei Ascend XT Questions & Answers] madvane20:
anyone donate money for me to buy another one for stock purpose to compare and to help my progress or donate me a phone let me know thank you
[Huawei Ascend XT Questions & Answers] madvane20:
anyone got any idea [41, kworker/0:1][cpu0][ 8.750919] [1970:01:01 01:53:44]wcnss: wcnss_nvbin_dnld:download firmware_path ../wifi/WCNSS_hw_wlan_nv_texas_a1.bin successed;

[41, kworker/0:1][cpu0][ 8.750932] [1970:01:01 01:53:44]wcnss: NV bin size: 31719, total_fragments: 11

[41, kworker/0:1][cpu0][ 8.750997] [1970:01:01 01:53:44]wcnss: no space available for smd frame

[41, kworker/0:1][cpu0][ 8.780105] [1970:01:01 01:53:44]wcnss: no space available for smd frame

[41, kworker/0:1][cpu0][ 8.809752] [1970:01:01 01:53:44]wcnss: no space available for smd frame
[Huawei Ascend XT Questions & Answers] LilAnt530:
What's your Discord server bro? I'm essentially on your journey with a close to the same setup running (Heavy on mobile devices, less Dtop/Laptop heavy) because I have to run Ubuntu thru VMware..... Would love to share a few beginners notes xD
[Huawei Ascend XT Questions & Answers] madvane20:
Hf9x6a5
[Huawei Ascend XT Questions & Answers] madvane20:
any real trusted recognized devs wanna assist me im learning and doing what i can with what i have learned so far
[Huawei Ascend XT Questions & Answers] madvane20:
would be nice if i had donations for all my work on this forum and clsas work he should have gotten money as well
[Huawei Ascend XT Questions & Answers] powerserge1:
I will give a donation once we have a good working android ROM that is not EMUI based. Looking for freed up storage space among other things. Asking for donations without a working product may be counterproductive, especially given inexperience.

Still I appreciate the hard work but this wifi issue seems to be a hurdle and even after a month (if not 2), and there has been no resolution yet.

Crack it and if working as a daily driver, donation from me no problem.
[Huawei Ascend XT Questions & Answers] jarrettsuydam:
Same goes for me, I have no problem donating what I'm able to but just like going to Walmart, people including myself are less likely to pay for an item they may not even get.

Get it working and reliably and I'm sure you'll find yourself rewarded for it.
[Huawei Ascend XT Questions & Answers] madvane20:
i wasnt stating for rr i was stating for our work on all the xt stuff from bootable b130 no root to debloated to b150 no root he has update guides after root i was just saying we did alot of work spent alot of time for stock stuff when we could of not did anything. i have people testing as i try to put out fixed for the wifi. as i stated donations were not a thing saying donate only for me working on rr. hope thats clarified. thank you and have a nice day will let u know if i get wifi up or not.
[Huawei Ascend XT Questions & Answers] madvane20:
guys seems the unlock bootloader was moved to there http://emui.huawei.com/en/plugin/hwdownload/download then all u have to do is click unlock boot loader
[Huawei Ascend XT Questions & Answers] madvane20:
as well i have had no help from anyone on the custom rom side me and [MENTION=2895182]clsA[/MENTION] have worked together on stock stuff. and he donated to me he didnt have too but shows appreciation. if you have the knowledge to help im more and glad to accept help til then im a 1 man team doing what developers do that have been doing it for years. i been at this a month or so. by myself i have asked for help with no real trusted that i could tell developers. should i give up fixing it since i will have a kiwi soon. let you all make a fund to pay a developer to even work on it. not saying u have to donate it just shows appreciation to the people who have been working hard on all things pertaining to the xt
[Huawei Ascend XT Questions & Answers] askmen0w:
do you have a bitcoin wallet ? i do have about $5 in bitcoins that i would like to donate to you. pm me if you do
[Huawei Ascend XT Questions & Answers] madvane20:
giving android 7 another go i couldnt for the life of me figure out why wifi was not working it would go to load drivers etc then wierd error i posted saying no space. then all the compiling errors on boot image to complete os
[Huawei Ascend XT Questions & Answers] yuweng:
Already told you at the other thread, Android N won't boot using MM kernel source, on the honor 5x, there are about fifty over patches to make it boot ! And you don't ask DEV to come to you to offer help, you go to them !

Anyway, attach is the inline wlan, refer to here on how to boot honor 5x custom roms on H1611
[Huawei Ascend XT Questions & Answers] clsA:
Sorry to sound dumb but how do I use the above file with the RR rom we have now ?

Is it the actual Boot.img that i flash after the Rom in TWRP ?
[Huawei Ascend XT Questions & Answers] yuweng:
That file is the exact same file name built from H1611 Kernel Source with crpalmer's commit, it should work on all MM custom ROMs ported from honor 5x, not only the ported RR ROM, all you need to do is unpack the boot.img & replace the kernel with this source built, as mentioned at previous thread, use AIK... :good:

Download any honor 5x custom roms from here, do take note, only MM roms will work, N roms won't boot...

Use 7-zip to open the custom rom zip, no need to unzip it, just drag&drop out the boot.img then use AIK to unpack the extracted boot.img, copy the Image extracted from Inline kernel wlan.zip to replace the one at split_img folder. Delete the existing boot.img-zImage & rename Image => boot.img-zImage then repack it back. Now rename image-new.img to boot.img, drag&drop it back to the custom rom zip

As mentioned at previous post, again no need to unzip it, just open & delete the first two lines at /META-INF/com/google/android/updater-script, exit & 7-zip will ask if you want to update it, select Yes. Note : If you're on WinOS then use Notepad++ & set it as default for opening updater-script or else it won't flash or boot bcos of \n\r !

assert(getprop("ro.product.device") == "[COLOR="blue"]kiwi[/COLOR]" || getprop("ro.build.product") == "[COLOR="blue"]kiwi[/COLOR]" || abort("This package is for device: kiwi; this device is " + getprop("ro.product.device") + "."););
assert([COLOR="blue"]kiwi[/COLOR].verify_trustzone("TZ.BF.3.0.C3-00025") == "1");

Above might work on H1611, you can trial & error, first you need to get your device info => adb shell ro.product.device & adb shell ro.build.product then edit accordingly. Having said that, the 2nd line might not work as it is built from source to make sure that the trustzone matches the one required on honor 5x

You can also edit the build.prop at the rom zip => system/build.prop & change everything from kiwi to your device name if you want.

Happy ROM Porting... :cool:
[Huawei Ascend XT Questions & Answers] madvane20:
i was using stock dtb from boot image cause i couldnt get a dtb to compile the one from kiwi instant fastboot no matter my kernel the kernel u listed. we need a working device tree to be able to port so far i tried the kernel with the dtb in the custom rom boot image never hyas worked. i already knew to delete the code up top although it would still install the os even with the 2 lines up top. just would instant fastboot wouldnt even try to boot. now if i stuck stock dtb image in with my kernel and the one u listed it will boot the os but doesnt seem to fix it. i have not tried the listed kernel config to compile as im not home. i dunno about anyone else whos tried the listed kernel wouldnt boot the rr i had with no wifi just the kernel i compiled with stock dtb stock dtb with the listed kernel wouldnt boot and leaving the dtb that comes with the boot image goes straight to fastboot
[Huawei Ascend XT Questions & Answers] yuweng:
All kernel source from vendor doesn't build dt.img, attach is build from AOSP source

Use AIK with the same procedure & replace the file accordingly. After unzip, unpack, delete existing boot.img-dtb & boot.img-zImage at split_img folder, copy dt.img & kernel over & rename it, repack it then it can be use.

kernel => boot.img-zImage

dt.img => boot.img-dtb
[Huawei Ascend XT Questions & Answers] madvane20:
Knew dt was dtb kinda figured after trying with everything compiling kernel that it will only complete kernel image I did notice when I tried to Port from source or build boot image it would make the dt or master dtb image . I wonder why they changed up the partition layout and added 2 partitions to the xt. Well when I get home will try again unless someone figures it out before then
[Huawei Ascend XT Questions & Answers] madvane20:
some good reading if people wanna learn and understand im still reading it http://newandroidbook.com/AIvI-M-RL1.pdf as well as stuff on this site http://newandroidbook.com/Articles/aboot.html
[Huawei Ascend XT Questions & Answers] madvane20:
anyone who is running the rr without wifi willing to test boot images as i try to fix wifi pm me and i will give download links
[Huawei Ascend XT Questions & Answers] madvane20:
[MENTION=4395586]jilebi[/MENTION] is testing for me hope he reports good news
[Huawei Ascend XT Questions & Answers] madvane20:
im here guys i just been busy other stuff going on been working on the projects off and on. now that i have some free time. i started working on it again will update if anything changes. any questions concerns send me a pm ty
[Huawei Ascend XT Questions & Answers] jilebi:
Good to see you back. FYI I have PMed you a few comments/questions for fixing wifi, a few days ago. Let me know on it, when you get a chance.
[Huawei Ascend XT Questions & Answers] madvane20:
thank u for the welcome sorry been a busy day i tried all kinds of stuff just i dunno if i can fix that but i have an idea for lineage 14.1 once i get bbq linux to install and stop with the errors xd. will update when i make any progress. as for rr its same version for those who pmed me i tried all kinds of boot images from using kiwi kernel with it edited but couldnt get it to make wifi work but will post when i make progress. sorry for those if im not posting i have ups and downs in mood and also got real life stuff going on to. so thanks and if anyone needs help with anything just let me know
[Huawei Ascend XT Questions & Answers] jilebi:
[MENTION=7934375]madvane20[/MENTION] Did you get a chance to look into the static WiFi driver that I pm'd you about? Also, have you uploaded your device tree to github , where I can look at it? If not, is there any way fo me to look at the source code to find a fix for the WiFi issue?
[Huawei Ascend XT Questions & Answers] madvane20:
like i pmed u i have tried all kinds of stuff even used stock kernel and modified boot image still no wifi so i mean if you want you can try build a device tree and source that will work. im going for lineage 14.1 now since i have an idea that might work for it have fun. ps i dont have a complete device tree or source so to speak trail and error and building as i go so if u wanna go for 6 i done deleted all that source and device tree info so u will have to build one as well as the kernel
[Huawei Ascend XT Questions & Answers] jilebi:
I am not sure if I understood correctly, but are you saying you have deleted your device tree for h1611? That is too bad :crying: How are you planning to compile lineage 14.1 in that case without a device tree?
[Huawei Ascend XT Questions & Answers] madvane20:
making new one that hopefully the new one will work fully. but like i said go for it make a device tree working kernel wifi etc people will love u. just make ur own device tree modify source etc and im sure if u are a dev u can make a rom
[Huawei Ascend XT Questions & Answers] madvane20:
[MENTION=6547751]xx_iamxanderman_xx[/MENTION] joined my dev team so maybe we can cook something up for u guys
[Huawei Ascend XT Questions & Answers] madvane20:
new hangouts group for anyone who wants to help develop etc

https://hangouts.google.com/group/vdcXmCHMC5xufpMZ2