yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] vampire36:
[MENTION=3750240]stratosk[/MENTION] : Great work as always... Rock solid setup with stock... Only thing I have an issue about is throttling... On medium task like navigation followed by camera snaps or multiple reboots the 808 chip throttles... Though have seen a few throttling tweaks...I am not sure... Do you face the same issues in your usage and any plans to look into how the CPU can be made to sustain load longer without heavy performance loss...
[Nexus 5X Original Android Development] stratosk:
Thanks my friend.

I extensively tested and you are right. The big cluster (A57) goes offline pretty quickly.

This happens on stock kernel with interactive governor, on Semaphore with interactive and ondemand. I had a hope with the conservative governor on big cluster that would stay a little bit longer but I discovered an issue on the governor. I will do a workaround and I will retry.

But I think generally this is an issue on this device and we can't overcome it. As soon as the A57 starts working at high frequencies, the temperature rises and the throttling is a matter of seconds.
[Nexus 5X Original Android Development] khanjui:
For normal users: http://xdaforums.com/nexus-5x/general/guide-thermal-throttle-tweaking-t3395681

For developers (stratosk in this case): You may look to thermal tweaks from jollaman999 http://github.com/jollaman999/jolla-kernel_bullhead
[Nexus 5X Original Android Development] stratosk:
Thanks, but there is no way to change the stock thermal configuration in Semaphore (for safety reasons).
[Nexus 5X Original Android Development] fajarlazuarding:
Hi [MENTION=3750240]stratosk[/MENTION] ! Just come to post how i missed your kernel since Nexus 4 ! Would like to try out your another magic on this device, but I'm still encrypted and locked-bootloader, sure i must unlock bootloader first but how about encrypted ? should i decrypt it first ? Thanks for the answer.
[Nexus 5X Original Android Development] stratosk:
Hi!

No, you don't need to decrypt the device. You can use it as is.
[Nexus 5X Original Android Development] vampire36:
Thats the best thing about semaphore....you never add anything thats not safe...:)

Thanks for the explanation about throttling...Guess we will need to live with it till you can find some magic :)
[Nexus 5X Original Android Development] gvsukids:
Is this usable on custom Roms?
[Nexus 5X Original Android Development] fajarlazuarding:
What about your suggestions ? Did you decrypt yours ?
[Nexus 5X Original Android Development] stratosk:
I didn't try it. If they are close on stock maybe it will work.

No, I didn't decrypt it. It's a personal opinion, if you feel safe you may proceed... :)
[Nexus 5X Original Android Development] fajarlazuarding:
thanks for the answer, will try when I get home ?

Edit : flashed successfully with stock unrooted and encrypted bullhead. Will give a feedback within a day or two ;)
[Nexus 5X Original Android Development] snak3ater:
It's just the Dev preview
[Nexus 5X Original Android Development] Midomad:
And? :)
[Nexus 5X Original Android Development] bromoxitos:
this kernel it can work in new 7.1.1 Dev preview? and what tool you suggest for kernel control and what settings???(or is better to leave the kernel as it is in settings)!!! sry for all this noob questions
[Nexus 5X Original Android Development] Midomad:
No wait for an update.

Better leave the kernel as it is(it's already optimised by [MENTION=3750240]stratosk[/MENTION])
[Nexus 5X Original Android Development] bromoxitos:
Thanx a lot sir.
[Nexus 5X Original Android Development] snak3ater:
So release of Dev Preview means nothing unless sources are released
[Nexus 5X Original Android Development] Midomad:
it wasn't the purpose of my post!

It was for information.
[Nexus 5X Original Android Development] stratosk:
New version 0.7.0

- cpufreq: conservative: Decrease frequency faster when the timer deferred

- mm: remove gup_flags FOLL_WRITE games from __get_user_pages() (dirty COW vulnerability)

- Change default governor to conservative for big cluster
[Nexus 5X Original Android Development] Midomad:
[MENTION=278972]stratos[/MENTION] i have some questions? [emoji4]

1.Do you know about optimization found on Franco kernel? (related to Pixel kernel tree)

2.Pixel is using a new governor, is it possible to be used by nexus 5x?

3.Since android 7.1.1 is out as a dev preview i think we must wait for kernel source so semaphore will not work?
[Nexus 5X Original Android Development] stratosk:
1) No. I'm not aware

