I wanted to load the previous display driver, it changed my screen orientation. how can i restore it . L8-MIPI-WD104FHM30AA-A0_1200x2000_20240625
Dudu7 screen orientation
Assuming you talk about a dudu7. Copy the config.txt from your DuDu7 (/lshw/config/config.txt) unit to USB .
Add the line ro.sf.swrotation=90 to it and only flash that config.txt with a lsec6318update to your unit.