yashsingh1/xdaforums huggingface dataset:
[Moto X4 Questions & Answers] gleenfield97:
Flash just the bootloader "fastboot flash bootloader bootloader.img", then press volume-down multiple times until you see "Log". What is the output?

It might be related to these issues (thread 1, thread 2). Workarounds include using another PC or older version of fastboot.
[Moto X4 Questions & Answers] tomtom_38:
I try it today , you mean the bootloader from Oreo right?

thanks for support
[Moto X4 Questions & Answers] tomtom_38:
flashing bootloader was sucessful

here is the log:

cmd:getvar:slot-count

cmd:gevar:has-slot:bootloader

cmd:getvar:partiton-type:bootloader

Cmd: getvar:maxdownload-size

cmd: download:0094c100

cmd: flash:bootloader

I try to flash all again it stop at dsp dspo.bin

the status change to official baseband is back but I stilll have android 9
[Moto X4 Questions & Answers] gleenfield97:
Try flashing again, this time one-by-one. Attach the bootloader log when it stops at dsp.

On the PC side, did flashing dsp resulted in "cant write ...... ((no error))" error. What are the command outputs?
[Moto X4 Questions & Answers] tomtom_38:
C:\Users\Thomas\Desktop\minimal_adb_fastboot_1.4.3_portable_XT1900>fastboot flash dsp dspso.bin

target reported max download size of 536870912 bytes

sending 'dsp_a' (16384 KB)...

this happens by flashing dsp dspso

and this ist the log

flashing bootloader was sucessful

here is the log:

cmd:getvar:slot-count

cmd:getvar:slot-count

cmd: getvar:has slot:bluetooth

cmd: getvar:current-slot

cmd:getvar:partition-type:bluetooth_a

cmd:getvar:max-download-size

cmd:download:0046f100

cmd:flash:bluetooth_a

cmd:getvar:slot-count

cmd:getvar:has-slot:dsp

cmd:getvar:current-slot

cmd:getvar:partiton-type:dsp_a

cmd:getvar:max-download-size

cmd:download:01000000

Cmd: getvar:maxdownload-size

cmd: download:0094c100

cmd: flash:bootloader

this makes me perplex

Im erasing modem st1 but Iam not write everything

-------------------------------------------

C:\Users\Thomas\Desktop\minimal_adb_fastboot_1.4.3_portable_XT1900>fastboot erase modemst1

erasing 'modemst1'...

OKAY [ 0.016s]

finished. total time: 0.016s

------------------------------------------------------------------------------------------------------------------

C:\Users\Thomas\Desktop\minimal_adb_fastboot_1.4.3_portable_XT1900>fastboot flash modemst2

unknown partition 'modemst2'

error: cannot determine image filename for 'modemst2'
[Moto X4 Questions & Answers] gleenfield97:
The script you got is incorrect. modemst2 should be erased instead.

I couldn't find the version you have from the mirror. I found another OPWS27.57 zip.

They're both "OPWS27.57" and Android 8.0, so the script should be similar.

If you want to make sure, inspect line 14 onward of the flashfile.xml. Check whether the zip has recovery.img as well.

Unzip the attached file. Put the attached flash_all.bat into the firmware folder and run it.

fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
sleep 8
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system_b system_other.img
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase userdata
fastboot erase ddr
fastboot oem fb_mode_clear
fastboot reboot-bootloader
sleep 8
[Moto X4 Questions & Answers] tomtom_38:
ok, it worked with clean win 7 .

thanks, but

in no firmware is a recovery .img and I cant do an ota update to pie.
[Moto X4 Questions & Answers] gleenfield97:
If you did "fastboot flash boot boot.img", the stock recovery should be there.

-------------------

Try this guide. But I'm puzzled why you downgrade to Oreo and back to Pie.

btw, "bootloader is open fastboot run" is mentioned in the OP, is the bootloader unlocked?
[Moto X4 Questions & Answers] tomtom_38:
I will try it,

I do it because I need a official signed version to send my smartpfone to a repair center.

the best sigened version I found is oreo and I downgrade to oreo and upgtade with motrola update services to pie
[Moto X4 Questions & Answers] tomtom_38:
hey I flashed slot a and b with the same firmware but the message "you loading a different os" still apear.

The bootloader show that the firmware is a official version?! I looking for a solution but I found only the way tto flash both slots
[Moto X4 Questions & Answers] gleenfield97:
What commands did you use to flash to both slots?

They should be:

fastboot --set-active=a

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system_b system_other.img
[Moto X4 Questions & Answers] tomtom_38:
Ok I use this comand to change the slot

