yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] paradoxiumwind:
My phone isn't bootlooping, but the big cores are offline about 60% of the time when I boot the phone up, sometimes they turn off while it's on and don't come back on - should I use this now or did android 10 / whatever kernel i'm using fix it so it still boots with the issue?
[Nexus 5X General] theGeekyLad:
Sounds like it can be imputed to the kernel. Don't think you need this yet.
[Nexus 5X General] theGeekyLad:
Hey, sorry for the extremely tardy reply but I wasn't around. Hope you've gotten a new phone by now as there's no DIY workaround for your problem.
[Nexus 5X General] soLo1Blue:
My LG H790 Nexus 5X is in constant loop it flashes the Motorola logo as if it would up to start but it reboots itself again and again. Am unable to put it on fastboot or bootloader mode... Windows tells me there's an error... Any suggestions?
[Nexus 5X General] theGeekyLad:
Motorola logo? Also, try holding down the volume down button as it loops. At some point in time does it boot into fastboot?
[Nexus 5X General] soLo1Blue:
It used to boot to recovery now its just a blck screen and it appears there no driver it shows on my computer as Unspecified_bulk Model: QHSUSB_BULK needs troubleshooting and driver..
[G4 General] kalanakodicara:
Any way to fix issue in locked device? Still stucked on lollipop with root.
[G4 General] steadfasterX:
depends on your device and current ARB. I added the aboot TOT flashing method which also works on locked devices but u need to take care of the ARB (all mentioned there including links etc):

https://xdaforums.com/g4/help/guide-ultimate-bootloop-fixit-list-t3667688

,
[G4 General] kalanakodicara:
Its h815 SEA and can i use tot method for v29a or 20p?
[G4 General] DomagojX:
How can I extract boot.img from phone or KDZ file, so I can modify it. I tryed to make backup from twrp, but the file is boot.emmc.win...

I have H815 20g_00_0720.kdz, rooted, TWRP
[G4 General] lq092009:
Snapdaragon 808 only!

All you have to do is flashing in twrp

Off the kernel's big core

https://drive.google.com/file/d/1ij-qm5qWezoRykwjoTlg0BcQ-do21QIp/view?usp=drivesdk
[G4 General] steadfasterX:
Use SALT to take a basic backup. You will find the boot image there too.

Use SALT as well to extract a kdz.

Awesome. I have everything prepared to modify boot images on the fly but no time yet to finish it.

Before I started with implementing this I tried unpacking and packaging like you do here (mkbootimg etc) and failed:

Unless you use special versions of unpack image your method will not work for the g4 and results in a soft brick as we need to unpack and pack including the dt.img. Otherwise the kernel will not boot. I tried that already and that was an issue with TWRP long time ago, too.

But thanks anyways and let me know if you can do the same but including the dt
[G4 General] lq092009:
It must be flashing before modifying the kernel with a magisk or supersu
[G4 General] steadfasterX:
Sure. That's not the problem. I referring to the dt.img which does not get extracted from the boot image the way you do it. Without this the device will not boot as the bootloader aboot needs it!

This has nothing to do with magisk or supersu.
[G4 General] DoughMucker:
I've been using this on a phone that was overheating a couple times a day. It's been two days without a reboot/loop. Thanks!

You've given new life for a phone that was sitting in a drawer. This, combined with the bootloader unlock, and the roms are fantastic!
[G4 General] steadfasterX:
I'm glad it helps :)
[G4 General] ojcu:
Can I do it on Nougat or Oreo based roms? Do I need to flash the rom first and then edit or do it before?
[G4 General] steadfasterX:
ANY means ANY right?

You would first first flash your ROM then the modified boot image.