2) Maybe it's possible. I didn't check the code. But most probably it would have many dependencies (from version 3.18.x)

3) I didn't have the time to test 7.1.1 so I don't know it Semaphore works as is. :)
[Nexus 5X Original Android Development] Midomad:
For the optimisation you can look here

https://github.com/flar2/bullhead/commit/c002d993531729073eb89db6dbd4a5dcb9af21b4

https://github.com/flar2/bullhead/commit/00748fdbb661f367b5a17e4b9ce9b9a2e9058602

It's from ElementaX kernel.
[Nexus 5X Original Android Development] Midomad:
November factory image is up!

7.0.0 (NRD91N)

https://dl.google.com/dl/android/aosp/bullhead-nrd91n-factory-7a2e3942.zip
[Nexus 5X Original Android Development] stratosk:
New version 0.8.0

- Merge latest patches from NRD91N
[Nexus 5X Original Android Development] vampire36:
[MENTION=3750240]stratosk[/MENTION] : Hope you doing great...as always great work with your kernel :) Anychance you can support dev preview as well...have moved on and 7.1.1 is just a way better experience. I highly recommend you to test it. Touch latency improvements are really worth it and super stable. Hows your stuff with improving the kernel for bullhead coming up. Ondemand + Conservative kinda bring the kernel to a state you happy with or still diving deeper to find ways of improving the device ?
[Nexus 5X Original Android Development] ihancioglu:
Hi [MENTION=3750240]stratosk[/MENTION],

I am using your conservative input boost patches on my kernel for shamu(N6). As all cores are on conservative, sometimes it is getting laggy on UI. I was thinking that apply your "freq_step * 2" idea to sampling_down_factor while touch_boost_duration.

@@ -111,8 +111,16 @@ static void cs_check_cpu(int cpu, unsigned int load)
}

/* if sampling_down_factor is active break out early */
+ if (touch) {
+ unsigned int sampling_down_factor = cs_tuners->sampling_down_factor;
+ sampling_down_factor *= 2;
+
+ if (++dbs_info->down_skip < sampling_down_factor)
+ return;
+ } else {
if (++dbs_info->down_skip < cs_tuners->sampling_down_factor)
return;
+ }
dbs_info->down_skip = 0;

/* Check for frequency decrease */

Code implementation is so dirty as I am not programmer maybe incorrect :)

Device is looking more responsive right now. What do you think about this idea?

Thanks,
[Samsung Gear VR] leozero7007:
I have tried updating the app in the store multiple times but it just stalls 1MB short of completion. My phone is rooted so if that's the problem let me know but other than that im not sure what's causing the problems.
[Windows 10 Mobile] bylux07:
Hi guys ,

I was trying to get rid of from emergency mode and finally I found a solution and want to share with you.Sorry for bad english.

First of all you should know that you are doing this with your own risk and you will lose your all data .

REQUIREMENTS

-Windows Device Recovery Tool (Download)

-Your device's rom (you can get it from here)

-Your device's emergency files (files end with .hex and .mbn. You should see them under the rom details.)

When you get ready , connect your phone to computer via usb. Then open your Command line in administrator and type :

If you are using 32 bit operating system:

cd "%ProgramFiles%\Microsoft Care Suite\Windows Device Recovery Tool"

If you are using 64 bit operating system:

cd "%ProgramFiles(x86)%\Microsoft Care Suite\Windows Device Recovery Tool"

Now we will use thor2 for get rid of from emergency mode but we cant do it immediately.We should install bootloader again.Copy your rom and emergency files to desktop.

IMPORTANT

Then type in command line and edit code:

thor2 -mode emergency -hexfile %HomePath%\Desktop\YOUR_HEX_FILE.hex -mbnfile %HomePath%\Desktop\YOUR_MBN_FILE.mbn -ffufile %HomePath%\Desktop\YOUR_ROM_FILE.ffu -skipffuflash