fastboot --set-active=other

and then I flash manually all positions from the flash _all .zip from the first page

one time for each slot
[Moto X4 Questions & Answers] gleenfield97:
Does it look like this?

I'm using Havoc and it also shows as "official".

you mean "fastboot --set-active=b"?
[Xiaomi Redmi 6 Pro Questions & Answers] Ethical Hacker|Youtuber:
i accidently flash the custom rom:) but now i dont have the original rom backup :crying::crying:plz help any body can upload the twrp system ,vendor and any other things required to restore the original rom :angel::angel:

redmi 6 pro indian version or atleast english version plz

edit : twrp sakura
[Xiaomi Redmi 6 Pro Questions & Answers] coolek33:
Accidently... Good one.

https://mirom.ezbox.idv.tw/en/phone/sakura/roms-cn-developer/
[Xiaomi Redmi 6 Pro Questions & Answers] Ethical Hacker|Youtuber:
will i be able to flash the stock rom because i tried indian version but it wont work twrp sakura

also which one shall i download fastboot or recovery ?
[Xiaomi Redmi 6 Pro Questions & Answers] coolek33:
If you want to flash it in recovery/twrp choose recovery one. If you want to flash it via fastboot from pc choose fastboot. It's obvious. Both will lock your bootloader after flash but they will boot normally.
[Xiaomi Redmi 6 Pro Questions & Answers] Ethical Hacker|Youtuber:
1) lol is there a way to not to lock my bootloader again because if it fails then all is left is fastboot??

2) and also twrp will be removed or shall i flash twrp again or will it brick my device ??

3) or i need to wait 15 days and unlock my device again??

man lot of questions :p

4) my mi account has unlock permission:D so do i need to permission again because right now i am using custom rom to keep my phone alive.:crying:

these questions will raise to all if they did the same mistake some more questions but lets see these first

also thanks man you are wonderful helper
[Xiaomi Redmi 6 Pro Questions & Answers] coolek33:
If you unlocked your BL once on this device there will be no waiting counter. It will unlock right away. Unless you unlocked it couple days ago. There is a limitation for one account to unlock one device in month. So you will be have to wait till one month pass or unlock with redmi 6pro toolkit like I did. It skipped this limitation somehow. Anyways did you wiped data before or after flashing custom rom? What rom have you flashed? Is it booting is it usable? If not. Try wiping data in advance wipe in twrp first to solve booting problems.
[Xiaomi Redmi 6 Pro Questions & Answers] Ethical Hacker|Youtuber:
i flashed

crdroid rom from redmi 6 pro forums

bootable

kk i will try advanced wipe

also that redmi6 pro tool kit u mentioned is it mi unlock tool if not plz send me the link plz

also thanks i will contact you when something went wrong

also when i flashed custom rom it shows installing unconditionally why

also the restore function is not working is it the twrp fault or the rom

it doesn't boot says boots on logo and then shows the boot animation waits for 5 min and boots twrp again automatically why???(when i try to restore the crdroid rom not to mentioned i tried flashing resurrection os but goes on boot loop )
[Xiaomi Redmi 6 Pro Questions & Answers] coolek33:
When flashing custom ROM different from miui you should wipe dalvick, cache, data and system before flash. Then flash RR or something else gapps and boot.
[Xiaomi Redmi 6 Pro Questions & Answers] coolek33:
Here's the toolkit If you need it

https://androidfilehost.com/?fid=5862345805528054436
[Xiaomi Redmi 6 Pro Questions & Answers] Ethical Hacker|Youtuber:
found this site

https://mi-globe.com/rom-builder/
[Xiaomi Redmi 6 Pro Questions & Answers] Ethical Hacker|Youtuber:
lol man that unlock tool did the trick i flashed the above rom from the mi globe rom and my phone got locked again i open the tool and then i unlocked the phone and boom it got unlocked but remember that when u unlock ur data will be deleted and always keep the backup of ur twrp image

after unlock and the login id and pass that pass u will need to enter the phone startup otherwise just boot to fastboot and then bypass account

man finally back to miui without any bugs with root man what else we want
[Blade General] cfli1688c1:
i have the zte z983 on 7.1.1. Recently, i have one the app display an ad on the whole screen, it comes up randomly. I am unable to find out which app is doing that, i have try to uninstall apps, but the app still showing up, i am still uninstalling apps. when the ad popup, it does not indicate which app its from.

anyways to trace this and remove the offending app?

phone is not rooted

** it pop up when i was using my camera, twice. other time when the phone was on, and on the table.

