Raspi4 with Android AOSP13 and 7,9 Inch Display? - Raspberry Pi Q&A, Help & Troubleshooting

Hello Again
I need Help
I search a method to Switch the Display on Angle 270°
I use an Raspberry 4 with 4GB Ram or 8GB
i have download the AOSP13 ...its an Raps android version
and the 7,9 inch LCD HDMI Display with 400x1280 Touchdisplay
i have insert the
max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_timings=400 0 100 10 140 1280 10 20 20 2 0 0 0 60 0 43000000 3
display_rotate="1"
in config.text..
and 400x1280
Resolution.txt
and I have a Screen...on upside to 90
why I can switch the Android on Boot in 270 Angle?
can help me Please?
many Thanks

Dear fistudio
I guess, we are in a similar situation.
I use the waveshare 7.9 HDMI Display.
For the Android, you do not need the settings in config.txt, but you need the settings in resolution.txt to 400x1280 and adjust the rotation in the Raspberry Pi settings as shown in the picture.
{
"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"
}
The correct rotation in config.txt would be:
display_rotate=3
this is 270°
but when you do so, you have to adjust the touchscreen too.
It would be something like:
90 degree rotation: Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
180 degree rotation: Option "CalibrationMatrix" "-1 0 1 0 -1 1 0 0 1"
270 degree rotation: Option "CalibrationMatrix" "0 -1 1 1 0 0 0 0 1"
In the file /etc/X11/xorg.conf.d/40-libinput.conf, after installing the xserver-xorg-input-libinput
This is done for RaspiOS and not for android
Good luck with your project
Patrick

Related

Upgrading a Smart-Display with Windows CE from 11MBit-CF-card to 54Mbit or 128Mbit?

Hello.
I have a Philips DesXcape.
{
"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"
}
English:
http://www.eweek.com/article2/0,1895,1495030,00.asp
http://reviews.zdnet.co.uk/hardware/monitors/0,1000001018,10005175,00.htm
Tech-Specs:
http://www.windowsfordevices.com/articles/AT7770180521.html
Operating system -- Microsoft Windows CE for Smart Displays
Processor -- Intel 400 MHz XScale
Main memory -- 64 MB SDRAM (on board), 32 MB (Flash ROM)
Display -- 15 in. Thin film transistor liquid crystal display; screen resolution: 1024 x 768 with 16 million colors
External dimensions -- 14.8-in W x 1.1-in D x 12.2-in H.
Weight -- 5.3 lbs. with battery
Wireless connection -- integrated 802.11b
Options --
* USB wireless network adaptor
* 88-key wireless keyboard with touchpad (US)
* VGA cable
* DVI-D cable
* miniVGA adapter
* audio cable
* Power -- Li-ion battery
Click to expand...
Click to collapse
Deutsch:
http://www.golem.de/0301/23404.html
These devices run with Windows CE.
For a liquid transmission of moved contents, 11Mbit is too small.
Does it give ROM cooks, which would tinker a modern ROM for this equipment?
The support of 54Mbit-CF-cards or 128Mbit-cards is most important.
Here are the orginial CF-card in the device:
These are “enormous PDAs” with WLAN .
Here is the "Firmware":
http://www.p4c.philips.com/cgi-bin/...m/files/1/150dm10p_02/150dm10p_02_fus_deu.exe
The attachment shows the content.
And the content of MiraSrvc.cab and OEMSrvc.cab.
Please announces you!
Even if you can call me persons, whom I can contact.
I prefer German, if possible.

[Q] Filesystem - Asian chars instead of accents

