yashsingh1/xdaforums huggingface dataset:
[BQ Aquaris X Pro Guides, News, & Discussion] mondjunge:
Hey,

I also used cyanogen some years. The core of lineage stays true to its privacy and security origins, but the ability to customize everything is lacking since cyanogen died. The current state on 15.1 for the X pro seems to be stable, but substratum does not work, Font Fix gave me a black screen problem without changing fonts. The build in dark theme works, but you can't apply a custom highlight color. I also found the setting for vibration intensity to be missing from the menu. Therefor it vibrates quite loud on touch, if you don't disable.

Nevertheless, it works for me.

Greetings.
[BQ Aquaris X Pro Guides, News, & Discussion] crucco37:
5 Update to newest firmware

Hi nuv,

can you specify point 5 a little bit more to me.

You've written:

»With the modified batch file ready to start, we connect our phone (phone is switched on and in system) and run the batch.«

Is the modified batch file saved to the folder where the extracted BQ firmware resides?

Is the phone up and running normal and not in fastboot or recovery mode? On the computer are you in a terminal and the phone connection

is via Android Debug Bridge (adb)? Where is the command for the terminal at this point? Do you paste the whole text of the batch-file into terminal?

thanks a lot in advance

crucco37
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hi [MENTION=9615172]crucco37[/MENTION],

yes, you should place it in the same directory as the original 8953_fastboot_all_images.bat. Alternatively, you can just edit 8953_fastboot_all_images.bat and comment out or delete the 3 lines (userdata.img, recovery.img and the reboot).

The batch from bq expects the phone to be running normally in system and triggers a reboot to fastboot mode via adb and then proceeds with fastboot commands. So... short answer: yes, it's normally running in system.

You'll need to open a command prompt (cmd / "Dos window") and change directory to the path where you extracted the zip contents.

You will need adb and fastboot (BQ included them in firmware 2.3.0, so that should be no problem). Make sure to have the drivers installed.

You can test that manually:

- with the phone in system (normally running) run the command 'adb devices' .If you get a popup on the phone, tick the checkbox and allow the connunication from the PC.

- for fastboot boot into fastboot mode (e.g. with 'adb reboot bootloader' from the step before) and then check the fastboot functionality with 'fastboot devices'.

In both cases, you should see your device being listed in the command prompt. If any of the commands fail, you should check the windows device manager, if there are any drivers missing.

No. You type the file name of the batch file in the command prompt (or double click it) (The modified one, of course).

You're welcome, hope it works out for you.
[BQ Aquaris X Pro Guides, News, & Discussion] crucco37:
Re: 5 Update to newest firmware

Hello again nuv,

and more thanks for your fast answer. I'm more or less sure that I understood how it works at that point with the »2.3.0_20181008-1123-bardockpro_bq-user-1082-Fastboot-FW« install and the modified batch file.

I will have to do that on a Macintosh. My ADB-Version is: »Android Debug Bridge version 1.0.39 Version 0.0.1-4500957[<--fastboot]«. So I have to modify the shellscript [.sh] instead of the batch-script [.bat].

My phone came today and I never used it. The status of the phone (Aquaris X Pro 4/64GB) is: Build number: 1.6.0-20180130_1827; Android Recovery bq/bardock-pro/bardock-pro 7.1.1/NMF26F/1517333293

Why is it important to install TWRP and Magisk (to the newest available versions) before updating from Android 7 to Android 8? Will it not be a lot easier to install the Android 8 update at first without modifying

anything? The phone was never used. So there's nothing individual to lose. After that I have install only TWRP through ADB? And then I can put the Magisk.zip on the phone at root level and install with TWRP?

Tell me if I'm wrong with that.

Regards

crucco37
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
You are right, ou don't need to modify the script as you do not need to keep any personal data :cool:.

In your case (new phone, no personal data yet, ...) I would follow one of these two possible ways:

variant 1) boot the phone, log into your WLAN (and skip all other setup steps like google account) and let the phone search for OTA updates. Install the system update. Continue with the tutorial (Bootloader unlock, twrp install, magisk install)

variant 2) boot the phone, skip all setup steps, enable usb debugging and allow bootloader unlocking in dev options.

