yashsingh1/xdaforums huggingface dataset:
[Android] yuweng:
Calling all MediaTek owners out there using BBQLinux...

Couldn't get MediaTek SP Flash Tool Linux version to work on BBQLinux... :o

You can download v5.1520 or v5.1532 or all other version from here though you need to register to view/ download/ see all the files, Thanks to hanuma... :cool:

View attachment 3369870

Extract SP_Flash_Tool_exe_Linux_64Bit_v5.1520.00.100.zip, open it with FileManager -> File -> Open Terminal Here

gpasswd -a [COLOR="Blue"]your user[/COLOR] uucp -> Eg. gpasswd -a [COLOR="Blue"]yuweng[/COLOR] uucp -> reboot or logout then login
chmod +x flash_tool
./flash_tool

Connecting to BROM...
Scanning USB port...
Search usb, timeout set as 300000 ms
add@/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.7

add@/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.7/4-1.7:1.0

add@/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.7/4-1.7:1.1

add@/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.7/4-1.7:1.1/tty/ttyACM0

vid is 0e8d

device vid = 0e8d

pid is 2000

device pid = 2000

com portName is: /dev/ttyACM0

Total wait time = -1434889083.000000
USB port is obtained. path name(/dev/ttyACM0), port name(/dev/ttyACM0)
USB port detected: /dev/ttyACM0
Connect BROM failed: S_UNDEFINED_ERROR
Disconnect!
BROM Exception! ( BROM ERROR : S_UNDEFINED_ERROR (1001)

[HINT]:
)((ConnectBROM,../../../qt_flash_tool/Conn/Connection.cpp,85))

View attachment 3372395

Source 1

Source 2

Source 3 (Wine)

Updates

- 18-July-2015

Finally, it works ! :cool:

sudo pacman -R modemmanager
sudo modprobe cdc_acm

Quick Note

Requires battery to be attached to device on linux while on Windows i have to remove the battery then only download will start...

Source
[Android] kirito9:
I was going to try SP flash tool on bbqlinux, good thing i came to this thread :silly:
[Android] bigrammy:
Great news bro :victory: :victory:

I just installed latest version of BBqLinux "mate" edition from the live CD (USB Pen-drive) :good:

I thought I would just share my experience installing a dual well actually it's a tri boot set-up to save anyone doing the same a little time if they encounter the same problems :o

First was making a bootable usb drive.

Normally I use Yumi as my preferred multi boot installer and this has worked without issue for all distro's except this one and yes I named it BBQLINUX as suggested on the bbq forum. Not sure why it fails as ArchLinux is in the list of supported distro's :eek:

So I did not dwell on this and used the recommend Win32DiskImager which works great but my usb pendrive took a bit of work to reformat back to a working pendrive again :laugh:

For the actual dual boot setup I would recommed reading this HERE which is actually referred to in the ArchLinux wiki :good: :good:

Next up was package updates failing due to keyring :(

So after a lot of dead ends this is what fixed it :victory:

From the mate terminal

Enter

sudo dirmngr </dev/null

then

sudo pacman-key --populate archlinux

then

sudo pacman-key --refresh-keys

then

sudo pacman -Syu

All packages then updated without error :D

BBQLinux is well worth any efforts installing so don't be put off by the odd little glitch as you will not be disappointed ;)

Sorry if any of his was covered in any other posts :o

Massive thanks to [MENTION=3208754]codeworkx[/MENTION] for this great distro and [MENTION=4478781]yuweng[/MENTION] for all his info :highfive:
[Android] bigrammy:
Confirm SPFlashtool Working with BBqLinux

Hi,

Just to confirm SPFlashtool is working with BBqLinux :victory: :victory:

Note: I had to insert my battery after the Red Bar was filled same as I do on windows 7 or the flash/read-back would hang and not complete ;)

Tested with Elephone P6000 mtk6732 64bit .