thanks.
[Blade General] Aimbot91:
Are u used some third-party apps for rooting ur phone?!Some of them comes with intrusive ad's
[Blade General] cfli1688c1:
Phone is not rooted.
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] TekSabz:
This is ViperOS​

Disclaimer:

We are not responsible for anything that may happen to your phone as a result of installing custom roms and/or kernels. you do so at your own risk and take the responsibility upon yourself.

"This is a user friendly thread. All feature requests will be heard and considered. I am not against anything that doesn't stray too far away from the original idea of the ROM! Helping one another is also encouraged! Please be respectful and you will always be treated the same way, we are all here for a good experience."

About:

We are a Brazilian team, ViperOS aims to bring stability and useful features. If you are looking for a stable ROM with true tested features, minimal bugs and no Lineage bloatwares, then this is the place to be.

Features:

Added OTA Services updater

Statusbar

QS settings

Clock statusbar settings

Battery style

Carrier label

Network traffic

VoLTE icon toggle

4G/LTE icon toggle

Rounded corner settings

QS for Reboot/Recovery

QS Screenshot full and partial

Recents

Style recents AOSP and QuickStep

Button clear and Membar for recents AOSP

Lockscreen

Face auto unlock

Fingerprint authentication vibration

WheaterClient

Battery info Charging

Ambient music ticker

System

Color engine

theme QS style

Styles switch

Styles clock lockscreen

Buttons and navbar settings

LED battery Charging

LED notifications colors

Power Menu advanced

Fonts packages

Pulse Navbar

VPapers new

Many other customizations, install and take a look

Download:

Rom : Download

Official website: Download

OpenGapps: OpenGApps

ViperGapps: ViperGApps

​

Credits & Thanks:

[MENTION=6410262]bauuuuu[/MENTION] and [MENTION=7174278]kubersharma[/MENTION]

[MENTION=9137453]#ArtFuL[/MENTION]

[MENTION=7530619]Tyakrish[/MENTION] (Asus Cam)

All ViperOS Team

LineageOS team

And all other open source Devs/Teams I may have missed!
​

Other links

Telegram channel

Telegram chat discussion

ROM source

Devices source
​

​
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] Brezinger101:
Is this based on Arrow OS tree? Also, what's the difference between normal gapps and Viper gapps?
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] joshuaroilox123:
Does this still use the Arrow OS tree?
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] NanuZn:
yes broo....based on arrows tree...there is no diffrnce btwn viper gapps and normal gapps...its similer and does similer
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] TekSabz:
yes bro
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] TekSabz:
no difference between gapps and viper gapps..:silly:

rom is based on arrow tree:angel:
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] Brezinger101:
Initial Impressions are good, battery backup is nice, Venom settings offers the right amount of customization, without overwhelming you with options like RR. I absolutely love it. However, GCam seems to have some issues, both v6 and v5 and Status bar extra padding should be set to 5 dp by default (refer ss)
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] triodon:
App "SMS" crashing. App "Contact" - not work correctly. ((
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] Sunny Za:
? Official Build for Viper OS is up for Max Pro M2 !!!

? Build By : [MENTION=9777235]NanuZn[/MENTION]

? Build Date : 30/06/2019

⚙️ Changelog :

- Upstreamed kernel to 4.4.184

- GoogleCamera functional now (credits [MENTION=7985055]Rk585[/MENTION])

- Gcam as default camera

- Added off screen gestures (credits [MENTION=7985055]Rk585[/MENTION])

- Added USB Fastcharge in Zenfoneparts

- Internel propblem popup in lockscreen fixed

? Thanks to : [MENTION=343806]sks[/MENTION]bss

? Download here- https://sourceforge.net/projects/vi...per-X01BD-20190630-v6.5-OFFICIAL.zip/download

? Stay tuned for more updates

? Join our Discussion Group
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] Sunny Za:
The ROM is just too awesome since its viper its performance is better than havoc,superior, every other I tried deep sleep problem though

Else everything is good

And gcam front issue (its in all ROM even though they said its stable but it isn't front issue is present in all rum)
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] dmann9999:
issue: version 6.5 installation performed on a clean phone. when the phone is off, the backlight does not turn off when charging.
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] Sunny Za:
Same problem in all roms
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] anish sk:
why the rom size is bigger than other rom?
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] anish sk:
hi. update this official rom.
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] Mahaadev1717:
Updated in official site.. ota also..

Visit and check

---------- Post added at 01:34 PM ---------- Previous post was at 01:33 PM ----------

