Anyone here on stock Android 10 March patch and rooted? can you extract your splash img using terminal
Create Folder /sdcard/splash/
Run Terminal Emulator
Code:
su
dd if=/dev/block/bootdevice/by-name/splash of=/sdcard/splash/splash.img
exit
i wanted to see if the stock image of bootloader still uses 1080x1920 because i was making an splash.img
Related
LGExtract(http://forum.xda-developers.com/showthread.php?t=1566532) is an excellent tool, with which we can get ext3_system.img and ext3_flashboot.img from KDZ file easily.
In fact, the img file is just standard format of ext3, if we use command
Code:
dd if=/sdcard/ext3_system.img of=/dev/block/mmcblk0p1
dd if=/sdcard/ext3_flashboot.img of=/dev/block/mmcblk0p5
to write them to 2x with recovery, it will work too, and this process is very easy and fast.
View attachment img-updater.zip
img-updater.zip: put ext3_system.img, ext3_flashboot.img and img-updater.zip to sdcard root directory, then flash img-updater.zip with recovery will update and root the new ROM.
View attachment LG-2X.zip
LG-2X.zip: add ext3_system.img and ext3_flashboot.img to LG-2X.zip then flash new LG-2X.zip with recovery will update and root the new ROM.
Pls help
you need to flash recovery image by dd command via terminal or adb shell.
first Download the latest TWRP image file (.img) from the download linkhttps://dl.twrp.me/yuga/
Place it in the root of your /sdcard folder and rename it to twrp.img
Run the following commands via adb shell or a terminal emulator app:
Code:
su
and then
Code:
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
and its done.
press thanks if it was helpful.
It works
Sent from my Xperia Z using XDA Free mobile app
says if=illegal argument or already set
using cm 12.1 nightly
device: xperia z c6602
Work om 6.0?
Just use the TWRP Manager.
https://play.google.com/store/apps/details?id=com.jmz.soft.twrpmanager
Note:
This is not bootanimation, this is the splash screen (the 'Coolpad' boot logo which is displayed when device is switched ON)
This is for Coolpad Cool1 Dual Snapdragon variants Only..
For other devices, please send me your splash.img so that I can create a tool for you too..
Requirements:
1. Rooted Coolpad Cool1 Dual (any ROM)
2. Optional: Terminal Emulator app or Custom Recovery or atleast working fastboot in computer
3. You're proceeding at your own risk.
STEPS to create splash.img:
1. Download & Extract this in computer: Coolpad_Cool1_Dual_Splash_Maker.zip
2. Make sure you have 4 pictures (same or different) in 1080x1920 px resolution in PNG format.
(It seems Coolpad displays any 1 picture from the 4 pictures randomly while switching ON, so I think you'll have to use 4 pictures)
3. Now rename your 4 pictures as logo1.png, logo2.png, logo3.png, logo4.png & replace it inside "pics" folder of the extracted folder.
(Similarly you can replace other pictures in it carefully if you wish)
4. Finally, run the 'CREATE_LOGO.bat' to create splash.img and flashable zip file, which you can find inside the "output" folder after completion.
STEPS to flash splash.img:
Optional: To backup your original splash.img:
Code:
dd if=/dev/block/bootdevice/by-name/splash of=/sdcard/splash.img
(Not necessary though.. You may get it from the stock firmware itself.)
Now, Choose any one easy method:
a. To flash from recovery:
Transfer the flashable_splash.zip to your device and flash from TWRP or CWM or Philz or any other custom recovery.
b. To flash from Terminal Emulator:
Transfer the splash.img to your device's Internal Storage, Open Terminal Emulator & enter the following to flash it:
Code:
su
dd if=/sdcard/splash.img of=/dev/block/bootdevice/by-name/splash
c. To flash from Fastboot mode:
Code:
fastboot flash splash splash.img
Note:
Incase something goes wrong or device doesn't bootup, flash the stock splash.img from custom recovery or fastboot.
Credits:
1. Thanks to @Vikasspattel who provided the stock splash.img of Coolpad Cool 1 Dual ..
2. This is just a modified version of my tool here: [GUIDE] How to Change Boot Logo (Splash Screen) of LeEco Le 2 / Le S3
Hit the Thanks :good: button if it worked for you
You're welcome to share the splash images that you created
Thank You sir for reading my comment and helped by your quick effort ,
well i had no hope but thank you so much
hi
i installed custom recovery to cool 1 c 103
after it finished model number changed to 106
what i have to do?????
I am having some trouble getting my auto boot script to work. Doing an in-car install so power up on usb is critical.
The method im using is by editing /system/bin/lpm to execute a script.
I edited the lpm file to read as such:
Code:
#!/system/bin/sh
/system/bin/reboot
But the code doesn't execute as expected. The code works. BUT it boots into recovery mode (TWRP) Is there any shell command i can force a boot to regular system?
Well, almost 20 hours of pain but i found a solution!
For anyone else looking here is what worked:
Fresh install of Stock Lite v7
Extract the boot image. Load TWRP > Backup Boot. Then you will find this file \Internal Storage\TWRP\BACKUPS\***\***\boot.emmc.win
Rename the file to boot.img. Use Carliv+Image+Kitchen+Windows+v1.3 to extract the image.
Open ramdisk/init.rc
Search for on charger and add at the end of this section:
Code:
setprop ro.bootmode "normal"
setprop sys.powerctl "reboot"
Repack the image with the same tool. Copy back to device.
Install new boot.img with TWRP. Install > Install image
@Svan987 if you were curious
I don't have the original boot.img. I want to unroot temporarily. But want to re-root afterward.
I was wondering if I can save a modified_boot.img somehow and flash that later once I am done. Is it possible?
devsk said:
I don't have the original boot.img. I want to unroot temporarily. But want to re-root afterward.
I was wondering if I can save a modified_boot.img somehow and flash that later once I am done. Is it possible?
Click to expand...
Click to collapse
What ROM and device are you using?
How did you root it in the first place?
What OS are you running?
Heres my 30 second version of how id do it on my Pixel 2 XL an a/b device....ymmv, depending on device
Download latest platform tools from Google for your OS, if necessary: https://developer.android.com/studio/releases/platform-tools
Next you'll need dd, if you're on Linux, you can skip ahead
For Windows....go to http://gnuwin32.sourceforge.net/packages/coreutils.htm
Download Binaries & Dependencies zips
Extract dd.exe from coreutils-5.3.0-bin.zip /bin to platform tools path
Extract all .dll's from coreutils-5.3.0-dep.zip /bin to platform tools path
Enable USB Debugging & ABD access on device
Boot device to recovery (usually TWRP)
on PC and prompt in platform tools folder:
if you have recovery (usually TWRP) installed:
adb reboot recovery
if you DONT have recovery (usually TWRP) installed, but instead fastboot it via bootloader (as i do on my Pixel 2XL):
adb reboot bootloader
fastboot boot twrp-xxx.img
swipe into twrp
back to PC prompt:
adb shell
dd if=/dev/block/bootdevice/by-name/boot of=/sdcard/boot.img
adb pull /sdcard/boot.img magisk_boot.img
Uninstall magisk
When you need to flash magisk boot image back:
Boot to bootloader..
on PC and prompt in platform tools folder:
adb reboot bootloader
fastboot flash boot magisk_boot.img
fastboot reboot
Note: You can of course use the same first process to backup (and extract) the stock boot.img before rooting ....and the latter to reflash it if needed if rooting goes wrong
Sorry, I should update my profile. My device is OnePlus 8 Pro.
> dd if=/dev/block/bootdevice/by-name/boot of=/sdcard/magisk_boot.img
@73sydney why would this not work from within a rooted device? Its not like some process is holding a read lock on that partition or something else is also writing to it. Its a partition persisted in the NAND, which is not being touched by anything.
The only thing is that there are 2 partitions on the NAND: boot_a and boot_b. I need to know which one is the current one.
And this tells me slot B:
cat /proc/cmdline | tr ' ' '\n' | grep --color slot
androidboot.slot_suffix=_b
For flashing back, I obviously need to be in bootloader because I won't have the root to write to the partition.