Total wait time = -1437508551.000000
USB port is obtained. path name(/dev/ttyACM0), port name(/dev/ttyACM0)
USB port detected: /dev/ttyACM0
BROM connected
Downloading & Connecting to DA...
COM port is open. Trying to sync with the target...
DA Connected
executing Readback command...
Readback Succeeded.
Disconnect!
comboTimeout index(3) saved.
./flash_tool 21.76s user 20.31s system 7% cpu 9:31.27 total
bigrammy has logged on pts/1 from :0.0.
[Android] PunkUnity:
I want to know, if custom toolchains work just out of the box. I use SaberMod pretty regularly, and don't feel like dealing with "Arch Issues" on top of the stuff that has to be done just to get SM working properly. Building a new computer soon, and this looks like a great OS to use. I love Manjaro and Bridge Linux. Just wanted to know. Thanks in advance! [MENTION=4478781]yuweng[/MENTION] and [MENTION=3208754]codeworkx[/MENTION]
[Android] yuweng:
i have only tried building kernels using linaro & a quick search found this...

[YOUTUBE]2wZpnKNP8GU[/YOUTUBE]

In fact, i've told codeworkx that he is not doing enough promotion/ marketing on BBQLinux, try it & you'll never want to use any other distro for building Android ever again & its good for everyday normal use too, just as the title says... :cool:

OT : Anyone tried Spotify on BBQLinux.... :good:

yaourt -S spotify
[Android] amirfida:
hey guys i have this problem as mentioned on page number 8, the solution of page number 9 doesn't works for me

Boost.Python error in job "Bootloader"

<class 'subprocess.CalledProcessError'>
Command 'grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=bbqlinux --
force' returned non-zero exit status 1
Traceback:

File "/usr/lib/calamares/modules/bootloader/main.py", line 241, in run
prepare_bootloader (fw_type)

File "/usr/lib/calamares/modules/bootloader/main.py", line 232, in prepare_bootloader
install_grub(efi_directory, fw_type)

File "/usr/lib/calamares/modules/bootloader/main.py", line 182, in install_grub
"--force"])

File "<string>", line 2, in <module>

the solution given on BBQLinux forums for this is

leave the installer, open a terminal, mount all target partitions by hand, chroot into the system and run:

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=bbqlinux --force

but this solution is just going through my head
[Android] yuweng:
i can confirmed UEFI is automatically detected & working perfectly on a single HDD on BBQLinux, everything you ever needed is there while when i need to, my old Win OS now is inside Virtualbox, refer to OP for more info.... :laugh:

On Dual-Boot, its a completely whole different story, thats why there are PC Technician, i don't think many of them even know how to install Dual-Boot Win OS with BBQLinux, try DIY on Virtualbox just to get hold of that experience yourself... :cool:
[Android] amirfida:
i removed my windows installation formatted that partition and then tried to install BBQLinux on that same partition but the error didn't go, so i have installed BBQLinux in Virtual Box for now, there should be some permanent solution to this problem because other Linux OS like Ubuntu or Linux Mint never does that.
[Android] Androidwizzard:
As my old PC (dual boot win7 + mint) has too little space I bought a new one - win10 + :confused:

BBQ_Linux looks really interesting so I am just wondering about the sparse resonance ...

AOSP/CM supported - so far so good - any1 can report about Sammy Touchwiz devices and Kitchens provided here on XDA?

Thanks in advance :highfive:
[Android] codeworkx:
apktool, smali, baksmali and so on can be installed from AUR.
[Android] yuweng:
Using Anycast Dongle on BBQLinux as simple as plug & play

Got the cheapest Anycast Dongle & got it working as simple as pnp.... :cool: Now i can stream movies from my bedroom PC to the living room old AV System which is about 15 feet away wirelessly, working flawlessly without any lag too... :good:

Download UMS, extract it to anywhere, execute or just double-click UMS.sh & let it Run in Terminal. First run & it will ask a few simple questions, just answer accordingly. After that, you'll see the UMS icon at the bottom panel right hand side, next to the clock( i'm using BBQLinux cinnamon ), right-click it & select Main Panel & you see the Anycast Dongle on it. ( make sure it is connected to your router first )

View attachment 3609218

Click at the Anycast photo & the below Window will pop-up

Click at the open folder & browse to your video file & select it

Click at the Play Button to play & click at it again to stop it

Enjoy movies on your big screen AV System wirelessly without messy setup streaming from your PC... :cowboy:

Updates

Whoops, should've check at aur first... :o

