[Q] Zte custom recovery - Blade General

I'm following the
hxxp://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images
guide to build a recovery.img.
It works fine to edit the ramdisk and rebuild with mkbootfs and mkbootimg. Until I flash it and boot up in recovery it stays on the green android splash and it is not fastboot mode. So I was wondering if there's some more to it. If I need a "--base [address]" or something else.
pls answer

Related

[Q] Cannot Fastboot into Clockwork Recovery but can boot into it from ROM manager?

Hi
I followed this tutorial (http://nexusshacks.com/nexus-s-hacks/how-to-root-nexus-s/) to root my Nexus S (GTi-9023). Like a bunch of other people on this site my phone got stuck on the "Google with a pad lock" boot screen (I should have come to xda first). So to get past this i downloaded the stock rom (from here: http://forum.xda-developers.com/showthread.php?t=1056062) and extracted boot.img and then flashed the stock boot image and booted with it as below.
>fastboot flash boot boot.img
>fastboot boot boot.img
This fixed fixed my booting problem and i then used rom manager to install clockwork recovery. I can boot into clockwork recovery from rom manager but not from fastboot. i get an android with an exclamation mark. Any idea why and/or how to fix this?
Thanks in advance.
boozelclark said:
Hi
I followed this tutorial (http://nexusshacks.com/nexus-s-hacks/how-to-root-nexus-s/) to root my Nexus S (GTi-9023). Like a bunch of other people on this site my phone got stuck on the "Google with a pad lock" boot screen (I should have come to xda first). So to get past this i downloaded the stock rom (from here: http://forum.xda-developers.com/showthread.php?t=1056062) and extracted boot.img and then flashed the stock boot image and booted with it as below.
>fastboot flash boot boot.img
>fastboot boot boot.img
This fixed fixed my booting problem and i then used rom manager to install clockwork recovery. I can boot into clockwork recovery from rom manager but not from fastboot. i get an android with an exclamation mark. Any idea why and/or how to fix this?
Thanks in advance.
Click to expand...
Click to collapse
Rename /etc/install-recovery.sh to install-recovery.sh.bak, then reflash the recovery.
DONT use rom manager to flash the recovery it hardly ever works [for me],
If you have 'Android SDK' and 'ADB' then,Download a decent recovery file and place it in your 'Android-SDK/tools" directory, then go to your 'cmd' [command prompt] and navigate to your android-sdk/tools directory ,,example below.
''cd C:/android-sdk/tools'' [cd meaning 'change directory']
Then type, "adb devices" it should list your devices ith a load of numbers and letters, if it does then proceed, if not re-plug your device into the USB [in the bootloader]
Then type,
"fastboot flash recovery recovery.img" and let it do its thing. [if it does not work , make sure you renamed you recovery file to 'recovery.img'
Hope this helps!!
XDA_Badman said:
DONT use rom manager to flash the recovery it hardly ever works [for me],
...
Click to expand...
Click to collapse
The problem is that with the stock rom the stock recovery gets flashed after boot up (by /etc/install-recovery.sh). Search for install-recovery.sh in the nexus s forums.

[BOOTLOADER][MULTIBOOT + RECOVERY][BOOTMENU] Patched ICS bootloader V9 (19/07/2013)

Allright, final ICS is out, but the stock bootloader still doesn't have fastboot oem unlock working. So, it's either HC bootloader or patched ICS bootloader. Please note that installing custom kernel / recovery on unpatched ICS bootloader will require recovering your device only with nvflash!
This bootloader can only be flashed using nvflash. You can use the guide here http://forum.xda-developers.com/showthread.php?t=1622425. There is also a post explaining nvflash in here: http://forum.xda-developers.com/showpost.php?p=22923662&postcount=9
YOU DO EVERYTHING AT YOUR OWN RISK!!!
Patched Bootloader V9 (V9-gbc410d4): (19/07/2013)
- based on latest Acer BL 0.03.14-ICS, it will pass 0.03.14-EXT to command line, along with V9-ga81f36b for revision
- booting from ext4 filesystem (see further for howto)
- grub style selection screen if multiple images are installed
- added font outline & kerning, uses updated skin application (by yaworski)
- GUI improvements
- haptic feedback
- OpenSuse 12.3 theme
- expanded fastboot commands
- fixed debug mode cmdline
Patched Bootloader V8: (07/06/2012)
- based on latest Acer BL 0.03.14-ICS, it will pass 0.03.14-MUL to command line
- fastboot handler is completely build from source code
- fastboot:
- A) download command will no longer write downloaded data to cache,
this means that on using flash and boot command, cache won't be wiped
- B) more convenient bootloader flashing (reboots right away to new BL)
- C) you won't have to have cache partition sized larger than other partitions,
in order to flash them
- D) maximum data size that can be send with fastboot is 700 MiB
- revamped GUI, now with fullscreen bootsplash and custom font, and themable
- added fastboot oem sbk command, which will print sbk on the tablet
- several small changes
Patched Bootloader V7: (31/05/2012)
- based on latest Acer BL 0.03.14-ICS, it will pass 0.03.14-MUL to command line
- one bootloader for both A500 / A501
- expanded bootmenu application (built from source) with handling several fastboot commands
- fastboot getvar serialno will return real serial number
- bootmenu has options to boot primary / secondary image on current boot
- attempting to boot invalid kernel image will result in being stuck in bootmenu
Patched Bootloader V6: (20/05/2012)
- based on latest Acer BL 0.03.14-ICS, it will pass 0.03.14-MUL to command line
- added simple boot menu (built from source)
Patched Bootloader V5: (18/05/2012)
- based on latest Acer BL 0.03.14-ICS, it will pass 0.03.14-MUL to command line
- dualboot (read lower for more information)
- added "fastboot flash bootloader bootloader.blob" command
Patched Bootloader V4: (13/05/2012)
- based on latest Acer BL 0.03.14-ICS, it will pass 0.03.14-UNL to command line
- allow bootlogo change (scroll down)
- allow unsigned update via bootloader.blob using CWM
- fixed: AKB partition is no longer used
- fixed: debug on / off works correctly
- fixed: bootloader will now boot to recovery if you erase boot (LNX) partition
- change: bootloader won't pass vmalloc parameter to cmdline
Patched Bootloader V3: (26/04/2012)
- no signature checks
- no "itsmagic" check
- based on latest Acer BL 0.03.12-ICS, it will pass 0.03.12-UNL to command line
- enabled fastboot (details lower)
- replaced bootlogo (moreover just testing that, need to allow bigger image)
FASTBOOT & BOOTMENU (since V6):
POWER + VOLUME DOWN will boot to recovery (won't erase cache).
POWER + VOLUME UP will boot to bootmenu.
In bootmenu, you can do:
A) Reboot
B) Go to fastboot mode
C) Toggle boot mode and set default kernel image on the selection screen
D) Toggle debug mode (modifies cmdline), forbid EXT4 boot in case of a bug in fs
E) Make selection screen include recovery and fastboot
E) Wipe cache (in case you get bad bootloader update and tablet won't boot)
To check for fastboot commands, see the README on the Github.
Here is CWM for ICS bootloader: http://forum.xda-developers.com/showthread.php?t=1654476 , you can flash it from fastboot after you flash the bootloader.
Do NOT run itsmagic on V5+ if you use dualboot, it will corrupt the secondary boot image.
BOOTLOGO CHANGE:
Changelog:
1.06 (19/07/2013)
- updated for V9
1.05 (07/06/2012)
- new application for V8
- customizes bootsplash and the colors
1.04 (31/05/2012)
- updated to support V7
1.03 (19/05/2012)
- updated to support coming V6
1.02 (18/05/2012)
- updated to support V5 as well
1.01 (14/05/2012)
- fixed blob loading & generation
- fix: require only .NET 2.0
1.00 (13/05/2012)
- Initial release
Download the tool from here:
Windows: http://skrilax.droid-developers.org/a500/nvflash/tools/A500BootLogo_106_v9_win.zip
Other OS (Mono): http://skrilax.droid-developers.org/a500/nvflash/tools/A500BootLogo_106_v9_mono.zip
Steps to change bootlogo:
(V4 - V7, applcation version 1.00 - 1.04)
A) Open the bootloader using File menu.
B) Open the image you want using Image menu (the image size must be 268x72)
C) Save the bootloader as *.blob
D) Flash it with a fastboot
(V8, applcation version 1.05)
(V9, applcation version 1.06)
A) Open the bootloader using File menu.
B) Open the image you want using Image menu (the image size must be 1280x800), note file limit max is 200 kB
C) If you wish, tick the checkbox for color customization and set the colors at your wish
D) Save the bootloader as *.blob
E) Flash it with a fastboot
Stock bootlogo is in attachment.
If you want to flash as *.blob, you have to create an update.zip for CWM and flash using this update script:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/system");
package_extract_file("bootloader.blob","/tmp/bootloader.blob");
unmount("/cache");
format("ext4","EMMC","/dev/block/mmcblk0p4","0");
run_program("/system/bin/dd","if=/tmp/bootloader.blob","of=/dev/block/mmcblk0p4");
unmount("/system");
mmcblk0p4 is cache partition. Please note that flashing a nonworking bootloader via *.blob will require recovery using nvflash.
MULTILBOOT:
Before I start, the bootloader will work correctly if you just use single kernel image as you were used to on previous versions. You can just use it the very same as the older versions.
In other words, you can just install it and not have to bother about this at all.
Allright, new feature of V5 is dualboot, i.e toggling to boot two different images and keeping the recovery intact, it is primarily intended to run both Android & Native Linux ported by sp3dev. In V9 this was extended with booting from EXT4 filesytem.
First, basic information:
Multiboot sets the booting partition with "permament effect" (i.e not like holding down a button to boot secondary partition, nothing like that). It is the parition that is highlighted by default on the selection screen.
Primary kernel image is LNX partition (/dev/block/mmcblk0p2, size 8 MB), or "boot" when using fastboot flash / erase command. This is the default partition, used by older bootloaders as well.
Secondary kernel image is AKB partition (/dev/block/mmcblk0p7, size 10 MB), or "secboot" when using fastboot flash / erase command. This parition used for storing checksums on HC bootloader. If this partition doesn't contain Android boot image, it will not show.
Further kernel images can be specified in the menu file for the bootloader.
Now, how to toggle between booting images:
A) Using bootloaderctl
B) Using fastboot:
- "fastboot oem set-boot-image 0" - sets to boot first kernel image
- "fastboot oem set-boot-image 1" - sets to boot second kernel image
- etc.
C) Using bootmenu GUI
Now, how to flash the secondary kernel image:
Either use "dd if=secboot.img of=/dev/block/mmcblk0p7" from within android or recovery, or in fastboot, you can use:
Code:
fastboot flash secboot secboot.img <- to flash
fastboot erase secboot <- to erase
DEV:
A) Dualboot
bootloaderctl can be used to modify bootloader settings. Source is in github, or use precompiled version for Android: http://skrilax.droid-developers.org/a500/nvflash/images/bootloaderctl
B) EXT4 FS boot
Since V9, there is also support for EXT4FS boot. Here is example menu.skrilax file for setting it up:
Code:
================================================================================
Example menu.skrilax file:
================================================================================
; commentary is prefixed with ';'
; .ini file structure
; First, three possibilities to boot from partitions
; LNX - primary image (always present, can specify title only)
[LNX]
title=Android
; AKB - secondary image (will not show if property AKB partition doesn't hold android image)
[AKB]
title=LUbuntu
; SOS - recovery image (will show if it's set by user)
title=CWM
; Properties for EXTFS booting
;
; title - text to show in menu
; cmdline - override cmdline (prefixing with @ will make the bootloader append the cmdline to the default one)
;
; Then there are two possibilities:
;
; A) boot android image
; android - path to android image (will be used if present)
;
; B) boot zImage with ramdisk (optional)
; zImage - path to zImage
; ramdisk - path to ramdisk (optional)
; First entry
[BOOT1]
title=EXT4FS Boot 1
android=APP:/boot/boot.img
; Second entry
[BOOT2]
title=EXT4FS Boot 2
zImage=APP:/boot/zImage
ramdisk=APP:/boot/ramdisk
Important to note is that path is in bootloader format i.e PARTITION:file_path_in_partition. For instance APP:/boot/boot.img would be for /system/boot/boot.img when mounted in Android. To see the partition list, see the readme on github.
Lastly you have to tell the bootloader the location of the file. Either boot to android and use bootloaderctl under root user (assuming that the file is under /system/boot/menu.skrilax):
Code:
bootloaderctl --set-boot-file APP:/boot/menu.skrilax
or use fastboot
Code:
fastboot oem set-boot-file APP:/boot/menu.skrilax
If you have problems with booting (stuck on BL screen w/o text showing anything) and have EXT4 FS boot setup, reboot to bootmenu and forbid EXT4 FS boot (it may get stuck if FS is corrupted).
C) Bootmenu
Bootmenu part of the bootloader is open source, with basic functions of the bootloader map. This includes full framebuffer access (hacked a bit as of V9), some standard library functions (you can use your own of course), partition handling, gpio (key handling), fastboot, reboot. Bootmenu currently acts as sub-bootloader, as it passes control back to the bootloader for booting the actual image.
Bootmenu is licensed GPL V3, you can find repository here: https://github.com/SkrilaxCZ/a500_bootmenu
Compile it by making "make", with CROSS_COMPILE set. You can also use "O=../obj" if you prefer obj folder like I do. Also for bootloaderctl either set NO_BOOTLOADERCTL=1 or LINUX_COMPILE and ANDROID_COMPILE for cross-compilers for Linux or Android.
FAQ:
Q: What are the main advantages over HC bootloader?
A: Mainly fastboot. Then more comfort, but for running a custom ROM, HC bootloader is just as fine. And since V5, the possibility of dualboot.
Q: Can I unbrick my A500 with nvflash?
A: Provided, that you saved CPUID to generate SBK and have mmcblk0_start backup, yes. You can recover by installing this bootloader over HC bootloader should you have SOS and LNX image checksum failure.
Q: What is the best way to install ICS bootloader?
A: First install the bootloader with nvflash. Then using fastboot (POWER + VOLUME UP) flash recovery. From there flash ROM for ICS bootloader. You can however install the recovery with nvflash too.
Q: How do I use fastboot?
A: Fastboot is part of Android SDK, you get it just as you get adb. To recover with fastboot, reset the tablet and hold POWER + VOLUME_UP, the tablet will say "Fastboot Mode". Open up command line in the directory where you have fastboot, and use:
Code:
fastboot flash boot boot.img <- flashes boot.img (to kernel partition - LNX)
fastboot flash recovery recovery.img <- flashes recovery.img (to recovery partition - SOS)
Basically, to unbrick it, use the one to flash recovery. Then boot to the recovery, and flash working backup / ROM, whatever you like.
Q: Fastboot oem debug on / off:
A: This has use only for kernel developers. Fastboot oem debug on / off will only change the cmdline to serial console (on) or null console (off). The console parameter can be edited on offset 0x87638, by default it is "console=ttyS0,115200n8".
Q: Updating BL via recovery:
A: Since V4 supports flashing custom bootloader.blobs. Trying to flash custom bootloader.blob on any other bootloader will result in update failed and bootloader not modified (so this part is safe). Flashing a bad bootloader via bootloader.blob will require recovering with nvflash.
Q: Factory reset:
A: Factory reset (Vol UP and switching the rot. lock) is not supported on patched bootloader, use recovery or "fastboot erase userdata".
Q: The tablet won't boot secondary kernel image, but I have working kernel image. What should I do?
Toggle boot partition in boot menu back to primary.
Q: The tablet doesn't boot after bootloader install.
Boot to bootmenu and wipe cache.
INSTALL:
There are four methods of installing:
A) Flashing the *.bin file using nvflash manually, providing as the bootloader_apx.bin to "-bl" argument
B) Using blackthund3r's tool, see guide here: (guide here: http://forum.xda-developers.com/showthread.php?t=1622425
C) If you have V4+ installed (or newer), you can flash the update.zip for CWM
D) If you have V5+ installed, then you can also use fastboot: "fastboot flash bootloader bootloader.blob". Please note that if you supply invalid block image, then you have to use "fastboot erase cache".
CREDITS:
Bootmenu uses code from following applications:
GRUB: jpg loading
SUSE: V8, V9 Splash screen image
yaworski: font outline / kerning
DOWNLOAD:
There are zip files with bootloaders for a500 / a501 - containing three files:
bootloader_apx.bin - this is bootloader binary to be booted when flashing via nvflash (use with -bl argument)
bootloader_hc.bin - this is HC bootloader, w/o signature and itsmagic checks
bootloader_ics_vx.bin - this is the ICS bootloader file
Please note that using old bootloader_apx.bin (from pre-V5 package) when updating manually will corrupt your secondary kernel image.
Alternatively, you can find there a500apx images for blackthund3r's tool (http://d-h.st/Fkt), there is also repository for the tool on this URL "http://skrilax.droid-developers.org/a500/nvflash", contains only bootloaders. They can be downloaded manually as well.
Download page: http://skrilax.droid-developers.org/a500/nvflash/images/
A500 / A501 ICS V9 BL:
Zip: http://skrilax.droid-developers.org/a500/nvflash/images/a500_a501_bootloaders_apx_ics_v9.zip
blackthund3r's tool package: http://skrilax.droid-developers.org/a500/nvflash/images/A500_A501_ICS_V9_bootloader.a500apx
Update.zip for CWM: http://skrilax.droid-developers.org/a500/nvflash/images/a500_a501_cwm_update_v9.zip
Wow, you found a way to boot into fastboot directly . Thank you. As for bigger logo I think that it would require to extend the space where the logo resides in bootloader file and that would require to recalculate all addresses after that area. I don't have sufficient knowledge in this area to even guess if this is possible .
This with strra , bat makes it so easy .
Thanks !!!!!!!!!!!
EDIT:
Maybe and I think it is a stupid question but anyway gonnan ask it.
I installed this and it runs fine , I can go into recovery and all but not into to fastboot ,( it says fastboot starting..............) = STUPID me need to type commands so it does sommething
And if I check my bootloader it still shows 3.01 HC ?
Do I need to flash the official leak first and then run this unlocked patch ?
I will try some different stuff , new to this nvflashing things on a tab , did it 100+ times on GPU's but never on my tab.
It pass the flash thing but then I get in red : secure boot : image LNX checksum fail !
EDIT2:
After flashing some more all is well , but still want to know what the following line means after I installed the V3 bootloader : secure boot : image LNX checksum fail !
If I check my bootloader version now it is 0.03.12-UNL and I got the Thor 1.7 recovery for ICS bootloader users running.
I can flash custom roms and all so no problems here.
Again thanks for the work !! Just a nvflash noob asking some side info !
EDIT3: Question
If I make a update .zip with only bootloader.blob and then the user runs this with the strra packages will that do the trick to make it easy to update to unlocked bootloader and custom recovery?
What I did:
See attachment ; you find what I used and your V3 is in the package , I followed the guide and links by jm77 but I used the stuff in the attachments.
Make sure you got your uid (CPUuid) so you can get your SBK. (you find this in your cwm backup folder or follow instructions from jm77 guide)
Going back to HC roms is not possible just so you know.
yaworski said:
Wow, you found a way to boot into fastboot directly . Thank you. As for bigger logo I think that it would require to extend the space where the logo resides in bootloader file and that would require to recalculate all addresses after that area. I don't have sufficient knowledge in this area to even guess if this is possible .
Click to expand...
Click to collapse
Yeah, I rewrote the fuction setting the boot mode. Well, I wasn't thinking of full screen bootlogo, just purging the other unused images and using the space for a single logo. Full logo is over 4 M.
civato said:
Do I need to flash the official leak first and then run this unlocked patch ?
I will try some different stuff , new to this nvflashing things on a tab , did it 100+ times on GPU's but never on my tab.
It pass the flash thing but then I get in red : secure boot : image LNX checksum fail !
Click to expand...
Click to collapse
We're using the HC bootloader when you communicate with nvflash (for some reason, ICS will not work). This means that after flashing, don't continue booting, just power off the tablet (as HC bootloader will fail booting on the checksums) and then power it back on.
To upgrade:
1) flash the bootloader with nvflash
2) boot to fastboot (POWER + VOLUME UP), flash CWM via fastboot
3) flash ROM via CWM
civato said:
If I make a update .zip with only bootloader.blob and then the user runs this with the strra packages will that do the trick to make it easy to update to unlocked bootloader and custom recovery?
Click to expand...
Click to collapse
No, that can't be used to install unlocked bootloader. The bootloader is checked for signature that way. Only nvflash.
Ignore this post. Quoted myself by accident.
Skrilax_CZ said:
We're using the HC bootloader when you communicate with nvflash (for some reason, ICS will not work). This means that after flashing, don't continue booting, just power off the tablet (as HC bootloader will fail booting on the checksums) and then power it back on.
To upgrade:
1) flash the bootloader with nvflash
2) boot to fastboot (POWER + VOLUME UP), flash CWM via fastboot
3) flash ROM via CWM
No, that can't be used to install unlocked bootloader. The bootloader is checked for signature that way.
Click to expand...
Click to collapse
Thanks , m8 , all went OK and works so no problems , got your V3 running and I got custom cwm .
Was just looking if it was possible to make the steps even more simple to the new users.
Can't we flash the bootloader ànd the cwm through nvflash anymore? I use a modified script from strra to flash back and forward between hc bootloader icw twrp and bootloader V2 icw the corresponding cwm.
Taptalked u see
Zatta said:
Can't we flash the bootloader ànd the cwm through nvflash anymore? I use a modified script from strra to flash back and forward between hc bootloader icw twrp and bootloader V2 icw the corresponding cwm.
Taptalked u see
Click to expand...
Click to collapse
Yes you can , I did it that way with the package I uploaded , it is strra package with this V3 in it.
Can you upload the HC bootloader for me so I can go back and fort if I want.
Skrilax_CZ said:
We're using the HC bootloader when you communicate with nvflash (for some reason, ICS will not work).
No, that can't be used to install unlocked bootloader. The bootloader is checked for signature that way. Only nvflash.
Click to expand...
Click to collapse
Could it be if we use the USB driver from the a200 ICS from Acer that is will work , communication with nvflash.
And not asking if it is possible to flash the patched bootloader with cwm.
Just a update zip with the original bootloader.blob flash it with cwm and then run nvflash to install the patched boot loader and custom recovery.
That way user won't have to download and install the whole original rom .
No, the error is in the nvflash interface in ICS bootloader itself. However it's pretty much irrelevant which bootloader you use to communicate with nvflash, if they all were working.
civato said:
And not asking if it is possible to flash the patched bootloader with cwm.
Just a update zip with the original bootloader.blob flash it with cwm and then run nvflash to install the patched boot loader and custom recovery.
That way user won't have to download and install the whole original rom .
Click to expand...
Click to collapse
Not entirely sure if I understand what you mean. If you flash original bootloader.blob with ICS, you have to have signed kernel / recovery flashed on the device. Otherwise the only way to recover from that is using nvflash. Easiest way is as I said in 1st post:
1) patched BL using nvflash
2) custom recovery with fastboot
3) ROM (or fixed boot.img for ICS bootloader)
Keep in mind, that in V2, you could only boot to fastboot via "adb reboot bootloader", POWER + VOL_UP to boot to fastboot is new in V3.
I wonder why they didn't enable OEM UNLOCK in this? Even he A510 has that capability. oh well. I'll be flashing this tonight.
THANKS!
PS. Good call on the 0.03.12-UNL version#. Thanks again!
civato said:
Yes you can , I did it that way with the package I uploaded , it is strra package with this V3 in it.
Can you upload the HC bootloader for me so I can go back and fort if I want.
Click to expand...
Click to collapse
See this post, I was looking for the same a week ago :http://forum.xda-developers.com/showthread.php?p=25175512
But I believe the bootloader.bin that is in strra's package is also the 3.01 bootloader, at least the size of the same.
Taptalked u see
Skrilax, did you check the BL in A501 latest leaks ?
Version is more recent than A500's (0.03.14-ICS), wondering what might have changed.
Oh didn't know. Rough checking by hex editor: don't see that oem unlock is enabled, and sending it through nvflash is still throwing error (just an annoyance moreless).
Skrilax_CZ said:
No, the error is in the nvflash interface in ICS bootloader itself. However it's pretty much irrelevant which bootloader you use to communicate with nvflash, if they all were working.
Not entirely sure if I understand what you mean. If you flash original bootloader.blob with ICS, you have to have signed kernel / recovery flashed on the device. Otherwise the only way to recover from that is using nvflash. Easiest way is as I said in 1st post:
1) patched BL using nvflash
2) custom recovery with fastboot
3) ROM (or fixed boot.img for ICS bootloader)
Keep in mind, that in V2, you could only boot to fastboot via "adb reboot bootloader", POWER + VOL_UP to boot to fastboot is new in V3.
Click to expand...
Click to collapse
OK thanks , didn't know about v2 as I never flashed that one.
V3 is running and doing his thing just fine .
And flashing with nvflash isn't that hard.
What I did wrong? I followed instruction and got new ICS boot v3 with fastboot, but when i try to enter into fastboot i only get text "fastboot starting ..." and nothing else.
Kh_Shad said:
What I did wrong? I followed instruction and got new ICS boot v3 with fastboot, but when i try to enter into fastboot i only get text "fastboot starting ..." and nothing else.
Click to expand...
Click to collapse
You gotta type in commands in cmd. First type fasboot devices, you will get a number or a "?" That is fine. Then you type in the commands.
Kh_Shad said:
What I did wrong? I followed instruction and got new ICS boot v3 with fastboot, but when i try to enter into fastboot i only get text "fastboot starting ..." and nothing else.
Click to expand...
Click to collapse
It doesn't print anything else (in the morning I revised it to rather say "Fastboot Mode"). Just connect it to PC and use fastboot.
civato said:
You gotta type in commands in cmd. First type fasboot devices, you will get a number or a "?" That is fine. Then you type in the commands.
Click to expand...
Click to collapse
OK so I'm pretty tech say. Lol but I'm kinda confused as to how to get to is bootloader. I don't know what nvflash is or where to find it as I have been through the links and can't find it. And just confusing with all the links and such. Could anyone PLEASE pm what I need to do exactly and links to exactly what I need. I would be forever greatful. Thank you one and all for whatever help you give me
Sent from my A500 using Tapatalk 2
warfenix said:
OK so I'm pretty tech say. Lol but I'm kinda confused as to how to get to is bootloader. I don't know what nvflash is or where to find it as I have been through the links and can't find it. And just confusing with all the links and such. Could anyone PLEASE pm what I need to do exactly and links to exactly what I need. I would be forever greatful. Thank you one and all for whatever help you give me
Sent from my A500 using Tapatalk 2
Click to expand...
Click to collapse
If I got time I do a wright up on the steps how I did it and with the test rom I used .
Only tip I want to give is ,if you flash the full leaked rom 1.031.00 ( same as what Acer is rolling out as ICS release now so it seems ) is to open it with winrar or 7 zip ( don't unpack ) and delete the recovery folder in it. Makes it easier on the recovery part.
And that is how I did I it.
But again I will do wright up as I understand that for some it is kinda scary to do this.

dual boot help plz'ings

Hi guys thanks again for the help with changing my boot splash that thread went epic due to that guide posted
ok so now im still on flexreaper 5.1 EX, BOOTLOADER: V7 ics
v7 supports dual boot right? i know, i know, i have read the thread but i cant actually see much info on this,
I basically want to have 2 roms , my current flex reaper and now to add the jellybean port from randomblame,.
can i do this? and how would i;
A. do this
B. select the rom i wanna use on each startup
C. would i have any prob with the itsmagic bug thing?
thanks again
You can't
I am on v8 boot loader. Dual boot is for kernels not whole roms atleast sofar
leonardtj said:
I am on v8 boot loader. Dual boot is for kernels not whole roms atleast sofar
Click to expand...
Click to collapse
damn that sucks,.... am i missing something? why would i want 2 kernals for one rom? lol cheers for reply anyways.
i think thats what us flashers "hehe" would love the most, able to try new roms without overwriting the current.
chismay said:
[...]why would i want 2 kernals for one rom?[...]
Click to expand...
Click to collapse
You could use it for custom kernel testing if you were a kernel developer (but this can be done even without flashing the kernel at all with fastboot boot command).
The main reason for dualboot in Skrillax_CZ's bootloaders, at least for now, is to allow to boot into Linux distro instead of Android without sacrificing the recovery, as earlier method for dualbooting Linux was to replace recovery image with second OS kernel. With dualboot bootloader you still have recovery and you can select the OS you want to boot.
yaworski said:
You could use it for custom kernel testing if you were a kernel developer (but this can be done even without flashing the kernel at all with fastboot boot command).
The main reason for dualboot in Skrillax_CZ's bootloaders, at least for now, is to allow to boot into Linux distro instead of Android without sacrificing the recovery, as earlier method for dualbooting Linux was to replace recovery image with second OS kernel. With dualboot bootloader you still have recovery and you can select the OS you want to boot.
Click to expand...
Click to collapse
gotchya i actually yeah see the point test a kernal without making the device unusable unless you nvflash...... im a big duuuh sometimes
@chismay: with modified bootloader you actually can do anything to boot partition without worying that you won't be able to restore it later without nvflash. Modified bootloader gives you fully usable fastboot where you can do some cool operations (all based on latest v8):
To flash any kernel to boot partition (primary kernel - usually for android):
Code:
fastboot flash boot boot.img
where boot.img is a file with kernel image with initrd.
To flash secondary kernel you can do
Code:
fastboot flash secboot kernel.img
You can of course flash new recovery with:
Code:
fastboot flash recovery recovery.img
But most of all, for testing new kernels and recoveries, you can boot any image without flashing into tab:
Code:
fastboot boot boot.img
where boot.img is any bootable image in Android format (Android kernel image, Linux kernel image or recovery image). This works by downloading the image into tablet's RAM and the booting it from there.

Stuck in Recovery after flashing repacked System.img

Hey guys,
i am new a this forum. I started do work on project about Custom Roms. At this point i got a Nexus 4 sponsered by my university.
So i start to creat a Custom Rom by using the AOSP. Now i am at the situation, that i can flash and run a Stock Rom form the Source ( Andorid 4.4.2_r1). Now i want to do some changes on the System.img. I "unpacked" the image with simg2img and mounted it on my linux system. After that i try just to repack it and to flash it (without any changes, just for testing). So i run :
Code:
system/extras/ext4_utils/mkuserimg.sh -s /home/tolik/tempdir ./SystemTest.img ext4 ./temp 880803840
then number 880803840 is the sice of the unpacked system.img
After that evrything goes well, so i flashe it to the divece:
Code:
fastboot flash system SystemTest.img
and also the flashing works well... but if i reboot the device i see the "GOOGLE" logo and then it rebouts again and show me the "Android with and red triangle" logo ^^.
The comand adb devices tell me, that the device is in recovery mode.
I can flash back to the original System.img but now i dont know what is going wrong. I cant change the system.img or just unpack and repack it.
Hopfully someone can help me..
btw: Sorry for my bad english!
Greets zane2007
zane2007 said:
Hey guys,
i am new a this forum. I started do work on project about Custom Roms. At this point i got a Nexus 4 sponsered by my university.
So i start to creat a Custom Rom by using the AOSP. Now i am at the situation, that i can flash and run a Stock Rom form the Source ( Andorid 4.4.2_r1). Now i want to do some changes on the System.img. I "unpacked" the image with simg2img and mounted it on my linux system. After that i try just to repack it and to flash it (without any changes, just for testing). So i run :
Code:
system/extras/ext4_utils/mkuserimg.sh -s /home/tolik/tempdir ./SystemTest.img ext4 ./temp 880803840
then number 880803840 is the sice of the unpacked system.img
After that evrything goes well, so i flashe it to the divece:
Code:
fastboot flash system SystemTest.img
and also the flashing works well... but if i reboot the device i see the "GOOGLE" logo and then it rebouts again and show me the "Android with and red triangle" logo ^^.
The comand adb devices tell me, that the device is in recovery mode.
I can flash back to the original System.img but now i dont know what is going wrong. I cant change the system.img or just unpack and repack it.
Hopfully someone can help me..
btw: Sorry for my bad english!
Greets zane2007
Click to expand...
Click to collapse
Try wiping your data from recovery, then flash the img.
Hm, thx for the tipp. But it dont work.
first i try just to use
Code:
fastboot -w
and after that i try:
Code:
fastboot flash system SystemTest.img -w
and now i still got the same problem...
anyone an other tipp?
FIXED
Hey Guys, i get a tipp from a friend...
and now i found the error and got fixed the problem:
I used the wrong Comand parameter. I just dont set the mount point
that how it must be:
Code:
mkuserimg.sh -s /home/tolik/tempdir ./SystemModify.img ext4 [B]system[/B] 512M
i would like to post the source for this solution, but i cant couse i dont got 10 posts... so if someone want to read it, just look at omappedia.com for the article: Android eMMC Booting
So now the problem is Gone... this Thread can be closed!

[GUIDE][Redmi 4/4A] How to Change Splash Screen (Boot Logo)

Note:
This is not bootanimation, this is the splash screen (the Mi' boot logo which is displayed when device is switched ON)
This is for Redmi 4A/4 Only..
For other devices, please send me your splash.img so that I can create a tool for you too.
Requirements:
1. Rooted Redmi 4A/4 (any ROM)
2. Terminal Emulator app
STEPS to create & flash splash.img:
Same procedure as in here:
[GUIDE] How to Create Custom Splash Screen (Boot Logo) for Redmi 2/3
Hit the Thanks :good: button if it worked for you
You're welcome to post the splash images that you created..
Thanks to @karantamboli who provided stock splash.img of Redmi 4A..
Hi. If I converte a splashscreen image via gimp, what would be the image settings?
Custom Bootloader image and Splash Logo..
Flashable zip : https://drive.google.com/file/d/0BxPVo9bN1AVAUHNEU3J1STh3cTA/view?usp=sharing
Splash Image Flash Through Bootloader ( CMD: fastboot flash splash spalsh.img) For Reboot (fastboot reboot) :
https://drive.google.com/file/d/0BxPVo9bN1AVANGY2cVh2dEN4UTg/view?usp=sharing
I was looking for this since last week. Please upload more flashable files with screnshot plz
Unable to flash it through twrp
i tried to flash it but my logo comes only for a second and then it gets replaced by the stock logo (note i have a custom ROM and have different boot video ) fastboot logo is fine it works
I tried too and had the same result, only fastboot works.
I also tried to flash a custom logo, but I didn't use the .bat file because I'm using a linux OS. I searched to find a linux version of the script but I found only a request in another device' s thread with no answer from the creator of the tool. So I tried to use the commands from .bat file. I used "cat" command to join the files which I found that is equivalent to "copy /b" and the "720x1280_header.img" which provided, but it didn't work. I get only af small penguin icon for both fastboot and splash which I suppose is the linux kernel' s default splash. For fastboot I used the "fastboot.img" which also provided, so doesn't seems that is the image I made problem.
Doesn't Work! Atleast must update the thread.
[email protected] said:
i tried to flash it but my logo comes only for a second and then it gets replaced by the stock logo (note i have a custom ROM and have different boot video ) fastboot logo is fine it works
Click to expand...
Click to collapse
smurfisrael03 said:
Doesn't Work! Atleast must update the thread.
Click to expand...
Click to collapse
If boot logo gets instantly replaced by the stock one, use this modified version by PG:
https://forum.xda-developers.com/showpost.php?p=75994298&postcount=9
Worked perfectly on my (updated) 4A.
nice

Categories

Resources