yashsingh1/xdaforums huggingface dataset:
[Honor 6X Questions & Answers] dazmoriarty:
Hi folks - I'm a first time poster here, so go easy on me ;)

I bought a second hand Honor 6X (BLN-L21) last week. It had Android 6 on it so naturally I checked to see if Android 7 was available for it. It was, but not by checking in-phone for OTA updates. I used the steps on this site STechGuide, perhaps in a bit of a rush...

So the upgrade process said it had failed after about 20 minutes. But after it rebooted it was indeed on Android 7.0 and EMUI 5, but now shows the Build Number as "NRD90M test-keys" and I cannot get it to check for updates. Also now each time I restart the phone I get a message saying "Your device has failed verification and may not work properly".

If I go into the 'eRecovery' settings, it connects to my home wifi and it fails to get package info and all I can do is reboot it.

So in short - how can I blast it back to its original firmware and thereby get official Huawei/Honor OTA updates? Also shouldn't the 6X have received Nougat in the UK by now?

Thanks and apologies for the newbie question that has no doubt been asked many times.

DM
[Honor 6X Questions & Answers] shashank1320:
You can ignore warning message. It wont cause any issue. This is because you may have unlocked bootloader while doing this.

What is the build number of firmware you flashed?

BLN-L21CXYZBXYC

please provide these details and I can help with the stock files.

we need OEMINFO file as well to get rid of this NRD test key stuff.
[Honor 6X Questions & Answers] dazmoriarty:
Namaste Shashank and thanks for the reply.

Although I can simply hit the power button to proceed, I would prefer it to automagically proceed to boot!! It was already SIM-unlocked when I bought it by the way. I bought this model second hand, so have the original box it came in and that only says it's a BLN-L21 with a S/N, EAN and IMEI1 (it's a dual sim model though a European model). It has 32Gb storage and 3Gb RAM. The sticker on the bottom of the box (with the S/N) says "This device may be operated in all member states of the EU" if that helps...

I was stupid enough not to take pictures or screenshots of all the system details before flashing it to Nougat, so I cannot give you the specific BLN-L21xxxxxxx information - I thought it might be found via the *#*#2846579#*#* USSD code, but while there is plenty of information there, it doesn't give a specific BLN-L21xxxxxxx code :/

I've tried attaching the phone to the HiSuite application, but it says everything's up to date. HALP!

How exactly can I determine the OEMINFO? I have a bunch of pictures I took with my other phone to illustrate the problem if you need them...

Dhanyavad bhai!

Dazmoriarty
[Honor 6X Questions & Answers] shashank1320:
Hi mate, give me sometime, i will get the links foe you.
[Honor 6X Questions & Answers] dazmoriarty:
Shukriya buddy!
[Honor 6X Questions & Answers] dazmoriarty:
Any luck Shashank? Hope you had a nice Diwali!
[Honor 6X Questions & Answers] shashank1320:
Thanks buddy. Yeah it was nice. sorry for late response, was occupied entire day so couldn't check the old posts.

Please dial *#*#2846579#*#*

Veneer info--version info

Give me content of these 2

Parameter version and version component version

I want to know if it is BLN-L21C432 or C185 or others?
[Honor 6X Questions & Answers] dazmoriarty:
Cool, cool. OK so I've attached two screenies of the Veneer details below, but I can only see Beelin_L21_VN1...

Thanks again dude :)
[Honor 6X Questions & Answers] shashank1320:
Still unable to get the region from details. C185 or c432. Dint want to mess your phone:(
[Honor 6X Questions & Answers] dazmoriarty:
Wow - there's really no way to determine the exact model??

Never buying Chinese again...

Thanks for your time anyway yaar :)
[Honor 6X Questions & Answers] shashank1320:
It's from UK right?
[Honor 6X Questions & Answers] dazmoriarty:
Well I bought it here, so I assume so. It also has a sticker on the back saying "can be used everywhere in the EU", if that helps...
[Honor 6X Questions & Answers] shashank1320:
[MENTION=8242346]RedSkull23[/MENTION] any idea bro if this is c432 or c185? And accordingly we can help him furthwr to get rid of NRD TEST KEY