yaourt -S [URL="https://aur.archlinux.org/packages/ums/"]ums[/URL]
[Android] bigrammy:
Wow you have time to watch movies now :D

Thanks for all the info bro. :good:
[Android] yuweng:
Intel X3 is even worse than MTK, ZERO source leak but now i have all the time to watch movies directly streaming from my BBQLinux Build Box... :laugh:
[Android] The Sickness:
Nvm.....I found a answer
[Android] oF2pks:
Live

For people who want to give a try; i confirmed that bbqlinux live compatible 100% with multibootusb.

Multibootusb.org is working both under win7/8/10 and linux deb/arch on any fat32 usb key( ie otg compatible).

So for newbies (like me) you can simultaneously boot bbqlinux AND : boot-repair-disk-64bit(lubuntu/persistent) + win10x64rescueISO + tails…

On live, remember to set your keyboard layout with GUI or: setxkbmap -layout es (es for spain…) before typing original root password: bbqlinux.

Even if ubuntu is the only ‘official’ supported for aosp, I quickly found that bbqlinux is a 2xmuch better all-in-one and independent (since win and ubuntu are 2017mixing!?! together) solution. ALSO the arch/manjaro forums give a more learning and understanding long term aosp support.

If like me, you make your decision to give up with ‘official’ ubuntu, and install bbqlinux on your winPC, it could be safe to check your bios update, win7/8/10x64rescueISO and make a backup with boot-repair-disk-64bit (..advanced options).
[Android] Crayvolt:
wow I like to try this.. im suffering from poor internet need to download program tools for android developing project .

But this is bundled what I need to used..... downloading now 4hrs left ... hoho
[Android] developweb:
Even if you don't use the tools, it's set up as a good alternative os to have around.
[Android] oF2pks:
Perl 5.24 is out

btw: after "distro-upgrade", if you think un@defined "contrast-bubble-viewing" toggle on/off twice : Menu/Accessibility/HighContrast.
[Android] oF2pks:
After 6-months of kernel upgrades, I noticed 1/3 slow compilation times; then everything best after running these lines :

pacman -Scc

pacman-optimize

mkinitcpio -p linux

[MENTION=3208754]codeworkx[/MENTION] can you give some info ?

btw: is it possible that make_3.81 gives fastest time compilation?

Thx for help (on this n°1 android Linux...)
[Android] codeworkx:
The speed decrease comes from make > 3.82.

I'm also using 3.81.
[Android] aaron74:
Downloading now, gonna give this a try.

Ive been using Ubuntu-Mate, and seen this awhile back. Want to step up my linux skills with Arch. Gonna try my first build from source as soon as i get some time. Wish me Luck!

Thanks [MENTION=4478781]yuweng[/MENTION] for guide.

Thanks [MENTION=3208754]codeworkx[/MENTION] for Distro.
[Android] NexusPenguin:
Hi aaron,

Just to let you know...

It is indeed possible to build out of the box with the latest version of Arch that is available for download.

Here are 2 or 3 things that might help you with that :

- Once installed, open terminal and configure "git" with your user name and e-mail ;

- Also pays a visit to the "Applications" menu, and then in that into the "System Tools" where you will find the BBQ Java switcher... choose Java 8 in case you're building for Nougat ;

- As a third thing, DO NOT UPDATE anything... I found out myself to be unable to build once I did... So I would avise to stay away from the "Package updater".

Once done, just download your source and brunch or mka whatever you'd like. It should build :)

Good luck.

---------- Post added at 08:30 PM ---------- Previous post was at 08:26 PM ----------

Hi,

My BBQLinux has integrated "make 4.2.1"... It uses 100% of resources most of the time. So don't know if a downgrade would help now...

Difference between 3.8.1 and 3.8.2 is simple : one is made for 64-bit distros, the other one for 32-bit distros. So if you're running a 32-bit (x86) computer, the 3.8.2 is made for you ; in case of an x64 computer, you should use 3.8.1.

Regards.
[Android] oF2pks:
ttf dejavu 237-will-require-forced-upgrade

(I believed arch was update-always n°1 advantage (over all other distro)... )