I think this started happening when i updated from Android 4.4.2 to 4.4.4... Hopefully someone can help me out...
On my external SD card, directories and files that used to have accents in them (i'm french speaking, so alot of à, é, è, etc) are now unusable and have asian characters in them instead of accents.
Directories with accents are no longer seen as directories but as 0byte files.
See screenshot for exemple.
Could i edit a file somewhere so that my FS is mounted with UTF8 encoding or something else (i could try different encoding) ?
And as a second question, could this update have changed the way the FS is mounted? Because i remember listening to some of those audio-books in directories with accents, in the past, before they turned into unsusable asian-char 0 byte files
{
"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"
}
Interesting discovery:
/mnt/media_rw/sdcard1 is mounted differently and all the directories are seen as directory but their names end up where the accents is and i cant get into the directories themselve.
Another interesting find....
If i unmount (from Settings > Storage) my SDCard and remount it, then it's fine, i get my accents back and i can open the directories and use the files in em.
If i look at the output from mount, before and after
Before
Code:
/dev/block/vold/179:65 /mnt/media_rw/sdcard1 vfat rw,nosuid,nodev,noexec,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
After
Code:
/dev/block/vold/179:65 /mnt/media_rw/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
Think i should file a bug with Sony about Filesystem not mounting "properly" on boot but remounting properly on unmount/remount ?

[GUIDE] Automatic Brightness for LG L90 - All Models - Free

As you all know by now, LG L90 does not have a light sensor, so screen brightness must be adjusted manually. After reading this great tutorial for L9:
http://forum.xda-developers.com/showthread.php?t=2279971
I have found out that the Lite (free) version works very well, and no need for Takers. As of now, I am using version 1.99.9999.1l and Battery Use settings on my phone doesn't even display it so it seems that battery drain while using this app is kept to a minimum:
https://play.google.com/store/apps/details?id=com.vitocassisi.luxlite
Once the Lite version is installed, it automatically detects that there is no light sensor and enables the front camera as the light reading search. Just go to Profile Editor after tapping the gear icon, go to Luma tab and set your personal profile. Mine is below:
- Luma = 1, Brightness = 25%
- Luma = 87, Brightness = 50%
- Luma = 255, Brightness = 100%
You can add more values and/or change the ones above to suit your needs.
Simply keep Adjust set to On Wake or Manually, or it will disable the camera and it will stop working. If it happens, go to Settings -> Applications and erase app data, then configure it all over again (you can backup the Profile to SD once you set it up, just in case).
Tips:
- Try to enable "Shake to brighten", it might be useful.
- Even if Adjust On Wake is selected, you can for a brightness adjust using the Reload button in the Notification are, or simply by opening the app.
Credits: @gdjindal for the nice tutorial.
Screenshots
{
"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"
}
Sent from my LG-D410 using XDA Free mobile app

Custom splashscreen

Is there any way to made a custom splashscreen?
Different than the original Asus black and white?
Some way to extract a picture and change it!
Sent by me via my Zenfone
sorry for my maybe bad English
Hello Mattek8,
If you take a look at http://cleanimport.xda/index.php?threads/3385714/ there are splashscreens for ZE500CL.
When you open splash_black.bin and splash_white.bin in a hexadecimal editor, they are flashable images with a so-called OSIP header (fake mbr)
References:
https://github.com/venue3x40-dev/android_device_dell_venue3x40-common
https://github.com/quanganh2627/libintelprov.git
Credits to @social-design-concepts @vampirefo @nels83 and others for the research & hard work.
The OSIP payload is a single OSII image
type 04 : signed splashscreen, for splash_black.bin
type 05 : unsigned splashscreen, for splash_white.bin
If you extract and look at the payload:
Black:
{
"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"
}
White:
At offset 0x25 you have a FI marker. Other possible markers are the BMN ones towards the end of file.
At offset 0x2D you have image dimensions: D0-02-00-05
0x2D0 = 720 (width)
0x500 = 1280 (height)
If you examine a ze551ml splashscreen img (dumped from /dev/block/by-name/splashscreen), you will not find the MSIF image/container, nor the BMN markers,
but you will find the FI marker using the image dimensions 38-04-80-07 (0x438 = 1080, 0x780 = 1920)
Still in the MSIF container, around offset 0x40, you see a lot of triplets FF-FF-FF FD-FD-FD : they are probably colors forming the image palette (24 bits with no alpha channel)
@ 0x43 : 00-01 might be the number of palette entries. It is often 0x100 = 256 indexed colors.
I leave the rest to you as an exercise. If you are not skilled enough to crack this, I suggest you ask video game file format reverse engineers: they constantly meet with this kinds of problems. (Xentax, /r/REGames, romhacking.net to name a few)
Good luck!

piKVM mousepoll set to 0 but shows 10

Hey all I am new at this **Raspberry Pi** stuff.
The Raspberry Pi 4 specs:
Code:
Platform:
Base: Raspberry Pi 4 Model B Rev 1.5 (2GB)
Serial: ---------------
Temperature:
CPU: 32.128°C
Throttling:
Freq capped: No; Never
Throttled: No; Never
Undervoltage: No; Never
KVMD: 3.139
Streamer: 5.21 (ustreamer)
HAS_PDEATHSIG: Yes
WITH_GPIO: Yes
WITH_PTHREAD_NP: Yes
WITH_SETPROCTITLE: Yes
WITH_SYSTEMD: Yes
Linux kernel:
Machine: armv7l
Release: 5.15.34-4-rpi-ARCH
Version: #1 SMP Tue Jul 5 12:10:16 MSK 2022
I recently put together the pikvm.org (the Geekworm X630-A2 Auido Hat with the X630 Hdmi Input Bridge TC358743) so that I would be able to control/see my laptop that's in my server room to my office in another room. Everything works fine but the mouse movement still seems a little slow.
I have done the following:
Placed the following command in the cmdline.txt file:
Code:
usbhid.mousepoll=0
{
"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"
}
Placed the following command in the config.txt file:
Bash:
usbhid.mousepoll=0
Prior to doing that the command
Bash:
systool -m usbhid -A mousepoll
gave me this:
After doing the 2 above usbhid command and rebooting I did that same command and now it showed:
However, looking at the dashboard of the πKVM I still see that it has the mouse set to 10. The slider does not seem to go any lower than that.
So me being new at this I am just wondering should this also be showing the 0 instead of the 10 since the output of systool -m usbhid -A mousepoll shows 0?

Categories

Resources