---------- Post added at 01:24 PM ---------- Previous post was at 12:53 PM ----------

Don't worry we will to help as much as possible bro. If not able to find we will help to rebrand to a different region itself without any problems:good:
[Honor 6X Questions & Answers] dazmoriarty:
Many thanks guys :)
[Honor 6X Questions & Answers] RedSkull23:
Sorry for the late answer brother, i just saw this post. So, i bought mine from Amazon and it is classified HW/EU standing by what my vendor.img says, my build it's C432. But don't worry, there's an easy way to know your build number in any moment; just write your IMEI here http://www.imei.info/ and details should follow :svetius:
[Honor 6X Questions & Answers] dazmoriarty:
Ok great - will try that shortly!

Thanks a lot guys :)

DM
[Honor 6X Questions & Answers] dazmoriarty:
Hmm that site is down currently :/ I tried www.imei.org and it just said it was an Honor 6X, so not much use... I'll keep checking back on that site during the day today.

Grazie ciononostante RedSkull23 ;)
[Honor 6X Questions & Answers] RedSkull23:
Oh i see... Well, there's even an adb method to know build and other props. To obtain Android version you can write on adb "adb shell getprop ro.build.version.release", while other the rest should be visible after that you write "adb shell getprop".

Let me know if you can figure it out!
[Honor 6X Questions & Answers] dazmoriarty:
Ok the site is back up. Here are screen shots of the results - I only used the primary IMEI however.
[Honor 6X Questions & Answers] RedSkull23:
Ok we can't find the thing that we need there so, i thought it was possible. Try adb method!
[Honor 6X Questions & Answers] dazmoriarty:
Hmm, any easy instructions/links on how to do that??
[Honor 6X Questions & Answers] shashank1320:
He given already. Try this

To obtain Android version you can write on adb "adb shell getprop ro.build.version.release", while other the rest should be visible after that you write "adb shell getprop".
[Honor 6X Questions & Answers] RedSkull23:
As Shashank1320 said, i already wrote instructions 2 posts ago but just simply type via ADB (and debug USB option ticked from developer options obviously) "adb shell prop" to check if the build no appears. It should.
[Honor 6X Questions & Answers] dazmoriarty:
Ok guys - I have succeeded in getting around the problem. I failed to fix it using ADB. So I went back to the instructions I initially used (http://www.stechguide.com/honor-6x-b360-nougat-update/) and followed the steps again and somehow I am back up and running. I think what happened was I didn't do the second step.

So I am back up and on Build Number BLN-L21C432B367 and EMUI version 5.0.1 currently. They System Update feature is present once again - yay!

Thanks very much (shukriya and grazie respectifully) to you both for trying to help me in the meantime guys - very much appreciated! I'll 'thank you both using the XDA forum buttons now.

DM
[Honor 6X Questions & Answers] RedSkull23:
Glad that you've solved, you're welcome dude :svetius:
[Amazfit] leopirilo:
Dears,

I would like to know If there are any method or procedure to reset the Amazfit Bip to its original configuration or reset bluetooth Mac address.

I am asking this because after installing the english language pack (res and then fw) ,i've tryed all but I can't pair Amazfit BIP with my Cell phone.

I've tryed with other phones but mifit can't find the device and requests customer support,

Someone can help me ?

On the bluetooth app I can see the BIP , so how is the problem ?

Thanks in advance.
[Amazfit] ronexdlanor:
same problem

i've also experienced the same thing after update mi fit yesterday...just bought mine earlier this week...really hope it can be fix
[Amazfit] ronexdlanor:
Rejoice! Amazfit saved!

u have 2 steps 2 solve this problem.

step 1 : unpair ur bip in mi fit app...and uninstall any 3rd party apps which connected to ur bip...and then using other smartphone,*install mi fit app,and than pair with ur bip,that way,after connected,it will update ur bip into stock firmware...after done,unpair device and repeat* using ur own smartphone....

step 2 : install 'notify and fitness' app,connect by following its instruction...go to https://www.google.com/amp/s/xdafor...azfit-language-firmware-english-t3670195/amp/ to download en.firmware ver 0.0.9.14 which is newest,and update using 'notify and fitness' thru custome firmware,browse for the 0.0.9.14 files....

-that's all and good luck;)
[Amazfit] legiaman:
thank you so much, you saved my life
[Amazfit] muzsielod:
Thank you :)