unlock the bootloader (phone content will be erased)

flash the newest firmware from original bq firmware zip with the original unmodified .bat

install twrp+magisk

personally, i would use variant 2, because i like to control every step and i don't know if the OTA leaves any "traces"/data behind etc. By flashing the firmware from the bq firmware zip you'll get a new, clean system.

Regarding the tool versions:

should be fine.

as reference, here are the versions from BQs zip:

2.3.0_20181008-1123-bardockpro_bq-user-1082-Fastboot-FW>adb version
Android Debug Bridge version 1.0.39
Revision 3db08f2c6889-android

2.3.0_20181008-1123-bardockpro_bq-user-1082-Fastboot-FW>fastboot --version
fastboot version 3db08f2c6889-android
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
update notification

Updated and expanded post #2 for the use of adbockers becausse of new handling in Magisk v18.0
[BQ Aquaris X Pro Guides, News, & Discussion] crucco37:
Hello nuv,

it worked a bit bumpy but I was successful. I tried the Android 8 Update first with the BQ tool and Windows 10 in VMWare emulation on my Mac. That didn't work. The other way around worked a lot better. My first mistake was that I thought, you don't need an unlocked bootloader for it. With the unlocked bootloader it was successful.

I asked BQ-Support directly if I loose the warranty and they told that it is not the case. The warranty isn't void. That should very interesting for all you folks out there!

Regards

crucco37
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hi [MENTION=9615172]crucco37[/MENTION]

Great, thanks for giving feedback. :good:

As far as I know, the android update can only be applied with a locked bootloader using OTA updates. The methods via fastboot (including the BQ firmware flashtool) need the bootloader to be unlocked.

One disadvantage of the BQ firmware flashtool (at least for folks like us) may be, that it re-locks the bootloader after flashing in a way that it can only be unlocked with a device specific JSON file containing an unlock code matched to you device serial number (I may be wrong with that). At least, the tool is capable of unlocking devices which can't be unlocked otherwise ;) (but you need the file from BQ support)

edit: added previously forgotten text in blue
[BQ Aquaris X Pro Guides, News, & Discussion] crucco37:
BQ Firmware: 2.5.0 (Android Oreo 8.1.0)

A new Firmware is out from BQ [2.5.0_20181227-1108-bardockpro_bq-user-1422-Fastboot-FW]. Do we have to wait for Updates of TWRP and Magisk?

Thanks in advance for quick reply.

crucco37
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Normally it should work.

Have seen it myself a couple of hours ago, but I have to work on weekdays ;) so I wasn't able to test it myself.

Hope to update today or tomorrow...

edit:
[MENTION=9615172]crucco37[/MENTION]:

- modified .bat

( rem fastboot flash userdata userdata.img

rem fastboot flash recovery recovery.img )

- 8953_fastboot_all_images_nuv_2.5.0.bat

- adb sideload Magisk-v18.0_stable.zip

- firmware 2.5.0_20181227-1108

- SafetyNet check OK
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Updated latest working versions section in post #2.

Used the usual method from post #1, section '5 Update to newest firmware'.

In short:

- modified .bat

( rem fastboot flash userdata userdata.img

rem fastboot flash recovery recovery.img )

- 8953_fastboot_all_images_nuv_2.5.0.bat

- adb sideload Magisk-v18.0_stable.zip
[BQ Aquaris X Pro Guides, News, & Discussion] crucco37:
successful update to 2.5.0

Hi nuv,

did it too.

Had a problem after running the shell script on my mac. The reboot didn't work like expected. I came back to the boot screen shown at point [2 Boot modes] from the tutorial so I suspected TWRP was gone. Flashed TWRP again and had no luck with adb sideload because pushing the button on the phones screen gave me not enough time to click ok in the computers shell window to start the sideload there.

It would be interesting if you explain that sideload part a little bit more precise for us dummies out here.

After that TWRP seemed gone a second time (or I could not reboot there because of the stock boot screen). So I put the Magisk.zip on my sdcard, flashed TWRP another time, went to install Magisk.zip directly from the sdcard. That worked fine.

Maybe what I've done wrong was uninstall Magisk first hand like mentioned in [9.6 Uninstall Magisk+TWRP and get back to stock]. Magisk 18 won't uninstall on its own. You have to do it the normal way like all other unwanted apps.