.
[G4 General] ojcu:
I know it was one of the noobest questions I could ask but I've never done it before so just making sure. Thanks
[G4 General] obvious:
I've had a quick look for a way to do this from within android but had no luck. I wonder if there's a kitchen tool in the play store that would work, or some android shell or busybox type add-on.
[G4 General] izzle47:
[MENTION=5545101]steadfasterX[/MENTION] Apologies for the noob request, I am not very good with linux , i followed the steps above , and when i try to flash the boot image it raises an error in fastboot remote:image is not a boot image

Kindly assist me.
[G4 General] izzle47:
Hello [MENTION=5545101]steadfasterX[/MENTION]

I wanted to request your assistance in creating a custom boot image for my device I tried to do it from your thread a couple of times I really don't know what the issue could be.

It raises the error remote :image is not a boot image when I try to flash it in fastboot

I have attached a link to my boot.bin image file

Thanks.https://mega.nz/#!m8QRXSJJ!R90SoS48O...IJ_Uvdrsp9tYoE

I am on the latest twrp for N posted on your server
[G4 General] steadfasterX:
first of all I have a friendly advice for you never ever quote big posts like mine. Regarding your problem try FWUL to modify it. I have no time at the moment sorry but maybe someone else can help you as well if FWUL doesn't help
[G4 General] capricorn85:
Hi

Thanks for sharing the method. I want to boot with only 1 core and later use 4 cores. How can i write for that:

maxcpus=4 boot_cpus=0-0

OR

maxcpus=4 boot_cpus=0

Also wanted to confirm that when do the maxcpus=4 become functional, i gues that starts to happen right after the LG logo appears or it happens when the boot process has finished.

I am guessing that boot_cpus=0-0 and 0 are not working. I can guess that because of the speed the animated logo appears. WHen it set it like max_cpus=1 it only boots and works on one core.

WHat i want is to boot with one core and later automatically switch to 4 cores when the system has loaded.
[G4 General] steadfasterX:
boot_cpus=0-0 is wrong just boot_cpus=0 should work if not use "=1" or "=0-1"