Last updated 10/07/2019
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] anish sk:
1. selinux not enforcing.

2. extra invisible toogle is conflict with other toogle.
[Asus Zenfone Max Pro M2 ROMs, Kernels, Recoveries,] Iffan19:
the best rom i have ever tried
[Raspberry Pi General] bcnman:
HI, I want to use the RPi as part of a home security system, basically to send me email alerts with jpg images triggered by a PIR sensor.

I have 3 questions:

1. I know how to take a test jpg image using

raspistill -o testshot.jpg

But can you tell me how to view these test images?

2. will the following piece of code delete all jpg images from the RPI sd card?

rm *.jpg

3. When the PIR triggers an email alert and emails the jpg images, could a line of code be inserted into the following python script to automatically delete the images after they have been emailed, so as to avoid a large accumulation of images on the sd card?

This is the python script, which I think I got from: https://circuitdigest.com/microcontroller-projects/raspberry-pi-iot-intruder-alert-system

#!/usr/bin/env python3
import RPi.GPIO as gpio
import picamera
import time

import smtplib
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
from email.MIMEBase import MIMEBase
from email import encoders
from email.mime.image import MIMEImage

fromaddr = "email_address " # change the email address accordingly
toaddr = "other_email_address " # change the email address accordingly

mail = MIMEMultipart()

mail['From'] = fromaddr
mail['To'] = toaddr
mail['Subject'] = "Attachment"
body = "Please find the attachment"

led=17
pir=18
HIGH=1
LOW=0
gpio.setwarnings(False)
gpio.setmode(gpio.BCM)
gpio.setup(led, gpio.OUT) # initialize GPIO Pin as outputs
gpio.setup(pir, gpio.IN) # initialize GPIO Pin as input
data=""

def sendMail(data):
mail.attach(MIMEText(body, 'plain'))
print data
dat='%s.jpg'%data
print dat
attachment = open(dat, 'rb')
image=MIMEImage(attachment.read())
attachment.close()
mail.attach(image)
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
server.login(fromaddr, "*********")
text = mail.as_string()
server.sendmail(fromaddr, toaddr, text)
server.quit()

def capture_image():
data= time.strftime("%d_%b_%Y|%H:%M:%S")
camera.start_preview()
time.sleep(5)
print data
camera.capture('%s.jpg'%data)
camera.stop_preview()
time.sleep(1)
sendMail(data)

gpio.output(led , 0)
camera = picamera.PiCamera()
camera.rotation=180
camera.awb_mode= 'auto'
camera.brightness=55
while 1:
if gpio.input(pir)==1:
gpio.output(led, HIGH)
capture_image()
while(gpio.input(pir)==1):
time.sleep(1)

else:
gpio.output(led, LOW)
time.sleep(0.01)

Thanks
[General Questions and Answers] Ethrelin:
Is a brand new Motorola G6 Play supposed to have a slight looking curve on the back?
[Moto G5 Questions & Answers] MomentWind38:
Hello

The wifi of my moto G5 (XT1670) doesn't work correctly with third-party apps for example:

In Google Chorme data download 1Gb in 6-10 Min

Meanwhile in a third-party app data download

150Mb in 40-60 Min

I need help to fix this error i already tried

everything already deleted cache,restore default setting of wifi and flashed original stock rom android 7.0 and 8.1 and the error continues

I thought it was because Imei 0 error and i installed

pixel experience to fix the imei but still the same wifi error

please help me and sorry for my bad english
[Xiaomi Poco F1 Themes, Apps, and Mods] JEDiGamer:
Hey everyone,

I wanted to share this little Magisk module I made which fixes issues with ringtone and alarm distortion on Android Pie devices with V4a installed (tested only on Poco F1).

The module replaces some vendor files with empty ones instead of deleting them which has the advantage of this fix staying across ROM updates and working on parallel ROMs through MultiROM.

Tested and working on crdroid with v4a regular and legacy.

Changelog:

v2: Removes AudioFX app as it causes issues with viper.
[Xiaomi Poco F1 Themes, Apps, and Mods] Shinichi Kudo:
Ahhhh...so needed this...so thank you for this ?
[Xiaomi Poco F1 Themes, Apps, and Mods] jimmkhn:
Great , tnx:svetius:
[Xiaomi Poco F1 Themes, Apps, and Mods] deeck:
sorry but it does not work
[Xiaomi Poco F1 Themes, Apps, and Mods] Kabal LV:
Thanks! Works.
[Xiaomi Poco F1 Themes, Apps, and Mods] neojacks:
Thanks