In another post elsewhere I read to delete also the [fastboot flash boot boot.img] part in the bash/shell script. Maybe that is the solution to reboot back to TWRP and not to the stock boot screen.

I am a bit confused in the end.

Also one of my 43 installed non stock apps is gone and I still couldn't figure out which one it was. But that's not very important.

In the end all seems fine. The update status changed from september to november and no new update messages came up.

cheers

crucco37
[BQ Aquaris X Pro Guides, News, & Discussion] crucco37:
BQ Firmware 2.5.1 for BQ Aquaris X Pro

Hello nuv,

next firmware update was posted by BQ. Still no Android 9.

You still didn't answer my last question.

How can I be sure after updating with shellscript over adb and manual reboot to get right away into TWRP for reinstalling Magisk?

cheers

_cr37
[BQ Aquaris X Pro Guides, News, & Discussion] crucco37:
Hi nuv,

my reboot brought me to that screen "picture_stock1.3.5.recovery.jpg". :crying:

Is the boot.img only needed for booting into the system or is it also needed for booting into TWRP? To me that seems also a boot process. :confused:

(If it is like this it would explain why I ended up here "picture_stock1.3.5.recovery.jpg" instead of here "picture_stock1.3.5_UnlockBoot". I still think I've done all according to your explanations.)

[I don't know how to paste these image links here and I really don't want to mess around with all that quoting and html stuff. sorry].:(

Next time I will not uninstall Magisk. But I will reinstall it from my sdcard because I still can't understand that sideload thing. :cowboy:

How does TWRP know where the Magisk file resides on my computer? I thought I have to push it to the phone with the right shell command on my computer

after giving TWRP the right sideload command over the phone's screen?! :rolleyes:

After being panicked the last time the next update will hopefully easier for me.

Thanks a lot and have a real good time

_cr37:good:
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Updated latest working versions section in post #2.

Used the direct install method in the Magisk Manager App.
[BQ Aquaris X Pro Guides, News, & Discussion] DragonautMk:
Hi, I'm using a custom rom, is not there a way to get back to the rom stock by installing a simple zip?
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hi, as far as I know, there are no installable/flashable zips with the stock rom (Was thinking about creating one, but that mini-project got rejected because of time..). I don't know if it would be possible to download the official OTA zip somehow and use that.

You can use the stock rom zip from bq, of course. But you'll need a pc and flash via usb cable connection (fastboot mode). If you got questions regarding that, I think I can help.

edit: If you want to take a look regarding the creation of a flashable zip, maybe this thread helps: https://xdaforums.com/android/software-hacking/tool-6-feb-android-flashable-zip-t3551772
[BQ Aquaris X Pro Guides, News, & Discussion] DragonautMk:
I do not have any programming knowledge ... If I flash the stock ROM I also lose the recovery, right?
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Hi.

Theoretically, you can remove the line from the flash script which writes the recovery area and keep the recovery, but I never ran this configuration successfully (Stock rom and only custom recovery. I always installed Magisk as well).

I mean this line from the file 8953_fastboot_all_images.bat/.sh:

rem fastboot flash recovery recovery.img

When I started with all of this, I got to the point where the phone complained 'device corrupt' after letting TWRP apply the system modifications, see Post #1, Section '6.1 Troubleshooting'.

I assume the stock bootloader will check the recovery, system or itself (boot) for modifications and stop working. Magisk prevents that somehow - but I don't understand the details of the android system partitions/images/... in full detail.

I assume you want to keep the recovery for backup reasons?

Workaround: Keep the stock recovery on the phone and before doing a backup, temporarily boot the recovery without flashing it.

Step 1: boot into fastboot mode

adb reboot bootloader

or switch on the phone with volume_down+power

Step 2: use command

fastboot boot YOURRECOVERY.IMG

The phone should boot the recovery, you can backup your data and after next reboot, the recovery is gone (back to stock recovery).

edit:

from command 'fastboot help':

[...]
boot image:
boot KERNEL [RAMDISK [SECOND]]
Download and boot kernel from RAM.
[...]
[BQ Aquaris X Pro Guides, News, & Discussion] DragonautMk:
And if I wanted to restore the backup made with twrp from the stock ROM? It tells me that the partition is the wrong format.
[BQ Aquaris X Pro Guides, News, & Discussion] nuv:
Uh. That doesn't sound good. Hm, never had a custom rom on my aquaris, so I can only guess..

Do you find any information regarding partitions and/or going back to stock on the custom roms site?

Idea:

a) create backup of your phones state and copy it somewhere else

b) Take the stock BQ firmware version which matches your backups version from here, flash it

