mirror of
				https://github.com/meizu-m86/twrp_multirom_m86
				synced 2025-11-04 06:15:41 +08:00 
			
		
		
		
	
			
				
					
						
					
					cdcf28f54f085520a96f4f9e480b8df324c5decb
				
			
			
		
	For applying update from SD card, we used to use a thread to serve the file with fuse. Since accessing through fuse involves going from kernel to userspace to kernel, it may run into deadlock (e.g. for mmap_sem) when a page fault occurs. Switch to using a process instead. Bug: 23783099 Bug: 26313124 Change-Id: Iac0f55b1bdb078cadb520cfe1133e70fbb26eadd
The Recovery Image
Quick turn-around testing
mm -j && m ramdisk-nodeps && m recoveryimage-nodeps
# To boot into the new recovery image
# without flashing the recovery partition:
adb reboot bootloader
fastboot boot $ANDROID_PRODUCT_OUT/recovery.img
			
		Description
				
					Languages
				
				
								
								
									C
								
								59.6%
							
						
							
								
								
									C++
								
								34.6%
							
						
							
								
								
									Makefile
								
								2.6%
							
						
							
								
								
									Roff
								
								1.3%
							
						
							
								
								
									Shell
								
								1.2%
							
						
							
								
								
									Other
								
								0.6%