This works ...you are great man... Thanks
[Xiaomi Poco F1 Themes, Apps, and Mods] paulojorjealmeida:
Thanks men,whaiting a long time for this,good job.
[Xiaomi Poco F1 Themes, Apps, and Mods] JohnTheFarm3r:
There is already a fix for this, but nice job anyway. The fix is in Magisk list, and it's called notification remover or something like that.
[Xiaomi Poco F1 Themes, Apps, and Mods] JEDiGamer:
Thanks, didn't know that! Would have saved me a lot of hassle in the past :)
[Xiaomi Poco F1 Themes, Apps, and Mods] Sydtek:
Can anyone please help me in installing viper4android.. I have tired installing it from both magisk and XDA labs, I always get an error "The driver needs to be reinstalled do you want to do it now?" No matter how many times I try to install it.. I have googled, used search option but still no luck.

I'm running my poco on official los 16, magisk, francokernal
[Xiaomi Poco F1 Themes, Apps, and Mods] timbook2:
You didn't turn it on!!

you just need to turn on viper and then it will work.
[Xiaomi Poco F1 Themes, Apps, and Mods] TekHck:
same problem
[Xiaomi Poco F1 Themes, Apps, and Mods] djdelarosa25:
Works for me. Thanks a bunch!
[Xiaomi Poco F1 Themes, Apps, and Mods] mikedavo:
Thanks, works ?
[Xiaomi Poco F1 Themes, Apps, and Mods] unos21:
Does this fix help with Bluetooth issue as well?
[Xiaomi Poco F1 Themes, Apps, and Mods] niteone:
asking the same
[Xiaomi Poco F1 Themes, Apps, and Mods] blomone:
this is the only module that fixed it for me

running latest build of PE with V4A 2.7 unofficial

many thanks to OP
[Xiaomi Poco F1 Themes, Apps, and Mods] Aelliaria:
What bluetooth issue? No sound when using bluetooth to play sound?
[Xiaomi Poco F1 Themes, Apps, and Mods] niteone:
so bluetooth audio works with this ?
[Xiaomi Poco F1 Themes, Apps, and Mods] Aelliaria:
This module wil not fix the bluetooth audio problem, because that issue is not created by V4A.

In my personal experience the problem can be caused by 2 different magisk modules:

1. a magisk moduel to unthermal (had that problem with different unthermal modules) so if you have this installed, disable it!

2. Audio modification Library (AML) can cause this problem.

to fix bluetooth audio with AML

1. Renamed "audio_policy_configuration.xml" in "/sbin/.magisk/img/aml/system/vendor/etc/audio" to "audio_policy_configuration.xml.bak".

2. Copied the audio configuration xml file from "/sbin/.magisk/img/aml/system/etc" to "/sbin/.magisk/img/aml/system/vendor/etc/audio" and renamed it.

3. Restarted the device.
[MTCD  Android Head Units Q&A] wohlstandskind2711:
Hello, I have the following system:

COIKA-Android-6-0-System-Car-GPS-Navi-Screen-For-BMW-F20-F21-2017-2018-EVO

The system always hangs under Android when inserting the reverse gear.

Can I turn off the camera start?
[Samsung Galaxy S10 Questions & Answers] Faizan S:
I have an Unlocked variant which I purchased directly from Samsung.

I don't happen to see VOLTE settings in my mobile networks setting.

Is this normal? I have seen another user post a screenshot from his/her phone which shows VoLTE setting (Telcel network) which can be turned off or on,but my phone doesnt have that.

I am on Tmobile.
[Samsung Galaxy S10 Questions & Answers] ranova:
tmobile phones have never displayed any VoLTE icons or notifications. Its carrier dependant on if they show it or not.

Unlocked US S10s has every Tmobile feature except Multiline Digits and probably their crappy RCS service
[Samsung Galaxy S10 Questions & Answers] EvoKnvl:
It's also missing the Tmo Video calling.
[Samsung Galaxy S10 Questions & Answers] tensux:
i have t mobile and always buy samsung international phones. volte, wifi calling,

video calling, and download booster usually dont work until i change the csc to tmo. i would think the ability to do so will be coming once the phone is rooted and out for a while.
[Samsung Galaxy S10 Questions & Answers] Ace42:
1. Normal. The icon is disabled, but the feature isn't.

2. Yes. Testing VoLTE is as simple as placing a call. Phones w/o VoLTE will drop to 3G/2G OR fail if LTE is the only signal avail.

3. VoLTE toggle is missing. I sent feedback to Samsung about this some time ago.