c) boot twrp via 'fastboot boot twrp.img'

d) try to restore your stock firmware backup

additional thought: maybe you need the same twrp version for the restore you used before when creating the backup..? maybe try to use that twrp version in the Idea above.
[BQ Aquaris X Pro Guides, News, & Discussion] DragonautMk:
I managed to install the backup, what happens if I upgrade the device with twrp and magisk i to the new 2.5.1 from the system gui?
[General Questions and Answers] tulinski:
Hello,

I'm new here. I am a professional Java dev, but I have no experience with development on Android.

I'd like to implement an app which allows for saving bookmarks of youtube videos on a mobile device. By a bookmark I mean saving a particular moment of a video being watched (like a youtube link with t=123s param). My idea is to create an overlay which interacts with a google native youtube app.

My question is, what types of information can I get from the overlaid app? I'd like to extract somehow the link to the exact moment of the video. Do apps allow to interact with them in this way? I suspect that there is no "easy" way (like some API call) to get the link from the youtube app, but maybe I could perform couple of clicks (in behalf of the user) to get a pure link (without the time param) and then extract the exact moment of the video by analysing the progress bar of the video being watched. Does it make sense to you?

What are your suggestions to implement this kind of functionality? I'd like to make it as easy as possible from the perspective of the user who watches youtube videos using the native google youtube app.

Best,

Tomek
[Galaxy Note 4 Q&A, Help & Troubleshooting] tb_tom89:
Hey all, been a while since I've been on - longest I've ever had a stock phone for ;). Hoping somebody can offer some advice as I'm stumped...

NOTE: If possible, I'm trying to avoid a factory reset!

Last night my stock UK Note 4 (SM-N910F) died (possibly during an OTA update but I wasn't using the phone and have been told it didn't so not sure) and when turned back on would just sit at the pulsing Samsung logo with no apparent restarting or anything. Clearing the cache didn't make a difference.

Recovery reported my ROM to be N910FXXS1DQE9 (region BTU). After waiting ages for the download, I first tried BTU-N910FXXU1BOC5 which produced the exact same problem with a different Samsung animation. I then tried BTU-N910FXXU1DQHC which seemed to sort of work - it would now boot but gave me a "Unfortunately, System UI has stopped" error with a black screen. I then flashed BTU-N910FXXU1DQH3 which is what I have running currently but this does the same thing. I did also try wiping cache in combination with the above (is this actually needed after flashing a new ROM?). I have also tried safemode - would let me open the power menu but otherwise did exactly the same thing.

I'm currently downloading the original ROM that wouldn't boot (N910FXXS1DQE9) from samsung-firmware but it's taking ages at ~50KBps. What are the chances of this working compared with the others, I assume probably not much? If likely, I'll pay up for an account and a quick download.

I've also tried flashing TWRP but I have reactivation lock on - does anybody know a way to disable / bypass this without access to the phone (research tells me probably not but there are a lot of smarter people than me here that I hope could tell me otherwise ;)). I can get into stock recovery but that only gives me ADB in sideload mode and I can also enter download mode fine obviously. Does anyone have any suggestions on recovering data from the phone before I factory reset?

Simply put, have I lost everything on the phone or is there a way I can retrieve some of it?

Also, I do have a load of server space I can offer with decent bandwidth - I have those ROM images above so I can offer these for download at a decent speed without a cost if anybody here on XDA needs - just send me a PM for a link :)
[Samsung Galaxy J7 Accessories] dedeapit:
Please post recommendation with picture. thanks.
[Samsung Galaxy J7 Accessories] Ahmed9193:
no
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Hyunwoo AHN:
Donation

