yashsingh1/xdaforums huggingface dataset:
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Anonda:
Hi, First Big Big thanks for this awesome rom.

My device is GR5 Mini. NMO-L31C636

wipe data, dalvik, cache, system.

flash rom, Reboot.. But not booted.

Then reboot recovery.

Format data. (Now data is automatically f2fs.)

Reboot recovery & change the file system to ext4.

Reboot recovery then reboot system.

Now the device booted.. (Me & My 3 years old son like the boot Animation...... He want's this type of Horse now....)

Now booted. All is very fast & smooth.

Video cam working great. But I have some question :

01. As per op, Busy box pre installed. But with busy box checker " no busy box found", Is it OK? ( need Busy box for Viper4 ? )

02. Pc Suit "allow this device....." authorization is not showing.

So after connecting with computer, Pc suit connected with device, without enable file transfer. I can access contacts, apps, message. But can not access internal / external Sd card.

If I enable file transfer, pc suit disconnected. No Device showing, Restart both Pc & Device several times.

What can I do? Thanks.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] HassanMirza01:
No busybox there ?? Weird.... May be its in rom control to install manually... Didnot search that much... And about 2nd issue, u can do one thing at one time... Try to see if usb debugging option have the option of debugging in charge only mode or like that...
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Wiguna:
Is the nfc,sim,bluetooth, and 60fps video playback working ?? :D:D
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] HassanMirza01:
Yes... We are not OpenKirin.... we are working on different codes... And those bugs are not present in our builds.... :)
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Anonda:
Hi Hassan, Before connect to Pc, usb debugging option changed to MTP. Hisuit not connected.

then charging mode, hi suit connected. But no access on internal or external sd card.

PTP mode, Here I can access only internal Sd card DCIM & Picture folder. I can paste anything here. But sd card not accessible.

Need the "always allow hisuit ......" authorization required.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] HassanMirza01:
hisuite will never work as u dont have hisuite switch in roms other than emui,,,
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] ALYSKY:
How to you repair sim export? When i open modem,id it look like: https://zapodaj.net/853691ec0b8b1.png.html

Can you help me?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Anonda:
I will uninstall hisuit and try again.

1. Adb shows device is offline.

Then what should I do?

Confirming, very very fast ROM, no lagging. Huge customization option.

Viper working great, without flashing Busy box.

2. Did not find manually busybox install option.

Is it required/necessary to flash busybox with twrp?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Rostzwiebel:
Which busybox App you use?
[Huawei Mate 9 Guides, News, & Discussion] Szilard666:
Multiple sources confirm that there is a pc mode ! Cool!
[Huawei Mate 9 Guides, News, & Discussion] Szilard666:
https://www.androidheadlines.com/20...eives-android-oreo-based-emui-8-0-update.html
[Huawei Mate 9 Guides, News, & Discussion] saironjay:
Anyone tested pc mode already?
[Huawei Mate 9 Guides, News, & Discussion] ilbambino:
i will try test this over the weekend!!!
[Huawei Mate 9 Guides, News, & Discussion] deagle-lim:
can anyone confirm this ?
[Huawei Mate 9 Guides, News, & Discussion] fairyland4ever:
This is a rumor, only mate 10 support PC mode. I had upgraded to emui 8 (C00)
[Huawei Mate 9 Guides, News, & Discussion] Jamestdd:
Have you try connect to PC ? I still trying to find the connection cable to try it out.
[Huawei Mate 9 Guides, News, & Discussion] sixhundrednine:
Now that project treble is available on Mate 9, theoretically PC mode should also be available.
[Huawei Mate 9 Guides, News, & Discussion] fairyland4ever:
But they wanna promote mate 10 now : )
[Huawei Mate 9 Guides, News, & Discussion] Thunderbolt.00:
I don't see how Mate 9 could have a desktop mode, you need USB 3.0 to send video over USB, and the Mate 9 only supports 2.0 despite having a USB-C connector.

I bet the rumors came from useless journalists reading the EMUI 8 features list without even thinking about the required hardware when the only phones with that OS were the Mate 10 and 10 Pro, which do have USB 3.0.
[Huawei Mate 9 Guides, News, & Discussion] antz_77:
I think that Mate 9 will not have desktop mode with Oreo, but you are wrong in one thing : it's not necessary usb 3.0 to send video over usb. A lot of phones can do it with usb 2.0. Almost all older Samsung phones, with USB 2.0 cand send video to the TV with a MHL wire ( and many others brands) .
[Huawei Mate 9 Guides, News, & Discussion] revjamescarver:
PC mode

