Hi guys, need some help enabling USB debugging in recovery mode via adb on a MI8 with a broken screen.
Most probably i've posted initially my message in the wrong section, probably nobody looks in there anymore. Sorry about that!
Some context to my problem:
My old Mi8 display got broken and its not lighting up anymore. Except this everything seems to work fine. I'm on the last MIUI 12.5 EU ROM for the MI8.
The plan is to set it via adb to cast to wireless display so i can have access and recover some of the important stuf that can't just simply copy (apps, etc,, etc.. ) .
Now I've enabled USB recovery as far as i remember however actually i can't access it via adb, (i can't see the device attached) although i can hear it "pips" when i connect the cable. Most probably i need to do initial phone unlock and maybe acknowledge the USB access again in the phone when i connect a cable or something..
Anyway i can go into recovery mode with Power + Vol Up then I can see the device attached as recovery and i can adb shell into it.
I've believe the whole root directory ("/")is being mounted in a normal boot as "rootfs".
Searched for the build.prop in the /system, found none. Found only default.prop which is linked with the prop.default.
I tried mounting "/" as RW and editing the default.prop by adding "persist.service.adb.enable=1 persist.service.debuggable=1 persist.sys.usb.config=mtp,adb". Also add build.prop file to the /system with those persistent properties, however nothing will persist after the reboot. I ain't that familiar with the system, i presume the image is being overwritten by the image defaults from somewhere.
Hope anybody can help me, thanks a lot!
Most probably i've posted initially my message in the wrong section, probably nobody looks in there anymore. Sorry about that!
Some context to my problem:
My old Mi8 display got broken and its not lighting up anymore. Except this everything seems to work fine. I'm on the last MIUI 12.5 EU ROM for the MI8.
The plan is to set it via adb to cast to wireless display so i can have access and recover some of the important stuf that can't just simply copy (apps, etc,, etc.. ) .
Now I've enabled USB recovery as far as i remember however actually i can't access it via adb, (i can't see the device attached) although i can hear it "pips" when i connect the cable. Most probably i need to do initial phone unlock and maybe acknowledge the USB access again in the phone when i connect a cable or something..
Anyway i can go into recovery mode with Power + Vol Up then I can see the device attached as recovery and i can adb shell into it.
I've believe the whole root directory ("/")is being mounted in a normal boot as "rootfs".
Searched for the build.prop in the /system, found none. Found only default.prop which is linked with the prop.default.
I tried mounting "/" as RW and editing the default.prop by adding "persist.service.adb.enable=1 persist.service.debuggable=1 persist.sys.usb.config=mtp,adb". Also add build.prop file to the /system with those persistent properties, however nothing will persist after the reboot. I ain't that familiar with the system, i presume the image is being overwritten by the image defaults from somewhere.
Hope anybody can help me, thanks a lot!