View: 9287|Reply: 7

Android DVI Output script.bin

[Copy link]

1

threads

5

posts

45

credits

Novice

Rank: 1

credits
45
Published in 2016-2-7 19:56:46 | Show all floors |Read mode
Hello community,

Currently i am using loboris' Android 4.4.2 Image for a Streaming Box setup on my OrangePi PC and it is working perfectly for my usage. I was asked to copy that for my father-in-law. Now i ran into a problem:
He uses a screen with DVI input only but the Image uses HDMI Output. HDMI to DVI converter gives only a black screen though the screen regcognizes a connection. From the linux images i know, that it would be enough to replace the script.bin file with the correct one. But i have no idea how to mount the correct partition of the android image to replace the file before i burn it onto the orange pi.

So the concrete questions are:
How can i replace the script.bin in the Android 4.4.2 image? Is it possible to use a "precompiled" version from the linux images or do they differ for the android version?

Thank you in advance

2

threads

20

posts

283

credits

Intermediate member

Rank: 3Rank: 3

credits
283
Published in 2016-2-19 04:43:23 | Show all floors
Hi, I have same problems using the Beelink X2 image. You can edit Android Images with the tool DragonFace - see some instructions here I was never able to burn the edited Image with Phoenix Card. the program carshes every time. I have to try some of the tips mentioned here

I was able to unpack the image with another command line tool imgRePacker which works even under linux. I was able to unpack the firmware, edit some settings, pack it again and burn with Phoenix Card, but no luck, no output at all.

Some guys in the Beelink X2 thread mention, that the script.bin file is located on some partition accessible from inside the android. I can not tell, because I do not have any HDMI LCD.

I would appreciate if you could share your progress

2

threads

20

posts

283

credits

Intermediate member

Rank: 3Rank: 3

credits
283
Published in 2016-2-19 17:07:01 | Show all floors
Edited by karlitos at 2016-2-19 18:08

HALLELUJAH I DID IT !!! I was able to boot therepacked Custom Beelink X2 v204k4 ROM with output on my old 4:3 DVI LCD.

So here is step by step description what I did:

1. Download the Custom Beelink X2 v204k4 ROM (could worj for other Android images too)
2. Download the ImgRePacker
3. Extract the Android image
  1. ./imgrepacker ../Cleaned_Beelink_X2_v204k4_repacked2.img
Copy code

You should adjust the path/image name. Under windows use the imgrepacker.exe
4. This creates the Cleaned_Beelink_X2_v204k4_repacked2.img.dump repository
5. Rename the original image file to Cleaned_Beelink_X2_v204k4_repacked2.img.orig so it won't get overwritten when you pack the image.
6. Open the file sys_config.fex in a text editor
7. I used following parameters for my 1280x1024 4:3 LCD
  1. [disp_init]
  2. disp_init_enable         = 1
  3. disp_mode                = 0

  4. screen0_output_type      = 3
  5. screen0_output_mode      = 5

  6. screen1_output_type      = 3
  7. screen1_output_mode      = 5

  8. fb0_format               = 0
  9. fb0_width                = 1280
  10. fb0_height               = 1024

  11. ...

  12. [hdmi_para]
  13. hdmi_used           = 1
  14. hdmi_power          = "vcc-hdmi-18"
  15. hdcp_enable = 0
  16. hdmi_cts_compatibility = 1
  17. ...
Copy code

Not sure if it is necessary to change the fb0_width/height parameters
8. Save the file and re-pack the image file
  1. ./imgrepacker ../Cleaned_Beelink_X2_v204k4_repacked2.img.dump
Copy code

9. This creates a Cleaned_Beelink_X2_v204k4_repacked2.img ROM image file
10. In windows make a full format of the SD card using Windows formating tools
11. Start Phoenix Card 3.1.0, select the image file, do not click Format To Normall, just select Write media: Startup and click Burn
12. Hope that Phoenix Card won't crash

It is possible that this steps will work for other images, I will try and report my results. I will also try to burn images edited with the DragonFace or to burn edited images after re-packing with the ImgRePacker.
There is a partition visible from within the android file system with script.bin file. This partition was recognized and mounted once after I plugged the card into my notebooks card-reader. But it happend only once, still, I hope I can copy the script.bin file from android , edit it and replace afterwards.
Published in 2024-3-16 15:35:52 | Show all floors
Quickly our own web site will, no doubt definitely turn into well regarded together with practically all running any website family members, due to its careful content and evaluate posts.        roof cleaning grimsby
Published in 2024-3-20 17:44:25 | Show all floors
I gotta  favorite this website   it seems  very helpful .        AE888
Published in 2024-3-25 18:59:58 | Show all floors
We are a bunch of volunteers and starting a new scheme in our community. Your web site provided us with valuable information to work on. You have done a formidable activity and our entire neighborhood will be thankful to you.        https://f8bet.website/
Published in 2024-3-27 15:38:12 | Show all floors
Though when i received with your world-wide-web wood even so putting understanding just a bit hint submits. Pleasant technique for likely, I am book-marking on a time uncover designs consider spgs technique in place.        bắn cá F8BET
Published in 2024-3-28 17:35:31 | Show all floors
I'd like this content content articles, Help to make valued, I'd choose a lot more data by using this, great deal of thought is particularly appealing., Bless a person created for composing.        mariée
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list