BTW https://www.archlinux.org/news/ttf-dejavu-237-will-require-forced-upgrade/
[Android] skoopster:
Hi, I need some help, I can't I stall BBQ on a 100GB partition, alongside windows and Ubuntu, it hangs a couple of lines past ADB starting server, and oddly I can't run ADB start-server on Ubuntu that's why I wanted to install BBQ, any help would be much apreciated l been going at it for the longest time. Thanks

By the way in VBox in windows runs ok
[Android] oF2pks:
All Night Long (redshift extended)

(BBQLinux/Cinnamon is definitively the best I ever seen in all computing; ) I didn't find included(?) night red-vision but found perfect redshift (+ python-xdg for icon support):

$ redshift -b 0.6 -O 2400 -g 0.8 (and Xmas already on screen...)

[MENTION=3208754]codeworkx[/MENTION] , let us know if there's a better way ?

BTW with latest Cinnamon Readline7/upgrade, ergonomics are all right in the target... (1000xThx)
[Android] oF2pks:
NEW build 26Nov2016

Latest

Cinnamon/Linux4.8

: https://sourceforge.net/projects/bbqlinux/files/

In case you believe you changed too much things, check attached files for original pacman -Qe 26-Nov-2016.

++

exfat-utils 1.2.4-1

maven 3.3.9-1

ndisc6 1.0.3-1

--

ttf-oxygen 1:5.4.3-1

Check friendly tricks: 10 things to do after fresh install
[Android] Yeshas Prabhakar:
[MENTION=4478781]yuweng[/MENTION] sir tried BBQ linux very useful and helpful distro and in no time started compiling ROM but I faced below issue pls any one help me ..I used cm 12.1 no repo compressed source its saying cannot find product config make file...pls any one help me...
[Android] yuweng:
This thread is about setting up & using BBQLinux Distro only, there are tons of ROM building guides here on XDA, basically if your device has Official CM then simply breakfast [codename], git clone the vendor tree which is typically at TheMuppets then brunch [codename] & it'll start building, you won't get those build error, more info here & here, contact/ pm/ email those guys that has already build them, hopefully they'll help you... :fingers-crossed: For UnOfficial CM, the easiest is to use manifest, it'll need your device tree, kernel source & vendor tree then only it'll build, Good Luck... :cowboy:

Updates

Building Android N & you will encounter build error about not able to find java-8-openjdk-amd64 & the solution is here... :good:
[Android] oF2pks:
CyanogenMod : the 4th dim

When building cm11/12/13 you must oversee 4 different stowage to get ease with CMbuild/tools : https://web.archive.org/web/20161224193728/https://wiki.cyanogenmod.org/w/Envsetup_help

4=[linux]+[CMrom/repo]+[CMrom/out]+[ccache]

The odd thing with CM is that you better ease with a CMrom/repo located on (DISKid/home~)

/android/system

(=> 1 partition for each different CM build like 11/12/13)

Thx to BBQlinux you can dispatch the 4 stowage on different partition/disk: ext4/3 ntfs (fat32...); but always better to CMrom/repo in path /android/system.

Nota : using usb-SSD disk can lead necessary sudo -s to /android/system for build&repo (?)

Today on disk : BBQlinux~25Gb ; CM12rom/repo=50Gb ; CM12rom/out=22Gb

( cm13rom/repo~55Gb & cm13rom/out=26Gb; aosp7rom/repo~60Gb.)

So basically, for an up to date BBQlinux, on disk, you should consider 1 partition=120/150Gb for the BBQlinux + 1 CMrepo/build&out ,

without

the ccache.

Always refer to https://web.archive.org/web/20161121154456/http://wiki.cyanogenmod.org/w/Doc:_porting_intro

On CM, building first the kernel/mka will save your time (optional: export OUT_DIR_COMMON_BASE=) :

cd ~/android/system

export LANG=C

source build/envsetup.sh

breakfast "_YOURdeviceID_"

mka bootimage 2>&1 | tee ttboot.txt

make -j8 2>&1 | tee cm12.txt

make otapackage -j8

(or brunch = breakfast+make+mka+otapackage for official device/tree) Cheers...