It worked in my case also.

Happy new year!
[Amazfit] soylapinta:
Forgetting the watch in the paired Bluetooth devices kind of worked for me.
[Amazfit] fernoct:
Thank you so much buddy! :svetius:
[Amazfit] WaLaBiX:
It doesn't work for me :crying:
[Amazfit] brizoles:
same here

Watch works fine. Connected via bluetooth. Gadgetbridge works fine. Notify & fitness for amazfit works fine. Mi fit says to contact customer service. Whole day I can't make it to see the watch. Tried uninstalling reinstalling, tried different version of firmware and mifit, NO SUCCESS.

Firmware V0.1.0.89 Mifit 3.3.0.2.
[Amazfit] Mobtel063:
My phone see amazfit ,pair but can not be connected!what to do?
[Amazfit] Joost39/2:
I had same issue;

Turned the phone and watch off and then on again.

Opened the MI Fit app to pair and layed the watch on top of my phone.

Then it worked....
[Amazfit] brizoles:
SOLVED

Amazfit Bip must not be connected to more than one mi account. The guy that I bought the watch from, deleted mifit from his mobile without erasing the watch from his mifit account. When he did, my problem was solved.
[Amazfit] trade:
I am in the same boat the MiFit doesn't want to work I tried in iOS and Android I will use other Android. The worst is that my login with Google is not working on Android if works in iOS but not difference not BT connection.

Please another suggestion because the other apps detect the watch right away but we need the MiFit for any manage of the phone.

Trade
[Amazfit] trade:
I fixed the simple way is reset to the default the watch, the curious thing was the Bluetooth address changed every time you made that and then the Mift can recognize the watch.
[Amazfit] fabvon:
How to reset to default? My watch does not show Configs icon, and Mifit doesnt connect
[Amazfit] Lixas:
After update i had "conectese a la aplicacion para reintentar" and simple phone bluetooth unpair worked excelently. After unpair I just reopen mi fit app, it connected to watch, and begun resource update procedure. After that my watch is working as it was before updating- no issues at all
[Amazfit] javedh191:
i could not connect my watch as i tried everything but atlast no blue tootch connection is there , i tried through all process mentioned above but still not connecting please if anybody could guide me the process of connecting it can whats app me on my number also +919717989349. need help please guide urgent .
[Amazfit] Dimi72:
You can do a Factory Reset now (maybe not in the earliest versions). The manual says :

From the home screen of the watch, swipe left you can access “Watch face”, “Long press the button”, “Adjust brightness”, “Find device”, “About”, “Factory reset”, and “Turn off” in watch “Settings”. (This is the sentence in the manual.)

You need to scroll down because you only see the first three options. After the factory reset it paired again.
[Amazfit] Makus321:
Delete pair with Amazfit, install MiFit and its connect to device.
[Magisk] crok.bic:
Dear Community, dear Developers outside..

I'm using Magisk 14.0 on a Redmi Note 4 Snapdragon and super satisfied with it.

I just want to make simple changes like changing the lowmemorykiller minfree parameters - just like an init.d script in Kernel Adiutor..

Most of the commands are effective - but some of them are not..

This is what I want to apply for example:

chmod 666 /sys/module/lowmemorykiller/parameters/minfree

chown root /sys/module/lowmemorykiller/parameters/minfree