I noticed a reply from one person saying that the mate 9 lacked USB 3 support, however the Kirin 960 SoC DOES support USB 3, also his statement that video over USB required usb 3 is in error as MHL which provides for HDMI audio and video only requires USB 2. All you need for PC mode is a USB c to HDMI adapter and a Bluetooth keyboard/mouse combo. Basically turns it into a Chromebook with apps (some apps work good, others not so much). I wish people would bother to read the specs and do a little research before they post garbage and make themselves look like idiots.

---------- Post added at 05:37 PM ---------- Previous post was at 05:33 PM ----------

Look on Amazon, they have some reasonable priced USB c to HDMI cables, mine was only $14
[Huawei Mate 9 Guides, News, & Discussion] antz_77:
I had tried several usb c to hdmi adapters on my mate 9, but no one works. What wire are you using on your mate 9? Thank you.
[Huawei Mate 9 Guides, News, & Discussion] skeltonh:
I got a bag of 10 off of Wish.com for a few bucks. They work impressively well.

For once the Chinese junk actually worked...
[Huawei Mate 9 Guides, News, & Discussion] antz_77:
Can you say me the ref? I don't know anyone who has a working usb c - hdmi connection on a mate 9.

Enviado desde mi MHA-L29 mediante Tapatalk
[Huawei Mate 9 Guides, News, & Discussion] christapor:
Tested, but...

Hi, guys !

I tested today the desktop mode with Mate 10 pro and Mate 9.

It works with Mate 10 Pro, and with the same connector, doesn't work on Mate 9.

Sorry for those who were waiting for it !

Have a nice day, anyway :)

Chris
[General Questions and Answers] mightymo77:
I'm using Nova Launcher 5.5.1. On the bottom-half right edge of the screen is a line, if you touch it this menu appears. I don't know what this menu is called in Nova Settings. Does anyone know how to completely turn this off? I keep accidentally pressing it.
[General Questions and Answers] cjward23:
Its from Sesame Shortcuts. Go in to settings and turn off screen edge.
[General Questions and Answers] mightymo77:
Thanks!
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] HassanMirza01:
Download Links:

AOKP:

aokp-7.1.2-20180207-hi6250-UNOFFICIAL-HassanMirza01

aokp-7.1.2-20171205-hi6250-UNOFFICIAL-HassanMirza01

All my ROMs are available on my Blog too,,, HassanMirza01.blogspot.com

Elite TWRP Project

Press Thanks and donate if you like it :)
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] HassanMirza01:
CHANGELOG:

2018-02-07 aokp-7.1.2-20180207-hi6250-UNOFFICIAL:

*Updated Security Patch

*Added vulkan Support

*Bluetooth: possibly fix BLE (Bluetooth Low Energy)

*Fix bug which always made performance the effective power profile

*Add config for VOLTE on provision.(Not Tested)

*Fixed inputchannel crash/soft-reboot

*Added BLL Support

*Ril Fixed...

*Updated to December Security Patch

*OTG automatic now...

*Kernel Upstreamed to 4.1.46

*P10 Lite Support Added

*More tweaks and improvements

2017-12-06 aokp-7.1.2-20171205-hi6250-UNOFFICIAL:

*initial release
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] HassanMirza01:
reserve
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] Twisted Prime:
Thanks for all these roms Hassan :)
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] HassanMirza01:
:) Enjoy
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] Win2Mr:
good rom!

thank you

plz update Always :)
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] mustafa_ale:
The other good rom with rich feature's

Thanks hasan keep update
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] HassanMirza01:
New Build of AOKP Released....

CHANGELOG:

2018-02-07 aokp-7.1.2-20180207-hi6250-UNOFFICIAL:

*Updated Security Patch

*Added vulkan Support

*Bluetooth: possibly fix BLE (Bluetooth Low Energy)

*Fix bug which always made performance the effective power profile

*Add config for VOLTE on provision.(Not Tested)

*Fixed inputchannel crash/soft-reboot

*Added BLL Support

*Ril Fixed...

*Updated to December Security Patch

*OTG automatic now...

*Kernel Upstreamed to 4.1.46

*P10 Lite Support Added

*More tweaks and improvements

2017-12-06 aokp-7.1.2-20171205-hi6250-UNOFFICIAL:

*initial release
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] taanh1412:
Can I use the rom on NMO-L31?

Tks.
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] HassanMirza01:
yes you can.... keep backup always...
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] mjjferreira:
Hello,

Will this ROM work in the NEM UL10 chinese version?