Press your phone's soft-reset(volume down-power) buttons and Windows will give notification sound about your device disconnect and reconnect.It will take about 10 seconds at least.Timing is important.You should restart your device and hit enter at the same time. Otherwise you will get:

"THOR2_EMERGENCYFLASHV1_ERROR_PROGRAMMER_SEND_FAILED

THOR2 1.8.2.18 exited with error code 85030 (0x14C26)"

You should see "Exited with success".

Then your phone lead to flashing mode but it wont flash any file. For flash your rom type:

thor2 -mode uefiflash -ffufile "%HomePath%\Desktop\YOUR_ROM_FILE.ffu" -do_full_nvi_update -do_factory_reset -reboot

And you are done.Just wait for flash ends. Then your device will restart in factory settings and you will able to use your device.Hope it helps!

Credits:

DilanCHD's Tutorial
[Windows 10 Mobile] A Hassan:
Flash wrong sbl3 file

This process didn't work after flashing wrong sbl3 file. Please help me to fix my dead lumia 525...
[Windows 10 Mobile] bylux07:
Hassan, is your device still in emergency mode ?
[Windows 10 Mobile] A Hassan:
Flash wrong sbl3 file

No, it is completely dead, no vibration, no starting up, nothing, Can you help?
[Windows 10 Mobile] bylux07:
Hm okey try take off battery , wait couple a minutes then plug charger and wait for just a bit. Then connect your device and confirm it's status from thor2.
[Windows 10 Mobile] Vikram N. Verma:
Sir I tried above procedure properly on my Nokia Lumia 525, but my device does not show RED Screen and is still in QHSUSB_DLOAD- Emergency mode, no vibration, no light. After entering

thor2 -mode emergency -hexfile %HomePath%\Desktop\YOUR_HEX_FILE.hex -mbnfile %HomePath%\Desktop\YOUR_MBN_FILE.mbn -ffufile %HomePath%\Desktop\YOUR_ROM_FILE.ffu -skipffuflash

I got exited with success, but no RED Screen, tried several times.

Please Help me to get Lumia 525 back to Life !
[Windows 10 Mobile] GiovanniDalBenITA:
It doesn't work with me...

I have a Lumia 1020 RM-875, the correct .hex .mbn .ffu files and WPRT. I tried to use the code after thor2 launcher but after the emergency download i get always this message:

Sending OPEN_MULTI_REQ

Message send failed with error code 8

Failed to get response to OPEN_MULTI_REQ

ALPHA EMERGENCY FLASH END

...

THOR2_EMERGENCYFLASHV1_ERROR_MSG_SEND_RECEIVE_FAILED

THOR2 1.8.2.18 exited with error code 85021 (0x14C1D)