echo '7283,14566,21849,28928,36415,43698' > /sys/module/lowmemorykiller/parameters/minfree

..but does not work..

But these, for example.. these are working just fine:

echo '30' > /proc/sys/vm/swappiness

echo '0' > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk

echo '80' > /proc/sys/vm/overcommit_ratio

echo '400' > /proc/sys/vm/vfs_cache_pressure

echo '2430' > /proc/sys/vm/extra_free_kbytes

echo '4096' > /proc/sys/kernel/random/write_wakeup_threshold

echo '1024' > /sys/block/mmcblk0/queue/read_ahead_kb

echo '0' > /sys/block/mmcblk0/queue/iostats

echo '1' > /sys/block/mmcblk0/queue/add_random

echo '1024' > /sys/block/mmcblk1/queue/read_ahead_kb

echo '0' > /sys/block/mmcblk1/queue/iostats

echo '1' > /sys/block/mmcblk1/queue/add_random

swapoff /dev/block/zram0 > /dev/null 2>&1

echo '1' > /sys/block/zram0/reset

echo '0' > /sys/block/zram0/disksize

echo '1' > /sys/block/zram0/max_comp_streams

echo '524288000' > /sys/block/zram0/disksize

mkswap /dev/block/zram0 > /dev/null 2>&1

swapon /dev/block/zram0 > /dev/null 2>&1

echo '4096' > /proc/sys/kernel/random/read_wakeup_threshold

echo '4096' > /proc/sys/vm/min_free_kbytes

echo '0' > /proc/sys/vm/oom_kill_allocating_task

echo '90' > /proc/sys/vm/dirty_ratio

echo '70' > /proc/sys/vm/dirty_background_ratio

I do know that all I have to do is to put my script to one of these dirs - depending on when I want to run the scripts:

/magisk/.core/service.d

/magisk/.core/post-fs-data.d

But, as I mentioned - most of them has effect, some of them has no..

Any comment, any suggestion is more than appreciated.

Thank you!

[SOLVED] - solution is in post #5
[Magisk] crok.bic:
Desperate bump..
[Magisk] sheraro:
I searched for help docs for service.d and post-fs-data.d but counldn't find them, can I ask you when each folder is executed, also does the scripts inside them must have .sh extension or not ?

I want to restart my systemui after boot complete, can you tell me if this script is ok ?

#!system/bin/sh
sleep 20
su
pkill -l TERM -f com.android.systemui

ps : the pkill command works fine after an "su" in terminal emulator

sorry for the offtopic !
[Magisk] Didgeridoohan:
[MENTION=4441415]sheraro[/MENTION]

https://github.com/topjohnwu/Magisk/blob/master/docs/README.MD
[Magisk] crok.bic:
First of all: the solution for my issue was a simple sleep 30 in the services.sh to delay the start.. and I used an auxiliary file as well to make the changes (called from services.sh with 30sec delay, copied with the update-binary file directly, set permission to 0777 via config.sh) after that is all started working..

So, second thing, [MENTION=4441415]sheraro[/MENTION], I think you should delete the command su from your script because Magisk scripts are running as root anyway and if you issue su command it will start a shell with elevated privileges - an interactive shell, not what you want here, a sudo like command.. it works in the terminal because it is interactive but in the shell script if you start su it starts an interactive shell and it halts your script because it won't exit the shell you started.. and the next command will never run.. if you know what I mean.. but you don't need it anyway, because - as I mentioned - it is running as root anyway. +1: The syntax of the shebang is bad in your example, it is missing an exclamation mark. Can you re-test it like this:

#!/system/bin/sh
sleep 20
pkill -l TERM -f com.android.systemui
exit 0

.sh extension is not needed, the thing is: you have to set the correct permission in the config.sh like this:

