[GUIDE]Change your OEM splash screen - OnePlus 3T Themes, Apps, and Mods

Hello there,
as you may know you can change the oem splash screen on the OnePlus 3, as provided in this thread by @makers_mark here.
That program only needs minor fixes to work with OnePlus 3T splash partitions, and I have attached the source code and a windows binary below.
To use it, extract the "OnePlus3TInjector.zip" and run the commands in the command prompt in the folder you extracted the zipfile into.
To decode use:
Code:
OP3TInject -i LOGO.bin -D
After having changed the image files, use
Code:
OP3TInject -j fhd -i LOGO.bin
I have tested this and it works on my phone, but you still have to USE THIS ON YOUR OWN RISK.
If you want to see how this looks, take a look at this video here: https://www.youtube.com/watch?v=DWj2WRpcoqI
If you want a custom bootlogo but can't use the tool you can pm me an image file or post one here down below. I will send you a zip file that you can flash in recovery.
To use this, get the "Stock" zip from below, and replace the modified.logo.bin in it with the one produced by the injector, then flash in your recovery.
If you do not want to use your recovery use a terminal emulator on your phone and run the command as root:
Code:
dd if=/sdcard/Downloads/modified.logo.bin of=/dev/block/platform/soc/624000.ufshc/by-name/LOGO"
To go back to stock logo.bin, flash the zip file attached below.
Please note that this does not remove the warning that your phone is unlocked.
Finally a big shoutout to @prmcmanus who tested this for me. Leave him a like!
I also thank @makers_mark for all the work he has done on the OnePlus 3 and the original OP3Injector.

Jo_Jo_2000 said:
Hello there,
as you may know you can change the oem splash screen on the oneplus 3, as provided in this thread here:
That program only needs minor fixes to work with OnePlus 3T splash partitions.
Unfortunately I cannot provide a compiled program here because the original program was not published under a proper license, but I can tell you that you just need to change line 35 of the file "src/LogoInjector.v1.4.c" from the zip archive linked in the thread below to be "#define MAXOFFSETS 32" instead of "#define MAXOFFSETS 28" and recompile the program.
I have not yet tested it, so I do not know whether this works or just bricks your phone, so USE THIS ON YOUR OWN RISK.
If you want to test this for me, but do not want to compile the program yourself, you can flash my "beta-test" version linked below. Follow the instructions from the original thread above. Remember to backup your current LOGO partition.
Note to moderators:
I know that this should rather belong into the development section, but I do not yet have enough posts to post there, so I put it in here. Sorry about that but I do not want to randomly spam other threads to get the 10 responses needed.
Click to expand...
Click to collapse
Thanks. I put in a bit of time trying to figure this out with a 3t and git code. First: I wasn't interested in the "logo" partition exactly, but more about that "unlocked bootloader" and it's associated tag warning and timeout that comes up each boot after unlocking bootloader. I found the timeout and the text that goes on the screen here in the code (the bootable bootloader code) : ~/sandbox/oneplus3t/bootable/bootloader/lk/app/aboot/aboot.c : I even tested changing that, but there was no easy way to to "give it out" aside from as part of a custom ROM done from source.
Are we talking about the same thing? Or : are you talking about just replacing one logo partition content with another and it has nothing to do with the unlocked tag warning & timeout (5 sec.)?
Thanks.
---------- Post added at 05:06 AM ---------- Previous post was at 04:48 AM ----------
OK: I checked it out and it has nothing to do with the unlocked bootloader warning, which I'm working on as said above and have gotten rid of on my own phone (which I no longer have..). That's completely about the file I mentioned above "aboot.c" in bootable/bootloader/... tree.
But nice going anyway, -- thanks.

Nope, these are different things. I'm refering to the logo partition which stores images while the warning message is hardcoded into the bootloader which you probably cant change because it's signed by OnePlus.
Also OnePlus hasn't released their bootloader sources (I think) and the bootloader in the source tree is just the generic base for all quallcomm bootloaders (aka Little Kernel).
So sorry to disappoint you but you won't be able to remove that warning with LOGO editing.

