[Application] RGB565Converter v0.3c two way RGB565<->image converter - G1 Android Development

Hey guys. I've done with this little application for converting Images to RGB565 and back from RGB565 to png, gif, jpg etc.
EDIT: Version 0.3 is out. Added direct splash1 flash feature and "strange-bug" fixed (at least I hope it is).
Get it here http://www.mediafire.com/?yroknozmkj2
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks to Koush. The idea of this application is based on his source codes (and application of course).
TO-DO in next versions:
- add Icon (anyone interested in creating one?)
- add more output formats (in RGB565 to Image convertion)
- rewrite for Linux & Mac (into Mono)
- add feature to select from which device screen shot will be taken (if there are more than one)
- add ability to backup splash1
- multi-language support
- list of PixelFormats and you can choose (for devices with other BPP-s (like oPhone))
There is two files, "RGB565Convertor.exe" and "librgb565.dll".
First one is just the main window with UI. Opening and Converting is in this library so you can use it in your application if you want. Mine is written in C#.
I will release full source codes soon (when I will get changes done and full comments

Changelog:
v0.3
Added feature to flash splash1 to device.
Fixed bug when no device was connected and "Screenshot" button was pressed.
v0.2
Added ability to make screenshot's (from first connected device/emulator)
v0.1 - First release
Can convert images to RGB565 and back.
By the way, if you want to try RGB565 to image conversion, try this:
Download ADB (if you dont have it till now)
And type
Code:
adb pull /dev/graphics/fb0 C:\screenshot.rgb565
it will pull an screenshot from your device (C:\screenshot.rgb565 replace with path you want but you need to use rgb565 or bin extension to be opened by my app)

Version 0.2 is out, now with screenshot feature! Download link in first post!

can i use mono to run this on mac?

You can try but I'm not sure if it will work (screenshot wont because these binaries are for windows only). But I have the conversion for other OS-es in my To-Do...anyway, that one is developed under .NET 2.0 so it wont be too hard to port it i hope.

New version v0.3 in first post!

Sorry to ask this... so, is this to change the splash screen on the phone?? Thus making custom?? Sorry for the noobish question

I'm very sorry... I'm sorta a n00b when it comes to this also but what exactly does this accomplish?

It's windows application that is built to get first boot logo (T-Mobile G1) changeing simplier. With this you can select image and hit flash splash1 button and it will flash it on your phone directly . It also allows to take screenshots or convert rgb565 binary files to "readable" image formats.

Awesome app, works great and very easy to use.... thanks you so much for this

It got the phone into the SPL and then the program froze on me. Rebooted and it didn't successfully flash. Using Windows 7 x64

I dont know if it's not because of the x64 architecture. I can't check that out. I found one bug which is similar to that one. I will upload new version shortly.

hm strange. it's not working for me. i wonder what the problem is.

Not working...what is not working? I need to debug it and I hope you guys will help me with it.

well it got into the phone into SPL but didn't flash successfully. I still have the default t-mobile g1 splash image.

Yep, I'm working on that strange bug. I will release v0.4 shortly.

nice. keep up the good work!

Check out new version 0.3b in the first post. That "strange-bug" should be fixed. Just try and say if it is fixed. Thank you guys for testing

EDIT: Dont download v0.3b. I've created small bug with fixing the "strange-bug". Wait for v0.3c (which should have fixed both).

Bug free (i hope) version v0.3c in the first post.

Related

Custom initial boot splash screens in full 480x640 - 2nd Round Posted

Using the tools and info from pfcsabre and the below link I created some initial splash screen .nbh files. This replaces the very first picture you see when you turn on your phone and displays your radio version and such. If you want to make your own use this link. http://forum.xda-developers.com/showthread.php?t=436105
Since I spent a little bit of time making these files and other files I haven't uploaded yet, I figured I would share them. I will probably upload more later.
Instructions: - Make sure your phone is Hard-SPL
1. Download the RaphaelCustomRUU.zip and unzip it to the RaphaelCustomRUU.exe file.
2. Download one of the Splash.zip files and unzip it to the same folder as the RaphaelCustomRUU.exe file (Make sure there is only 1 .nbh file in the same folder as the .exe,,, if you download multiple splashes put them in a subfolder)
3. Connect your phone to your PC and Run the RaphaelCustomRUU.exe file and follow the prompts. Its the exact same method as burning a ROM, but these files only replace the Splash screen and nothing else.
4. It will take about 20-30 seconds to burn and your phone will reboot displaying the pics in full 480*640 resolution.
5. These look incredible when you first boot up your phone.
Splashes:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Downloads:
RaphaelCustomRUU.zip
Gears of War.zip
Matrix Trinity.zip
Lich King.zip
Kelly Brook.zip
Warnings:
I take no responsibility for any problems you have.
Make sure your phone is Hard-SPL and follow the instructions.
These are only for the Raphael, do not use on the Diamond.
I have tested all of these files and confirmed they all worked.
Splashes V2:
Downloads:
RaphaelCustomRUU.zip
Decepticons.zip
Metroid.zip
Slayer.zip
Jennifer Lopez.zip
4 more boot splash screens are done. I will upload them tomorrow. My new favorite is a sweet looking Transformers Decepticons Logo.
Can you make these please?
heres a couple id like to have done if at all possible.
thanks in advance,
Jstar
I just overwrite the image to what the default boot screen was. (You can find out what the original filename was somewhere in Advanced Config)
Maveaxe said:
Can you make these please?
Click to expand...
Click to collapse
JstarLuvsTina said:
heres a couple id like to have done if at all possible.
thanks in advance,
Jstar
Click to expand...
Click to collapse
If both of you look here, I think you will both be pleasantly surprised.
http://forum.xda-developers.com/showthread.php?t=462668
CarlCastro said:
I just overwrite the image to what the default boot screen was. (You can find out what the original filename was somewhere in Advanced Config)
Click to expand...
Click to collapse
This process changes the 1st boot screen, the one with the red letters in the lower right corner. It cannot be done within Windows by overwriting a file, it must be burnt in. When turning on your phone you can have up to 4 pictures, This boot screen process, follow by up to 2 splash screens (usually windows & operator splashes), then your wallpaper.

Recovery Customization Engine version 2.0 - Color,Background,ProgressBar Mod !!!

Hey,
Versions supported for colormod :
MAGIC/HERO/DREAM - 1.6.2 (Waiting for 1.7 sources )
Nexus - 1.7
cliq - 1.6.2
Desire - 1.6.2
Versions supported for noncolormod :
All recoveries, even koush's except you wont see the difference cuz he never calls on the png's
Thanks to amon_ra for his recovery and thanks to all those he thanked
Script is based on the dev kitchen by dsixda. I removed everything that was not needed for this task.
Requirements : Device drivers properly installed
Windows Operating System
Instructions :
1. Download the 7z file and extract.
2. You will get 3 folders and 2 batch files.
3. Run either batch.
INFO:
Noncolormod just allows you to change background image and progressbar
Colormod batch does what the noncolormod does + allows you to customize the colors inside the recovery
Guys 2 tips :
1. If image is layered please flatten it in photoshop or edit in paint.
2. Use this tool to configure a range of colors. Just grab the decimal values and feed in the script.
FYI: This will not work with Koush's recovery as he ignores the background png
PS : Donot ask for assitance from amonra if you are using the repackaged recovery image produced by this script. He WILL ignore u
PS : I AM NOT RESPONSIBLE IF YOU ARE NOT CAPABLE OF FOLLOWING INSTRUCTIONS. I EXPECT A DECENT LEVEL OF UNDERSTANDING/TECHNICAL ABILITIES FROM THOSE WHO ARE USING THIS SCRIPT.
----------------------------------------------------------------
Update
*Added menu with additional properties
*Can now flash/boot recovery from menu
*Added option for size check
*Allows customization of progressbars
*Keyboard-console fixed for G1 users
*Text-color customization
*Updatescript color customizable
*ProgressBar height adjustable
*A LOT MORE STABLE
*Thanks to amonra no more trackball issues should occur on Hero
----------------------------------------------------------------
Future Updates Expected:
Will bring this to the droid, cliq and desire
Will try to see what else i can make user-optional
Preview :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Heres the background for those who asked:
Where I can found de Recovery Image for Desire?
Recovery source code is here:
http://github.com/packetlss
Where i can find Amon_RA For Recovery for desire ??
amjad_2020 said:
Where i can find Amon_RA For Recovery for desire ??
Click to expand...
Click to collapse
There is none...
DocRambone said:
There is none...
Click to expand...
Click to collapse
Yes i know but why is there is this post ??
There is one.,. you need to call it from the PC Command line.. he made it for PauloBrien when he rooted the desire..
I dont think its yet possible to have a press home and power option yet
Konradwalsh said:
There is one.,. you need to call it from the PC Command line.. he made it for PauloBrien when he rooted the desire..
I dont think its yet possible to have a press home and power option yet
Click to expand...
Click to collapse
No, this is the only way at the moment, using a PC to call it.
Daneshm90 how I can modify the recovery for Desire?
Does this mean we can boot to recovery now without using the push files method?
JD
JupiterDroid said:
Does this mean we can boot to recovery now without using the push files method?
JD
Click to expand...
Click to collapse
No, only pushing files for the moment.
Wow k so im confused. I dont have the device but i saw the source up on his github and this video and assumed you guys also have a working amon-ra recovery.
So upon further reading, you guys have that step2-windows.bat file to run which loads amonra's recovery ? Any way for those asking, all you have to do is place "any" recovery image under /recovery/old and place 2 images under place-image-here named boot.png and boot1.png and run nocolormod.bat file. If you want to edit the colors by running colormod, make sure the recovery image you place under /recovery/old is amonra's recovery. For how-to help, run the batch file and select "How-to"
please...how to flash recovery image?
...help me please.
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Hey, im reading up on it. Im reading this and "essentially" he reboots into recovery through fastboot screen and then runs
adb shell nohup /sbin/recovery &
to bring up the menu. I did not realize it was this complicated for desire recovery. I thought its similar to nexus.
As for flashing, in my script i give the option of choosing boot/flash. You can try those, i doubt itll work on desire now tht i think about it.
Daneshm90 for the moment, the recovery for Desire is write protected, we can't change it to another custom recovery, at the moment, we only can launch it from red triangle recovery mode pushing files and using the command that you say.

[TOOL] AndroidControl v1.3.1 - control your Android

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi guys
I want to introduce you a multi-functional tool which makes your life with your Android device much easier.
There are so many tools which can do one helpful thing. But here are the most needed things ins one place:
Features:
Copy files from device to pc
Copy files from pc to device
Normal restart, reboot in bootloader and reboot in recovery
ADB kill- and start-server, Remount and shell
List all on the device installed packages and uninstall, enable and disable them (good against float ware)
Install apk from pc (internal storage OR SD card)
Fix permissions
Flash radio image
Flash recovery image
Flash zImage (Kernel) and kernel-modules
Flash boot image
Languages:
English
German
Requirements:
.NET Framework 3.5 (on your pc)
Drivers (HTC Sync)
USB Debugging turned on
Android Phone
S-Off if you want to use the flashing stuff
USB cable
Pictures:
I am not responsible if your device takes any damage.
(also attached)
Older versions:
Download v1.3
Download v1.2.1
Download v1.2
Download v1.1
Download v1.0
Notes:
You have some questions about the tool and need support? Or do you want to become a beta tester?
I am looking for people which can translate the tool to other languages
Join me on my freenode IRC channel #NickiB . Click here to join
Please post your noticed bugs, feedback or ideas what features I could add too.
Have fun!
Changelog
v1.3 2nd upload - 03.05.2011:
Some German translations fixed
v1.3 - 03.05.2011:
Multi language
- Added "Language" menu
- Added German translations
Added option under "Advanced" to fix permissions on the phone
v1.2.1 - 28.04.2011:
fixed bug where adb.exe and fastboot.exe were expected in c:/
v1.2 - 27.04.2011:
Menu "Advanced" added
Remount and Shell moved to "Advanced"
Menu "About" added
Moved Changelog to "About"
"About..." window added in "About"
Window is now smaller
Footer in General moved to "About..." window
Some ui changes
Some code changes
v1.1 - 25.04.2011:
Shell-button added
File -> Changelog added
some code optimizations
v1.0 - 24.04.2011:
Initial release
F.A.Q
Q: Which versions of .NET Framework do i have?"
A: Navigate with the Windows explorer to "%systemroot%\Microsoft.NET\Framework". There you can see some folders with the version of .NET Framework as their names.
Q: If I try to start the exe file i get this error: "Application failed to initialize (0x0000135)"
A: Your .NET Framework version is too old. Download version 3.5 here.
Q: If I try to start the exe file i get this error: "unable to find a version of the runtime to run this application"
A: That means that you have installed .NET Framework 4.0. But 4.0 hasn't include 3.5. Download version 3.5 here.
Nice. Will try it. Thanks for the great work!!!
Nice tool....
looks awesome!
It's perfect, thanks!!!
works also with non-rooted DHDs ?
Yes, but not all features. F.e. the flashing stuff.
yeah..nice tool
cool man
but i still want control my android full control with my pc hahah...
but this tool make easy
thx nickiberli
You're all welcome!
I hope it works for you as it works for me!
So please report bugs!
nice tool thanks
Interesting, will give it a try thanks!
good!
Hi,
I successfully updated my radio using your tool. Great work! Thx
download link doesn't work
Moskiller said:
download link doesn't work
Click to expand...
Click to collapse
Sure it works
Here for Rapidshare...
Neat so in essence,a windows only version of QtADB
Hm maybe, but i don't know QtADB ^^
There are always other programs
really nice tool help for saving time ... keep work hard
does it work for replace framework-res.apk ?
psuser said:
really nice tool help for saving time ... keep work hard
does it work for replace framework-res.apk ?
Click to expand...
Click to collapse
Yes that should work!
I just tested it and it worked well

[MOD/THEME]Off Screen Charging MOD

Before We Start
Disclamer:​
By doing his to your phone you take full responsibility to whatever happens on your device. The developer will NOT be held responsible to whatever happens on your device. Of course, this has been tested but whatever happens on your device will not be held against the developer.
Now to the good stuff
Today I Will Show You How To Modify The Off Screen Charging Images To Your Liking
Things you will need :​
[*]M8 Duh
[*]Computer With Fastboot
[*]A Photo Editor
[*]A Tool To Unpack Recovery.img's
[*]About 10 to 30min of your time
Common Sense
So Lets Get Started​First Decompile Your IMG I will Be Using This To Decompile My IMG
if your using the same tool as me then drag and drop the img on unpack.bat as seen in the picture
next navigate​ramdisk
res
offmode_charging_images
this is where we will be doing our modifying :laugh:
Now that you have your img decompiled and your in the offmode_charging_images folder
open up your fave image editor I will be using gimp(because its free and im broke lol)
key things here I kept my images at stock depth 600x362 I did not go any higher as I would think it would mess up you can try your self if you can go higher tell ME!!!
Now if you made pngs the format go's like this 0,1,2,3,4 the rest 5,6,7,8 and 9 just loop the first ones so just copy them and rename if you did not make new pngs just overwrite them
once your done messing with the pngs repack the imgs with the unpackimg.bat
now take image-new.img and put it in your fastboot folder and flash it with fastboot
Code:
flash recovery image-new.img
*NOTE* check to see if you can get in to recovery after flashing your new one
if not you messed up some where​
now power down your device and plug it in if you see your new modified images congrats
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here Is One I Made
​Images
Download
Vertical Battery TWRP Version 2.7.1.0
*NOTE* This was A Recovery Built From @Captain_Throwback Here As Said In the FAQ It Should Work For Most M8
Credits
 @osm0sis for his awesome image unpacker
 @Captain_Throwback For The Recovery :good::good::good:​
I'll take this one
Hello sir, can u make such custom mod for htc desire eye please
armaankhan354 said:
Hello sir, can u make such custom mod for htc desire eye please
Click to expand...
Click to collapse
the same method could be applied to any device with the images being in the recovery
so I believe you can do it your self
Ok sir, thank you for such mod....really appreciate your work
I was wondering if this was possible and low and behold here it is! kind regards sir flashalot

[Linux] [Plasma Desktop - alpine] pmOS Latest Edge

Important : This is only a test release and should be treated as such. Use this modification at your own risk.
This package was built using pmbootstrap : https://wiki.postmarketos.org/wiki/Installation_guide
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Screenshot from the A205F Model. Won't be providing any more.
Check https://kde.org/ for more information about KDE.​
Know before you go -
- Bold text might contain crucial information, so read carefully.
- This DE runs on Alpine Linux.
- It has a partially working KDE Plasma Desktop.
- Working in Linux gives you endless possibilities. You might be able to make those things work that I couldn't.
- You need to have a basic knowledge of Linux Troubleshooting.
What works -
- OTG works, meaning it supports storage devices, mouse and keyboard. Ethernet works with some tweaks.
- SD Card
- Basic programs included in the distro run fine.
- Touchscreen
- Power Button. (Brings up the power menu)
What doesn't work -
- Screen Rotation is broken. So Portrait mode is the only option.
- Every sensor is broken. Including WiFi, Bluetooth, NFC, Camera, etc.. Sound is not supported.
- Volume buttons.
- Any type of SIM & Calling Support is off limits. It is never going to work on this phone, the kernel development is dead.
- Firefox crashes on opening heavy websites.
- Installing themes might break the UI.
---------------------
Requirements -
- A custom recovery, preferably TWRP.
- An SD Card with at least 1 GB of free space.
- A keyboard. Proper On Screen Keyboard isn't included.
Installation Instructions
--------
(only tested on A205F) (might or might not work for others)
--------------------------------
1. Download zip from the link below.
Download Here
(Google Drive)
​2. Take a backup of the BOOT & DATA partition. Internal Storage is going to be erased.
3. Copy the file you downloaded to your SD Card.
4. Boot into recovery and unmount everything except the SD Card.
5. Flash the file like you normally would. Ignore any mount errors.
Default Password :
Username - admin
(if prompts)
Password - 123456
The system partition on your phone stays untouched. But you already know the risks. I won't be providing any troubleshooting help.
Disclaimer -
I didn't code anything in this whole project. It was simply built with the utilities that were available, instructions to build are in the second line of this thread. I was inspired to look into Linux for A20 by this thread. I won't be accepting any criticism since I'm not involved in the development of this project.
And finally, English Is not even my third language. I won't be taking responsibility for a Headache or Eye trauma.
Credits & Sources- @arpio
Kernel Source - https://gitlab.com/arpio/kernel_samsung_a20/-/tree/pmos
PostmarketOS - https://gitlab.com/postmarketOS

Categories

Resources