[General Questions and Answers] intel@inside:
Hi guys,

does anybody knows the file system of Lenovo P90?

Android 4.4.4, the bootloader is locked of course, Developer menu is a joke - only 3 options, OEM unlock doesn't exist, most of fastboot command (all of OEM, getvar, getprop, etc.) is unknown or the output is nothing.. probably the "good fellows" renamed or removed those commands. I've tried to find the OEM commands in boot and droidboot.img with no luck.

With a temporary recovery I,ve ROOT-ed it at least. After modification (boot, etc.) I can't flash anything.. cmd error.

The partition scheme isn't exactly clear for me. The /reserved (mmcblk0p1 - 256Mb) must be the boot partition (?), with boot, recowery, droidboot,

everything is in one place, and the /panic (32Mb) is some log area for the kernel, or the /panic is the recovery, and.. or sooo whaaaat? :)

I don't really care any backup, data or the phone itself, so I've just written a modified boot.img to mmcblk0p1 straight with dd.

I know, this is a very good idea.. and safe! :) The phone booted up surprisingly, but the droidboot is gone!

All I can do is flash the ORIGINAL boot, recowery, droidboot img-s to somewhere with fastboot, without any modification, except the system.img. I modified the

the system.img (deodex, zipalign, removed more than 1Gb sh*t), but I can't get Signature Spoofing.. Tingle is failed, the manualy modified framework is failed, so I cant

destroy the Google.

I can't see eny restriction on mmcblk0 and mmcblk0p1, but I can't write any critical area with modified img, at least with fastboot.

Does enybody knows "whatta hack" is on the mmcblk0boot0 (4mb) partition, what is blocking every modification? I can modify the force_ro on mmcblk0boot0 to 0,

maybe I can write it with dd, but.. with what?!.

Here's the deal:

#

orginal:

root@P90:/ # cat /sys/block/mmcblk0/force_ro

0

root@P90:/ # cat /sys/block/mmcblk0/ro

0

root@P90:/ # cat /sys/block/mmcblk0/mmcblk0p1/ro

0

root@P90:/ # cat /sys/block/mmcblk0/mmcblk0boot0/force_ro

1

root@P90:/ # cat /sys/block/mmcblk0/mmcblk0boot1/force_ro

1

#

recovery.fstab

#size_hint=256

/dev/disk/by-label/reserved	/reserved	hidden	None	length=0

#size_hint=32

/dev/disk/by-label/panic	/panic	raw	None	length=0

#size_hint=128

/dev/disk/by-label/factory	/factory	ext4	nosuid,nodev,noatime,barrier=1,data=ordered	length=0

#size_hint=128

/dev/disk/by-label/misc	/misc	emmc	None	length=0

#size_hint=128

/dev/disk/by-label/config	/config	ext4	nosuid,nodev,noatime,barrier=1,data=ordered	length=0

#size_hint=1536

/dev/disk/by-label/cache	/cache	ext4	nosuid,nodev,noatime,barrier=1,data=ordered	length=0

#size_hint=24

/dev/disk/by-label/logs	/logs	ext4	nosuid,nodev,barrier=1,data=ordered	length=0

#size_hint=2560

/dev/disk/by-label/system	/system	ext4	ro,noatime	length=0

#size_hint=0

/dev/disk/by-label/data	/data	ext4	nosuid,nodev,noatime,discard,barrier=1,data=ordered,noauto_da_alloc	length=-33

#size_hint=-1

/dev/block/mmcblk1p1	/mnt/sdcard1	vfat	defaults	length=0

#

root@P90:/dev/disk/by-label # ls -l *

lrwxrwxrwx system system 2019-03-12 12:52 cache -> ../../block/mmcblk0p6

lrwxrwxrwx system system 2019-03-12 12:52 config -> ../../block/mmcblk0p5

lrwxrwxrwx system system 2019-03-12 12:52 data -> ../../block/mmcblk0p9

lrwxrwxrwx system system 2019-03-12 12:52 factory -> ../../block/mmcblk0p3

lrwxrwxrwx system system 2019-03-12 12:52 logs -> ../../block/mmcblk0p7

lrwxrwxrwx system system 2019-03-12 12:52 misc -> ../../block/mmcblk0p4

lrwxrwxrwx system system 2019-03-12 12:52 panic -> ../../block/mmcblk0p2

lrwxrwxrwx system system 2019-03-12 12:52 reserved -> ../../block/mmcblk0p1

lrwxrwxrwx system system 2019-03-12 12:52 system -> ../../block/mmcblk0p8

#

root@P90:/dev/block # ls -l *

...

brw------- root root 179, 0 2019-03-12 12:52 mmcblk0

brw------- root root 179, 16 2019-03-12 12:52 mmcblk0boot0

brw------- root root 179, 32 2019-03-12 12:52 mmcblk0boot1

brw------- root root 179, 1 2019-03-12 12:52 mmcblk0p1

brw------- root root 179, 2 2019-03-12 12:52 mmcblk0p2

brw------- root root 179, 3 2019-03-12 12:52 mmcblk0p3

brw------- root root 179, 4 2019-03-12 12:52 mmcblk0p4

brw------- root root 179, 5 2019-03-12 12:52 mmcblk0p5

brw------- root root 179, 6 2019-03-12 12:52 mmcblk0p6

brw------- root root 179, 7 2019-03-12 12:52 mmcblk0p7

brw------- root root 179, 8 2019-03-12 12:52 mmcblk0p8

brw------- root root 179, 9 2019-03-12 12:52 mmcblk0p9

brw------- root root 179, 48 2019-03-12 12:52 mmcblk0rpmb

...

#

root@P90:/ # busybox fdisk -l /dev/block/mmcblk0

Disk /dev/block/mmcblk0: 31.2 GB, 31268536320 bytes

256 heads, 63 sectors/track, 3786 cylinders

Units = cylinders of 16128 * 512 = 8257536 bytes

Device Boot Start End Blocks Id System

/dev/block/mmcblk0p1 1 3787 30535679+ ee EFI GPT

root@P90:/ # busybox fdisk -l /dev/block/mmcblk0p1

Disk /dev/block/mmcblk0p1: 268 MB, 268435456 bytes

4 heads, 16 sectors/track, 8192 cylinders

Units = cylinders of 64 * 512 = 32768 bytes

#

original boot.img - default.prop (That's All)

#

# ADDITIONAL_DEFAULT_PROPERTIES

#

ro.allow.mock.location=0

ro.com.google.clientidbase=android-lenovo

persist.fwlog.enable=1

persist.stm.mid_disabled=punit

ro.opengles.version=196608

persist.dual_sim=none

sys.usb.vbus=normal

rw.log.tag.Mms:transaction=VERBOSE

rw.log.tag.Mms:app=VERBOSE

rw.log.tag.Mms:threadcache=VERBOSE

rw.log.tag.Mms:thumbnailcache=VERBOSE

rw.log.tag.Mms: pducache=VERBOSE

rw.log.tag.Mms:widget=VERBOSE

rw.log.tag.Mms:contact=VERBOSE

ro.secure=1

ro.adb.secure=1

ro.debuggable=0

persist.ril-daemon.disable=0

persist.sys.usb.config=mtp

persist.sys.emmc=storage/sdcar

#

I can change everything (ro.secure=0, etc.), or append it new line of course, but I can't flash it back.

Sorry if this is some trivial problem, but I'm lost. I'm interested in the X86 architecture, because I want to build a mini FOREX server on this phone..

Thanks for any advice!