Jo_Jo_2000 said:
Nope, these are different things. I'm refering to the logo partition which stores images while the warning message is hardcoded into the bootloader which you probably cant change because it's signed by OnePlus.
Also OnePlus hasn't released their bootloader sources (I think) and the bootloader in the source tree is just the generic base for all quallcomm bootloaders (aka Little Kernel).
So sorry to disappoint you but you won't be able to remove that warning with LOGO editing.
Click to expand...
Click to collapse
So the rom I built from their 3t sources must have used boot.img as a "prebuilt"? Does that sound right? I guess I could unpack boot.img and figure out how to get rid of the delay with a binary overwrite. (I wouldn't look forward to testing that ;

It's in the bootLOADER which is not a prebuilt nor a thing you build yourself when you build a custom rom. Its build, maintained and signed by OnePlus so they and only they can alter the bootloader (I think so, maybe "flashing unlock_critical" does the trick here, but dont try it or you will irreversibly hard brick your phone).
Also good luck with a binary overwrite, I hope you know ARM assembly.
To get that clear, the warning message has got _nothing_ to do with boot.img, they are two completely different things and no matter what you do with a boot.img, you won't get rid of that warning!

I know there's a flashable .bin that gets rid of that exact same unlocked bootloader msg and delay on the moto x pure 2015 (XT1575). Maybe it's similar. I've attached the file.

I doubt that this will work... the original logo.bin is about 16mb and even if I just repack it with the original images it's only about 700kb

noahvt said:
I doubt that this will work... the original logo.bin is about 16mb and even if I just repack it with the original images it's only about 700kb
Click to expand...
Click to collapse
Good that you are concerned and looking for errors I might have made!
However I am very certain that the file indeed is only .7 MB large because:
1. That program (without mods) works on the oneplus 3, whose file is also only about that large
2. The first 786432 bytes (the size of the recoded file) of the original LOGO.bin dump are identical
3. the remaining 16 mb are zeroed out and contain no data
4. the program produces correct images
I would be happy to try it out, because I do not have access to a PC where I can run the MSM Downloader in case I brick things!
Greetings.

g96818 said:
I know there's a flashable .bin that gets rid of that exact same unlocked bootloader msg and delay on the moto x pure 2015 (XT1575). Maybe it's similar. I've attached the file.
Click to expand...
Click to collapse
The OnePlus 3t's warning is hardcoded into the bootloader, so unless you find a bug in sbl1 or break rsa you won't get around that.

I compiled this and got it working, but can't share for the same reasons as OP.
If anyone wants a custom logo, PM me the picture and I'll make an image file for you

prmcmanus said:
I compiled this and got it working, but can't share for the same reasons as OP.
If anyone wants a custom logo, PM me the picture and I'll make an image file for you
Click to expand...
Click to collapse
So you can use this without bricking your phone?

Jo_Jo_2000 said:
So you can use this without bricking your phone?
Click to expand...
Click to collapse
Yep, working on mine

Hey, @prmcmanus... PM'ed you!

@Ker~Man did you get my reply? It doesn't look like Quick Reply works :-S

prmcmanus said:
@Ker~Man did you get my reply? It doesn't look like Quick Reply works :-S
Click to expand...
Click to collapse
I sure did, and thank you! How do I install these, though? Flash in TWRP? I'm not too keep with .bin files. Thanks again!

Ker~Man said:
I sure did, and thank you! How do I install these, though? Flash in TWRP? I'm not too keep with .bin files. Thanks again!
Click to expand...
Click to collapse
look in my opening post, I've written two methods there.

Ker~Man said:
I sure did, and thank you! How do I install these, though? Flash in TWRP? I'm not too keep with .bin files. Thanks again!
Click to expand...
Click to collapse
Put the phone in fastboot mode and flash:
Code:
fastboot flash LOGO filename.bin
Jo_Jo_2000 said:
look in my opening post, I've written two methods there.
Click to expand...
Click to collapse
That 2nd method, I didn't know you could do that in the terminal! Nice

Jo_Jo_2000 said:
Hello there,
as you may know you can change the oem splash screen on the OnePlus 3, as provided in this thread here:
That program only needs minor fixes to work with OnePlus 3T splash partitions.
Unfortunately I cannot provide a compiled program here because the original program was not published under a proper license, but I can tell you that you just need to change line 35 of the file "src/LogoInjector.v1.4.c" from the zip archive linked in the thread below to be "#define MAXOFFSETS 32" instead of "#define MAXOFFSETS 28" and recompile the program.
Click to expand...
Click to collapse
I apologize for not responding to you soon enough. When I figure out an encoding, I release the source code for the encoder and decoder that I build for a couple of reasons. And one of those reasons is so you can do like you did! And you did it right! Thanks for asking and giving a link which in my book is good enough for proper credit. Feel free to share the binary with whoever:good:

I replaced the logo injector .zip file because it created an error when executed by some people.
You can use it now.

Jo_Jo_2000 said:
I replaced the logo injector .zip file because it created an error when executed by some people.
You can use it now.
Click to expand...
Click to collapse
Does my device have to be "Critical Unlocked"? I have an unlocked bootloader but when I try "fastboot flash LOGO" I get "FAILED (remote: Partition flashing is not allowed)"
EDIT: flashing it with dd works though

Related

Venue 7840 Kernel Sources, Bootloader unlock + KK OTA zip Released

Venue 7840 Kernel Sources, Bootload unlock + KK OTA zip Released
Dell has posted the kernel sources in their open-source section: http://opensource.dell.com/releases/Venue_8_7840_Merrifield/
Not too much use since we still have no tools to unlock the bootloader and no OTA zips but I assume those are to come.
EDIT:
Dell alerted me that they've pushed the bootloader unlock tools, OTA, an updated kernel package and an instructional PDF to their opensource page.
http://opensource.dell.com/releases/Venue_8_7840_Merrifield/developer-edition/
What interest me is the fact they included a test key for signing the boot.img this device has never been confirmed locked but up till now their hasn't even been a tool for generating a compatible image playing tonight might go buy one in the morning.
social-design-concepts said:
What interest me is the fact they included a test key for signing the boot.img this device has never been confirmed locked but up till now their hasn't even been a tool for generating a compatible image playing tonight might go buy one in the morning.
Click to expand...
Click to collapse
I did notice this. I remember when the tablet was originally showcased a couple of sites wrote that it was going to be shipped with an unlocked bootloader - maybe that's the case. Like you say, I don't think anyone's confirmed it either way yet.
I think you just confirmed it's locked, else you wouldn't need to sign anything.
vampirefo said:
I think you just confirmed it's locked, else you wouldn't need to sign anything.
Click to expand...
Click to collapse
Personally I wouldn't mind a device that was locked as long as the manufacturer allowed for the end user to inject its own trusted keys as needed.
social-design-concepts said:
Personally I wouldn't mind a device that was locked as long as the manufacturer allowed for the end user to inject its own trusted keys as needed.
Click to expand...
Click to collapse
If that was the case, why bother locking them in first place. I doubt the key included is going to help.
Anyway good luck.
sent from my kingSing T1 via taptalk
I've just made a lowest-effort attempt at building, by running the included kernel_build.sh and the whole thing fails miserably, because the build script tries to source build/envsetup.sh which it turns out, does not exist.
EDIT: I'm dumb please don't laugh.
xBIGREDDx said:
I've just made a lowest-effort attempt at building, by running the included kernel_build.sh and the whole thing fails miserably, because the build script tries to source build/envsetup.sh which it turns out, does not exist.
Click to expand...
Click to collapse
There is a lot more to building this kernel than simply clicking the kernel_build.sh, you would need to setup a build environment.
I don't have this tablet, so not really interested in building kernel, I wanted to see test.pem, I did look at kernel_build.sh and it tells me exactly what it's going to do, and that I need to setup a aosp build environment, 7th line down (lunch aosp_x86-eng).
Anyway I don't think there is anything here for me, eg nothing I can use, will test key later just to see.
Ah, I haven't built a kernel in ages. And I think my last one was part of CM. Do I drop this on top of AOSP source?
Well, I was bored so I built the kernel, just to see what would happen, kernel builds exactly as it should. The interesting stuff it builds is.
extra_certificates
signing_key.priv
signing_key.x509
x509.genkey
.config
Makefile
Code:
OBJCOPY arch/x86/boot/setup.bin
OBJCOPY arch/x86/boot/vmlinux.bin
HOSTCC arch/x86/boot/tools/build
BUILD arch/x86/boot/bzImage
Setup is 15504 bytes (padded to 15872 bytes).
System is 6474 kB
CRC 3de305f4
Kernel: arch/x86/boot/bzImage is ready (#1)
Building modules, stage 2.
Looks like a few modules don't build.
Code:
INSTALL sound/soc/intel/board/snd-merr-dpcm-wm8958.ko
INSTALL sound/soc/intel/board/snd-merr-saltbay-wm8958.ko
INSTALL sound/soc/intel/snd-soc-sst-platform.ko
INSTALL sound/soc/intel/sst/snd-intel-sst.ko
DEPMOD 3.10.20
make[1]: Leaving directory `/home/vampirefo/intel/linux/kernel'
DEPMOD 3.10.20
depmod: WARNING: could not open /home/vampirefo/intel/out/target/product/iconic/linux/kernel/fakedepmod/lib/modules/3.10.20/modules.order: No such file or directory
depmod: WARNING: could not open /home/vampirefo/intel/out/target/product/iconic/linux/kernel/fakedepmod/lib/modules/3.10.20/modules.builtin: No such file or directory
kernel build done
./xfstk-stitcher: error while loading shared libraries: libMerrifieldSigning.so.1: cannot open shared object file: No such file or directory
build finished.
Aye, I got to the same point earlier today. The script runs fine, the kernel builds apart from the few modules and it then fails on the boot.img stitcher.
anggusss said:
Aye, I got to the same point earlier today. The script runs fine, the kernel builds apart from the few modules and it then fails on the boot.img stitcher.
Click to expand...
Click to collapse
stitcher is corrupt, Dell put out a bad file, to keep people from signing the boot.img, You may be able to flash unsigned boot.img if your bootloader is unlocked, if bootloader is locked your tablet wont boot.
stitcher is corrupt, Dell put out a bad file, to keep people from signing the boot.img
Click to expand...
Click to collapse
I wouldn't call it corrupt, they just haven't provided some of the libraries it depends on (albeit, some are related to signing). The executable is still valid, it's just useless.
Code:
libMerrifieldSigning
libhsmlib2-1004-32
libTMT_API
Are the dependencies missing. It also depends on libxfstk-dldr-api but that's available from http://sourceforge.net/p/xfstk/
You may be able to flash unsigned boot.img if your bootloader is unlocked, if bootloader is locked your tablet wont boot.
Click to expand...
Click to collapse
Aye, I'm aware - I'm waiting on Dell to get back to me regarding unlocking of the bootloader.
anggusss said:
Aye, I'm aware - I'm waiting on Dell to get back to me regarding unlocking of the bootloader.
Click to expand...
Click to collapse
I've been waiting on Dell to get back to me on that and well anything else for 13 months now.
You could probably use the xfstk-stitcher from the 3x40 series to generate an unsigned boot.img
social-design-concepts said:
I've been waiting on Dell to get back to me on that and well anything else for 13 months now.
You could probably use the xfstk-stitcher from the 3x40 series to generate an unsigned boot.img
Click to expand...
Click to collapse
unsigned boot.img is already created, trying to sign the unsigned boot.img is the problem.
vampirefo said:
unsigned boot.img is already created, trying to sign the unsigned boot.img is the problem.
Click to expand...
Click to collapse
It's not bootable or flashable with out stitching it with the xfstk-stitcher
I've been waiting on Dell to get back to me on that and well anything else for 13 months now.
Click to expand...
Click to collapse
They just got back to me - I've updated the main post. They've posted bootloader unlock tools, updated kernel package, OTA zip and an instructional PDF to the opensource page.
The updated kernel package removes xfstk-stitcher and the keys that were in the last archive, haven't diff'd anything else yet.
anggusss said:
They just got back to me - I've updated the main post. They've posted bootloader unlock tools, updated kernel package, OTA zip and an instructional PDF to the opensource page.
The updated kernel package removes xfstk-stitcher and the keys that were in the last archive, haven't diff'd anything else yet.
Click to expand...
Click to collapse
I see this tool is for Linux, nice on that part, also the bootloader comes locked, that is 100% confirmed now.
---------- Post added at 11:42 AM ---------- Previous post was at 11:16 AM ----------
Dell hooked you guys up, They include a unpacking and repacking boot.img script, So you all can unpack and repack boot.img, hopefully works on recovery.img as well, if it does, you guys can flash permanent recovery.
Dell has given this open source more than any other tablet.
compiling kernel now.
Kernel compile works now as it should, end up with boot.img now.
kernel build done
Unpacking boot-intel-unsigned.img into tmp_boot_unpack
kernel size 6463488
ramdisk size 3227648
Write tmp_boot_unpack/sig
Write tmp_boot_unpack/cmdline.txt
Write tmp_boot_unpack/parameter
Write tmp_boot_unpack/bootstub
Write tmp_boot_unpack/kernel
Write tmp_boot_unpack/ramdisk.cpio.gz
Unpacking ramdisk to tmp_boot_unpack/extracted_ramdisk
Packing directory [ tmp_boot_unpack/extracted_ramdisk ] => ramdisk.cpio.gz
Read tmp_boot_unpack/kernel
Read tmp_boot_unpack/ramdisk.cpio.gz
Read tmp_boot_unpack/cmdline.txt
Read tmp_boot_unpack/parameter
Read tmp_boot_unpack/sig
Read tmp_boot_unpack/bootstub
Write boot.img
build finished.
vampirefo said:
I see this tool is for Linux, nice on that part, also the bootloader comes locked, that is 100% confirmed now.
---------- Post added at 11:42 AM ---------- Previous post was at 11:16 AM ----------
Dell hooked you guys up, They include a unpacking and repacking boot.img script, So you all can unpack and repack boot.img, hopefully works on recovery.img as well, if it does, you guys can flash permanent recovery.
Dell has given this open source more than any other tablet.
Click to expand...
Click to collapse
did you ever figure out if that test key was standard aosp or an intel / dell test key i'm still interested in it since they went back to an unsigned image format.
the one image i made signing with it doesn't boot but also doesn't error immediately after rebooting from flash the way images with an incorrect signature / unsigned image does so i'm curious if maybe my platform.xml file is configured wrong.
but at least i can buy one of these tablets now that its unlocked
---------- Post added at 01:06 PM ---------- Previous post was at 12:55 PM ----------
anggusss said:
They just got back to me - I've updated the main post. They've posted bootloader unlock tools, updated kernel package, OTA zip and an instructional PDF to the opensource page.
The updated kernel package removes xfstk-stitcher and the keys that were in the last archive, haven't diff'd anything else yet.
Click to expand...
Click to collapse
What address are you email them @
At this point i really don't care if Dell unlocks the DV7 3730 bootloader or not i just want a logical explanation of why they they did it for all the other Dell Intel Android Tablets 3830 , 3740 , 3840 , and 7840 but haven't for the 3730
social-design-concepts said:
did you ever figure out if that test key was standard aosp or an intel / dell test key i'm still interested in it since they went back to an unsigned image format.
the one image i made signing with it doesn't boot but also doesn't error immediately after rebooting from flash the way images with an incorrect signature / unsigned image does so i'm curious if maybe my platform.xml file is configured wrong.
but at least i can buy one of these tablets now that its unlocked
---------- Post added at 01:06 PM ---------- Previous post was at 12:55 PM ----------
What address are you email them @
At this point i really don't care if Dell unlocks the DV7 3730 bootloader or not i just want a logical explanation of why they they did it for all the other Dell Intel Android Tablets 3830 , 3740 , 3840 , and 7840 but haven't for the 3730
Click to expand...
Click to collapse
I believe the key is Dell"s they made a mistake by releasing it, not able to do much with key yet, still trying to see proper way to use.
However the unpack/repack boot.script in this release seems to work on all Dell venues, or at least the ones I tried including recovery.img.

[GUIDE] Official OP2 Stock Reset to OOS 2.2.0 [STOCK|RESET|UNTAMPER|UNBRICK]

OFFICIAL ONEPLUS 2 STOCK RESET​
SOURCE : OnePlus L2 Support Team
VERSION : OxygenOS 2.2.0
DOWNLOADS
1. OnePlus2 Stock Reset Oxygen OS 2.2.0 Google Drive | Mediafire
2. Qualcomm Drivers Version 1.00.11 Google Drive | Mediafire
INSTRUCTIONS
You are doing this on your own responsibility. I take no responsibility whatsoever.
(THIS WILL WIPE YOUR ONEPLUS INCLUDING INTERNAL SD)
Download both the files from above and extract them (WinRAR, WinZIP, 7ZIP etc). You should have 2 folders: "OnePlus2_14_A.11_151211" and "qc"
A. Install the Certificates followed by the Qualcomm drivers.
1. Restart your computer with Driver Signature Enforcement Disabled (Advanced Startup) Let me Google it For You
2. Open the folder "qc" and install the Test Certificate in the following Stores: Trusted Root, Trusted Publisher, Third-Party Root and Personal
3. Run the Qualcomm setup wizard (also located in the qc folder)
4. When completed, restart your PC again with Driver Signature Enforcement Disabled (Advanced Startup)
5. Turn off your phone and disconnect the USB cable from the phone.
6. Hold vol-up and plug in the USB(Do not press Power button). The screen will stay black but you will hear a sound from windows that a device is attached.
7. The driver should now automatically install. If not, go to device manager and right click "Unknown Device" and click "Update Driver" Search up the QC folder and press ok. The driver should now install. (Got the RELINK issue? Take a look here: http://forum.xda-developers.com/show...1&postcount=46)
B. Flashing Process
1. Open the OnePlus2_14_A.11_151211 folder and open "MSM8994DownloadTool.exe"
2. Look if your phone is detected in the list. everything is Chinese but you will see one row with different chinese text from the rest within the list. If not, recheck if driver is detected in Device Manager (If not, go back to Step A - Line 4).
3. First click the right square Chinese button. This will perform an integrity check on the downloaded files by verifying the MD5 hash values.
4. The system will seem to hang for a bit but should give you a pop up with the results of the above verification. When everything is ok. Press the start button. and let the progress finish. (If something is not ok, you will have to re-download the images. Google Drive can help extract only the necessary files.)
5. When it's done. Disconnect the USB cable and turn on the device.
C. Reset TAMPER Flag (Optional)
(This may potentially change your SmartPhone to a rather large paperweight and I will just laugh at you bearing no responsibility)
+ This part of the guide is not an Official Procedure and is in no way affiliated to OnePlus
+ It is advisable to do this before any of the above mentioned operations.
+ Prerequisites:
Root
HEX Editor with root features
Root File Manager
+ BEWARE: You are modifying partitions which cannot be restored regardless of what you flash. You have been warned AGAIN
1. In File Manager browse to the devinfo partition (dev/block/bootdevice/by-name/)
2. Open devinfo using the HEX Editor.
3. Modify the TamperBit (attached screenshot) from 01 to 00.
4. Save and reboot to fastboot.
5. Type fastboot oem device-info to confirm.
CREDITS
OnePlus Team for the Files.
@paultje162 for adaptation of Instructions. Refer his thread here if you are looking for an older version of stock reset (2.1.1).
@thedropdead for his work on Tamper Reset
If this thread has helped you, do press the THANKS button. Should you have issues, questions or doubts, write in this thread.
Just need to confirm that these files are actually official
Pm me the s3 support link
---------- Post added at 13:14 ---------- Previous post was at 13:10 ----------
And my friend
You need to install the test certificate first !
Edit:- file confirmed legit ! Totally official, way to go, @fareed_xtreme !
[email protected] said:
Just need to confirm that these files are actually official
Pm me the s3 support link
---------- Post added at 13:14 ---------- Previous post was at 13:10 ----------
And my friend
You need to install the test certificate first !
Click to expand...
Click to collapse
Thanks for spotting the error. I have fixed the heading. S3 Link PMed.
fareed_xtreme said:
Thanks for spotting the error. I have fixed the heading. S3 Link PMed.
Click to expand...
Click to collapse
Whenever you get drivers like this, dig into their folders and you'll find important documents and instructions to use
That is how I found out about this certificate
Is there any similar process por ONEPLUS ONE?
I only have fastboot mode, without recovery and bootloader locked (fastboot oem unlock doesn't work)
http://forum.xda-developers.com/showthread.php?t=2970390
@xbit
xbit said:
Is there any similar process por ONEPLUS ONE?
I only have fastboot mode, without recovery and bootloader locked (fastboot oem unlock doesn't work)
Click to expand...
Click to collapse
Quick search and: http://forum.xda-developers.com/oneplus-one/general/guide-unbrick-oneplus-one-t3013732
beaverhead said:
http://forum.xda-developers.com/showthread.php?t=2970390
@xbit
Click to expand...
Click to collapse
This didn't work for me:
fastboot oem unlock didn't work because I had a corrupt bootloader.
Spannaa said:
Quick search and: http://forum.xda-developers.com/oneplus-one/general/guide-unbrick-oneplus-one-t3013732
Click to expand...
Click to collapse
But this was great! My OPO is alive now. Thanks
Thank you!!!! this worked.
I was eventually able to get the restore program to recognize it and restore it so it could boot normally. Thank you!
Download from your Link
https://drive.google.com/folderview?id=0BxFd4Zc3_d1CWDdOSFFIVG42VTg&usp=sharing
the File:
OnePlus2_14_A.11_151211.rar
Extract it.
But where is the "QC Folder"
found only "OnePlus2_14_A.11_151211"
Your Link to:
http://forum.xda-developers.com/show...1&postcount=46
is wrong. (Not complete) Error 404
Wagi99 said:
Download from your Link
https://drive.google.com/folderview?id=0BxFd4Zc3_d1CWDdOSFFIVG42VTg&usp=sharing
the File:
OnePlus2_14_A.11_151211.rar
Extract it.
But where is the "QC Folder"
found only "OnePlus2_14_A.11_151211"
Your Link to:
http://forum.xda-developers.com/show...1&postcount=46
is wrong. (Not complete) Error 404
Click to expand...
Click to collapse
Yep, the qc folder is missing from the zip.
The link should be: http://forum.xda-developers.com/showpost.php?p=64674951&postcount=46
I suspect these are both down to copying & pasting the instructions from @paultje162's thread and I'm sure @fareed_xtreme will sort it out when he gets the chance.
Wagi99 said:
Download from your Link
https://drive.google.com/folderview?id=0BxFd4Zc3_d1CWDdOSFFIVG42VTg&usp=sharing
the File:
OnePlus2_14_A.11_151211.rar
Extract it.
But where is the "QC Folder"
found only "OnePlus2_14_A.11_151211"
Your Link to:
http://forum.xda-developers.com/show...1&postcount=46
is wrong. (Not complete) Error 404
Click to expand...
Click to collapse
Thanks for spotting the errors. I have updated them. It is indeed a miss on my part in regards to the QC. Hence I have uploaded it separately and updated the instructions.
Spannaa said:
Yep, the qc folder is missing from the zip.
The link should be: http://forum.xda-developers.com/showpost.php?p=64674951&postcount=46
I suspect these are both down to copying & pasting the instructions from @paultje162's thread and I'm sure @fareed_xtreme will sort it out when he gets the chance.
Click to expand...
Click to collapse
Yup, A copy paste is not the right way to copy a link. Haven't been around these threads for quite some time and guess i did not remember that the links are trimmed down. Thanks for the correct link.
Updated Information with UnTamper Guide
Hello
Doing the anti tamper method you did. Shouldn't this be easier by doing "fastboot oem lock" ?
I think it should have the same effects. Of course, this command must be done when an official ROM is on the phone, doing this in a custom ROM can cause unexpected behaviour, including bricking.
albertocastillo2001 said:
Hello
Doing the anti tamper method you did. Shouldn't this be easier by doing "fastboot oem lock" ?
I think it should have the same effects. Of course, this command must be done when an official ROM is on the phone, doing this in a custom ROM can cause unexpected behaviour, including bricking.
Click to expand...
Click to collapse
From my personal experience, if the Tamper Flag trips, then no matter how official you go it will not go back to Device Tamper= False.
The files in my First Post restores your phone back to an out of box phone state even locking the bootloader but it will not change the tamper flag. Those files are used by OnePlus Support to fix OS issues. Also the fastboot oem lock has not managed for me personally to get the tamper flag back to default (Same as in OPO once down, its down). So the only way for now for the OPT is by modifying the bit that handles the tamper flag.
You are right. Tamper Flag usually trips when you try to relock the bootloader when having root and other non-stock partitions (custom kernel, recovery etc). (Learned the hard way with my old OnePlus 2. Got it swapped for a new one though as the old one was faulty )
Hope this helps.
fareed_xtreme said:
From my personal experience, if the Tamper Flag trips, then no matter how official you go it will not go back to Device Tamper= False.
The files in my First Post restores your phone back to an out of box phone state even locking the bootloader but it will not change the tamper flag. Those files are used by OnePlus Support to fix OS issues. Also the fastboot oem lock has not managed for me personally to get the tamper flag back to default (Same as in OPO once down, its down). So the only way for now for the OPT is by modifying the bit that handles the tamper flag.
You are right. Tamper Flag usually trips when you try to relock the bootloader when having root and other non-stock partitions (custom kernel, recovery etc). (Learned the hard way with my old OnePlus 2. Got it swapped for a new one though as the old one was faulty )
Hope this helps.
Click to expand...
Click to collapse
Thanks for your reply. I noticed that these are the files that OnePlus team sends you when they want to remote into your device to flash the system. I noticed these are password encrypted. I have a session with them on Monday 6th.
I sent the files they sent me to decryption to get the password to a website that does this. However, they couldn't. My other plan was just to catch the password when having the remote session with them.
Since you already posted the files here, this is no longer needed. Seems you did this earlier than me.
The reason they want to do a full flash on my phone is due to the fact that I have a dual SIM issue. At the beginning both SIMs worked until I had to do a change on the second SIM network (it's an international SIM card that works in every country so you must set up the network manually). Since I tried to change the network. Something got messed up and now only one SIM works at a time. I tried restoring the network settings to automatic with no go. And I also tried to do hard restore on the phone to start over to ensure this would solve the issue.
This didn't solve the issue. So it probably means the settings were done in a partition which is not "/data". So a hard reset obviously wouldn't work. But a full flash surely will.
I asked them if I could do this myself by just sending me the files. I have a good expertise on fastboot, ADB and Linux, and I also understand the partition list and partition images. However, since the phone is not rooted or modified in anyway. I decided I will let them do it for me.
I do have a question thought. How did you find about the anti tamper thing? I assume you had remote session with them, and this is why you have those files. Did they "relock" this for you?
I assume they look at this when they get defective devices returned.
Thanks
albertocastillo2001 said:
Thanks for your reply. I noticed that these are the files that OnePlus team sends you when they want to remote into your device to flash the system. I noticed these are password encrypted. I have a session with them on Monday 6th.
I sent the files they sent me to decryption to get the password to a website that does this. However, they couldn't. My other plan was just to catch the password when having the remote session with them.
Since you already posted the files here, this is no longer needed. Seems you did this earlier than me.
The reason they want to do a full flash on my phone is due to the fact that I have a dual SIM issue. At the beginning both SIMs worked until I had to do a change on the second SIM network (it's an international SIM card that works in every country so you must set up the network manually). Since I tried to change the network. Something got messed up and now only one SIM works at a time. I tried restoring the network settings to automatic with no go. And I also tried to do hard restore on the phone to start over to ensure this would solve the issue.
This didn't solve the issue. So it probably means the settings were done in a partition which is not "/data". So a hard reset obviously wouldn't work. But a full flash surely will.
I asked them if I could do this myself by just sending me the files. I have a good expertise on fastboot, ADB and Linux, and I also understand the partition list and partition images. However, since the phone is not rooted or modified in anyway. I decided I will let them do it for me.
I do have a question thought. How did you find about the anti tamper thing? I assume you had remote session with them, and this is why you have those files. Did they "relock" this for you?
I assume they look at this when they get defective devices returned.
Thanks
Click to expand...
Click to collapse
Please note that the Tamper part of the guide is NOT done by OnePlus. Please note that OnePlus is in no way affiliated to the Tamper part of the guide. The Tamper guide is a result of comprehensive research conducted by thedropdead (information provided in the First Post). The guide is an easier interpretation of all the research that went in there.
OnePlus will only reflash this package which will re-lock the Bootloader only. Tamper Flag is not modified. So sit tight and let them reflash it for you.
You are right to assume I had a session with them earlier and that's how i have the files.
Thanks for your reply.
I would say that if the remote support doesn't untamper the device then it might mean they don't even look at it if the device is returned.
Thanks!
albertocastillo2001 said:
Thanks for your reply.
I would say that if the remote support doesn't untamper the device then it might mean they don't even look at it if the device is returned.
Thanks!
Click to expand...
Click to collapse
Remote Support didn't look into mine. However, not very sure about whether it is checked on returning it. Mine went untampered.
fareed_xtreme said:
Remote Support didn't look into mine. However, not very sure about whether it is checked on returning it. Mine went untampered.
Click to expand...
Click to collapse
Oh, then what happened? I thought the remote support tried to fix your phone. Since you said they didn't untamper the device after I expected they remoted to your phone. What happened then?
Thanks

Creating an update.img?

Does anyone know if it's possible to build an update.img but to just update the kernel and recovery? I'm pretty sure it must be possible.
Yes, it should be possible to just update these.
I guess you should look at how they build an image to install recovery only. Like when they install custom recoveries.
robertut said:
Yes, it should be possible to just update these.
I guess you should look at how they build an image to install recovery only. Like when they install custom recoveries.
Click to expand...
Click to collapse
Yeah I thought so. I'll be brave and try it as it'll be a damn sight easier to build the update with just recovery and kernel when I'm doing the 1st boot logo's and easier for everyone that wants a boot logo.
Goose247 said:
Does anyone know if it's possible to build an update.img but to just update the kernel and recovery? I'm pretty sure it must be possible.
Click to expand...
Click to collapse
Yes, you can !! Simply replace kernel and recovery Everything will be fine. But all the rest should be for your processor RK3188 or RK3066. ( system.img and boot.img )
Malaysk said:
Yes, you can !! Simply replace kernel and recovery Everything will be fine. But all the rest should be for your processor RK3188 or RK3066. ( system.img and boot.img )
Click to expand...
Click to collapse
We're thinking about creating an update.img containing only the kernel.img and recovery.img, and without the system and boot. Just to replace the boot logo, and not the whole system completely.
robertut said:
We're thinking about creating an update.img containing only the kernel.img and recovery.img, and without the system and boot. Just to replace the boot logo, and not the whole system completely.
Click to expand...
Click to collapse
Oh I understand - it will not work, I think. In recovery is to check if all the files - kernel , recovery.img, system.img and boot.img.
Malaysk said:
Oh I understand - it will not work, I think. In recovery is to check if all the files - kernel , recovery.img, system.img and boot.img.
Click to expand...
Click to collapse
It should be possible. The recovery will only update the files that exist. If it doesn't find boot.img for example, it will skip it.
It should be possible. At least when using custom recovery.
Anyway, There is a way to flash a recovery IMG without using recovery using a shell script, maybe this should work for kernel also...stg like this http://forum.xda-developers.com/showthread.php?t=2102679
I have use that method before on an android tv box. You should find a correct recovery.IMG for those devices though
If the kernel could not be flashed that way, you can install a custom recovery and install the kernel and the stock recovery.img using a flashable zip.
Unfortunately, this is the only Android system I've worked on where updates have to be done with .img updates. It's not really for my benefit, it's for all the peeps I'm creating boot logo's for. Asking them to use a custom recovery or installing it using terminal emulator is more hassle than the way they have to do it at the minute. Not to worry
how do you guys compile the update.img ?
I tried few times with
RK3xxx_firmware_tools_5.99.07.00
extract, change kernel, build
the update.img does not install
RK3188
doctorman said:
how do you guys compile the update.img ?
I tried few times with
RK3xxx_firmware_tools_5.99.07.00
extract, change kernel, build
the update.img does not install
RK3188
Click to expand...
Click to collapse
RK3066 IMG Mod Tool
works, despite it's name it will unpack and pack the update.img for both RK3066 and RK3188, since they are packed the same.
jakejm79 said:
RK3066 IMG Mod Tool
works, despite it's name it will unpack and pack the update.img for both RK3066 and RK3188, since they are packed the same.
Click to expand...
Click to collapse
any link to it?
found this
http://rockchipfirmware.com/developer-tools
but I guess that program is only for linux and not windows
doctorman said:
any link to it?
found this
http://rockchipfirmware.com/developer-tools
but I guess that program is only for linux and not windows
Click to expand...
Click to collapse
There is lot resources on rk3188 around there
https://www.entertainmentbox.com/droidsticks-latest-rk3188-q7-firmware-download/
http://www.cnx-software.com/2014/11/10/android-5-0-lollipop-now-boots-on-rockchip-rk3188-tablets/
http://www.rockchipfirmware.com/forum-library
I used first two links and played with some generic Lollipop AOSP. Managed to install kernel and system partitions and to boot.
In third link you have rs232 low level integration described. It is used for MCU integration.
Didnt bother to extract libs and stock apps and try to rebuild with them. It would take some time and I have none to spare.
Anyhow, LP (and even MM) is not hard to get running on these units. Problem is with mumbo-jumbo stock apps that need to be rebuilt in order to comply with changed API and security model in LP/MM.
But even that is not too hard. Reverse engineer, get code / libs for rs232 and just change handlers in apps to confirm with new standards.
---------- Post added at 08:11 AM ---------- Previous post was at 08:00 AM ----------
doctorman said:
any link to it?
found this
http://rockchipfirmware.com/developer-tools
but I guess that program is only for linux and not windows
Click to expand...
Click to collapse
Here you have Windows tools
http://www.rockchip.nl/downloads/
Also you may contact their NL division. They are I EU so they should provide more support in accordance to good business practices.
doctorman said:
any link to it?
found this
http://rockchipfirmware.com/developer-tools
but I guess that program is only for linux and not windows
Click to expand...
Click to collapse
See attached, you can ignore the parameter file in the archive. If you want to mount the system.img files or others then you will want linux to mount them.
doctorman said:
how do you guys compile the update.img ?
I tried few times with
RK3xxx_firmware_tools_5.99.07.00
extract, change kernel, build
the update.img does not install
RK3188
Click to expand...
Click to collapse
My problem seems to be the image I was using had white background and in ASCII PPM format that increases the size and kernel does not install
made the background black
and indexed the colors to 224 colors in the image and the kernel was created without error
but after install my own logo nor malaysk logo shows
it now reverts to the original head units boot logo.
A note to anyone considering cooking an update.img for RK3188 800x480 devices in particular ('cos that's what I've got) but for any 2DIN car stereo head unit device really. It's more a request, but something I feel is a must-have for every ROM.
ADD A NOTIFICATION BAR SHORTCUT
THAT SWITCHES OFF THE SCREEN!​
Essentially what I'm looking for is what came with the OEM KitKat 4.4.2 ROM preinstalled in my Eonon G2110F. During night driving, I could slide the Notification bar down, tap an icon that looked like a X in a box, and the screen would switch off. If I had a music app. or the AM/FM radio going, they would continue to play, and turning a knob or clicking a button on the unit would light the screen.
Thanks for listening!
djshotty said:
A note to anyone considering cooking an update.img for RK3188 800x480 devices in particular ('cos that's what I've got) but for any 2DIN car stereo head unit device really. It's more a request, but something I feel is a must-have for every ROM.
ADD A NOTIFICATION BAR SHORTCUT
THAT SWITCHES OFF THE SCREEN!​
Essentially what I'm looking for is what came with the OEM KitKat 4.4.2 ROM preinstalled in my Eonon G2110F. During night driving, I could slide the Notification bar down, tap an icon that looked like a X in a box, and the screen would switch off. If I had a music app. or the AM/FM radio going, they would continue to play, and turning a knob or clicking a button on the unit would light the screen.
Thanks for listening!
Click to expand...
Click to collapse
It is called Malaysk ROM.. does what you want with screen saver and button
now please reduce the size of the font you used
jakejm79 said:
See attached, you can ignore the parameter file in the archive. If you want to mount the system.img files or others then you will want linux to mount them.
Click to expand...
Click to collapse
how do I use that in windows?
I just heard back from the developer of RK3xxx_firmware_tools_5.99.07.00 that the update.img I make with that tool can not be flashed in Recovery. and that is my problem, so I can use RK3xxx_firmware_tools_5.99.07.00 to modify the logo in kernel.img and package it all up with another program I guess
so what is the easiest way to repackage the update.img for flash in recovery of the device?
Question for our developers that have made recovery flashable update.img @Goose247 @Malaysk @dsa8310
Watched few videos on how to use the mod tool and they all use RK batch tool to flash the image... can the .img be flashed in recovery?
doctorman said:
It is called Malaysk ROM.. does what you want with screen saver and button
now please reduce the size of the font you used
Click to expand...
Click to collapse
Well that's just silly! I've gone through every Settings menu in the latest Malaysk ROM I'm still to find how to place a 'button' on the Notifications bar to switch the screen off. I only ask questions when I've exhausted all avenues of research. With that, do you have a way of enabling such a shortcut on my unit's Home screen, or even better, the Notification bar?
doctorman said:
how do I use that in windows?
I just heard back from the developer of RK3xxx_firmware_tools_5.99.07.00 that the update.img I make with that tool can not be flashed in Recovery. and that is my problem, so I can use RK3xxx_firmware_tools_5.99.07.00 to modify the logo in kernel.img and package it all up with another program I guess
so what is the easiest way to repackage the update.img for flash in recovery of the device?
Question for our developers that have made recovery flashable update.img @Goose247 @Malaysk @dsa8310
Watched few videos on how to use the mod tool and they all use RK batch tool to flash the image... can the .img be flashed in recovery?
Click to expand...
Click to collapse
When I did the boot logo changing service (when it worked), everyone I did it for installed the rom through recovery. I did a LOT of boot logos for other people and they all installed through recovery (choosing not to wipe to keep their settings, installed apps etc.) and I am pretty sure I had a 100% success rate with no complaints.
Perhaps the problem is you are trying to change the boot logo for a new rom and it simply won't work. Trying to change the boot logo for any Malaysk rom built after Feb (I think), it simply won't work. If you try mix and match and use stock kernel's and/or recovery's with Malaysk's rom you run the risk of bricking your unit. You are just going to have to accept the fact that you cannot change the boot logo on newer built roms.
I personally use an older rom so that using a custom boot logo will work.

[TOOL/UTILITY] Script to fix bootlooping Nexus 6P / Nexus 5X for Android O and lower

Script to fix the Nexus 6P / Nexus 5X Bootloop problem
Credits
99% credit goes to @squabbi for teaching how to patch files yourself and @XCnathan32 for discovering the fix itself.
1% for me for making the script .
DISCLAIMER
THIS PROCESS WIPES ALL YOUR DATA (unless your bootloader is already unlocked) AND PROBABLY YOUR WARRANTY TOO! USE WITH CAUTION! I AM NOT RESPONSIBLE IF YOU BRICK YOUR PHONE!
THIS PROCESS WILL MAKE YOUR PHONE SLOWER (6P 2 times slower, 5X 1.5 times slower)! PLEASE USE ONLY AS A LAST RESORT!
PLEASE CONTACT YOUR WARRANTY TO TRY AND GET A REPLACEMENT BEFORE PROCEEDING!
What does the fix do?
The problem with those phones are the cores of the Cortex A57, and they need to be disabled.
What should you do?
Before proceeding, make sure you have OEM Unlocking enabled on your device, or the flashing won't work!
1. Download the zip below
2. Extract the zip
3. Extract the boot.img from the image you've downloaded (the script explains how to do it if you don't know how) to the folder you've downloaded
4. Open "Script.bat"
You should also download a factory image from this link (unless you live in Japan, don't download the Softbank versions, and unless you live in Australia, don't download the Telstra versions):
6P - https://developers.google.com/android/images#angler
5X - https://developers.google.com/android/images#bullhead
The script itself was not tested, but the method did work on my 5X so it should work.
If you have any requests, you can comment them here, and maybe I'll add them. One day.
I do plan on adding TWRP and Elemental X patching one day, and if there will be many requests that day will come earlier.
Links to original posts and videos
https://forum.xda-developers.com/nexus-6p/general/guide-tutorial-nexus-6p-bootloop-death-t3716330
https://forum.xda-developers.com/nexus-5x/general/untested-nexus-5x-bootloop-death-fix-t3641199
https://forum.xda-developers.com/nexus-6p/general/guide-fix-nexus-6p-bootloop-death-blod-t3640279
https://youtu.be/PhObuifEp3Y
Hey! It's fantastic to see people coming in with ways of improving or streamlining the revival process of those with the bootloop of death! I wanted to make a program too but work got in the way haha. I've added this to my 2nd post.
Hi,
Thanks for this method, massively useful for someone who doesn't know what he's doing. I've managed to get past the OEM Unlocking but once I run the script and get passed the prerequisite steps I came to a halt at the Flashing. It just gets stuck at "Waiting for any device". Have I missed something here?
Running ".\fastboot devices" brings up my device, so it is connected.
Thiran.D said:
Hi,
Thanks for this method, massively useful for someone who doesn't know what he's doing. I've managed to get past the OEM Unlocking but once I run the script and get passed the prerequisite steps I came to a halt at the Flashing. It just gets stuck at "Waiting for any device". Have I missed something here?
Running ".\fastboot devices" brings up my device, so it is connected.
Click to expand...
Click to collapse
I spent hours this weekend trying to get mine to work too. I was getting some DLL errors but I just made sure to install the system wide adb/fastboot/drivers (instead of running powershell/Cmd from a specific location). I didn't have to use the .\ prefix and it fixed my DLL errors. Maybe worth looking into for your situation. Sorry I don't have a link handy for the system wide fastboot install, but I definitely got linked from somewhere in XDA to a youtube tutorial.
Thiran.D said:
Hi,
Thanks for this method, massively useful for someone who doesn't know what he's doing. I've managed to get past the OEM Unlocking but once I run the script and get passed the prerequisite steps I came to a halt at the Flashing. It just gets stuck at "Waiting for any device". Have I missed something here?
Running ".\fastboot devices" brings up my device, so it is connected.
Click to expand...
Click to collapse
As somebody already said, try installing adb system-wide. Here's a link: https://forum.xda-developers.com/showthread.php?t=2588979
If it works, please tell me so I can fix the script.
R3tro7 said:
As somebody already said, try installing adb system-wide. Here's a link: https://forum.xda-developers.com/showthread.php?t=2588979
If it works, please tell me so I can fix the script.
Click to expand...
Click to collapse
That's the exact one I used... thanks!
However, after running your script I still wasn't able to get my phone to boot. Not sure if I did something else wrong or if it is just broke beyond fixing.
Script didn't do any good, even with a manually modified boot image
SpecialSnowflake #E-4214 said:
Script didn't do any good, even with a manually modified boot image
Click to expand...
Click to collapse
What do you mean?
R3tro7 said:
What do you mean?
Click to expand...
Click to collapse
nevermind, turns out my bootloader is OEM locked so this wouldn't do anything for me until that's dealt with
my first time ever flashing anything, only because i'm being forced to due to Huawei's incompetency, so I'm figuring out a lot of things along the way
at the moment, I just tried the trick to heat the phone up using a hair dryer to force it to use fewer cores just to access developer settings; no luck and still looping
Thank you for the script! I followed the instructions for my Nexus 6P, but after running the script, my phone gets stuck at the boot screen (the Google logo in the center and unlock icon at the bottom of the screen). It's been sitting like that for a few hours now lol.
To confirm, I downloaded the factory image for my 6P, extracted the boot.img from the image-angler-opm5.171019.019.zip file into the script's folder. My phone has TWRP flashed, bootloader unlocked.
Is there anything else I could do to save my phone?
derderppolo said:
Thank you for the script! I followed the instructions for my Nexus 6P, but after running the script, my phone gets stuck at the boot screen (the Google logo in the center and unlock icon at the bottom of the screen). It's been sitting like that for a few hours now lol.
To confirm, I downloaded the factory image for my 6P, extracted the boot.img from the image-angler-opm5.171019.019.zip file into the script's folder. My phone has TWRP flashed, bootloader unlocked.
Is there anything else I could do to save my phone?
Click to expand...
Click to collapse
I believe you should try patching the image yourself, because maybe the problem is with the script. Go to this link https://youtube.com/watch?v=PhObuifEp3Y and follow the instructions. If it works, please tell me because I'll need to fix the script.
R3tro7 said:
I believe you should try patching the image yourself, because maybe the problem is with the script. Go to this link https://youtube.com/watch?v=PhObuifEp3Y and follow the instructions. If it works, please tell me because I'll need to fix the script.
Click to expand...
Click to collapse
Thanks for the response! I was actually able to follow the steps here https://forum.xda-developers.com/showpost.php?p=74774303&postcount=2, under the 'For Updating a BLOD Device' section and my 6P was able to boot again! I guess I probably had a faulty or incompatible image flashed somewhere before.
derderppolo said:
Thanks for the response! I was actually able to follow the steps here https://forum.xda-developers.com/showpost.php?p=74774303&postcount=2, under the 'For Updating a BLOD Device' section and my 6P was able to boot again! I guess I probably had a faulty or incompatible image flashed somewhere before.
Click to expand...
Click to collapse
Interesting. Maybe I'll add options and make it so you can flash the entire image instead of only the boot image. Would also help people who don't know what image they have right now.
Stuck on loading screen.
My phone is stuck on the loading screen (4 dots moving aroud) any idea?
Hi there
thanks you for help.
I've tested the script with android 7 - 48 c boot file and 8: OPM5.171019.019 boot files. and can't boot phone successfully. I'm used the android kitchen and no success.
My friend has a 5x which fixed with twrp. I was tested this before and I tested the way with him again and we could not fix again.
I think our problem is different, As my 6p sticks on google logo and reboots continuously but his phone sticks on colorful dots. He could boot to recovery mode after using twrp but my device does not enter recovery mode.
I have two question if any body can help.
1. if any one has successful boot please tell the version of OS and twrp that flashed successfully
2. Is there any debug test finding true reason of boot up problem.
thanks
guys I have warranty on my nexus 6p so I could possibly return it, do you suggest I return it to stock (with BLOD) and lock my bootloader to give it back? or is that not necessary?
do I keep explain the situation to them?
avemario said:
My phone is stuck on the loading screen (4 dots moving aroud) any idea?
Click to expand...
Click to collapse
You can try to patch the image manually with the @squabbi 's video. Please let me know if that works
avemario said:
My phone is stuck on the loading screen (4 dots moving aroud) any idea?
Click to expand...
Click to collapse
You can try to patch the image manually with the @squabbi 's video. Please let me know if that works
alisj99 said:
guys I have warranty on my nexus 6p so I could possibly return it, do you suggest I return it to stock (with BLOD) and lock my bootloader to give it back? or is that not necessary?
do I keep explain the situation to them?
Click to expand...
Click to collapse
Yes because unlocking bootloader and flashing un-stock images voids warranty, so you should clean everything you can and stock it back and tell them that it never happened.
sectorpion said:
Hi there
thanks you for help.
I've tested the script with android 7 - 48 c boot file and 8: OPM5.171019.019 boot files. and can't boot phone successfully. I'm used the android kitchen and no success.
My friend has a 5x which fixed with twrp. I was tested this before and I tested the way with him again and we could not fix again.
I think our problem is different, As my 6p sticks on google logo and reboots continuously but his phone sticks on colorful dots. He could boot to recovery mode after using twrp but my device does not enter recovery mode.
I have two question if any body can help.
1. if any one has successful boot please tell the version of OS and twrp that flashed successfully
2. Is there any debug test finding true reason of boot up problem.
thanks
Click to expand...
Click to collapse
I am really not the person to ask, you should PM @squabbi and ask him.

Moto G Pure, logo_a and logo_b

Hello, first time posting on XDA! Please let me know if I've done anything wrong.
I have a Moto G Pure, and I'm attempting to remove the bootloader unlocked warning. When reading through other XDA posts, I've gathered that I need to go into fastboot and flash the logo partition with a modifiied logo.bin file. However, in order to flash the partition, you need a bin file to flash it with.
I've gone through the process of rooting the phone, and now have root access with adb. I'm currently looking for a logo.bin file, however I don't believe I'll be as lucky as having it lay around. However, I've noticed two files in the /dev/block/bootdevice/by-name dir: logo_a and logo_b. Both of these are around 100mb big, so I have reason to believe these are what I'm looking for.
As to what I'm confused about: Which logo file do I choose, and how do I convert it to a logo.bin file?
Thank you everyone for your support, as this is my first time messing around with a phone. I am a developer who uses Linux, so I'm not going in completely blind. If there's anything I'm doing incorrectly, if not everything already, please let me know.
OoLunar said:
Hello, first time posting on XDA! Please let me know if I've done anything wrong.
I have a Moto G Pure, and I'm attempting to remove the bootloader unlocked warning. When reading through other XDA posts, I've gathered that I need to go into fastboot and flash the logo partition with a modifiied logo.bin file. However, in order to flash the partition, you need a bin file to flash it with.
I've gone through the process of rooting the phone, and now have root access with adb. I'm currently looking for a logo.bin file, however I don't believe I'll be as lucky as having it lay around. However, I've noticed two files in the /dev/block/bootdevice/by-name dir: logo_a and logo_b. Both of these are around 100mb big, so I have reason to believe these are what I'm looking for.
As to what I'm confused about: Which logo file do I choose, and how do I convert it to a logo.bin file?
Thank you everyone for your support, as this is my first time messing around with a phone. I am a developer who uses Linux, so I'm not going in completely blind. If there's anything I'm doing incorrectly, if not everything already, please let me know.
Click to expand...
Click to collapse
@OoLunar
Please read the guidances that are stuck on top of every forum prior to your next posting like
[Read Before Posting]QUESTIONS DO NOT BELONG IN GENERAL
Hello Everybody, In order to attempt to keep this forum neat and tidy the moderation team is asking you to post your questions into the Questions and Answers (Q&A) forum and not into the General section. You can find the Q&A forum by clicking...
forum.xda-developers.com
I've moved the thread to Q&A.
Regards
Oswald Boelcke
Senior Moderator
I apologize for posting my question in the wrong category, thank you for your patience @Oswald Boelcke
I found a stock image online which uses logo_a as logo.img, so now it's just a matter of converting that img into a bin
OoLunar said:
I found a stock image online which uses logo_a as logo.img, so now it's just a matter of converting that img into a bin
Click to expand...
Click to collapse
You're doing this wrong. First download your stock ROM from here: https://mirrors.lolinet.com/firmware/moto/ellis/official/
Then extract the zip file, and grab the logo.bin file.
Open it with Moto Boot Logo Maker: https://forum.xda-developers.com/t/...ker-source-code-included-version-2-4.2848667/
Take the normal boot logo from your bin file (You should be able to extract the existing boot logo from the bin file into an image file using this tool) and then overwrite the warning image with it. Save your modified logo.bin file, and flash it to the phone with `fastboot flash logo logo.bin`
You're doing this wrong. First download your stock ROM from here: https://mirrors.lolinet.com/firmware/moto/ellis/official/
Then extract the zip file, and grab the logo.bin file.
Click to expand...
Click to collapse
Thanks for giving me the link, however when downloading https://mirrors.lolinet.com/firmware/moto/ellis/official/TMO/, which I believe is the TMobile download, I only have logo.img, not logo.bin. I can't mount the logo.img and see the contents of it like I could with any other img file, likely due to a missing filesystem driver
Bash:
[[email protected] ~/Downloads/XT2163-4_ELLIS_TMO_11_RRH31.Q3-46-20_subsidy-TMO_UNI_RSU_QCOM_regulatory-DEFAULT_CFC_R3_CFC.xml]$ sudo mount logo.img /mnt
Password:
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.
The Boot Logo Maker isn't able to open the file either, saying it's an "invalid logo.bin file loaded" (which I expected, but tried anyways)
Sanras said:
You're doing this wrong. First download your stock ROM from here: https://mirrors.lolinet.com/firmware/moto/ellis/official/
Then extract the zip file, and grab the logo.bin file.
Open it with Moto Boot Logo Maker: https://forum.xda-developers.com/t/...ker-source-code-included-version-2-4.2848667/
Take the normal boot logo from your bin file (You should be able to extract the existing boot logo from the bin file into an image file using this tool) and then overwrite the warning image with it. Save your modified logo.bin file, and flash it to the phone with `fastboot flash logo logo.bin`
Click to expand...
Click to collapse
Additionally, in the servicefile.xml, there's this XML key:
XML:
<step MD5="c3ca0c450dd4fbca182a522f8dbe62a0" filename="logo.img" operation="flash" partition="logo_a"/>
Which was what I meant by logo_a as logo.img
OoLunar said:
Additionally, in the servicefile.xml, there's this XML key:
XML:
<step MD5="c3ca0c450dd4fbca182a522f8dbe62a0" filename="logo.img" operation="flash" partition="logo_a"/>
Which was what I meant by logo_a as logo.img
Click to expand...
Click to collapse
Huh, ok. That's weird, I wouldn't have expected the logo file to be that. I did this on my Moto Z3 Play, and it had a normal logo.bin. I'm afraid I can't help you in that case.
No worries. I know a lot of other people have messed with logo.img before, since they have Snapdragon CPU's (Qualcomm has logo.bin iirc). Are there not any converters for the file formats, or any programs that can read the logo.img file format?
hi, I am trying to remove the orange1 screen that is unlock warning screen. When I try to replace it the new text screen start appearing how I can remove that.
OoLunar said:
I've gone through the process of rooting the phone, and now have root access with adb.
Click to expand...
Click to collapse
Can you post a link describing the process you used? Thanks
I don't actually remember which methods I used, though I'm relatively sure ImageMagisk was involved. Do note that rooting involves unlocking the bootloader which will start a factory reset on your phone.
I'll probably root my phone again soon to get root SSH access to it (as I did previously). When I do, I'll be sure to post the links/describe the methods I used.
As for my original question, I believe logo_a was the file I was looking for, though I cannot confirm as I never followed through.
OoLunar said:
I don't actually remember which methods I used, though I'm relatively sure ImageMagisk was involved. Do note that rooting involves unlocking the bootloader which will start a factory reset on your phone.
Click to expand...
Click to collapse
Good tip, thanks. I'm planning to root a Moto G Pure ( https://www.gsmarena.com/motorola_g_pure-11145.php )myself so that's why I'm interested in the process. Here's a link I found: https://forum.xda-developers.com/t/...-unlocked-bootloader-non-twrp-method.4222583/
Was it the one you used or was it something else? Thanks
Damn, all the genius on this forum and no one figured it out? The moto pure is mediatek, just like the moto g power 2022 tonga
greerdd said:
Good tip, thanks. I'm planning to root a Moto G Pure ( https://www.gsmarena.com/motorola_g_pure-11145.php )myself so that's why I'm interested in the process. Here's a link I found: https://forum.xda-developers.com/t/...-unlocked-bootloader-non-twrp-method.4222583/
Was it the one you used or was it something else? Thanks
Click to expand...
Click to collapse
Hey! I've finally gotten around to rooting my phone again. This time however, I rooted a Moto G Play instead of Pure. From what I remember with my Pure, the process was still the same.
The issue I had this time when rooting was the Motorola website was incorrectly saying that my phone was not qualified to unlock the bootloader. Here's the link I used: https://en-us.support.motorola.com/app/standalone/bootloader/unlock-your-device-b
When submitting the "Can my device be unlocked?" request, the website will submit a post request as following:
Code:
curl -X POST \
"https://en-us.support.motorola.com/cc/productRegistration/verifyPhone/<line 1>/<line 4>/<line 3>/"
These "lines" or "parts" are your device id retrieved from fastboot oem get_unlock_data. Take the device id, put it all on one line, removing any extra (bootloader) or INFO at the beginning. Once your device id is on one line, the same format that the support website required, you are going to "split" the device id by their #. Literally replace the # with a newline. Then open up the following URL in your browser:
Make sure you're logged in on the website.
Code:
https://en-us.support.motorola.com/cc/productRegistration/unlockPhone/<line 1>/<line 4>/<line 3>/
After that, you should be redirected to https://en-us.support.motorola.com/app/standalone/bootloader/unlock-your-device-c, receiving an email with your code very shortly. Then follow https://forum.xda-developers.com/t/guide-un-locking-motorola-bootloader.4079111/ as expected. To install Magisk, I referenced https://forum.xda-developers.com/t/...-unlocked-bootloader-non-twrp-method.4222583/
I hope this helps <3

Categories

Resources