[IMG="paypal"]https://bitbucket.org/dqstyle75/work2016/downloads/donate-paypal-2.png[/IMG]

How do enable donation-only add-on features?

I only receive donations from your heart.

Do not donate if you intend to unlock synapses.

If you are unable to make a donation of 5.0 USD or more due to economic reasons, please do not donate and request me to unlock Synapse. Then you can use all the functions of synapse without donation.

How to request synapse unlock

Please tell dqstyle@gmail.com the following:

- A matter that is difficult for you to donate(eg economically difficult countries, students without money or credit card).

- The first five letters or screenshots of the KeyCode on the Synapse's first screen.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Hyunwoo AHN:
reserved
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] ROBLANS:
Thank You, I'm going to test this release!! :)
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] truenitos:
New Thread ? Good , Question: You not planning to do a Version with new GPU Driver?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] crixley:
Deleted
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Hyunwoo AHN:
I just added it and you can download it now.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] truenitos:
Thanks alot
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Matze6989:
I can not Uninstall synapse. I use mtweak an in not use synapse. After restart is the synapse app back.

I have use titanium Backup an root Uninstaller but everyone cant Uninstaller this app.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Hyunwoo AHN:
Create the '/sdcard(internal storage)/Synapse/do_not_force_install' file.

* MTweak can not support all the features of this kernel.

* Synapse is somewhat unstable, but it is the best solution for a custom kernel.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Matze6989:
I have deleted the synapse file with root from the intern sd but there is coming back.

An when i install this kernel the i have no volte icon in the statusbar.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Hyunwoo AHN:
if you create a 'do_not_force_install' file in /sdcard/Synapse folder, Synapse does not install automatically.

the problem with voLTE is that my device is G930K(Korean variant). i can not test for the carriers in all countries.

please try to use v1.3.0 and tell me if it is voLTE.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Matze6989:
With 1.3.0 i have volte

What file must i deleted for synapse?

This kernel is perfect when i can Uninstall synapse

Big Thanks
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Hyunwoo AHN:
Just use Synapse.

I hate to say more.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ubimo:
[MENTION=7149511]Hyunwoo AHN[/MENTION]

One wish, can you make all 4 big cores reach 2.6GHz?

Like in TGP kernel?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Hyunwoo AHN:
It is not the best because it causes other(high temperature) problems.

I did this kernel, but I chose another way. Just trust me.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Calvin.manneson:
you must first,CREATE a file in 'synapse' folder...;)

then,after,you can delete synapse/ install kernel/reboot/whatever...
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] MichelBorgess:
rebooting in decent ultra Life rom
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ogy77:
On Civato rom systemless rebooting after install manualy magisk.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] WuNgUn:
That's weird....

Your 1.8.0 and 1.8.2 work fine....

I never had boot issues with 2 clean flashes.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Hyunwoo AHN:
Sometimes it's booting, sometimes it's not, and it's too unstable.

Talk after the ROM is released as a stable version. Talking now has no meaning.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] truenitos:
Yeah, I used Prime Kernel on INFINITY N8 ROM and work fine !
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] WuNgUn:
Yeah, that's an S8 ROM, not S7
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Hyunwoo AHN:
I am using it now, and it seems to best n8 rom.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] truenitos:
Wow 1.9.0 !! I want it haha
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Hyunwoo AHN:
Updated to v1.9.0

Supported Note 8 Porting ROMs

Backported random(entropy) driver from Linux v4.14.rc7

Updated AnyKernel2 (bug fix)

Updated mptcp(Multipath TCP) driver (0.90.0 → 0.90.3)

installer, Prevent Magisk from being deleted when merging ramdisk

Reduced screen brightness during boot

r12p0/r15p0 GPU driver to separate build, packaged in one

! Please read the 'Attention to the GPU driver' part on the first page.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] darkoj2007:
any changes from previous version if we install on aosp rom? thanks for the awesome kernel :)
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Hyunwoo AHN:
Unless I mention otherwise, AOSP and TW kernels always have the same change history. If you are curious about it, look at the source code(commits) in github.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Ubimo:
Do I have to flash magisk after flashing this kernel?

Is it recommended or not?

And how can I find out which GPU library version I currently have/use?