maxcpus means: max available CPU cores (https://android.googlesource.com/ke...r0.2/Documentation/kernel-parameters.txt#1883)

boot_cpus means: these CPU cores (0,1,2,3,4,5) will be powered on/enabled on boot (https://android.googlesource.com/ke..._r0.2/Documentation/kernel-parameters.txt#544)

so when you set maxcpus=4 and boot_cpus=0 it will use 1 core on boot and you will need to enable (up to 4 cores) in android (e.g. by an app).

.
[G4 General] Ceezar:
I don't get the process. can someone enlighten me. yes i am a noob ?
[G4 General] threehappypenguins:
Oops, wrong thread. Mod, you can delete.
[G4 General] threehappypenguins:
I think I need to change mine to 2 cores. I'm having trouble installing abootimg on FWUL. I tried using the command git clone and everything successfully downloaded. But I don't know what to do after that. Please help!
[G4 General] steadfasterX:
Use FWUL v3 as there it is included.
[G4 General] threehappypenguins:
I finally got FWUL 3 running, but it's in German. I have no choice but to convert it from .img to .vdi, open that in VirtualBox, then convert the .vdi to .vdmk because USB doesn't work right in VirtualBox, but it does in VMWare. When I did all this months ago, the first thing I did was try to put it on on USB and boot my computer into FWUL, but I couldn't get it to work. So that is why I use VMWare. But now it's all in German, and I've spent the last couple of hours using Google Translate and looking up how to change Arch Linux Manjaro's language. I still can't get this figured out. I thought all I needed to do was install abootimg on the current FWUL that worked, but I couldn't figure that out either. So here I am, stuck, trying to change a language because I can't read anything, and when I type things in the keyboard, they're different (slashes are dashes, and I don't know where the slash is so I have to copy and paste it from Google in Firefox, etc).
[G4 General] steadfasterX:
Do you read the changelog of FWUL v3? It's just some clicks to fix that language bug
[G4 General] threehappypenguins:
I keep reading it over and over, and I just don't see it in the changelog. I tried ctrl + f to find anything about "language" or "German" and I can't find anything. I'm really sorry. I just don't see it. How do I change it?

---------- Post added at 05:49 PM ---------- Previous post was at 05:40 PM ----------

I managed to figure out that if I put:

$ localectl set-locale LANG=en_US.utf8

in terminal, that upon reboot, the flag in the bottom corner changes to a US one (rather than a German one), but everything is still in German.
[G4 General] steadfasterX:
https://xdaforums.com/android/softw...-fastboot-driver-issues-t3526755/post78693097
[G4 General] threehappypenguins:
I successfully got FWUL going, changed the language (I didn't see the background arrow pointing to where the Language can be changed), and then converted everything to work in VMWare. Now I'm stuck on modifying the boot.img. I read, re-read, re-read again and again, and could not find *how* to modify boot.img. I am using Leafpad to edit all the text that I need to, ready to paste it into wherever I need to paste the modification. You explicitly said not to unpack boot.img I looked up how to modify boot.img, but all I can find are instructions on unpacking, modifying, and re-packing. I read every post in this thread. I cannot find anything on how to modify it. I'm sorry, I know I'm new at this.

---------- Post added at 08:02 PM ---------- Previous post was at 07:46 PM ----------

Doing more reading, I *think* I need to mount the boot image. However, I tried:

sudo mkdir /media/boot

then,

sudo mount -o loop boot.img /media/boot

but I get the error

mount: /media/boot: wrong fs type, bad option, bad superblock on /dev/loop1, missing codepage or helper program, or other error.
[G4 General] threehappypenguins:
Okay, I GET IT NOW. Wayyyy overthinking this.

You said to modify the image, and gave an example of a command line to put in:

abootimg -u boot.img -c "cmdline = maxcpus=4 boot_cpus=0-3 console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 msm_rtb.filter=0x37 boot_cpus=0-5 buildvariant=userdebug"

So I needed to start with:

abootimg -u boot.img -c

And then continue with

"cmdline =

I just wasn't thinking clearly. I combed over the readme, and saw this:
[G4 General] steadfasterX:
It's clearly written that you don't need to unpack or mount or whatever.

It's clearly written which command to use to view your current config:

abootimg -i boot.img

This will print your current cmdline like

cmdline = console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 msm_rtb.filter=0x37 boot_cpus=0-5 buildvariant=userdebug

You should copy that line and extend it at the beginning like this

abootimg -u boot.img -c "cmdline = [B]maxcpus=4 boot_cpus=0-3[/B] [COLOR="Red"]console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 msm_rtb.filter=0x37 boot_cpus=0-5 buildvariant=userdebug[/COLOR]"

Noted the bold part: maxcpus=4 boot_cpus=0-3 ? That is the magic which sets the wanted cores.

Noted the red part: console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 msm_rtb.filter=0x37 boot_cpus=0-5 buildvariant=userdebug ?

Thats just the regular cmdline copied from the original boot image you written done in the first step.

All the above is copied from the OP and I have no idea how to describe it even more clear then this .

You are using complete other command switches (e.g -f which is not mentioned ever) and the cmdline of your example above is completely wrong for your device.

Just follow the steps they are there for a reason.
[G4 General] threehappypenguins:
Yes, I know, I'm saying I didn't see what was clearly there. I think what happened was I thought that the abootimg -u boot.img -c was all part of editing and not a command. I apologize. I can't delete my posts, so I figured I'd leave it and explain why I asked. This is a huge learning curve for me, especially since I don't even touch Linux except for maybe every 6 months when I need to fix a phone for myself, my husband, or a friend.
[G4 General] steadfasterX:
Fully ok to ask and usually there is never a reason do delete posts unless they harm or attack others.

Even more important your questions may can help others.
[G4 General] renguer0:
Hi, thanks for this thread!!

I have boot.bin file generated with SALT. How can I turn it into IMG file? I'm looking for H815_20a and H810_20g files.
[G4 General] steadfasterX:
see SALT - FAQ #11

.-
[G4 General] renguer0:
Thanks!

Now I see this message when I try to do the steps:

boot.img: Permission denied

I'm doing something wrong? :)
[G4 General] steadfasterX:
seems. you don't tell me the steps you have done...

.-
[G4 General] renguer0:
Solved. Images created using su instead fwul user.

fastboot command didn't recognize the unlocked phone (it has bootloader unlocked). What can I do? I'm trying to upload this boot image to make it usable. ATM it is in bootlop because motherboard problem.
[G4 General] renguer0:
[MENTION=5545101]steadfasterX[/MENTION] any ideas mate?

Thanks again!
[G4 General] steadfasterX:
Many.. But for this I need commands you tried , error messages, screenshots , anything else ... rare details rare help.
[G4 General] renguer0:
Just didn't recognize download mode. Windows or Wful, "unknown device" in LGUP, Wful didn't show any messages just keep searching for device.

Thanks. I really don't know how can I do from this point.

Enviado desde mi LG-H870DS mediante Tapatalk
[G4 General] renguer0:
[MENTION=5545101]steadfasterX[/MENTION] it just don't boot into fastboot mode. If I try to mount external SD to upload modified boot image to disable big cores, using dd command, I see "mount: /storage/external_SD: mount point does not exist".

SALT shows as H815 ARB 0. The phone shows "unlocked bootloader message" when starts. It's a H815 but I think that unlock bootloader process it wasn't completed.

Recently I unlocked and disabled big cores on locked H810. But this H815 stills in limbo. Maybe I can try to USU the H815 with bootloader "unlocked" (if I can't access via fastbot, it remains locked at practical effects)?
[G4 General] steadfasterX:
if it states "unlocked" on boot its unlocked.

the fastboot combo is extreme sensitive and the process must be followed 100% exactly:

disconnect USB

power off (or take battery out - and back in)

press volume down (with good

pressure

!) and KEEP it pressed while connecting the USB cable between your phone and the PC

wait 2 sec and fastboot should show up
[G4 General] renguer0:
It don't work [MENTION=5545101]steadfasterX[/MENTION]. I know the process, in other phone that I have it works but not in this h815.

Maybe we can check mounting sd card error on method with dd command to upload modified boot images? Or another way to boot into fastboot?

Thanks for your time!
[G4 General] steadfasterX:
I have two h815's here and both work like that. maybe your firmware is different (too old).

I still don't know what COMMANDS you type. what dd command? give screenshots (I told that before) or better: give the full terminal commands you type and the FULL RESULT.

rare details, rare help

.-
[G4 General] renguer0:
Or maybe the unlock bootloader process isn't complete or faulty? I can't reboot in fastboot mode from ADB (because in download mode isn't recognized from ADB) or following this thread. It says FAIL on link method. Do you know another method to boot into fastboot? Maybe I can flash something in order to enable it?

I can't boot in fastboot mode.

COMMANDS from this thread to upload modified boot.img and rescue my bootloping phone. I can't mount external_SD.

Thanks for your time.
[G4 General] renguer0:
Hey, anybody know if I can extract a boot.img from 20A H815 firmware file? I've uploaded a wrong one (without backup) and I can't make it following this guide.

In my other phone, a H810 the guide works flawlessly!

Maybe you can help me with this [MENTION=5545101]steadfasterX[/MENTION]? :)
[G4 General] steadfasterX:
Download the kdz

Open SALT

Click extract kdz and extract the boot image..
[G4 General] renguer0:
So... I still can't get into fastboot mode in this H815 :(

Key pressing procedure is OK (I did it a couple of times on other H810). Any ideas-? I need to disable big cores in order to rescue the phone.
[G4 General] steadfasterX:
Can you get into the download mode? If so start SALT and share the debug log (adv menu->debug log->upload button)
[G4 General] jovanv:
I'm trying to follow this guide to create a custom boot image with 4 cores for the latest lineage-16.0-20200119-UNOFFICIAL-h815.zip. from [MENTION=5545101]steadfasterX[/MENTION].

1. I have extracted only the boot.img out of the zip file.

2. abootimg -i boot.img

3. copied the cmdline = <orig> from the console.

4. updated the boot.img: abootimg -u boot.img -c "cmdline = maxcpus=4 boot_cpus=0-3 + <orig>"

5. Checked with abootimg -i boot.img if the new parameters are in there. Yes.

I enter in the G4 H815 bootloader:

1. adb devices => G4 is listed, OK.

3. abd reboot bootloader => enters in bootloader OK.

4. fastboot devices => list the device, OK.

Testing if the new boot.img will boot:

1. fastboot boot boot.img =>

I think this means it won't boot, so I did not install the new boot image.

Next thing I tried is the same, but instead of the boot.img from the lineage zip file, I tried with the twrp-3.3.1-PREVIEW-207_g4_P.img, to add the maxcpus=4 etc. but the result is the same:

FAILED (remote: unknown command).

So, obviously I'm missing something... I am on stock v29a, officially unlocked bootloader.

Any help is really much appreciated.
[G4 General] steadfasterX:
fastboot boot is blocked in the v29a bootloader (which is

BETA

and

unofficial

).

You can not test the boot image like that as long as you stay on v29a. so either flash 20p bootloader stack (there is a zip on my leech server) or just skip the boot test and flash

.-
[G4 General] jovanv:
Thanks!

Just to be sure: I need to add "maxcpus=4 etc" in both the boot.img from the lineage.zip *and* in the twrp-3.3.1-P.img, correct?
[G4 General] steadfasterX:
correct

edit: you could even extend that and (after testing that TWRP booted) do the same for the laf.img which provides the download mode

.-
[G4 General] chrysopra:
Many thanks for your very helpful thread wich enabled me to revive my bootlooped G4 which I kept for supply of spare parts for my two fully working G4´s. :good::good::good:

Now my son enjoys his "new" smartphone, equipped with your beautiful SHRP revorery and (up to now) your latest ROM (Calmdown from Experimental):D:D:D

Everything runnig fine, with also great battery life. Your work keeps running a real nice phone (I love the modular structure with easy to replace components)

with a great ROM (I hate those bloatwared stock ROMs)

What a pity, producers are not forced to release their information regarding hardware drivers beyond their end of service time. (As far as I understood, lack of information regarding the camera prevents you from lifting up your ROM to Q.)

Hopefully you are continuing your awesome work, which fills a gap, a materialistc society led by politicians who care for their lobbyists leaves.

Sorry for this topic being mostly OT, but I was too lazy to say you "thank you very much for your work" in different threads ;)
[G4 General] dzeron:
fastboot flash <partition> laf.img

Which partition is that ? thanks :)
[G4 General] steadfasterX:
Depends on what you wanna flash obviously.
[G4 General] hamed_forum:
must write

(----abootimg -u boot.img -c "cmdline = maxcpus=4 boot_cpus=0-3 console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 msm_rtb.filter=0x37 boot_cpus=0-5 buildvariant=userdebug----")

or clean tang (-[/COLOR]- ,)
[G4 General] cooledi:
hi sfx, I have bootloop'ed recently, I'm trying to write boot.img to my g4 but failed, any ideas? I'm on ASOiP rom...

[android@fwul ~]$ fastboot boot mboot.img

Sending 'boot.img' (13524 KB) OKAY [ 0.399s]

Booting FAILED (remote: 'bootimage: incomplete or not signed')

I ripped the boot.img from ASOiP rom.zip

thx
[G4 General] steadfasterX:
fastboot boot is not possible on all firmwares. Go on with the next step and flash it.
[Xiaomi Mi Max Guides, News, & Discussion] BRoy_98:
A torch app that can control the brightness of the torch LED and control specific LED separately!

XDA thread: https://xdaforums.com/android/apps-games/app-godly-torch-control-torch-led-t3708786

Mi Max is supported now!
[Honor 8 Lite Themes, Apps, and Mods] liboct87:
this wonderful plugin enables an extra plugin for us to take 3D photos.

Just install the plugin APK file and swipe left at main camera mode and you can see the plugin enabled automatically.

Link to download:

https://drive.google.com/file/d/0B4XPWiV9x2jaejhralNhaGJWUWM/view
[Honor 8 Lite Themes, Apps, and Mods] Shoaib.Khan:
it shows Mate 9

Edit: installed it and it is working fine, but I think it is better record a video than this 3d plugin.
[Huawei Mate 10  Questions & Answers] danny_wasp:
Hi all,

I acquired my Mate 10 Pro via the CarPhone Warehouse and VoLTE doesn't appear to be working with it on the EE network. I have no VoLTE icon in the top left corner neither do I have HD calls.

I did call EE about it but their response was 'you didn't get this phone from us so we don't support it'.

VoWiFi appears to work fine (I had to enable that manually) but no 4G calling for some reason - has anyone else had this problem?
[Huawei Mate 10  Questions & Answers] Arthur Hucksake:
When you make calls, check if the 4G icon still shows. If it does,you are getting it fine. (HD calling as it's known) It's just handled differently in the UK right now as far as I'm aware. It's basically voice calls over 4G.
[Huawei Mate 10  Questions & Answers] TGUY25:
What version of firmware are you using? I’m looking for a version that supports WiFi calling and VOLTE that I can test in the AT&T network in the US. Thx
[Huawei Mate 10  Questions & Answers] danny_wasp:
When I make a call the 4G icon stays there, although I no longer appear to get HD calling as with my previous phone the calls would be crystal clear.
[Huawei Mate 10  Questions & Answers] danny_wasp:
I'm on .115 C782 if that's of any help.
[Huawei Mate 10  Questions & Answers] Arthur Hucksake:
Maybe it is missing for us now. Bummer. Not sure whether it's worth downgrading to get it back tho.

Wasn't there something in the menu settings about it previously?
[Huawei Mate 10  Questions & Answers] gavinfabl:
Its built into the rom as standard so should work. When you first put you sim in, did the phone pop up a message saying adjusting phone settings to EE, then reboot etc..
[Huawei Mate 10  Questions & Answers] sonydesouza:
I had to call my operator in order to activate VolTE for info.

I'm with Bouygues Telecom in France.

It will be activate in two days. So i will give a feedback soon.
[Huawei Mate 10  Questions & Answers] danny_wasp:
Downgrading? What version are you on? My hope is that when the upgrade eventually becomes available for my phone that HD Calling will be enabled.

I haven't found anything in the settings about HD Calling so far.
[Huawei Mate 10  Questions & Answers] Arthur Hucksake:
I'm on BLA-L09 8.0.0.127 (C432)

It shipped with .115
[Huawei Mate 10  Questions & Answers] danny_wasp:
It sure did, I'm on .115 C782 at the moment, still waiting for the OTA update.

Edit : I've tried HiSuite for updates as well, nothing yet...
[Huawei Mate 10  Questions & Answers] danny_wasp:
Yup it done some customisation but I can't (to my regret) remember how much as I wasn't paying much attention at the time.
[Huawei Mate 10  Questions & Answers] TripleHasH:
Bla-l29 8.0.0.127(c432)

[IMG="VOLTE"]https://scontent-ams3-1.xx.fbcdn.net/v/t34.0-12/25359713_1610362679044197_2007745683_n.png?oh=602f31a2421975eab0c4743f7df4f3e0&oe=5A348525[/IMG]

BLA-L29 8.0.0.127(C432)

on 115 , no VoLTE or VoWiFi settings , got them via OTA
[Huawei Mate 10  Questions & Answers] snipeerz:
also me i need to activate it how ?

alp-l29

8.0.0.119 c185

8.0