hit thanks_button if you think this specific post can be useful to others ; otherwise fire a reply to correct any wrong statement... (as always..)
[Android] varuniyer:
I was wondering if it was possible to use just a window manager like OpenBox or if it is only compatible with bbq-"DE Name" packages. I would prefer this simply because DE's like Cinnamon and KDE, while looking nice, do take up a lot more memory than OpenBox.
[Android] varuniyer:
Oh, I just realized I could add the BBQLinux repo to a normal Arch Installation. What Server URL should I put in /etc/pacman.conf?
[Android] varuniyer:
Lol nvrmind, just found the link in the G+: packages.bbqlinux.org/$arch. Sorry for not looking there before asking.
[Android] oF2pks:
Linux 4.9.6 & Cinnamon 3.2.8

Download BBQLinux now and get an Arch based Linux 4.9.6 & Cinnamon 3.2.8 before tomorrow !

You don't have a WHY! laptop ? Find you a Corsair's Flash Voyager GTX series 256Gb for 100$ and format

1-32Gb fat to otg your android device

2-64Gb ntfs to backup big window files

3-use rest to install BBQLinux + repo* + /out

don't forget the grub on usbGTX only !

Populate* first the ccache on any plugged winPC (ntfs windows hard disk), and then your favourite android rom will build* in less than 2 hrs.

(* sudo -s) can be required depending your PC' bios

Check friendly tricks: 10 things to do after fresh install
[Android] zyxrhythm:
Interesting...

Was looking for a linux to Install and use. The distro I currently have does not seem to work well with kernel compiling. Hope this arch will do magic. I need to recompile my Samsung Galaxy j200GU kernel. Ill give this a go and see how it goes.
[Android] oF2pks:
Ready for Ryzen : linux 4.10