Best reagards
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] HassanMirza01:
Yes it should...
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] mustafa_ale:
Force close when open finger print menu
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] HassanMirza01:
use stock vendor..
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] Faez11:
Hassan bhai

I am not able to get sound output
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] HassanMirza01:
i hope you didnot wiped product partition while flashing it... if not, then get me log with sound off...
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] Faez11:
i somehow got sound, but now its the camera which is not functioning.
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] Faez11:
The camera says it can't connect

At first it said media player died
[Honor 5C ROMs, Kernels, Recoveries, & Other Develo] Sestain:
Just restart your phone
[General Questions and Answers] amutavi:
Hi,

I have a G7 LO1 phone.. i have been having an issue with my messaging service,

When someone sends me a text, i receive that same text almost 5 or 6 times.

I have formatted my phone but this problem does not go away.

Can someone please help me out.

My EMUI version is 3.1
[Xiaomi Mi A1 Questions & Answers] fattox:
Hi guys, I really can't figure out where's the problem.

Just got my A1 and I'm having issues with notifications when the phone is in stanby. Infact as soon as I use it all messages show up.

I disabled all the restrictions about camera and battery usage but I'm still having this issue. Any idea? It's getting really annoying.

Thanks in advance
[Xiaomi Mi A1 Questions & Answers] _mysiak_:
Which apps? When the phone is in deep sleep mode, only the most important notifications get through instantly (SMS, hangouts, gmail,..), the less important ones must wait for a periodic wakeup routine. It might help to disable battery optimization for the given app.
[Xiaomi Mi A1 Questions & Answers] fattox:
I did it and disabled the battery optimization too
[Xiaomi Mi A1 Questions & Answers] _jis_:
Settings / Notifications / Gear Icon / On the lock screen / Show all notification content
[Samsung Galaxy Tab S3 Questions & Answers] ruriruri:
Hi, Does anyone know how to enable the "drag and drop" button when using multi window? I love this feature on my Note 10.1.

Thanks
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] HassanMirza01:
Download Links:

AOKP:

aokp-7.1.2-20180207-hi6250-UNOFFICIAL-HassanMirza01

aokp-7.1.2-20171205-hi6250-UNOFFICIAL-HassanMirza01

All my ROMs are available on my Blog too,,, HassanMirza01.blogspot.com

Elite TWRP Project

Press Thanks and donate if you like it :)
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] HassanMirza01:
CHANGELOG:

2018-02-07 aokp-7.1.2-20180207-hi6250-UNOFFICIAL:

*Updated Security Patch

*Added vulkan Support

*Bluetooth: possibly fix BLE (Bluetooth Low Energy)

*Fix bug which always made performance the effective power profile

*Add config for VOLTE on provision.(Not Tested)

*Fixed inputchannel crash/soft-reboot

*Added BLL Support

*Ril Fixed...

*Updated to December Security Patch

*OTG automatic now...

*Kernel Upstreamed to 4.1.46

*P10 Lite Support Added

*More tweaks and improvements

2017-12-06 aokp-7.1.2-20171205-hi6250-UNOFFICIAL:

*initial release
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] ChrisChris123:
Good job, thanks for all these stable roms!
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] killershan:
Any bugs? Does the dual camera supported on this rom?What about volte?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] sandypai:
Thanks a lot for AOKP!!!
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] PalakMi:
Neither of them is working
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] HakaiShimasu:
In my honor 6X camera doesn't work.. How fix this?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] X_Mojahed:
[MENTION=5939689]HassanMirza01[/MENTION] Bro... When I install any rom for you such as Slimrom or omnirom or Los 14.1 the camera app is gone and the torch isn't work

But when I open settings ==> Apps

The camera app is there

What the problem??

I do every things correctly

I have stock vendor and format the data partition to ext4

I need solution

Please help me Bro
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] shashank1320:
Wow.. awesome. My favourite ROM. This and RR, in general, are my favourite and are neck to neck, aokp more stable and equal or more battery but RR leads in terms of customisation. I am not comparing these ROM for honor 6X but in general based on my earlier experience on honor 5X.

Great work guys.. thanks a bunch.

Edit- CrDroid as well to the list.
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] HassanMirza01:
Issue is that ur vendor is conflicting with rom... That issue normally came when vendor is not correctly installed... I will soon post working vendor..
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] X_Mojahed:
This vendor is work or not??

http://www.mediafire.com/file/1uz8wkd8dr88ub1/vendor-honor6x_7.1.2.zip
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] HakaiShimasu:
Are you tested it? It work?
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] jeanluc1701@hotmail.com:
Thanks a lot for the information, it help us