How can i fix? (sorry for eventual bad english and i'm not a very high skilled programmer)
[Windows 10 Mobile] dxdy:
if you download mbn file from lumiafirmware, don use it...

create mbn file with (for example, downloaded FFU file is in C:\rm-875\ folder, and xxx.ffu is just example, you must write exact name of ffu file):

thor2 -mode ffureader -ffufile C:\rm-875\XXX.ffu -dump_gpt -filedir C:\dump

this command will create gpt0.bin and rename it as msimage.mbn

before start process, be sure your battery is charged. charge battery with phone charger some time to be sure.

now use (example when file.hex is in c:\HEX\ folder)

thor2 -mode emergency -hexfile C:\HEX\HEX.hex -mbnfile C:\dump\msimage.mbn -orig_gpt

when done, disconnect (remove) battery.

connect battery again

now use (file vpl is just example, you must writ exact name of VPL file or rename it to file.vpl)

thor2.exe -mode vpl -maxtransfersizekb 1 -vplfile C:\rm-875\file.vpl

when done use

thor2 -mode rnd -bootnormalmode
[Windows 10 Mobile] augustinionut:
What is hex file?
[Windows 10 Mobile] demirciefe:
omg thanks it's work for my Lumia 920 and yes my device is completely dead, no vibration, no starting up, nothing, before
[Windows 10 Mobile] sabu068:
Problem

Microsoft Windows [Version 10.0.16299.125]

(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\Serkan>cd "%ProgramFiles(x86)%\Microsoft Care Suite\Windows Device Recovery Tool"

C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool> thor2 -mode emergency -hexfile %HomePath%\Desktop\YOUR_HEX_FILE.hex -mbnfile %HomePath%\Desktop\YOUR_MBN_FILE.mbn -ffufile %HomePath%\Desktop\YOUR_ROM_FILE.ffu -skipffuflash

THOR2 1.8.2.18

Built for Windows @ 13:36:46 Jun 16 2015

Thor2 is running on Windows of version 6.2

thor2 -mode emergency -hexfile \Users\Serkan\Desktop\YOUR_HEX_FILE.hex -mbnfile \Users\Serkan\Desktop\YOUR_MBN_FILE.mbn -ffufile \Users\Serkan\Desktop\YOUR_ROM_FILE.ffu -skipffuflash

Process started Thu Feb 08 15:34:38 2018

Logging to file C:\Users\Serkan\AppData\Local\Temp\thor2_win_20180208153438_ThreadId-9024.log

Debugging enabled for emergency

Initiating emergency download

Using default emergency protocol

ALPHA EMERGENCY FLASH START

Emergency Programmer V1 version 2014.10.31.001

Hex download selected

Check if device in Dload

Connection to DLOAD mode succeeded

Get Dload parameters

Sending HEX flasher to the device

Sending GO command if HEX flasher successfully uploaded.

Message send failed with error code -1

ALPHA EMERGENCY FLASH END

Emergency messaging closed successfully

Operation took about 7.00 seconds.

THOR2_EMERGENCYFLASHV1_ERROR_MSG_SEND_RECEIVE_FAILED

THOR2 1.8.2.18 exited with error code 85021 (0x14C1D)

C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool>thor2 -mode uefiflash -ffufile "%HomePath%\Desktop\YOUR_ROM_FILE.ffu" -do_full_nvi_update -do_factory_reset -reboot

THOR2 1.8.2.18

Built for Windows @ 13:36:46 Jun 16 2015

Thor2 is running on Windows of version 6.2

thor2 -mode uefiflash -ffufile \Users\Serkan\Desktop\YOUR_ROM_FILE.ffu -do_full_nvi_update -do_factory_reset -reboot

Process started Thu Feb 08 15:35:21 2018

Logging to file C:\Users\Serkan\AppData\Local\Temp\thor2_win_20180208153521_ThreadId-5920.log

Debugging enabled for uefiflash

Initiating FFU flash operation

WinUSB in use.

isDeviceInNcsdMode

isDeviceInNcsdMode is false

Device mode 7 Emergency mode

[THOR2_flash_state] Pre-programming operations

Disable timeouts

my phone is full blackscreen no starting up
[Windows 10 Mobile] Deleted member 7952820:
THANK YOU

Thank you its worked
[Windows 10 Mobile] Mihad_playz:
My lumia 640 xl is stuck on emergency Mode 7 can anyone help me to fix this

Thanks
[Windows 10 Mobile] :
EmreA32, THANK YOU

Thank you its worked...

Please help me to.

I have similar problem on lumia 520.

Thor2 -mode Emergency -hexfile hex.hex -mbnfile im.mbn -ffufile C:\ProgramData\Nokia\Packages\Products\rm-914\RM914_1030.6408.1309.0001_RETAIL_eu_russia_229_01_159218_prd_signed.ffu -skipffuflash

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

Initiating emergency download

Using default emergency protocol

ALPHA EMERGENCY FLASH START

Emergency Programmer V1 version 2014.10.31.001

Hex download selected

Check if device in Dload

Connection to DLOAD mode succeeded

Get Dload parameters

Sending HEX flasher to the device

Sending HEX flasher to the device failed. Try to re-send.

Re-sending HEX flasher to the device

Message send failed with error code 8

Cannot upload HEX flasher into the device

Sending GO command if HEX flasher successfully uploaded.

ALPHA EMERGENCY FLASH END

Emergency messaging closed successfully

Operation took about 8.00 seconds.

THOR2_EMERGENCYFLASHV1_ERROR_MSG_SEND_RECEIVE_FAILED

THOR2 1.8.2.18 exited with error code 85021 (0x14C1D)

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

what helped you?

my phone is full blackscreen and has vibro power on

Thanks
[Windows 10 Mobile] Anupam Das:
did you get any solution for this problem. i have a lumia 520 with the same problem you mentioned. and while fixing it getting this same error "THOR2 1.8.2.18 exited with error code 85021 (0x14C1D)". if you find any solution for this please reply me. {Mod edit: Telegram link removed. Oswald Boelcke, Senior Moderator}
[Windows 10 Mobile] Oswald Boelcke:
Hello and good afternoon, @Anupam Das

I've removed the links to Telegram from your above post. Regarding social media links please observe that as an exemption from the last bullet of rule no. 5 of the XDA Forum Rules, we grant only developers the privilege to share references to their social media in their own development threads and if thorough support is provided in the thread. These conditions obviously don't apply to this thread, your posts or you. Additional information is also available here:

Telegram Chat Channels - Way Forward

WhatsApp/Telegram Groups and Channels - Going Forward Hello XDA family! Just notifying all members that posting certain links to Telegram and other sites like WhatsApp is now allowed on XDA. What does that mean? We will allow links to messages...

xdaforums.com

In future please refrain from pushing people to social media or to share references to social media unless done in the opening post of your own development threads.

Regards

Oswald Boelcke

Senior Moderator
[Windows 10 Mobile] Intelinsidecomputer:
Me with my LG g4 flashing Nokia Lumia 950 ffu
[Windows 10 Mobile] j.tymon:
Hello, I have a lumia 820 (RM-825, 059R1W9) and it is completely dead.

Nothing from this forum works, I get this error:

Initiating emergency download

Using default emergency protocol

ALPHA EMERGENCY FLASH START

Emergency Programmer V1 version 2014.10.31.001

Hex download selected

Check if device in Dload

Message send failed with error code -1

Waiting connection to DLOAD: 2 of 2

Check if device in Dload

Message send failed with error code -1

Failed to connect to DLOAD mode

Make sure that the COM port is free. Close QPST.

ALPHA EMERGENCY FLASH END

Emergency messaging closed successfully

Operation took about 7.00 seconds.

THOR2_EMERGENCYFLASHV1_ERROR_PROGRAMMER_SEND_FAILED

THOR2 1.8.2.18 exited with error code 85030 (0x14C26)

Please help, I just got this phone and I really hope to get it back working again.
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] player615:
it can use for downgrade?---B310 to Rom stock B120---?
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] panchovix:
[MENTION=7045110]player615[/MENTION] sincerally i dont know, but for example i know you can do that from MM to LP, but never tested LP to KK
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] Zizo17:
I have tried my Africa ver b561 and it very awesome .. thanks friend
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] MarcoPLs:
i flashed b506 from here and it doesnt detect sdcard, as i remember it works when i last time used marshmallow

