[GUIDE][any UNLOCKED G4]create a custom X cores boot image (ILAPO tempfix)

renguer0

Senior Member
Apr 14, 2012
413
71
0
Many.. But for this I need commands you tried , error messages, screenshots , anything else ... rare details rare help.

Sent from my OnePlus 6T using XDA Labs
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
 

renguer0

Senior Member
Apr 14, 2012
413
71
0
Many.. But for this I need commands you tried , error messages, screenshots , anything else ... rare details rare help.

Sent from my OnePlus 6T using XDA Labs
@steadfasterX 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)?
 
Last edited:

steadfasterX

Recognized Developer
Nov 13, 2013
5,593
14,810
263
@steadfasterX 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)?
if it states "unlocked" on boot its unlocked.
the fastboot combo is extreme sensitive and the process must be followed 100% exactly:

  1. disconnect USB
  2. power off (or take battery out - and back in)
  3. press volume down (with good pressure!) and KEEP it pressed while connecting the USB cable between your phone and the PC
  4. wait 2 sec and fastboot should show up
 
Last edited:

renguer0

Senior Member
Apr 14, 2012
413
71
0
if it states "unlocked" on boot its unlocked.
the fastboot combo is extreme sensitive and the process must be followed 100% exactly:

  1. disconnect USB
  2. power off (or take battery out - and back in)
  3. press volume down (with good pressure!) and KEEP it pressed while connecting the USB cable between your phone and the PC
  4. wait 2 sec and fastboot should show up
It don't work @steadfasterX. 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!
 
Last edited:

steadfasterX

Recognized Developer
Nov 13, 2013
5,593
14,810
263
It don't work @steadfasterX. 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!
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

.-
 

renguer0

Senior Member
Apr 14, 2012
413
71
0
I have two h815's here and both work like that. maybe your firmware is different (too old).
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 still don't know what COMMANDS you type.
I can't boot in fastboot mode.

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
.-
COMMANDS from this thread to upload modified boot.img and rescue my bootloping phone. I can't mount external_SD.

Thanks for your time.
 
Last edited:

renguer0

Senior Member
Apr 14, 2012
413
71
0
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 @steadfasterX? :)
 

steadfasterX

Recognized Developer
Nov 13, 2013
5,593
14,810
263
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 @steadfasterX? :)
Download the kdz
Open SALT
Click extract kdz and extract the boot image..


Sent from my OnePlus 6T using XDA Labs
 

renguer0

Senior Member
Apr 14, 2012
413
71
0
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.
 

steadfasterX

Recognized Developer
Nov 13, 2013
5,593
14,810
263
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.
Can you get into the download mode? If so start SALT and share the debug log (adv menu->debug log->upload button)



Sent from my OnePlus 6T using XDA Labs
 
  • Like
Reactions: renguer0

jovanv

Senior Member
Apr 3, 2013
57
23
0
Madrid
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 @steadfasterX.

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 =>

downloading 'boot.img'...
OKAY [ 0.661s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.679s
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.
 
Last edited:

steadfasterX

Recognized Developer
Nov 13, 2013
5,593
14,810
263
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 @steadfasterX.

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.
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

.-
 
  • Like
Reactions: jovanv

jovanv

Senior Member
Apr 3, 2013
57
23
0
Madrid
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

.-
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?
 

chrysopra

Member
Sep 18, 2019
6
7
0
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 ;)
 
  • Like
Reactions: steadfasterX