-- Ensure that Stock/unmodified Honor 6X vendor is installed... (if you are on Elite ROM, any version, you are on stock vendor)
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] felix-development:
This is openkirin vendor.... Ensure you are running stock one !!

Gesendet von meinem Honor 6X mit Tapatalk
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] X_Mojahed:
I have the stock vendor.img

Can I flash it by this command

(( dd if=/sdcard/vendor.img

of=/dev/block/bootdevice/by-name/vendor ))??
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] shashank1320:
Better either restore the twrp or use dload for stock and then try this rom. Messing around with files may create more issues than fixing it
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] HassanMirza01:
New Build of AOKP Released....

CHANGELOG:

2018-02-07 aokp-7.1.2-20180207-hi6250-UNOFFICIAL:

*Updated Security Patch

*Added vulkan Support

*Bluetooth: possibly fix BLE (Bluetooth Low Energy)

*Fix bug which always made performance the effective power profile

*Add config for VOLTE on provision.(Not Tested)

*Fixed inputchannel crash/soft-reboot

*Added BLL Support

*Ril Fixed...

*Updated to December Security Patch

*OTG automatic now...

*Kernel Upstreamed to 4.1.46

*P10 Lite Support Added

*More tweaks and improvements

2017-12-06 aokp-7.1.2-20171205-hi6250-UNOFFICIAL:

*initial release
[Honor 6X ROMs, Kernels, Recoveries, & Other Develo] hmsohag:
SIMs are not working

Regarding "2.) What to do if my SIMs are not working ??"

Followed mentioned steps from 1 to 5 but my number "not found". please help...
[Desire General] Kryspus:
Hello,

I haven't found in this big repository which is XDA any good ROM for HTC desire 620 (single sim), but i found it in other place in internet and i decide to share with you guys. This forum is missing special section for phone HTC desire 620 and i have to write it here in general "desire" section and becouse of "To prevent spam, you must have a higher post count in order to make a new thread in this development section.�But feel free to make new thread in the non-development sections like General, Q&A, etc. Thanks for your understanding!" I'm force to write this thread in General Secion. I hope there is not big deal with this and moderator will not delete it rather moving it to right section and let the others desire 620 users take benefits of such good ROM from CM.

The source of the rom is taken from: http://forum.android.com.pl/topic/245169-rom-recovery-cyanogenmod-121/

and i add some my coments to it.

cm-12.1-20160106-UNOFFICIAL-a31ul.zip

GAPPS

ARM -> 5.1 -> "choose"

Personaly recomend "pico" you can always install other google apps from google play store

TWRP

twrp 3.2.0-0 newest version work for me​

Root SuperSU​

Downloand Zip file. Latest(V2.82) version work for me.​

STEPS:

1. Unlock your Bootloader.

Register on site https://www.htcdev.com/bootloader/and simply follow the steps

2. Install TWRP.

https://www.xda-developers.com/how-to-install-twrp/

3. Do backup of your current system via TWRP.

4. Do wipe/factory reset

5. Install ROM.

6. Install gapps.

7. Install SuperSU.

8. Restart phone and enjoy! :highfive:

Bugs foud so far by me, to confirm:

- display percent of battery in battery icon on bar is not working

display percent of battery next to icon or hide percent is work fine.

Edit: Now it's working. I think it's after install Theme for CM12 from Play Store.

- Flash light and Torch dont work when battery is low and there is no information about it.
[Desire General] MalachiKhan:
i am trying to find a rom for the HTC desire 620 right now as i have just got one to keep me going till i get an upgrade in a few months.... Is there any others you know of?
[Desire General] ehmmah:
Problem with CM 12.1 for HTC Desire 620

Please guys I just successfully flashed CM 12.1 on my HTC Desire 620 it worked well at first but after i downloaded some apps from play store, my device just blacked out and started showing CM boot animation for several minutes, then it showed android is starting optimising apps after optimising, I thought the device will boot but it went back to the CM boot animation and that is how it has been doing. I have used TWRP to do a wipe now everything is normal but if I download or install an app the problem starts again. Please I need your help
[Desire General] syndicatz:
I have a htc desire 620g dual sim, whats this custom rom support this phone ?
[Desire General] subinsunil:
Lost IMEI after factory resetting and flashing a ROM (rooted) ! HTC DESIRE 620g dual

Can someone help me with this problem?

I have tried all the methods to repair the IMEI, but none of them worked. Even I tried flashing a new ROM (CM13) and now I cant even enter the ENGINEERING MODE , says that engineeringmode.apk is not installed. But even though I have accessed engineering mode in a different rom, the CDS info option was not highlighted to be clicked on and I couldn't fix it.