set_permissions() {
# Default permissions, don't remove them
set_perm_recursive $MODPATH 0 0 0777 0777
[..omitted..]

Thing is: the files must have execute priv. and you can execute them like

$MODDIR/./desiredfilename

in the services.sh script.

Hope this helps.
[Magisk] sheraro:
I'm just pasting my script in service.d only, set permissions manually to 0777, corrected !#/system typo, removed su command, but no luck...

Where's services.sh and config.sh ?
[Magisk] crok.bic:
Reading your comment I think you are not developing a Magisk module, do you?

I do and this is why you have no idea where is config.sh, services.sh and the others I think.

If you just want to have some kind of "init.d script" support and run the script in your own phone *only* then your script should be in the folder /magisk/.core/service.d and it should have execute permission. That's all what you need - probably the sleep 20 is not enough, increase it to sleep 30 for instance.

If this is still not enough info I would suggest to read the Magisk documentation thoroughly (linked in post #4) and if you still stuck I suggest you to open your own thread, describe your problem thoroughly (what is your goal? what would you like to achive? how did you already try? what is happening but should not or not happening but you think it should happen? you know what I mean..) and ask the community. Probably you will be able to solve your issue in minutes/hours.
[Magisk] sheraro:
I changed it to sleep 100, same problem, you're right I should create a new thread for this.

I have a theme installed that mimics oreo style, but the systemUI is not themed until it's restarted, so I thought about a script executed after boot, anyway thanks for your help :)
[Magisk] nicorg3221:
It seems that sleep will delay the run of other modules' service.sh. is there any solution that will not affect other module?
[Magisk] crok.bic:
I don't experience this behavior - what you described is the post-fs-data behavior.

I did the trick with a separate ("auxiliary") file and tried to explain how in post #5 but let me try again:

- created a file in the module's common folder (I gave the name `tweak`)

- this file starts with a shebang (it's a script..) and continues with a sleep 30 then comes my commands..

- then copied the file from the module to the Magisk module directory into /magisk/$MODDIR with the module file META-INF/com/google/android/update-binary (I added it to the copy section, manually.. I know, I know, it should work automagically anyway, but did not work and I was fed up with the coding, so hardcoded it.. sorry)

- I set the default file permission to 0777 in config.sh (yes, 0777, this is loose AF but works.. and I don't really care, the file contains code that can make the device *better* and has no suid bit set, so there is only little to no room to harm anything..)

- then I included a call in my module's common/service.sh like $MODDIR/./tweak to start my script

- when the tweak script starts it will start with the sleep 30 so implements the delay.. BUT!

- Because services.sh files from the modules are called parallelly by Magisk (by default, by it's nature, by it's code.. you got it) my module does not delays others - but still has the delay.

Hope this helps.
[Magisk] crok.bic:
Pleased to help you - but honestly, if the only task you need is to kill and restart systemUI then I would do it via init.d script run by an app that mimics init.d scripting, or using a kernel that supports init.d scripts (if only you want to use that theme). It's just less complex for you I think, but honestly, a simple script file that has execute permission in /magisk/.core/services.d/ gives you 100% the same solution.
[Magisk] nicorg3221:
I have my script in starting in .Core. Maybe that's the problem
[Magisk] crok.bic:
..then it is in the wrong dir.. it is clearly described in the Magisk documentation.
[Magisk] nicorg3221:
I have researched a bit. I think you can use getprop sys.boot_completed to check if boot is completed. We should run init.d scripts after boot is completed instead of just wait for 30/100 seconds.

I place all my init.d scripts I want to run in /magisk/.core/service.d/init.d.

Then, I have a service.d script [exec_init_d.sh] in /magisk/.core/service.d. Magisk will run exec_init_d.sh when boot.

exec_init_d.sh will wait for sys.boot_completed and run all the files in /magisk/.core/service.d/init.d after boot completed

exec_init_d.sh

#!/system/bin/sh
# Please don't hardcode /magisk/modname/... ; instead, please use $MODDIR/...
# This will make your scripts compatible even if Magisk change its mount point in the future
MODDIR=${0%/*}

# This script will be executed in late_start service mode
# More info in the main Magisk thread
if [ "$1" != "1" ]; then
$0 1 &
log -p i -t Magisk "start new instance to let Magisk boot stages proceed"
exit
fi

#param
RUNLOG=0
RETRY_INTERVAL=5 #in seconds
MAX_RETRY=60
EXEC_WAIT=3 #in seconds
INIT_D_DIR=$MODDIR/init.d
LOG_PATH=$MODDIR/debug.log

#init
retry=${MAX_RETRY}

#wait for boot completed
log -p i -t Magisk "wait for boot completed"
while (("$retry" > "0")) && [ "$(getprop sys.boot_completed)" != "1" ]; do
sleep ${RETRY_INTERVAL}
((retry--))
done

if (("$retry" == "0")); then
log -p i -t Magisk "boot not completed within maximum number of retry"
else
log -p i -t Magisk "boot completed"
fi

sleep ${EXEC_WAIT}
log -p i -t Magisk "init.d execution started from ${INIT_D_DIR}"

if (("${RUNLOG}" == "1")); then
/data/magisk/busybox run-parts $INIT_D_DIR &> $LOG_PATH
log -p i -t Magisk "init.d execution output written to $LOG_PATH"
else
/data/magisk/busybox run-parts $INIT_D_DIR
fi

log -p i -t Magisk "init.d execution completed"
[General Topics] Carloscda1:
When I put my phone to silent from the "Today screen" it doesn't stay at that setting?! My buddy called and the phone was ringing like normal?!

How to correct this?

And also with the reg hack to turn off the text notification sound didn't work either?

Thanks in advanced!
[Samsung Galaxy Tab S3 Questions & Answers] kevin_23:
Good, is a type of survey, which tab model s3 do you have? the wifi or the Lte? you wear them to work, away from home etc? I take it everywhere
[Sprint Samsung Galaxy Note 8 Questions & Answers] Phen0m:
Just purchased a SM-N950U, got it registered on Sprint, but cannot get mobile data to work. I can place and receive voice calls with no issue?

Under APN's I have cinet.spcs & otasn but when I access Network operators and search networks.. I cant select Sprint.

Thoughts?
[Sprint Samsung Galaxy Note 8 Questions & Answers] BlueFox721:
Factory reset
[Sprint Samsung Galaxy Note 8 Questions & Answers] d.boi.lee:
kinda sounds like what happened to me. I got my N950U in Oct 02 from preorder, the whole first day I couldnt get it to connect to SPRINT network, voice or data. There was sketchy stuff happening, sprint c.s. couldnt figure it out (even when into a corp store) and samsung c.s. kept blaming sprint. Randomly the phone provisioned itself finally and it refreshed its APN list, now defaulting on "APN2 LTE internet" - n.ispsn.

Have you gone to the samsung website and tried activating through your account page? If they shipped you a sim card that may be you fix. or let the phone randomly refresh itself and hope it self cures... My samsung page still doesnt give me the option to activate through them, i went directly through sprint.

Sorry i couldnt help much, just wanted to give some insight. good luck!
[Sprint Samsung Galaxy Note 8 Questions & Answers] Team DevDigitel:
##72786# hit yes and let it re-activate

##update# will update prl,profile and check for software / firmware.
[Oppo F1s Questions & Answers] skyscraper11:
Hello xda, i can't seem to find a safe, trusted and helpful tutorial on the Internet on how to do a Hard Reset on my Oppo F1s, because i forgot my pattern password i tried to do a hard reset on my stock recovery but it has only one option not to wipe photos, contacts and lockscreen(are you kidding me? :crying:). i tried wiping it but it doesn't solve the problem, is there any way i can do? you're the only one i can count on guys, TIA!
[Lenovo Vibe P1 Questions & Answers] Davidd !:
Hello

I do not find vibe p1c52 P1a42 or P1c72

silver color

Where can i find it :confused:

Thank you.