i think its because last time i downloaded from here:

http://www.hihonor.com/pl/support/details/?DOC_ID=81008 (you can add this link to compilation instead)
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] panchovix:
Added
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] Johnathan94:
Can i install another region version for my che2-ul00 device and how

thanks in advance
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] panchovix:
[MENTION=7147205]Johnathan94[/MENTION] you can but im not sure how, since i own the G play, and its the same as 4X but for latin american countries and i can install any 4X rom without problems or editing anything, but in the real 4x i think it isnt that easy, maybe changing some build.prop values and flashing a region zip, you can, but i dont know how to do that
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] Johnathan94:
Unfortunately can't root my che2ul00 Android 6 official every time i try to root it stuck on boot-loop then i have to recover the Chinese official update.app

so i can't edit the build prop but just in case if i could edit it what to edit and edit it to what cause I've extracted the update.app file into my pc and accessed the build prob file but didn't see any che2 ul00 values in it

thanx in advance :D
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] panchovix:
[MENTION=7147205]Johnathan94[/MENTION] ro product model, ro display id, ro product name, atleast those 3, for example ro product model from che2-ul00 to che2-l11, etc
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] Axims:
Has anyone updated from b070 (4.4) straight to the latest build (b561 6.0 )?

is it hassle-free? any experiences to share?
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] PalakMi:
I don't know, but it's safe to update to 5.1 then 6.0
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] panchovix:
4/10 Added Chinese Roms (no beta) and Europe B320