Please someone help me with this problem
[Desire General] LaaYen:
Where did you find CM 13
[Desire General] Faith Poovathingal:
Solution for invalid imei on Htc desire 620

If your device is custom rom and showing invalid imei ,then firstly flash stock rom on your htc desire 620 with flash tool in PC. Then note down your imei no.(printed on back of your phone). Root your mobile with kingroot.apk. Install chamlephon on your device. Then type your imei manually on that application.then restart.your imei will be repaired.

If you want to install custom roms then firstly install Mobile uncle tool and select backup and restore IMEI then backup the imei to extsdcard. Then flash your custom rom. And if its showing imei error then root with kingroot.apk and install mobileuncle tool.apk,then select restore imei from extsdcard then reboot.IMEI will surely get soluted. Hit helpfull if you like this thread.
[Desire General] rusiu559:
Hi,GPS is working ?
[Desire General] maslokm:
Try fix from attachment. Found it here: https://xdaforums.com/showpost.php?p=74842530&postcount=464
[Desire General] lukyrys:
is there some newer android version ? lineage port ?
[Desire General] fatikngage2:
can you guys share the link of this rom? It asks for access from this link. but I can't reach the producer
[Desire General] fatikngage2:
Hello, I need the rom file. Can you grant access? Or can you upload it to a different link?

@Kryspus
[Touch Dual, MDA Touch Plus ROM Development] Dagnelinos:
I have make a skin for the Dialer and replace all of the icon on the Dialpad.

But i have a problem with the Button for Video Call, explain:

All the button in DIalpad (0,*,#,1,2,etc..) are graphics button , but is'nt graphics button the String over the button in Video Call mode.

Is possible to edit this strings or replace the colors?

One screenshot of the Dialpad (no problem on this part)

Help me please :D
[Touch Dual, MDA Touch Plus ROM Development] fritsypeij:
Can't help you, but just wanted to say you did a really nice job on the skin! Sidenote: maybe you should overthink the diagonal raster on the buttons.

Bravo :D
[Touch Dual, MDA Touch Plus ROM Development] Dagnelinos:
version 2...

the black version is usable, i post it tomorrow:)
[Touch Dual, MDA Touch Plus ROM Development] shirreer:
Looks tasteful & stylish... mmm! Good work, man. Keep it up!!
[Touch Dual, MDA Touch Plus ROM Development] battax:
By the way...

The cab for that dialer (htc)? I really like that dialer, i´m using the kaiser one, but i think that is the best one!

thanks
[Touch Dual, MDA Touch Plus ROM Development] tom_codon:
:D Look nice my friend.

Can we works together in Niki project v2.0 ???

I want some design make new style in next version.

Contacts me with pm if something interested with u

Best regard..!

Tom_codon
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] matesurano:
Guys plz let me know what this update is about(obviously....if u uave updated). Got a notification yesterday(India.....12 mb size....no specific changelog). Thanks.
[Android Q&A, Help & Troubleshooting] Eatmahbrick:
Hello everyone, I have always resorted to the XDA forum for my smartphone endeavors in overclocking flashing etc.

Recently I bought a Turbo X I 4G (it's from a Greek company) and it came with a Quad core 1 ghz cpu (mt8735p vendor and mt6735 chip).

It also came with a custom recovery (this company is notorious for rebranding Chinese smartphones).

My question is, will any kernel for the mt6735 do for overclock etc.? What about custom roms?

Thank you so much in advance!
[Google Pixel XL Questions & Answers] noidea24:
tried to dirty flash to 8.1, update went perfectly.

went to boot my phone, and immediately got systemUI crashes.

booted back to fastboot to flash the full stock img, and everytime i run "flash-all.sh" i get the error "fastboot to old".

ive updated all android tools on my pc, and redownloaded the factory image.

Now im stuck in fastboot, and any fastboot command i run i get the same message "fastboot to old" any ideas?
[Google Pixel XL Questions & Answers] noidea24:
update****

went looking around the updater script (as i was about to manually flash each file) and i found this bit of code at the beginning of the flash-all.sh that isnt in the flash-all.bat for windows users....

"if ! grep -q dtbo.sig $(which fastboot); then

echo "fastboot too old"

exit 1

fi"

All i knew is that my fastboot was up to date with google repos, so i removed the section of code from the .sh file.

i opened up terminal, ran sudo -s (for safety) and then ran ./flash-all.sh and it flashed through correctly.