(It's been a long time I added Package_Updater to Startup_App) and now Linux 4.10.1 is out for BBQLinux; hope some will report compilation times on Ryzen: https://www.phoronix.com/scan.php?page=news_item&px=AMD-Ryzen-Newer-Kernel
[Android] oF2pks:
EDIT everything 4.10.13 back OK (after Arch: gtk3 & gtk-update-icon-cache new)

I have no idea why, but today's update broke ctrl-c&ctrl-v and paste via middle/tap/touchpad between geany firefox terminal...

(https://archive.archlinux.org/packages/)
[Android] oF2pks:
Linux Kernel 4.11.2 & Live-Image(4.10.13)

You can now upgrade BBQLinux to latest kernel 4.11.2

Download latest Live-Image "bbqlinux-2017.05.14-x86_64-cinnamon.iso" Cinnamon 3.2.8 Linux Kernel 4.10.13 : https://sourceforge.net/projects/bbqlinux/files/x86_64/

Check friendly tricks: 10 things to do after fresh install
[Android] codeworkx:
15 minutes for full lineageos 14.1 for arm64 target (ccache, ssd, 32gb ddr4-3200, ryzen 1700@3950mhz)
[Android] bigrammy:
Show off :laugh:

I really do need to upgrade my hardware though. :(
[Android] yuweng:
Talking about showing off, just upgraded my 4 years old desktop PC build box to an overclocked Xeon, built cm-14.1 in just 47 minutes, for only USD 74.63...
[Android] bigrammy:
Well my Laptop currently falls short of the recommend minimum for building Android 7.x.x so would probably take about 4 days to complete :laugh:

I have dropped and smashed 2 phones and bricked yet another Amazon Fire Phone in the last month alone so I keep blowing my budget on phones :rolleyes:

Currently I am using my last surviving Amazon Fire Phone (#3) but I have just purchased a S6 Edge from a guy at work so I will see how long that one last me :D

I could live with your USD 74.63 upgrade costs regardless of phone bricks and breakages :good:

:highfive:
[Android] yuweng:
WoW, that sure is alot of break devices in a month... :laugh: There is actually a better upgrade option, CPU with mobo for only USD 183.92, you'll get an E5-2650 with 8 Core, 16 threads Xeon CPU, i think that can match RD codeworkx built time... :cowboy:

Look for keyword X79 combo at aliexpress, only found that out after i paid for the Xeon, i should've got this instead, with this option you can still use back your existing DDR3 & graphic card but double or triple the speed... :cool: Tons of review in Russian !

Updates

DIY Dual Xeon Build Server
[Android] SevenMaxs:
Hi Bro!

You're right, in Russia it's really very popular. :D

I also use Xeon E5-2683v3 on my PC.
[Android] yuweng:
128GB RAM :eek: Indeed a Build Server you got there my friend... :laugh: :good: i believe subsequent build with ccache should be less than half an hour, Thanks for sharing... :cool: :good:
[Android] TimSchumi:
I think that 128 GB thing is a SSD

EDIT: No wait, it's RAM
[Android] mahrukhsa2:
hey guys.. have installed bbq linx.. and im new to the linux world.. the problem is this that the right button of my laptop trackpad is behaving like my left button.. soo plz tell me a solution.
[Android] oF2pks:
Linux 4.12 / Cinnamon 3.4.4

Two years ago , was convinced that BackBox (rolling release) was best Ubuntu based stable distro, for android dvlpt.

Thankfully I gave a try to BBQLinux, and today :

-Linux 4.12.3-1 https://kernelnewbies.org/Linux_4.12#head-6a5ec0fd985d1a6e6383291543cff6141a194f07

-Cinnamon 3.4.4

-Arch/AUR support...

Everything in the box: from all well-known android tools to specifics like vbindiff .

Try to disable [2&3-finger click emulation] in Touchpad/SystemSettings
[Android] oF2pks:
Linux 4.13.3

(BBQ)Linux 4.13.3 is up https://kernelnewbies.org/Linux_4.13

Edit : by default /tmp = RAM/2

[MENTION=3208754]codeworkx[/MENTION] , just let you know that old 2016/11_Cinnamon https://sourceforge.net/projects/bbqlinux/files/x86_64/ breaks when all updates are triggered.

Also, while building latest Lineage 14, final process 'ota-zip' creation failed on my pc, due to insufficient 4.1 Gb /tmp ; temporarily solved with

sudo umount -l /tmp

sudo mount --bind /run/media/bbqlinux/"somewhere"/tmp /tmp

(optionally: relaunch final /bin/bash -c "(echo "./build/tools/releasetools/ota_from_target_files" > /run/media/.... ...lineage_deviceID-ota-______zip )"

Thanks to that, I realized that using a fast independent disk for /tmp (like: android/system & android/system/out & ccache) can seriously speed-up build duration: so best is 5 different disks (bbqlinux included).

Nota : /tmp (4.1Gb) overload can also happens while installing ndk15/16 via SDK.
[Android] codeworkx:
Are u running the live media?
[Android] oF2pks:
No, I did install BBQlinux (from iso burned on dvd) on my second hardrive ext4 /45GB partition & grub (with Win10 active on primary drive).

I got 2 resultant users : [BBQLinux Live User](?) and the one I declared under Calamares (finish OK); both have 4.1Gb /tmp; maybe my installation is not complete or 45Gb is not enough ?
[Android] codeworkx:
The live user normally gets removed during installation. So something went wrong.

^^ I've no problem with it because my system got 32GB of DDR4 memory. For building android you should have at least 16 GB of RAM, even when not using a VM.

https://source.android.com/source/requirements
[Android] oF2pks:
That 's why I tried older 2016/11, I remembered live user was removed, also Calamares was launch with sudo: it works fine but updating process did broke, and I didn't check if it was /tmp overload.

Indeed I have 8Gb ram +i73610Qm : 1hr for Lineage13 and 1hr50mn for 14

For other "poor" users I used few tricks :

/core/config.mk --> APICHECK_COMMAND := $(APICHECK) -

JXmx5500m

-J"classpath $(APICHECK_CLASSPATH)"

ccache on ntfs Win10 primary harddrive & bbqlinux on 2nd hardrive ext4

Lineage repo on external usb3 ssd

To be honest BBQlinux is best os I ever tried, and I'm now an Arch adept (used to be BackBox fan)

BTW, is this (joke) for real ###### To build using your GPU (400x faster) do: export USE_GPU_FOR_BUILDS=true ?

I wanted to buy new AMD Ryzen PC , but Nvidia would be better for compilation ?!
[Android] codeworkx:
Joke. A gpu would be damn slow for that case.

Ryzen R7 is a good choice.

Oreo build takes 10 mins for me with 32gb ram, ssd and ccache on R7 1700 @ 3.95 GHz