My adb does not start all the time. Sometimes when I plug my phone in to use adb...I have to open the command prompt and type
cd \desktop\sdk\tools then hit enter then type adb devices enter for my phone to find it. If I just type adb devices in command prompt...I alway get (List of devices attached).
I made a simple 1click file to do it all. There are 2 files...1 is call adb and 2 is call adb + pause. It's just 2 bat file. If you have a better way plz share.
Thanks
Add the adb path as a command from right-click my computer > properties > something else around there, there should be guides on google or in Q&A. I don't remember because I haven't used windows in a while.
evilkorn said:
Add the adb path as a command from right-click my computer > properties > something else around there, there should be guides on google or in Q&A. I don't remember because I haven't used windows in a while.
Click to expand...
Click to collapse
^this
I have my sdk\tools folder in my path. Then it's as simple as start, run, cmd, adb remount (i generally do this first just to make sure daemon is running).
Edit: What exactly are these files anyway? Your post says 2 batch files, but I see 2 exe files with nexus one icons.....
Scanned file: Adb files.zip
Adb files.zip/Adb files/ADB + pause.exe/ADB.bat - OK
Adb files.zip/Adb files/ADB + pause.exe - OK
Adb files.zip/Adb files/ADB + pause.exe - OK
Adb files.zip/Adb files/ADB.exe - OK
Adb files.zip/Adb files/ADB.exe - OK
Statistics:
Known viruses: 4066398 Updated: 06-05-2010
File size (Kb): 246 Virus bodies: 0
Files: 5 Warnings: 0
Archives: 2 Suspicious: 0
Looks clean to me.
It's just 2 .bat files. All i did was give the .bat file a icon. I use a program call Bat_To_Exe_Converter
cd sdk\tools
adb devices
cd sdk\tools
adb devices
pause
If you have your sdk folder on your desktop.
soloxp said:
It's just 2 .bat files. All i did was give the .bat file a icon. I use a program call Bat_To_Exe_Converter
cd sdk\tools
adb devices
cd sdk\tools
adb devices
pause
If you have your sdk folder on your desktop.
Click to expand...
Click to collapse
I assumed, was just curious
Yeah adding it to your system path is really easy and a much better way because you can run adb from anywhere.
Cool...
Thanks guys.
Thanx for the tips!
Added my sdk\tools folder to my path on Win7.
How to:
- Click Start and choose Control Panel
- In the Search box on the top right of the window type “system path” (no quotes)
- Click “Edit the system environment variables”
- The Advanced tab of the System Properties dialog box is shown. Click the Environment Variables button on the bottom right.
- In the lower box titled “System Variables” scroll down to Path and click the Edit button.
- Change your path as need be.
- Restart your system.
You will need to download the android-sdk located www.android.com
I do not take credit for any of this at all, I discovered this on the www.androidforums.com This may help a few of you.
This tutorial should help you get your own custom bootanimation on your Droid incredible. Here is a "PREVIEW" http://www.youtube.com/watch?v=l9erbdb7sOo&feature=player_embedded
Click to expand...
Click to collapse
1st)Go to http://www.flexjunk.com/2010/05/01/installing-htc-incredible-android-sd-drivers/ This will help you setup your Droid Incredible to be recognized on your computer. After do this step it will tell you to reboot your computer.
(If your droid is is already setup to be recognized skip step 1)
2nd)Run terminal or (command prompt), point it to your (<sdk>directory)
3rd)With you Droid Incredible-
: go to settings, applications, development, *(Check) USB Debugging*
: plug in your Incredible to the usb, select "disk drive" option
: inside terminal (or command prompt) run
Code:
adb devices
if it doesn't not recognize your device then you did something wrong.
(tips- reboot computer, make sure adb debugging is checked, reboot phone)
4th)Download any custom bootanimation.zip you want and place it inside your 'tools folder' located in your SDK
(you can find many custom bootanimations inside many custom roms <located inside /system/media>)
5th)Now type
Code:
adb push bootanimation.zip /data/local
: If you also want audio to play with your boot animation find the mp3 audio file you want and type this
Code:
adb push android_audio.mp3 /data/local
: If the command worked, you should see a prompt with "bootanimation.zip filesize 4,470 kB" or some file size (yours will be different)
6th)Now type
Code:
adb shell reboot
Please Note: not any audio or bootanimation.zip will work-no one is responsible for your actions. Hope this helps enjoy!!!
*ID*
If I missed any steps please post your problems and we will try our best to help you.
Thanks for this. Will update on how well it works when i finish making my animation.
not sure what im doing wrong i have androidsdk saved as c:androidsdk. but when i run cmd i get this
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Chris>androidsdk
'androidsdk' is not recognized as an internal or external command,
operable program or batch file.
IncredibleDoes said:
If I missed any steps please post your problems and we will try our best to help you.
Click to expand...
Click to collapse
This is very cool ID, I was j/w if you had any tutorial/example boot animations... I will check out the ones that come with the SDK, that may be enough to learn from (I'm very interested in creating my own, not just using other people's work without understanding it) for the Incredible. If there is a tutorial in the SDK, feel free to say "RTFM", lol, my phone is 15 miles away but I won't be able to get it until next week =/, but I want to be prepped to go at it before then.
thanks for this, been wanting to put the nexus boot animation on my phone for awile now
I cannot get any mp3 to sound during boot up. Anyone have any ideas. I figured it was because of the size of the mp3 but I even tried a small one and still no luck.
More than likely you'll need an ogg file for sound. I'm about to change mine so I'll let you know.
-------------------------------------
Sent via the XDA Tapatalk App
android_audio.mp3 works as the file name
edit: sorry for the double post
moosc said:
not sure what im doing wrong i have androidsdk saved as c:androidsdk. but when i run cmd i get this
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Chris>androidsdk
'androidsdk' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
your missing a very important command
cd foldername/tools then hit enter (make sure that your files "bootanimation.zip" and "android_audio.mp3" are in the tools folder or this won't work it will you give you an error)
then type
adb devices
it will list whats connected
then type
adb push bootanimation.zip data/local
hit enter
adb push android_audio.mp3 data/local
hit enter
your done!
restart your phone and enjoy your new boot screen
here's a how to video of how i figured mine out
http://www.youtube.com/watch?v=WIBk1-NB_ZM&feature=player_embedded
and here's my result! http://www.youtube.com/watch?v=9SnsXKFvGQs i had some help with the audio syncing, Santod from PPC helped with that part since it was off by a few seconds
Note: this is NOT my boot animation, it was made by a member on Phandroid forums, i'm sharing the files i used to get my result nothing more.
DO NOT unzip the bootanimation.zip to put onto your phone
UNZIP the android_audio.zip to the tools folder where you need to have both files stored to do the file push to your phone
Edit: Just to clear up some confusion, make sure the following files are in your Tools folder for the SDK
bootanimation.zip
android_audio.mp3 (be sure to unzip the zip file to the same directory as the bootanimation.zip file or this will not transfer)
haha, that's awesome m8. Now I am really inspired to create my own Bootanimation from scratch, but first I am going to work on something a little easier (working on 2 different live wallpapers atm... might put them up on the marketplace if they turn out as good as I envision them in my head... anything I make for the Android platform will of course be free to XDA Senior Members/Moderators/etc).
sorry for the noob question but how do i remove the boot sound after I installed it via ADB in the instructions? i really dislike the one i put on...
thanks for any help
you can just remove it from the the directory, rm "file name" But i am still not able to get my sound to work during boot up. Any one have this problem
dincodee said:
you can just remove it from the the directory, rm "file name" But i am still not able to get my sound to work during boot up. Any one have this problem
Click to expand...
Click to collapse
Dincodee..
Make sure you unzip the audio file and drop only the .mp3 into your sdk tools folder then push the mp3. Worked for me this way.
parkson...
I believe you can just push another mp3 named the same and it will write over the existing. If I'm wrong someone correct me pls.
is there any way to do this via terminal emulator or astro on the phone itself? ADB does not work for me
BootAni Loaded - Now What?
Hi there - so I get the whole process - piece of cake. However, Where does this data now reside on the phone? Using AndExplorer to view the directory structure, but can't seem to locate where the zip file contents are pushed to, or the *.mp3 file is residing. What if I'd like to revert to the old (and boring) Verizon Wireless boot ani?
Any help is greatly appreciated!
Also, kudos to all who posted this.
~Justin
BootAni Loaded - Now What?
Hi there - so I get the whole process - piece of cake. However, Where does this data now reside on the phone? Using AndExplorer to view the directory structure, but can't seem to locate where the zip file contents are pushed to, or the *.mp3 file is residing. What if I'd like to revert to the old (and boring) Verizon Wireless boot ani?
Any help is greatly appreciated!
Also, kudos to all who posted this.
~Justin
NCX Designs said:
your missing a very important command
cd foldername/tools then hit enter (make sure that your files "bootanimation.zip" and "android_audio.mp3" are in the tools folder or this won't work it will you give you an error)
then type
adb devices
it will list whats connected
then type
adb push bootanimation.zip data/local
hit enter
adb push android_audio.mp3 data/local
hit enter
your done!
restart your phone and enjoy your new boot screen
Works Great!
thanks for the instructions team!
Click to expand...
Click to collapse
i followed the direction directly but when i reboot i get no boot animation at all, just a black screen until my phone actually boots to the homescreen. whats going on?
Thanks this really helped a lot. Also just resently leaded adb so this was a great start for me o learn
Sent from my Droid Incredible
This is a Windows batch script that converts png, jpg, bmp, or tif images into a raw rgb565 image, then flashes it to your Nexus 9 to replace the stock Google Splash Screen. With version 1.6 this script will work with any resolution image; using some built in scaling, cropping, and rotating. I have successfully tested this on my Wifi 32 GB Nexus 9 using Windows 7 Home Premium, but the batch file should work for all versions of Windows, even XP.
If you do not have windows and want instructions on how to do this manually, click the button below.
Make sure you have fastboot.exe, adb.exe, and your raw rgb565 image that you want to use in the same folder. Issue this command:
Code:
adb reboot bootloader
Please verify that you are in "FASTBOOT USB" mode and not "HBOOT"
In the next command replace imagefile.raw with the name of the raw file you want to use.
Please verify that your raw image is 6291456 bytes in size. This is checked for in my script, but you need to check it!
Why?? Because total pixels (1536*2048=3145728) * Bpp (2) = 6291456
Code:
fastboot flash splash1 [i]imagefile.raw[/i]
fastboot reboot
That's it!
You need to have an unlocked bootloader.
You have to have your necessary ADB drivers installed and functioning correctly.
You have to unzip the n9splash1.6.zip file into a new directory.
You can use pngs, bmps, jpgs, tifs, ....Pretty much any common format
To use, just drag and drop your image onto the n9splash.bat file
Make sure your Nexus is turned on and plugged into your computer
Follow the prompts from there
This download contains the programs ffmpeg.exe, adb.exe, & fastboot.exe.
It also contains my batch script, which can be viewed in the following post.
Notes:
To flash back to stock with v1.6, just open the "sys" folder. Inside is a "stock.bat" file. Run it, and of course make sure your device is plugged in to your computer and that your device is on.
With v1.6 you can also flash raw rgb565 files. The catch is that they have to already be the correct size, in bytes. There is no image information (like width, height, headers,...) in raw files as they are nothing but pixel data. So I can't take a raw file of yours and turn it into a ....x.... 2bpp image without knowing what the original width and pixel format is.
I check the size of the file several times before it is ever flashed, so you don't have to worry about a bad conversion being flashed.
Believe it or not the file size is the most important thing, it does not matter one bit what the file contains. But if it is 6291456 bytes, guess what? You are gonna have a new splash screen. It might look like a snow storm on your grandmothers TV, but there is no difference in rgb565 data and an executable files data, there is still 8 bits in a byte and that byte still has the same potential values.:cyclops:
If you don't care to see your images open up before rotating, or before reconverting and showing them to you before flashing, you can edit the n9splash.bat file and change:
Code:
set "showbeforeflashing=yesure"
set "showbeforerotating="
If you want it to show you the image, put anything to the right of the "=" sign. If you don't want it to open the image, have nothing after the equal sign (except for the closing quote). And of course save the file after you change it.
Version 1.6 probably will not work on Windows XP. You may get it to work by editing this line at the top of the batch file:
Code:
set "usedefaultviewer="
to
Code:
set "usedefaultviewer=yes"
Changelog:
Nov 9th, 2014 v1.6
Added the ability to use any resolution photo
If image needs to be rotated, it is automatic, you just choose right or left
Added an automatic aspect checker, and scaler
Added drag and drop support for images already in rgb565 pixel format
Added the binary copy of the stock splash screen from the bootloader
Added a stock.bat program in the sys folder to quickly flash binary stock image
Added a display of the image, if it needs to be rotated
Added a conversion to png after converting your image to raw to check before flashing
Nov 7th, 2014 Initial Upload v1.0
I take no responsibility for any damage caused by you trying this.
The script can be found in the second post!
Download
Nexus 9 Splash Tool v1.6
Download
Nexus 9 Splash Tool v1.0
Below I have provided some simple examples. A negative stock one and another one using the same 'catull' font that Google uses, but with the text "Nexus IX" instead.
Code:
@echo off&setlocal enabledelayedexpansion&set "vers=1.6"&title Nexus 9 Splash Tool v!vers!&color 0b&mode con cols=78 lines=45&cls&call :drawhead
set "videofilter="
set "showbeforeflashing=yesure"
set "showbeforerotating="
set "rotatesquares="
set "usedefaultviewer="
if exist "%~dp0sys\log\imageres" del /q "%~dp0sys\log\imageres"
set /a "expected_filesize=6291456"
set /a "aspectmultiplier=100000"
set /a "expected_pixels=%expected_filesize%/2"
set "loglevel=-loglevel debug"
set "hidebanner=-hide_banner"
set "ffmlog=>>"%~dp0sys\log\ffmpeg_log.txt" 2>&1"
if "%~1"=="stock" set "image_file=%~dp0sys\stock_binary\sp1.nb0"&set "base_name=Stock Google Splash Screen"&call :stock
set "image_file=%~1"
if not exist "%image_file%" call :nofile
if not exist "%~dp0sys\log\" mkdir "%~dp0sys\log"
set "irony="
cd /d "%~dp0"
for %%? in ("%image_file%") do set "base_name=%%~n?"&set "ext=%%~x?"&set "osize=%%~z?"
if /i "%ext%"==".bmp" goto :checkres
if /i "%ext%"==".jpg" goto :checkres
if /i "%ext%"==".jpeg" goto :checkres
if /i "%ext%"==".png" goto :checkres
if /i "%ext%"==".raw" if "%osize%"=="%expected_filesize%" call :fla**** "%image_file%"
if /i "%ext%"==".rgb565" if "%osize%"=="%expected_filesize%" call :fla**** "%image_file%"
if /i "%ext%"==".nb0" if "%osize%"=="%expected_filesize%" call :fla**** "%image_file%"
if not defined irony if "%osize%"=="%expected_filesize%" call :fla**** "%image_file%"
goto :checkres
:checkres
for /f "tokens=1-8* delims=," %%a in ('sys\bin\ffmpeg -i "%image_file%" 2^>^&1^|findstr /rxic:".*stream #0:0.*[0-9][0-9]x[0-9][0-9].*"') do (
echo.%%a >"%~dp0sys\log\imageres"
echo.%%b >>"%~dp0sys\log\imageres"
echo.%%c >>"%~dp0sys\log\imageres"
echo.%%d >>"%~dp0sys\log\imageres"
echo.%%e >>"%~dp0sys\log\imageres"
echo.%%f >>"%~dp0sys\log\imageres"
echo.%%g >>"%~dp0sys\log\imageres"
echo.%%h >>"%~dp0sys\log\imageres"
)
for /f "tokens=1-3 delims=x " %%d in ('type "%~dp0sys\log\imageres"^|findstr /rxic:".*[0-9][0-9]x[0-9][0-9].*"') do (set /a "width=%%d"&set /a "width=!width: =!"&set /a "height=%%e"&set /a "height=!height: =!")
if %width% gtr %height% goto :rotate
if defined rotatesquares if %width% equ %height% goto :rotate
set /a requiredaspect=%aspectmultiplier%*1536/2048
set /a aspectratio=%aspectmultiplier%*%width%/%height%
set /a pixels=%width%*%height%
if %aspectratio% neq %requiredaspect% goto :badresolution
if %pixels% neq %expected_pixels% goto :badresolution
goto :convertit
:badresolution
if "%aspectratio%"=="%requiredaspect%" echo.Auto resizing image.&set "videofilters=-vf "scale=1536:2048""&goto :resize
cls&call :drawhead&echo.&echo. Your image doesn't meet the required resolution of 1536x2048&echo.
:changeaspect
echo. Your image aspect ratio is different from the required 3:4 aspect ratio.&echo.
if %pixels% lss %expected_pixels% echo. Keep in mind that I can make your image bigger, but I can't add detail....
echo. ____________________________________________________________________________&echo. Please choose 1 or 2 and press ENTER&echo.&echo. 1 - Resize it by stretching or shrinking image ^(aspect ratio will change^)&echo. 2 - Keep aspect, but resize and crop ^(aspect ratio will stay the same^)&echo.
set /p ihatexp=?
if "%ihatexp%"=="1" set "videofilters=-vf "scale=1536:2048""&goto :resize
if "%ihatexp%"=="2" (
if %requiredaspect% gtr %aspectratio% set "videofilters=-vf "scale=1536:-1, crop=1536:2048""
if %requiredaspect% lss %aspectratio% set "videofilters=-vf "scale=-1:2048, crop=1536:2048""
goto :resize)
goto :badresolution
:resize
set "out_path=sys\temp"
if not exist "%~dp0%out_path%\" mkdir "%~dp0%out_path%"
%ffmlog%"%~dp0sys\bin\ffmpeg.exe" %hidebanner% %loglevel% -i "%image_file%" %videofilters% -y "%~dp0%out_path%\%base_name%.png"
call "%~dpnx0" "%~dp0%out_path%\%base_name%.png"
goto :convertit
:rotate
:again
cls&call :drawhead&echo.&echo.
echo. The image has to be rotated either left or right.
if defined showbeforerotating if not defined usedefaultviewer echo. CLOSE the image when you are done to continue
echo. Please choose 1 or 2 and press ENTER&echo.
echo. ____________________________________________________________________________
echo. 1 - Rotate Image Left&echo. 2 - Rotate Image Right&echo.
if defined showbeforerotating (
ping -n 3 127.0.0.1> nul
if defined usedefaultviewer start "" "%image_file%"
if not defined usedefaultviewer rundll32 "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %image_file%
)
set /p "ihatexp= ?"
if "%ihatexp%"=="2" set "videofilters=-vf "transpose=1""&goto :ready
if "%ihatexp%"=="1" set "videofilters=-vf "transpose=2""&goto :ready
goto :again
:ready
set "out_path=sys\temp"
if not exist "%~dp0%out_path%\" mkdir "%~dp0%out_path%"
%ffmlog%"%~dp0sys\bin\ffmpeg.exe" %hidebanner% %loglevel% -i "%image_file%" %videofilters% -y "%~dp0%out_path%\%base_name%.png"
call "%~dpnx0" "%~dp0%out_path%\%base_name%.png"
exit
:convertit
cls&call :drawhead
set "out_path=sys\raw images"
if not exist "%~dp0%out_path%\" mkdir "%~dp0%out_path%"
if exist "%~dp0%out_path%\!base_name!.raw" del /q "%~dp0%out_path%\!base_name!.raw"
echo.&echo. Converting file into a raw 2 byte per pixel rgb565 image..
%ffmlog%"%~dp0sys\bin\ffmpeg.exe" %hidebanner% %loglevel% -i "%image_file%" -f rawvideo -vcodec rawvideo -pix_fmt rgb565 -y "%~dp0%out_path%\!base_name!.raw"
for %%? in ("%~dp0%out_path%\!base_name!.raw") do set /a "out_filesize=%%~z?"
if not "!out_filesize!" == "%expected_filesize%" goto :badsize
call :fla**** "%~dp0%out_path%\%base_name%.raw"
exit
:stock
for %%? in ("%~dp0sys\stock binary\sp1.nb0") do set "out_filesize=%%~z?"
cls&call :drawhead
if exist "%~dp0sys\stock binary\sp1.nb0" echo.&echo. Preparing to flash a binary copy of the stock flash screen.&call :fla**** "%~dp0sys\stock binary\sp1.nb0"
cls&call :drawhead&echo. The stock binary image is missing, please re-download program.
ping -n 4 127.0.0.1> nul
start "" http://forum.xda-developers.com/nexus-9/themes-apps/tool-splash-screen-flasher-v1-0-t2931575/post56561564#post56561564&pause>nul&exit
exit
:fla****
if not "%base_name%"=="Stock Google Splash Screen" if defined showbeforeflashing call :regen "%~1"
cls&call :drawhead&echo. ____________________________________________________________________________&echo.
"%~dp0sys\bin\adb.exe" kill-server&&echo.
echo. Your image is ready to be flashed^!
echo. Press any key to reboot to the bootloader.&&pause>nul&&echo.______________________________________________________________________________&&"%~dp0sys\bin\adb.exe" reboot bootloader&&echo.&&echo.After your bootloader screen shows up, please verify that&&echo.you are in ^"FASTBOOT USB^" mode and press enter to flash the splash image.&&pause>nul
if exist "%~1" (
for %%? in ("%~1") do set /a "out_filesize=%%~z?"
if not "!out_filesize!"=="%expected_filesize%" (goto :badsize
) else ("%~dp0sys\bin\fastboot.exe" flash splash1 "%~1"&&echo.______________________________________________________________________________&&echo.&&echo.&&echo. Done..Press any key to reboot to your new splash screen..&&pause>nul&&"%~dp0sys\bin\fastboot.exe" reboot&&"%~dp0sys\bin\adb.exe" kill-server)
) else (goto :nofile)
rd /s /q "%~dp0\sys\temp"
exit
:regen
set "out_path=sys\temp"
if not exist "%~dp0%out_path%\" mkdir "%~dp0%out_path%"
%ffmlog%"%~dp0sys\bin\ffmpeg.exe" %hidebanner% %loglevel% -f rawvideo -vcodec rawvideo -pix_fmt rgb565 -s 1536x2048 -i "%~1" -y "%~dp0%out_path%\%base_name%_test.png"
echo.&echo. This is what it looks like when it is converted back into a viewable image.
echo. Close the image when you are done to continue&ping -n 4 127.0.0.1> nul
if defined usedefaultviewer start "" "%~dp0%out_path%\%base_name%_test.png"
if not defined usedefaultviewer rundll32 "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %~dp0%out_path%\%base_name%_test.png
goto :eof
:badsize
cls&call :drawhead&echo.
echo. The image you flash has to be 1536x2048..
echo. The filesize of the raw image in turn would
echo. be %expected_filesize%.&echo.&echo.Your raw image size is !out_filesize!&echo.&echo.&echo. Press Enter to delete file and exit.&pause>nul
del /q "%~dp0%out_path%\!base_name!.raw"&"%~dp0sys\bin\adb.exe" kill-server
exit
:drawhead
echo. __________________________________________________________________________-_-
echo. ____________________________________________________________________________
echo.
echo. Nexus 9 Splash Tool: v%vers% by makers_mark
echo. ____________________________________________________________________________&echo.
if not defined image_file (echo. Loading..............) else (echo. File: "%base_name%%ext%")
if defined width if defined height echo. Resolution: %width%x%height%
if defined out_filesize (echo. Size: %out_filesize%) else (echo. Size: %osize% ^(image hasn't been converted^))
echo. Target Size: %expected_filesize%
echo. ____________________________________________________________________________
echo.
goto :eof
:nofile
cls&call :drawhead&echo.&echo. You have to drag and drop your png, bmp, or jpg file onto&echo.the %~nx0 batch file&echo.&pause>nul&"%~dp0sys\bin\adb.exe" kill-server
exit
ty
so PNG's work awesome
rename the .img to bmp
USBhost said:
rename the .img to bmp
Click to expand...
Click to collapse
Cool! thanks!
How to solve the signature mismatched problem when flash a modified bootloader.
I have read your post about Google Splash on Nexus 7. I have found out the Google logo. with your help. However, when I flash the new bootloader into my N7, I got signature mismatched problem. Do you have any experience about this situation?
Hi,
Is not working here, i drop my png in n9splash.bat and the .bat closes itself and nothing else in the files.
heyker said:
I have read your post about Google Splash on Nexus 7. I have found out the Google logo. with your help. However, when I flash the new bootloader into my N7, I got signature mismatched problem. Do you have any experience about this situation?
Click to expand...
Click to collapse
Quick note to anyone reading this thread:
This user is talking about the Nexus 7 2013, it has a totally different bootloader setup than the Nexus 9. The thread that the user is referring to is this one: http://forum.xda-developers.com/showthread.php?t=2764354Yeah, after I figured out how the image was encoded on the Nexus 7, the first thing I did was to try to change the image. I didn't try much and here is why. The signature mismatch is a safety in fastboot. There are ways around that (like "DD"), but then you would still have to conquer the even bigger wall of Qualcomms "Secure Boot". If you are really wanting to try and change it, you would have to find some way to disable secure boot. In your bootloader screen, there is some green text that says "Secure Boot: Enabled" (or something like that), you would need it to say "Secure Boot: Disabled"
I'm not saying it isn't possible, but no one has ever shared how to do that. There is a series of file checks that happen, where one file in the bootloader checks the next (or previous) and so on. To learn more about it, please visit E:V:A's thread about the bootloader. It is real thorough and involves a lot of leaked information, because after all, it is proprietary stuff you are messing with. While you are there give him a thanks if you don't mind.:good:
Max128 said:
Hi,
Is not working here, i drop my png in n9splash.bat and the .bat closes itself and nothing else in the files.
Click to expand...
Click to collapse
What version of Windows are you trying it on? Do you for some reason have Command Extensions disabled? Can you upload the file on here, or somewhere else and send me a PM with the link?
makers_mark said:
What version of Windows are you trying it on? Do you for some reason have Command Extensions disabled? Can you upload the file on here, or somewhere else and send me a PM with the link?
Click to expand...
Click to collapse
I use windows 8.1, Here is the picture i want convert: http://i.imgur.com/meGTv5n.png
Max128 said:
I use windows 8.1, Here is the picture i want convert: http://i.imgur.com/meGTv5n.png
Click to expand...
Click to collapse
I've sucessfully flashed your image using my Windows 7 computer, and I just did it on a Windows 8 computer. I'm updating to Windows 8.1 right now, to see if that makes a difference. One possibility is that for some reason "command extensions" has been disabled on your computer. You can test it by editing the n9splash.bat file with any text editor, and insert this at the very top line above everything else.
Code:
setlocal enableextensions
(it should be on it's own line, above everything else)
Save the batch file, and try it again.
@Max128
It worked fine on Windows 8.1 too. Are you trying to do this with v1.6 or v1? Because you can't use images that are out of aspect or out of resolution on v1. You can use any image with v1.6.
EDIT:
I've attached two files.
meGTv5n.cab is the raw image that you need to flash if you want to do this manually. It is not a cabinet file like the extension suggests, it is the raw rgb565 file of your htc logo. "fastboot flash splash1 meGTv5n.cab"
meGTv5n_test.png This is how the splash would look. This is also a file that you could use on version 1.0, if that is indeed what you have.
Hi,
I add your line like you said: setlocal enableextensions , and is still not working , the command prompt closes after i drop the image and nothing. Yes i use your last version 1.6.
Now.. i have flash your meGTv5n.cab and is working great on my tablet. Thanks you!
Have you find why this does not work for me? the conversion.
Max128 said:
Have you find why this does not work for me? the conversion.
Click to expand...
Click to collapse
No. It is really hard (but not impossible) for me to fix a problem when I can't replicate the symptoms. I have drawn it up as a fluke, since It worked perfectly for me on the same OS, but I didn't know you were still interested. But, if you want to try to make it work, I do have some things to try.
Copy and paste this code below. Save it as anything.bat. DRAG a file onto it, and report if it runs, AND when it stops running, if it does.
Code:
@echo off
echo.Echo off....Press any key.
pause>nul
color 0b
echo.Color set...Press any key.
pause>nul
setlocal enabledelayedexpansion
echo.Delayed expansion enabled.....Press any key.
pause>nul
set "vers=2000"
echo.Variable set...Press any key.
pause>nul
title Nexus 9 Splash Tool v!vers!
echo.Title set....Press any key.
pause>nul
mode con cols=78 lines=45
echo.New windowsize...Press any key.
pause>nul
echo.The file you dropped is %~1
echo.Press any key.
pause>nul
echo.Did you make it this far....
pause>nul
In the meantime, I have no problem converting images for you, if you pm me the image or link.
I created a .bat with your code and I drag an image into it.
I got this:
Echo off....Press any key.
Color set...Press any key.
Delayed expansion enabled.....Press any key.
Variable set...Press any key.
Title set....Press any key.
'mode' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
New windowsize...Press any key.
The file you dropped is
Press any key.
Did you make it this far....
Also when i drag my picture in the n9splash.bat, the window closes right away but I managed to see: findstr is not recognized as an internal control ..
This can probably help.
@Max128
Yeah, that can definitely help.
Open a cmd "command" window and type:
Code:
findstr /?
does it say the same thing?
Yes the same thing.
Max128 said:
Yes the same thing.
Click to expand...
Click to collapse
If you type:
Code:
echo.%path%
into command window, is "c:\windows\system32" listed?
No is not listed how fix it?
Max128 said:
No is not listed how fix it?
Click to expand...
Click to collapse
That's the problem. In the windows command shell you have internal commands; that are built into the command shell, and you have external commands, that are actual programs (most of which are shipped with Windows, but you obviously can make your own). I always thought findstr was a built in Windows internal command, but thanks to the pros at www.dostips.com, I have found out that is is an external command. It is located at C:\Windows\system32\findstr.exe (your drive letter may vary).
Here is how you change your path in Windows. You don't want to delete everything that is already there, you just want to add "c:\windows\system32" to the path. Make sure there is a semicolon separating it and all the other variables too.