EDIT: and dont use B570, buggy as hell for now
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] Johnathan94:
I figuerd out how to change the system region to install another region ota update.app

it is about changing the oem info file

just downgrade to android lollipop or kitkat and root your device then copy new oem file

and overwrite it with ES file Explorer if any one needs these files tell me to upload it thanks again

with love <3 :D ♥
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] jerryhou85:
Good job, such a complete list!
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] PalakMi:
You're doing great :)
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] Marcyvee:
How to flash it? Just wipe system, cache and dalvik and flash the rom? Without any gApps?
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] PalakMi:
No you'll have to install through stock recovery, plus gapps are included
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] Marcyvee:
Oh, thanks. Where I can find the stock recovery? And then, is there a twrp for this phone?
[Honor 4x ROMs, Kernels, Recoveries, & Other Develo] PalakMi:
You can extract the recovery from the update using huawei update extractor, and yes there's TWRP for 4x
[Remix OS for PC] xda163fm:
After installing I get the prompt to reboot or start remix. I choose start remix and it works (except sound but I think that is expected).

After I shutdown and switch back on it does not boot. I am greeted with a grub> prompt.

Does anyone know how I can get remix to boot and automatically boot?

Thanks
[Remix OS for PC] mitchell4you:
Needs more info.. hardware, installed from (usb ?) , installed where (Ext4/sda? ) , What version of RemixOS

First thought : Sound like.. you installed RemixOS on your USBstick?

Cheers
[Remix OS for PC] xda163fm:
It is a linx1010b tablet (Intel Atom Z3735F - sound does not work in remix though, 32 bit eufi bios but 64bit cpu). I am sure I have installed to hard drive as the USB drive does not flash when loading remix.

I have tried installing several times and even unplugged USB after installing and remix boots. I have tried several partition schemes efi 300mb and the rest as Linux. Nothing appears to help. The remix partition options does not appear to allow setting of boot partition though if that matters.

I insert USB stick (downloaded image couple of days ago) and change boot option so install=1. As USB stick is 8gb and internal drive is 32gb I can tell I have the internal drive due to when partitioning it detects as 29gb.

Any ideas? Thanks
[Remix OS for PC] mitchell4you:
Perhaps.. (bootia32.efi)

https://ianrenton.com/guides/howto-install-linux-on-a-linx-1010b-tablet/
[Xposed General] sierra bravo:
I am getting a 404 error too...
[Xposed General] T3chnoViking:
Same here, it seems the servers are down, unable to download xposed as well
[Xposed General] sierra bravo:
Hmm... I wonder if Niantic has something to do with this due to all the Pokémon Go hacks... (Might as well start the conspiracy theories...)
[Xposed General] DavidMcNoodle:
This being a server issue makes it even worse. If the server is deleted or broken xposed has to start over.
[Xposed General] RG16:
Lets hope it doesn't come to that
[Xposed General] DavidMcNoodle:
It's already happening.
[Xposed General] AnkhMorporkian:
That's not true at all. If he doesn't have a server backup, he would be an AWFUL admin. Assuming he has a backup (which, given he's obviously a smart cookie for coming up with xposed, is nearly 100%), it'd be trivial to migrate it to a new server.
[Xposed General] DavidMcNoodle:
The funny thing is that I just rooted my phone and got xposed.

And now I'm here like waiting for a fix that's actually really we to fix in 16-48 hours.