[AOSP 12][RK3588][Rock5B] Help is needed to define HDMI custom resolution/timings in Android 12 on Rock 5B - Android Q&A, Help & Troubleshooting

Hello,
Could you please help to define HDMI custom resolutions/timings in Android 12 on Rock 5B?
The already existing article (https://wiki.radxa.com/Rock/Hdmi_Resolution) is outdated - there are no files mentioned in the article in Android 12 (drivers/video/rockchip/hdmi/hdmi-lcdc.c).
The custom resolution/timings are required for different displays, for example square 2.9 inch 1440x1440 px.
Thanks!

Related

[ROM] Android Revolution HD 8.0 | High Quality & Performance | Sense 5 | 2.18.401.2 | Sense 5 Toolbox 2.5

[ROM] Android Revolution HD 8.0 | High Quality & Performance | Sense 5 | 2.18.401.2 | Sense 5 Toolbox 2.5
{
"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"
}
Proudly presenting you the most popular ROM for HTC One X+...
"My phone is now perfectly smooth, fast, stable. I do not expect much more from my phone!"
DarkAdrien
"This release is amazing! ROM feels super fast! Great job Mike & the team! (...) Never noticed any lag. 1 word: brilliant."
Selec1
"Feels a lot smoother in use - scrolling, swiping between sense screens. Much nicer feel. This is a real good one, Mike. Many thanks "
dsm52
​
System details:
Android 4.2.2 (Jelly Bean) - latest official HTC One X+ 2.18.401.2 (WWE) firmware
This is improved version of stock ROM - no visual changes!
Very fast, clean & stable!
Full HTC Sense 5.0 Interface
Multi-language (WWE)
For HTC One X+ (not for AT&T)
Thanks to HTC for the base firmware
Included kernel details:
Stock kernel (the most stable)
ROM details:
Removed software (CPU) rendering - full nVidia Tegra 3 (GPU) rendering
Fully optimized and tweaked
Root access
Unsecured boot.img
Newest BusyBox
RAM optimizations
System signatures check enabled for system security and safety
Improved virtual memory management
Speed optimizations
Enabled GPU UI rendering
Data, cache and system partitions mounting tweaks
Bloatware applications removed
All /system applications updated to latest available
All /data applications updated to latest available
Improved CPU governors performance
Most optimal system scheduler
Disabled kernel debugging for better performance
Zipaligned (Improved RAM management)
Zipalign on boot (for user applications on data partition)
Fully de-odexed
init.d scripts (BusyBox run-parts) support
Auto init.d permissions set on boot
sysro/sysrw commands support
Excellent battery life!
Improved EXT4 performance
OpenVPN support
Most up-to-date system files permissions
Adobe Flash Player support
Support almost 24h a day
...and many more!
You need:
HTC One X+ unlocked with htcdev.com (S-ON) or S-OFF
Custom recovery
Firmware package from here
How to flash:
Download ROM and place it on your virtual SD card
Flash boot.img from the downloads section
Boot your phone in recovery mode (vol down + power)
In main menu, select "install zip from sdcard"
Select "choose zip from sdcard" and browse to the location of Android Revolution ROM
You can use data wiping option in AROMA (optionally if coming from earlier version of my ROM, obligatory if coming from stock or other custom ROM)
After flashing process is complete, reboot the device
Android Revolution HD 8.0
--- release date: 30 August 2013 ---
Based on latest official HTC One X+ 2.18.401.2 (WWE) firmware
Included and updated applications:
--- Data partition ---
Adobe Flash Player 11.1.115.81 (Android 4.0+)
Adobe Flash Player 11.1.111.73 (Android 2.0+)
Adobe Reader 11.1.3
Dropbox 2.3.12
ES File Explorer 3.0.9.1
Facebook 4.0.0.26.3
Twitter 5.0.9
--- System partition ---
GmsCore 4.1.31 (Android 2.3+ / SDK 9)
Gmail 4.7.2 (Android 4.0+ / SDK 14)
Gmail 2.3.6 (Android 2.2+ / SDK 10)
Google Play 4.5.10
Push Service 1.1.14 (Samsung devices)
SuperUser 1.0.2.8
SuperSU 1.89
--- Aroma installer ---
Google Hangouts 2.0.217 (Android 2.3+ / SDK 9)
Google Maps 6.14.4 (Android 2.2+ / SDK 8)
Google Maps 7.5.0 (Android 4.0.3+)
Google Plus 4.2.4.58179886 (Android 3.0+ / SDK 11)
Google Street 1.8.1.2 (Android 2.2+ / SDK 8)
Google YouTube 5.3.28 (Android 2.2+ / SDK 8)
Google TalkBack 3.5.1 (Android 2.2+ / SDK 8)
Google Chrome 31.0.1650.59 (Android 4.0+ / SDK 14)
Google Music 5.3.1317M.940995(Android 2.2+ / SDK 8)
Google Keep 2.1.01 (Android 4.0+ / SDK 14)
Google Drive 1.2.484.18 (Android 2.3+ / SDK 9)
Google Search 3.1.24.941712 (Android 4.1+ / SDK 16)
Google Search 1.4.1.338691 (Android 4.0.3)
Google Search 1.1.2.64376 (Android 2.3.5)
Changelog since latest Jelly Bean 4.1.1 release:
Android 4.2.2 with HTC Sense 5.0
HTC BlinkFeed (available under Settings)
New Lock screen style widget
Show battery level in status bar
Add sleep mode option in Power settings
Quick settings panel: 12 default settings by new touch gesture
AE/AF lock feature: Lock Exposure/Focus on view/finder screen
Video Highlights: Create 30 seconds show in 12 different themes
Music channel: Visualization with live lyrics
Greatly improved UI performance
Improved Wi-Fi performance
Tweaked CPU settings for the best batter life
Super-smooth scrolling
Optimized Tegra 3 performance and power consumption
Many more amazing improvements for HTC One X
- If your current firmware version doesn't match ROM firmware version, wiping data inside AROMA is highly recommended!​
Android Revolution HD 8.0 + boot.img for 8.x
--- MD5 Checksum: 7230920DB84F03BCA47B793DF800816B ---
​
Important notes:
1. If you want to say "Thanks!"
There are many ways to show your support to the developer. You can:
Press the "Thanks" button.
Hit the donation button and "buy me a beer".
Share your opinion about my work and write some feedback in respective thread.
Advertise my work to your friends.
Rate my thread with 5 stars.
Every way of support is highly appreciated, but it's not expected!​
2. Sharing policy
This forum is about sharing. If you want to use any part of my work, please feel free to do it but remember about some simple rules:
Inform me about using my work by sending me a message. You don’t need my permission, just inform me.
Include link to my thread from where you took particular files.
Give proper credits for what you used.
When it comes to using my ROM as a base you are free to do it only if I don't have "Stock ROMs" thread available for particular device. If such thread exists, you are
obligated to take ROMs from there instead. These threads with "Stock ROMs" are usually updated within 24 hours from the moment when I release my custom ROM.
Sharing is one thing, but please respect some areas of my work like:
ROM name - "Android Revolution HD", "Android Revolution", "Revo HD", "AR HD" etc.
Graphics used in my threads, especially head-banners designed exclusivity for me.
Other parts of my work that are not supposed to be used by others without proper permission.
Please let me keep my threads design unique. I’m sure you can do something even better yourself!​
3. Support
If you have any issues or questions, please feel free to post them in the respective thread. Due to my commitments in real life I can't answer every PM, tweet or facebook post.
If you want to get the fastest and the best answer - ask the question in the thread. Every month I need to remove about 1.000 new messages from my XDA inbox. I’m sure it’s better if I spend this time cooking new ROMs.​
4. Signature banners for users
Due to the increasing number of users flashing my ROMs we introduced some time ago 3 special groups of members.
Android Revolution HD Recognized User – every user might get this rank with proper banner by being active in my thread (or threads).
Helping users to solve problems, answering questions or preparing threads with add-ons for Android Revolution HD are the most common ways to gain this rank. Just be active and we’ll contact you!
Android Revolution HD Advanced User – every user might get this rank with proper banner by doing some amazing modification, application, theme etc. for Android Revolution HD.
Creating simple bootanimation might not be enough, but you never know! Having Recognized User status before is not needed!
Android Revolution HD Supporter – every user who shared some server space with us (with proper bandwidth) will get this banner. Please keep in mind we can't use DropBox shared folders.
What we can use is minimum 20 GB of space and 10 Mbit upload speed. If you want to donate some server space to us, please contact me via private message.
Apart of those special banners, every user might use one of our amazing user banners collected in this thread.
Finally, thanks for using my work! I hope you will enjoy Android Revolution HD!​
XDA:DevDB Information
[ROM] Android Revolution HD 8.0 | High Quality & Performance | Sense 5 | 2.18.401.2 | Sense 5 Toolbox 2.5, a ROM for the HTC One X+
Contributors
mike1986.
ROM OS Version: 4.2.x Jelly Bean
ROM Kernel: Linux 3.4.x
Version Information
Status: Stable
Created 2013-09-13
Last Updated 2014-03-18
Performance Tweaks for Android Revolution HD
data_writeback journalism for /system, /data and /cache partitions.
This mod will turn ON data_writeback for all 3 partitions - system, data and cache. This will drastically improve I/O performance (mostly on write operations) at the expense of file system integrity in certain situations, like unexpected system shutdown. The risk is not extreme, but still bigger then regular. Use this to improve your system performance, but you flash it at your own risk!
Download here:
Android Revolution HD EXT4 Tweaks v.0.1
Force GPU rendering on 2D operations.
This mod is working similar to "Render GUI with GPU" option in Development Settings. Flashing this will force whole system to use GPU rendering (instead of CPU) for all kind of 2D/3D operations. This might improve 2D operations performance, but keep in mind that some apps are not working correctly with GPU rendering. After using this mod you no longer need to tick "Render GUI with GPU" in settings. Even if un-ticked it will be still working. Flash it at your own risk!
Download here:
Android Revolution HD GPU Rendering v.0.1​
--- User banners prepared by KID_1194, adsamcik, sigeltek, jotha, Super-Veloce & D3VICE ---
Q 1: After flashing Android Revolution HD my battery drains much faster. What can I do?
A: Please charge your battery to 100%, boot your device in ClockworkMod Recovery and go to Advanced ---> Wipe Battery Stats. Also see Question 7.
Also please read this ---> [GUIDE] Enlarge your battery life : an attempt to fix the battery drain
And this ---> [How to] Brilliant Battery Life 100% working!
For more details about wiping battery stats please read this
Click to expand...
Click to collapse
Q 2: My Premium Navigation doesn't work correctly. What should I do?
A: Your Premium Navigation may not work correctly for many reasons. Most of them are not ROM related. You can try the following things:
- reinstall your Locations under "Settings" ---> "Locations"
- remove /sdcard/.data/navigator/Data/Temporary from your SD card
- re-download Google Maps from the Android Market
- clear data from Google Maps in system software management
Q 3: When recording HD video, the playback of the clip keeps freezing. How to fix it?
A: This is probably SD card problem. Format your SD card (FAT32 recommended) to gain silky smooth playback.
Click to expand...
Click to collapse
Q 4: After I reboot my device, mp3 ring-tone is back to default. What should I do?
A: Go to Ringtones > Menu > More Ringtones > Create new ringtone > Select the one you want (Thanks to kill4l)
Q 5: Is there any alternative for SetCPU? I think it slows downy my phone.
A: You can application called No-frills. Remember to check "Allow on boot" option.
Click to expand...
Click to collapse
Q 6: After flashing Android Revolution HD my SD card is being mounted as ready only. What should I do?
A: Connect your SD card to your PC and do defragmentation process. If you still have some problems with SD card, please read this.
Mac users can use the repair function of the MacOS disk utility to solve the read only problem (Thanks to Calimero1205).
Q 7: My CPU load is all the time nearly 100% and in most part it's used by system. What is the reason of that high CPU usage and how can I fix it?
A: Delete your htcsense.com account. It takes A LOT of your battery and CPU usage.
Click to expand...
Click to collapse
Q 8: Do I need to wipe data partition when upgrading from old version of Android Revolution HD?
A: I always recommend wiping data partition but it's absolutely necessary only if I mention that in the changelog. But normally you can live without it.
Wipe data partition if you experience any issues.
Q 9: I have some strange issues with my ROM that nobody reported before. What should I do in first place?
A: In first place you should check, if the MD5 Checksum is correct. Then flash ROM again and see if the issue is gone. A lot of strange issues can be solved this way.
Click to expand...
Click to collapse
Q 10: I had SetCPU installed on Android Revolution HD, then I flashed new version of AR HD and SetCPU doesn't work any more. How to fix it?
A: Please reinstall SetCPU.
Q 11: I can't send/receive MMS or I can't connect with mobile data connection. How can I fix it?
A: Please check your MMS settings or mobile data connection APN settings.
Click to expand...
Click to collapse
Q 12: My phone got random freezes or reboots. How can I fix it?
A: Every CPU is different. It seems that your CPU doesn't like OC or UV (undervolt). Set your CPU to default 1GHz.
If it doesn't help, then you need to flash default kernel from the second post.
Q 13: When I listen to music from HTC stock player it accidentally pauses for short time and then keep playing.
A: Turn OFF fastboot in settings.
Click to expand...
Click to collapse
Q 14: My GPS signal is very weak or GPS is not working at all. How can I fix it?
A: There are some solutions:
1. You can download and install FasterFix to improve your signal strength.
2. You can download and install GPS Status & Toolbox to manage your GPS settings.
3. Turn off "Fast boot" under "Settings" ---> "Power" and reboot your phone.
4. Read this, this, this & this
5. [Trick] Speed Up Satelite Fix for GPS on Android
Q 15: My clock/weather widget doesn't show my location. How can I fix it?
A: Please clear data from Google Maps, Clock Widget, Weather, HTC weather sync provider and Weather Provider.
Click to expand...
Click to collapse
Q 16: My Quadrant score is not as high as on different ROM. What does it mean?
A: It means absolutely nothing. Benchmarks on Android System are more or less lottery and they are not showing the real system performance.
There are many settings that can force Quadrant to show more then 3000 points but it's faked performance, that actually can slow down your phone in some circumstances.
What I always emphasize is a real performance, the one you can feel under your fingers. Remember that I/O has some limit and surpassing it shows just a numbers without true ratio.
Also keep in mind that Quadrant has support for Android Gingerbread only in version 1.1.7 and higher.
Q 17: I have com.htc.bgc process force close few times a day. How can I fix it?
A: It's because you have removed HtcTwitter.apk (HTC Twitter application). Please restore it.
Click to expand...
Click to collapse
Q 18: My screen-lock sound and keypad sound while dialing numbers is very low. How can I fix it?
A: Download "Quick Settings" application from Android Market and check system volume slider.
Q 19: When I open up the call screen (where I see the recent calls and callers), the calls won't appear in the list. What to do?
A: Probably you are using 3rd party launcher. Remove the dialer shortcut and re-add it.
Click to expand...
Click to collapse
Q 20: My Wi-Fi doesn't reconnect automatically after boot. How to fix it?
A: Disable fastboot in settings or check this solution.​​
You think you're addicted from flashing ROMs, checking forum the whole day and you feel like "Android" should be your second name? Well, here's something for fun
preacher65 said:
Okay, now I'm getting my world news from XDA. I had no idea this had happened until I read this. Something tells me I'm spending too much time on here!
Click to expand...
Click to collapse
Whiskey103 said:
Well i have some similar experience. I just found out my wife is pregnant for 6 months already... Lol.
And the first thing I asked was : When will you release it?
So I guess i spend to much time here also.
Still a had some spare time it seems. Otherwise the baby is not mine!
Click to expand...
Click to collapse
DarkAdrien said:
My wife is pregnant for 4 months, ETA October 22nd (her upload speed is not so good). If only I could do a nandroid backup of my current life to be able to restore it after
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Reserved 3.
Great Mike!
Nice to see you in this section
orb3000 said:
Great Mike!
Nice to see you in this section
Click to expand...
Click to collapse
Thanks orb! I hope to finish this thread as soon as possible with working link to new ROM
wow, that's great news! after my sensation, i know this rom also will be great
Do you have this device?
Would be nice to know you do have it or not?
@home said:
Do you have this device?
Would be nice to know you do have it or not?
Click to expand...
Click to collapse
No, I don't have it yet.
thanks
greate im happy to see you here i ask you a time ago if you going to run your rom with HOX+ i'm waiting for at&t usa, you are going to made the rom for at&t usa version or both are the same bands and lte if are the same i made the order in this date. thanks againg.
wphoto2 said:
greate im happy to see you here i ask you a time ago if you going to run your rom with HOX+ i'm waiting for at&t usa, you are going to made the rom for at&t usa version or both are the same bands and lte if are the same i made the order in this date. thanks againg.
Click to expand...
Click to collapse
If both devices have the same hardware then you will be able to flash it.
Sent from my HTC One X
I think the only difference between the one x+ and the one xl+ is the modem, the one x+ has an intel chip and one xl+ has a qualcomm icera chip. Other than that the phones should have identical hardware.
ryanjsoo said:
I think the only difference between the one x+ and the one xl+ is the modem, the one x+ has an intel chip and one xl+ has a qualcomm icera chip. Other than that the phones should have identical hardware.
Click to expand...
Click to collapse
Then you will surely need two separate roms.
mike1986. said:
Then you will surely need two separate roms.
Click to expand...
Click to collapse
Unless someone writes a script than can identify the 2 different devices and pushes the correct kernel/libs to the device. I've seen similar methods for devices that have GSM/CDMA variants.
Sent from my HTC One X+ using Tapatalk 2
AndroHero said:
Unless someone writes a script than can identify the 2 different devices and pushes the correct kernel/libs to the device. I've seen similar methods for devices that have GSM/CDMA variants.
Sent from my HTC One X+ using Tapatalk 2
Click to expand...
Click to collapse
Correct, it's quite easy actually. But the size of ROM will increase and the hard part is that usually it's not just a kernel and few bins/libs. Those are also carrier related and sometimes signed .apk files.
Mike, any luck in breaking the rom's protection?
HTC is really screwing with us.
uqadwe said:
Mike, any luck in breaking the rom's protection?
HTC is really screwing with us.
Click to expand...
Click to collapse
Nope. But there is a workaround
Closing
Hey Mike, I have closed thread to avoid cluttering before you place the ROM.
Let me know whenever you need it open.
ROM will be out today, it's almost ready
Hi Mike,
In the "You Need" section, firmware package is mentioned. Does that refer to the boot.img or is it something that we need to flash at a later stage?
Using CID Getter app, it displays my CID as VODAP001.
Thanks
Mskh

[Q] Multitouch on all versions Android

Hello. As I know мультитач has appeared since Android 2.0. I want that my application worked on all versions since Android 1.6-inside this application the user himself chooses a way of management - Multitouch or Vantach. But if at project creation to specify minimum required SDK more low Android 2.0 (that is API 5) environment starts to swear on use мультитачных methods (event.getPointerCount () and other)-API in the manifesto should be above than 4. Prompt please as it is possible (and whether it is possible in general) to create мультитачное the application with minimum required SDK more low Android 2.0?

[Q]Basics of Development

I want to learn how to develop and port ROMs like porting of new AOSP builds to xperia series ... can anyone refer me to some materials to get started , assuming i have just started second year of computer science engineering.
Please only helpful comments and no mockery.
suyash691 said:
I want to learn how to develop and port ROMs like porting of new AOSP builds to xperia series ... can anyone refer me to some materials to get started , assuming i have just started second year of computer science engineering.
Please only helpful comments and no mockery.
Click to expand...
Click to collapse
Skills required:
- C
- Java
- Git
- Bash
- Brain + Google
Simplified vision of android:Hardware < Kernel Linux < Hardware Abstraction Layer < Android
Porting: Working kernel + HAL
Tips & Tricks:
- Hack current projects. This way allow you to learn and not care about unnecessary stuff e.g. If I improve Ambient Sensor Light driver, is not necessary that I understand how is working android build system.
- Logcat
Classic references:
- http://source.android.com/devices/
- http://shop.oreilly.com/product/0636920021094.do
Thanks a lot .......... both for this and for your work on our devices

[Q] Help with kernel adding driver

Hi guys
I am new to android and i need some help. Apologies if i have posted this in the wrong place.
I manufacture and supply large touch screens to special needs schools and in the past i have used multitouch overlays that came with a mini pc android called istick by PQ Labs that were coded to work as multi touch. now i have changed touch panel product i need an android pc to work with it.
I am thinking of using a MK809iv and the company that supplies the overlay has sent me the mods that need to be made to the kernel but i have no idea how to do this.
Here is what they sent me.
Transplanting under Android4.0 For IRMT Multi Touch Frame Driver V1.1
The following method is suitable for the kernel which above Linux 3.0, we take an example of Kernel 3.08.
1. Add manufacturer ID and Device ID in the 352st line of “drivers/hid/hid-ids.h”
#define USB_VENDOR_ID_IRMTOUCH 0x23c9
#define USB_DEVICE_ID_IRMTOUCH_SSERIAL 0x5666
2. Add device according to put the following program in the 669st line of “/drivers/hid/hid-multitouch.c”
/* IRM Multi-touch panel */
{ .driver_data = MT_CLS_CONFIDENCE,
HID_USB_DEVICE(USB_VENDOR_ID_IRMTOUCH,
USB_DEVICE_ID_ IRMTOUCH_SSERIAL) },
3. Add special protocol support in the 1392st line of “drivers/hid/hid-core.c”
{HID_USB_DEVICE(USB_VENDOR_ID_IRMTOUCH, USB_DEVICE_ID_IRMTOUCH_SSERIAL) },
4. Configuring the kernel. (menuconfig)
Firstly enter Device Drivers, then enter HID Devices ,then select Special HID drivers. Build-in HID Multitouch panels . ( select “*” )
Save and exit.
5. Compile the kernel and update the mirror of android 4.0
Shanghai IRMTouch Technology Co.,Ltd
2012.8.31
Any help would be greatly appreciated
Thanks
Ty
I suppose you already solved the problem or left it, anyway thanks for pasting the info, very usefull to modify the kernel to support this IRM Touch.
Regards

pure android 4.4.2 ---> 5.1.1 editable or not, please?

Hello everyone,
I hope I'm posting in the right place if not please forgive me please!
here I would like to buy an android post on aliex ......
it is 4.4.2 and I wonder if it's possible to spend in 5.1.1
thereafter please ??
is that it is a good model to buy ??
here is some info I found on this model:
-------------------------------------------------- -
0. Pure Android specification R16
1. R16 CPU Cortex-A9 Quad Core, 1.6G Hz
2. android version 4.4
3. ROM 16G GB iNAND
4. 1.6G DDR3 RAM
5. MCU Version: 4.3.16-10-E40101-150901
6. Resolution: 1024 * 600
That is the main information I have on this android radio
I have several links, but I do not know if I can post here Leins
which would be easier to get your views
Thank you for your valuable info please, I expected returns before my purchase
Thank you !

Categories

Resources