Unofficial TWRPs for devices without source code - Android General

Hey guys,
I've begun this thread for all those who have devices which don't have a source code and as a result, no TWRP.
You can request a TWRP on this thread for those devices. Since these are not official builds, they won't be available on TWRP website, only here.
You need to post these things for getting a TWRP.
1. recovery.img of your device
2. Install DiskInfo from Play Store, enable the following settings in the Diskinfo app
Code:
Show mount path
Show partition name
Show file system
Expert mode
Unmounted partitions
Device Mapper partitions
Temporary filesystems
and post screenshots of the app.
3. Install any root explorer and send screenshots of /dev, /dev/block directory and /dev/block/platform/whateverfoldersarehere/ directory
4. Screen resolution of your device (720x1280 for example)
After this, wait for a few days until I post your TWRP recovery.
While requesting for the first time, do not quote this post, just mention me by
Code:
@Augustoandro
It will help in keeping the thread clean.
Here are the already available 100% working and validated recoveries:
1.Micromax Canvas Juice 3+ a.k.a. Micromax Q394:
https://mega.nz/#!OF8USCJA!ZfoNcfVegFIw6qjHN2az-Ni7n85xFEo4-ZaTSGZasvE
2.Chuwi Hi8 Air (Ported by Kellwa):
Move to this thread:
https://forum.xda-developers.com/android/software/recovery-chuwi-hi8-air-twrp-t3875196
3. Doogee S90:
https://mega.nz/#!zJ9W3A4D!ZrfLAguHW5cBJ0fPsbeo0blG2a1d-lrdruNGo4m3Q-U
Note: Flash the zip from the thread below to disable dm-verity and forceencrypt, so that your TWRP can run without encryption errors.
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
Below are the recoveries that haven't been tested or have bugs. Feel free to work on them and make them better. But notify me when you do so, so that I can provide the improved TWRP through this thread to others.
1. Archos 50B Neon:
https://mega.nz/#!WN9wCQYb!LF4SAuLrwuI6um351mAgFIVJpGWifNRlD8-esc8fGnw
2. Gionee A1 Plus:
https://mega.nz/#!PV0SkAbb!egNFZEZYgWukl0Pi1KSAO3WXxpjuKrNqemvdDOpPzDI
3. Honor 7C AUM-L41:
https://mega.nz/#!vV8mBCjL!m-adiDl95-DjXr6XjRLJW63iG2z-tQPwqdyUSczmZSE
4. Honor 7C LND-L29:
https://mega.nz/#!jM9kQKjB!KBvOKKkyqn5UsHkYjFotn3-w5qGzsMMFOhcxB0knEIg
Notes:
1. Archos 50B Neon has Reboot Menu issues.
2. Gionee A1 Plus hasn't been tested yet, please test it.
3. Honor 7C TWRPs have a bug due to which /data is encrypted by default.
Try flashing the "dm-verity and forceencrypt disabler zip" from the thread given below
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
If it works, contact me on this thread so that I can publish a new version TWRP for the Honor 7C devices with everything working.
CHANGELOG:
1. Fixed external sdcard or usb-otg not detected issue. Both can be read and used to flash files available in them.
2. ADB sideload fixed. Though it still shows "Starting ADB Sideload feature" when the feature is already working. You can check whether it works by typing this command
Code:
adb devices
If it shows output such as
Code:
1234567890ABCDEF sideload
then it means sideload is working.
TROUBLESHOOTING:
In case, the TWRP released upon your request shows that the partitions can't be mounted, send me the screenshot of the following command run from TWRP terminal.
Code:
find /dev/block -name by-name
THANKS TO CONTRIBUTORS WHO MADE THIS THREAD BETTER:
Thanks to @inguna for resolving the "SDCARD and USB-OTG not detected" bug and making MTP, ADB work.
Thanks to @seanybiker for pointing out the "dm-verity and forceencrypt disabler zip" thread and @avirus for testing out the zip and the Doogee S90 TWRP.
Also, thanks to @Zackptg5 for his work on "dm-verity and forceencrypt disabler zip".
Thanks to @aIecxs for pointing out that the mount paths of partitions in recovery boot might be different from normal boot, and also providing the troubleshooting method, in case such a situation occurs.
In case, you want to port a TWRP yourself, feel free to check out this guide:
https://forum.xda-developers.com/android/general/guide-porting-twrp-source-t3843473
Feel free to donate through the paypal link below if you appreciate my efforts
https://www.paypal.me/augustoandro54
HIT THANKS IF FOUND USEFUL

Augustoandro said:
3. Install any root explorer and send screenshots of /dev/block directory and /dev/block/platform/whateverfoldersarehere/ directory
Click to expand...
Click to collapse
Sir without root how can someone able to go through the above quoted partition...?

HemanthJabalpuri said:
Sir without root how can someone able to go through the above quoted partition...?
Click to expand...
Click to collapse
Go into the Magisk thread, there are installation instructions for rooting using a patched boot.img
Flash the boot.img using fastboot.
Now, you have root on your device and can use any root explorer.

Augustoandro said:
Go into the Magisk thread, there are installation instructions for rooting using a patched boot.img
Flash the boot.img using fastboot.
Now, you have root on your device and can use any root explorer.
Click to expand...
Click to collapse
Sir all requirements are available in https://forum.xda-developers.com/android/help/recovery-lava-a72-s205-t3823309 and also twrp is there....
It is ported using auto-porter by hovatek..
But its touch is not working....

HemanthJabalpuri said:
Sir all requirements are available in https://forum.xda-developers.com/android/help/recovery-lava-a72-s205-t3823309 and also twrp is there....
It is ported using auto-porter by hovatek..
But its touch is not working....
Click to expand...
Click to collapse
I requested for the things posted in the Original Post because many stock recovery.img have an incorrect recovery.fstab.
This happened in case of Micromax Q394, my own experience, resulting in OS Not Installed Error.
That's why I made those requests for screenshots.
Btw, did you check whether the TWRP you have is showing OS Not Installed error or not?
Just try rebooting to system to check that.

Augustoandro said:
I requested for the things posted in the Original Post because many stock recovery.img have an incorrect recovery.fstab.
This happened in case of Micromax Q394, my own experience, resulting in OS Not Installed Error.
That's why I made those requests for screenshots.
Btw, did you check whether the TWRP you have is showing OS Not Installed error or not?
Just try rebooting to system to check that.
Click to expand...
Click to collapse
No error...sir
Sir is there any other things required?...

HemanthJabalpuri said:
No error...sir
Sir is there any other things required?...
Click to expand...
Click to collapse
How did you reboot into system when touch was not working?
Did you go into the Reboot-> System button?
No other files are required other than the ones I mentioned.

Augustoandro said:
How did you reboot into system when touch was not working?
Did you go into the Reboot-> System button?
Click to expand...
Click to collapse
Pulling battery

HemanthJabalpuri said:
Pulling battery
Click to expand...
Click to collapse
I have your stock recovery.img, I can create a TWRP but don't expect it to work since you haven't provided all the files I asked for.
I looked at the way Hovatek tool works, if the stock recovery.img has an incorrect recovery.fstab, the TWRP ported using Hovatek tool would be faulty even if it boots up.
Therefore, please provide the mentioned screenshots.

Augustoandro said:
I have your stock recovery.img, I can create a TWRP but don't expect it to work since you haven't provided all the files I asked for.
I looked at the way Hovatek tool works, if the stock recovery.img has an incorrect recovery.fstab, the TWRP ported using Hovatek tool would be faulty even if it boots up.
Therefore, please provide the mentioned screenshots.
Click to expand...
Click to collapse
Presently I didnt have device sir...
I will provide later

HemanthJabalpuri said:
Presently I didnt have device sir...
I will provide later
Click to expand...
Click to collapse
Ok

Honor 7C (LND-L29) - Qualcomm SDM450
1. Honor 7C Stock.zip
2. Blocks below
3. 720x1440
Thanks a lot in advance

inguna said:
Honor 7C (LND-L29) - Qualcomm SDM450
1. Honor 7C Stock.zip
2. Blocks below
3. 720x1440
Thanks a lot in advance
Click to expand...
Click to collapse
Please provide some other link for stock recovery.

Augustoandro said:
Please provide some other link for stock recovery.
Click to expand...
Click to collapse
Hi, I have changed it to google drive. Thank you

inguna said:
Hi, I have changed it to google drive. Thank you
Click to expand...
Click to collapse
Send me screenshot of /dev directory or output of
Code:
ls -al /dev
, I have a small doubt with respect to the boot and recovery partition.

Augustoandro said:
Send me screenshot of /dev directory or output of
Code:
ls -al /dev
, I have a small doubt with respect to the boot and recovery partition.
Click to expand...
Click to collapse
Sorry about the wait. I will do it as soon as I get a chance

Augustoandro said:
Send me screenshot of /dev directory or output of
Code:
ls -al /dev
, I have a small doubt with respect to the boot and recovery partition.
Click to expand...
Click to collapse
HWLND-Q:/ # ls -al /dev
total 4
drwxr-xr-x 18 root root 3880 2018-08-27 15:46 .
drwxrwxrwt 28 root root 1100 1970-04-06 15:12 ..
---------- 1 root root 0 1970-04-06 15:12 .coldboot_done
drwx--x--x 2 root root 2260 1970-04-06 15:12 __properties__
crw-rw-r-- 1 system system 227, 0 1970-04-06 15:12 adsprpc-smd
crw------- 1 root root 10, 35 1970-04-06 15:12 android_mbim
crw------- 1 root root 10, 26 1970-04-06 15:12 android_rndis_qc
crw------- 1 root root 241, 3 1970-04-06 15:12 apr_apps2
crw-rw-rw- 1 root root 10, 54 1970-04-06 15:12 ashmem
crw-r----- 1 radio radio 233, 0 1970-04-06 15:12 at_usb0
crw------- 1 root root 233, 1 1970-04-06 15:12 at_usb1
crw-rw---- 1 system audio 229, 0 1970-04-06 15:12 avtimer
crw-rw-rw- 1 root root 10, 61 1970-04-06 15:12 binder
drwxr-xr-x 4 root root 1740 1970-04-06 15:12 block
crw------- 1 root root 10, 28 1970-04-06 15:12 ccid_bulk
crw------- 1 root root 10, 29 1970-04-06 15:12 ccid_ctrl
crw------- 1 root root 5, 1 1970-04-06 15:12 console
crw------- 1 root root 10, 41 1970-04-06 15:12 cpu_dma_latency
drwxr-xr-x 3 system system 0 1970-04-06 15:12 cpuctl
drwxr-xr-x 10 system system 0 1970-04-06 15:12 cpuset
crw------- 1 root root 10, 236 1970-04-06 15:12 device-mapper
crw-rw---- 1 system oem_2901 240, 0 1970-04-06 15:12 diag
crw-rw---- 1 usb usb 10, 30 1970-04-06 15:12 dpl_ctrl
crw-rw---- 1 system dsm 10, 254 1970-04-06 15:12 dsm
crw-rw---- 1 root root 10, 23 1970-04-06 15:12 dubai
-rw-r--r-- 1 logd logd 24 1970-04-06 15:12 event-log-tags
lrwxrwxrwx 1 root root 13 1970-04-06 15:12 fd -> /proc/self/fd
crw-rw---- 1 system system 232, 0 1970-04-06 15:12 fingerprint
dr-xr-xr-x 23 root root 0 1970-04-06 15:12 frz
drwxrwx--- 2 root system 40 2018-08-27 15:46 fscklogs
crw-rw-rw- 1 root root 1, 7 1970-04-06 15:12 full
crw------- 1 root root 10, 229 1970-04-06 15:12 fuse
drwxr-xr-x 2 root root 80 1970-04-06 15:12 graphics
crw-rw---- 1 system system 10, 48 1970-04-06 15:12 hw_bfm
crw------- 1 root root 10, 183 1970-04-06 15:12 hw_random
crw-rw-rw- 1 root root 10, 56 1970-04-06 15:12 hwbinder
crw-rw--w- 1 root system 10, 50 1970-04-06 15:12 hwlog_dubai
crw-rw--w- 1 root log 10, 52 1970-04-06 15:12 hwlog_exception
crw-rw--w- 1 root system 10, 51 1970-04-06 15:12 hwlog_jank
crw------- 1 root root 10, 62 1970-04-06 15:12 hwlog_mem
crw-rw---- 1 system system 10, 49 1970-04-06 15:12 hwlog_tag
crw------- 1 root root 89, 2 1970-04-06 15:12 i2c-2
crw------- 1 root root 89, 3 1970-04-06 15:12 i2c-3
crw-rw---- 1 media media 89, 5 1970-04-06 15:12 i2c-5
crw------- 1 root root 237, 0 1970-04-06 15:12 icesdcc
drwxr-xr-x 2 root root 180 2018-08-27 15:46 input
dr-xr-xr-x 4 system system 0 1970-04-06 15:12 iolimit
crw-rw-r-- 1 system system 10, 94 1970-04-06 15:12 ion
crw-rw---- 1 radio radio 250, 0 1970-04-06 15:12 ipa
crw-rw---- 1 radio radio 249, 0 1970-04-06 15:12 ipaNatTable
crw------- 1 root root 248, 0 1970-04-06 15:12 ipa_tethering_bridge
crw-rw---- 1 system camera 231, 0 1970-04-06 15:12 jpeg0
crw------- 1 root root 10, 57 1970-04-06 15:12 keychord
crw-rw-rw- 1 system system 239, 0 2018-08-27 16:45 kgsl-3d0
crw--w---- 1 root system 1, 11 1970-04-06 15:12 kmsg
crw------- 1 root root 10, 237 1970-04-06 15:12 loop-control
crw------- 1 root root 227, 2 1970-04-06 15:12 mdsprpc-smd
crw-rw-r-- 1 system system 246, 0 1970-04-06 15:12 mdss_rotator
crw-rw---- 1 system camera 251, 0 1970-04-06 15:12 media0
crw-rw---- 1 system camera 251, 1 2018-08-27 15:46 media1
crw-rw---- 1 system camera 251, 2 2018-08-27 15:46 media2
crw-rw---- 1 system camera 251, 3 2018-08-27 15:46 media3
drwx------ 3 root system 60 1970-04-06 15:12 memcg
crw------- 1 root root 10, 38 1970-04-06 15:12 memory_bandwidth
crw------- 1 root root 256, 0 1970-04-06 15:12 msm-rng
crw-rw---- 1 system audio 10, 77 1970-04-06 15:12 msm_aac
crw-rw---- 1 system audio 10, 85 1970-04-06 15:12 msm_aac_in
crw-rw---- 1 system audio 10, 75 1970-04-06 15:12 msm_alac
crw-rw---- 1 system audio 10, 70 1970-04-06 15:12 msm_amrnb
crw-rw---- 1 system audio 10, 82 1970-04-06 15:12 msm_amrnb_in
crw-rw---- 1 system audio 10, 69 1970-04-06 15:12 msm_amrwb
crw-rw---- 1 system audio 10, 65 1970-04-06 15:12 msm_amrwb_in
crw-rw---- 1 system audio 10, 68 1970-04-06 15:12 msm_amrwbplus
crw-rw---- 1 system audio 10, 74 1970-04-06 15:12 msm_ape
crw-rw---- 1 system audio 10, 93 1970-04-06 15:12 msm_audio_cal
crw-rw---- 1 system audio 10, 67 1970-04-06 15:12 msm_evrc
crw-rw---- 1 system audio 10, 83 1970-04-06 15:12 msm_evrc_in
crw------- 1 root root 10, 72 1970-04-06 15:12 msm_g711alaw
crw------- 1 root root 10, 80 1970-04-06 15:12 msm_g711alaw_in
crw------- 1 root root 10, 73 1970-04-06 15:12 msm_g711mlaw
crw------- 1 root root 10, 81 1970-04-06 15:12 msm_g711mlaw_in
crw-rw---- 1 system audio 10, 64 1970-04-06 15:12 msm_hweffects
crw-rw---- 1 system audio 10, 71 1970-04-06 15:12 msm_mp3
crw-rw---- 1 system audio 10, 76 1970-04-06 15:12 msm_multi_aac
crw-rw---- 1 system audio 10, 66 1970-04-06 15:12 msm_qcelp
crw-rw---- 1 system audio 10, 84 1970-04-06 15:12 msm_qcelp_in
crw-rw---- 1 system audio 10, 46 1970-04-06 15:12 msm_rtac
crw------- 1 root root 254, 0 1970-04-06 15:12 msm_sps
crw------- 1 root root 253, 0 1970-04-06 15:12 msm_thermal_query
crw-rw---- 1 system audio 10, 79 1970-04-06 15:12 msm_wma
crw-rw---- 1 system audio 10, 78 1970-04-06 15:12 msm_wmapro
crw-rw---- 1 root mtp 10, 27 1970-04-06 15:12 mtp_usb
crw------- 1 root root 10, 40 1970-04-06 15:12 network_latency
crw------- 1 root root 10, 39 1970-04-06 15:12 network_throughput
crw-rw-rw- 1 root root 1, 3 1970-04-06 15:12 null
drwxrwxr-x 2 root system 40 2018-08-27 16:43 oinv
crw------- 1 root root 10, 86 1970-04-06 15:12 pil_mss_ctl
crw-rw---- 1 radio vpn 108, 0 1970-04-06 15:12 ppp
crw------- 1 root root 10, 1 1970-04-06 15:12 psaux
crw-rw---- 1 system system 10, 24 1970-04-06 15:12 pta
crw-rw-rw- 1 root root 5, 2 2018-08-27 16:45 ptmx
drwxr-xr-x 2 root root 0 1970-01-01 03:00 pts
crw------- 1 root root 10, 60 1970-04-06 15:12 qce
crw-rw---- 1 system drmrpc 238, 0 1970-04-06 15:12 qseecom
crw-r----- 1 system system 81, 21 1970-04-06 15:12 radio0
crw-r----- 1 system system 10, 88 1970-04-06 15:12 ramdump_a506_zap
crw-r----- 1 system system 10, 44 1970-04-06 15:12 ramdump_adsp
crw-r----- 1 system system 10, 36 1970-04-06 15:12 ramdump_adsp_rh
crw-r----- 1 system system 10, 89 1970-04-06 15:12 ramdump_memshare_DIAG
crw-r----- 1 system system 10, 90 1970-04-06 15:12 ramdump_memshare_FTM
crw-r----- 1 system system 10, 91 1970-04-06 15:12 ramdump_memshare_GPS
crw-r----- 1 system system 10, 42 1970-04-06 15:12 ramdump_modem
crw-r----- 1 system system 10, 37 1970-04-06 15:12 ramdump_smem
crw-r----- 1 system system 10, 87 1970-04-06 15:12 ramdump_venus
crw-r----- 1 system system 10, 43 1970-04-06 15:12 ramdump_wcnss
crw-rw-rw- 1 root root 1, 8 1970-04-06 15:12 random
crw------- 1 root root 10, 103 1970-04-06 15:12 reset_magic
crw------- 1 root root 10, 92 1970-04-06 15:12 rfkill
crw-rw---- 1 usb usb 10, 34 1970-04-06 15:12 rmnet_ctrl
crw------- 1 root root 10, 33 1970-04-06 15:12 rmnet_ctrl1
crw------- 1 root root 10, 32 1970-04-06 15:12 rmnet_ctrl2
crw------- 1 root root 10, 31 1970-04-06 15:12 rmnet_ctrl3
crw-rw---- 1 system system 252, 0 1970-04-06 15:12 rtc0
crw-rw---- 1 system system 227, 1 1970-04-06 15:12 sdsprpc-smd
crw------- 1 root root 228, 0 1970-04-06 15:12 sensors
crw------- 1 root root 242, 1 1970-04-06 15:12 smd1
crw-rw---- 1 radio radio 242, 11 1970-04-06 15:12 smd11
crw-rw---- 1 bluetooth bluetooth 242, 2 2018-08-27 16:26 smd2
crw------- 1 root root 242, 21 1970-04-06 15:12 smd21
crw------- 1 root root 241, 1 1970-04-06 15:12 smd22
crw-rw---- 1 bluetooth bluetooth 242, 3 2018-08-27 16:43 smd3
crw------- 1 root root 242, 36 1970-04-06 15:12 smd36
crw-rw---- 1 system system 242, 4 1970-04-06 15:12 smd4
crw-rw---- 1 system system 242, 5 1970-04-06 15:12 smd5
crw-rw---- 1 system system 242, 6 1970-04-06 15:12 smd6
crw-rw---- 1 bluetooth bluetooth 242, 7 1970-04-06 15:12 smd7
crw------- 1 root root 242, 8 1970-04-06 15:12 smd8
crw------- 1 root root 241, 4 1970-04-06 15:12 smd_pkt_loopback
crw-r----- 1 radio radio 241, 0 1970-04-06 15:12 smdcntl0
crw-r----- 1 radio radio 241, 2 1970-04-06 15:12 smdcntl8
drwxr-xr-x 2 root root 1620 2018-08-27 15:46 snd
drwxr-xr-x 7 root root 860 2018-08-27 16:45 socket
crw------- 1 root root 10, 47 1970-04-06 15:12 srecorder
drwxr-xr-x 5 system system 100 1970-04-06 15:12 stune
crw-r----- 1 system system 245, 0 1970-04-06 15:12 subsys_a506_zap
crw-r----- 1 system system 245, 2 1970-04-06 15:12 subsys_adsp
crw-r----- 1 system system 245, 4 1970-04-06 15:12 subsys_modem
crw-r----- 1 system system 245, 1 1970-04-06 15:12 subsys_venus
crw-r----- 1 system system 245, 3 1970-04-06 15:12 subsys_wcnss
crw------- 1 root root 10, 53 1970-04-06 15:12 sw_sync
crw-rw-rw- 1 root root 5, 0 1970-04-06 15:12 tty
crw-rw---- 1 system vpn 10, 200 1970-04-06 15:12 tun
crw-rw---- 1 system bluetooth 10, 239 1970-04-06 15:12 uhid
crw-rw---- 1 system bluetooth 10, 223 1970-04-06 15:12 uinput
crw-rw---- 1 system system 236, 0 1970-04-06 15:12 uio0
crw-rw---- 1 system system 236, 1 1970-04-06 15:12 uio1
crw-rw-rw- 1 root root 1, 9 1970-04-06 15:12 urandom
drwxrwx--- 4 shell shell 80 1970-04-06 15:12 usb-ffs
crw-rw---- 1 root usb 10, 25 1970-04-06 15:12 usb_accessory
crw-rw---- 1 system system 10, 63 1970-04-06 15:12 usf1
crw-rw---- 1 system camera 81, 3 1970-04-06 15:12 v4l-subdev0
crw-rw---- 1 system camera 81, 4 1970-04-06 15:12 v4l-subdev1
crw-rw---- 1 system camera 81, 13 1970-04-06 15:12 v4l-subdev10
crw-rw---- 1 system camera 81, 14 1970-04-06 15:12 v4l-subdev11
crw-rw---- 1 system camera 81, 15 1970-04-06 15:12 v4l-subdev12
crw-rw---- 1 system camera 81, 16 1970-04-06 15:12 v4l-subdev13
crw-rw---- 1 system camera 81, 17 1970-04-06 15:12 v4l-subdev14
crw-rw---- 1 system camera 81, 18 1970-04-06 15:12 v4l-subdev15
crw-rw---- 1 system camera 81, 19 1970-04-06 15:12 v4l-subdev16
crw-rw---- 1 system camera 81, 20 1970-04-06 15:12 v4l-subdev17
crw-rw---- 1 system camera 81, 23 2018-08-27 15:46 v4l-subdev18
crw-rw---- 1 system camera 81, 25 2018-08-27 15:46 v4l-subdev19
crw-rw---- 1 system camera 81, 5 1970-04-06 15:12 v4l-subdev2
crw-rw---- 1 system camera 81, 27 2018-08-27 15:46 v4l-subdev20
crw-rw---- 1 system camera 81, 6 1970-04-06 15:12 v4l-subdev3
crw-rw---- 1 system camera 81, 7 1970-04-06 15:12 v4l-subdev4
crw-rw---- 1 system camera 81, 8 1970-04-06 15:12 v4l-subdev5
crw-rw---- 1 system camera 81, 9 1970-04-06 15:12 v4l-subdev6
crw-rw---- 1 system camera 81, 10 1970-04-06 15:12 v4l-subdev7
crw-rw---- 1 system camera 81, 11 1970-04-06 15:12 v4l-subdev8
crw-rw---- 1 system camera 81, 12 1970-04-06 15:12 v4l-subdev9
crw------- 1 root root 10, 95 1970-04-06 15:12 vga_arbiter
crw-rw---- 1 system camera 81, 2 1970-04-06 15:12 video0
crw-rw---- 1 system camera 81, 22 2018-08-27 15:46 video1
crw-rw---- 1 system camera 81, 24 2018-08-27 15:46 video2
crw-rw---- 1 system camera 81, 26 2018-08-27 15:46 video3
crw-rw---- 1 system camera 81, 0 1970-04-06 15:12 video32
crw-rw---- 1 system camera 81, 1 1970-04-06 15:12 video33
crw-rw-rw- 1 root root 10, 55 1970-04-06 15:12 vndbinder
crw-rw---- 1 system system 10, 59 1970-04-06 15:12 wcnss_ctrl
crw-rw---- 1 system system 10, 58 1970-04-06 15:12 wcnss_wlan
crw-rw---- 1 radio radio 226, 0 1970-04-06 15:12 wwan_ioctl
crw-r--r-- 1 root root 10, 45 1970-04-06 15:12 xt_qtaguid
crw-rw-rw- 1 root root 1, 5 1970-04-06 15:12 zero
HWLND-Q:/ #

inguna said:
Send me screenshot of /dev directory or output of
Sorry about the wait. I will do it as soon as I get a chance
Click to expand...
Click to collapse
Hey, this one is a test build, I hope you have unlocked bootloader, flash it at your own risk, I have tried my best to avoid any bugs, but you may report if you find any.
Once you approve it, it would be available through the Original Post, i.e., the first post of this thread.
Here's the link:
https://mega.nz/#!vOQE1C7J!KP1xceVgZqPbpwZn_y3TPcTVN9ohBV5WuZqqC1gu7qc

Augustoandro said:
Hey, this one is a test build, I hope you have unlocked bootloader, flash it at your own risk, I have tried my best to avoid any bugs, but you may report if you find any.
Once you approve it, it would be available through the Original Post, i.e., the first post of this thread.
Here's the link:
https://mega.nz/#!2WgRVTxQ!V2YuWVcO1Rw00CF4yuI2t0cv2ASr9asslS3t5Nx1wmk
Click to expand...
Click to collapse
Thanks a lot! I will definately be donating you.
Do you mind me asking something before flashing your TWRP. I know nothing about TWRP porting and stuff but I have noticed it is nearly five times smaller than the stock recovery. Is it normal? Just a bit apprehensive. Sorry for asking :good:

inguna said:
Thanks a lot! I will definately be donating you.
Do you mind me asking something before flashing your TWRP. I know nothing about TWRP porting and stuff but I have noticed it is nearly five times smaller than the stock recovery. Is it normal? Just a bit apprehensive. Sorry for asking :good:
Click to expand...
Click to collapse
Yes, TWRP and Stock recovery sizes vary, since there are different files in them.

Related

[Q] Running X Server on the atrix 2

Hi. I saw and interesting blog post where someone was able to run arch linux on a nook color and run X server directly.
thomaspolasek.blogspot.ca/2012/04/arch-linux-lxde-w-xorg-mouse-keyboard_16.html
So I tried to do this with the Atrix 2, and managed to get Arch working fine through chroot but when I try startx there is a problem accessing the virtual terminal and I get this error.
Code:
Fatal server error:
xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
So I checked /dev and found tty, tty00 tty01. Assuming that they were simply named differently by the kernel I symblinked tty0 > tty, but unfortunately I get this error
Code:
Fatal server error:
xf86OpenConsole: Cannot find a free VT: Invalid argument
So I'm wondering if there is there any workaround that will allow X to use the VT? Or is some sort of kernel patch/module required? (wich I don't think would be possible due to the locked bootloader)
Also might it be possible to point X to the VT used by webtop?
bump
usus transformer infinity t700t
Alias.TDP said:
bump
Click to expand...
Click to collapse
When I read the article it seemed like a custom kernel was installed. Stock kernels may not be compiled with VT support, anyhow
my t700t is as follows
ls -l /dev/tty*
[email protected]:/dev# ls tty*
tty tty0 tty1 tty2 ttyFIQ0 ttyHS1 ttyHS2 ttyHS3 ttyHS4 ttyS0 ttyS1 ttyS2 ttyS3
[email protected]:/dev# ls -l tty*
crw-rw-rw- 1 root root 5, 0 May 11 17:58 tty
lrwxrwxrwx 1 root root 3 May 12 14:45 tty0 -> tty
lrwxrwxrwx 1 root root 5 May 12 14:44 tty1 -> ttyS1
lrwxrwxrwx 1 root root 5 May 12 14:44 tty2 -> ttyS2
crw------- 1 root root 254, 0 May 11 17:58 ttyFIQ0
crw-rw-r-- 1 root system 244, 1 May 12 14:26 ttyHS1
crw-rw---- 1 bluetooth bluetooth 244, 2 May 11 17:58 ttyHS2
crw------- 1 root root 244, 3 May 11 17:58 ttyHS3
crw------- 1 root root 244, 4 May 11 17:58 ttyHS4
crw------- 1 root root 4, 64 May 11 17:58 ttyS0
crw------- 1 root root 4, 65 May 11 17:58 ttyS1
crw------- 1 root root 4, 66 May 11 17:58 ttyS2
crw------- 1 root root 4, 67 May 11 17:58 ttyS3
[email protected]:/dev#
I added the -> links myself...
when I run x (using Xorg to start it) it tells me:
Current Operating System: Linux android-fe30b4a8071b23ff 3.1.10-00001-gdc9b6cf #1 SMP PREEMPT Fri Dec 28 19:02:52 CST 2012 armv7l
Kernel command line: tegra_wdt.heartbeat=30 tegraid=30.1.3.0.0 [email protected] commchip_id=0 androidboot.serialno=015d2a508b080209 androidboot.commchip_id=0 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,0 usbcore.old_scheme_first=1 [email protected] [email protected] core_edp_mv=0 audio_codec=wm8903 board_info=245:0:44:de:28 tegraboot=sdmmc gpt gpt_sector=124174335 android.kerneltype=normal androidboot.productid=0x04 androidboot.carrier=wifi-only
Build Date: 11 April 2013 01:10:43PM
so the console is using ttys0 at 155baud
so I'm going to have a look at VT support, though I probably need a custom kernel to get it up and running.
---------- Post added at 04:21 PM ---------- Previous post was at 04:02 PM ----------
here's a list of devices on my t770t as reported by sysfs
[email protected]:/sys# ls -l dev/char/ | grep tty
lrwxrwxrwx 1 root root 0 May 12 15:12 244:1 -> ../../devices/platform/tegra_uart.1/tty/ttyHS1
lrwxrwxrwx 1 root root 0 May 12 15:12 244:2 -> ../../devices/platform/tegra_uart.2/tty/ttyHS2
lrwxrwxrwx 1 root root 0 May 12 15:12 244:3 -> ../../devices/platform/tegra_uart.3/tty/ttyHS3
lrwxrwxrwx 1 root root 0 May 12 15:12 244:4 -> ../../devices/platform/tegra_uart.4/tty/ttyHS4
lrwxrwxrwx 1 root root 0 May 12 15:12 254:0 -> ../../devices/virtual/tty/ttyFIQ0
lrwxrwxrwx 1 root root 0 May 12 15:12 4:64 -> ../../devices/platform/serial8250/tty/ttyS0
lrwxrwxrwx 1 root root 0 May 12 15:12 4:65 -> ../../devices/platform/serial8250/tty/ttyS1
lrwxrwxrwx 1 root root 0 May 12 15:12 4:66 -> ../../devices/platform/serial8250/tty/ttyS2
lrwxrwxrwx 1 root root 0 May 12 15:12 4:67 -> ../../devices/platform/serial8250/tty/ttyS3
lrwxrwxrwx 1 root root 0 May 12 15:12 5:0 -> ../../devices/virtual/tty/tty
lrwxrwxrwx 1 root root 0 May 12 15:12 5:1 -> ../../devices/virtual/tty/console
lrwxrwxrwx 1 root root 0 May 12 15:12 5:2 -> ../../devices/virtual/tty/ptmx
[email protected]
You can start xorg as follows
Xorg vt##
replacing ## with the number of the vt e.g.
Xorg vt0
This gives me a mix of three sperate errors, a file not found if the vt# isn't in /dev/vtt#, and io error if i symlink to a ttys and ad error saying the device doesn't exist if i symink tty0 to tty

[Q] How many Android partition does it have ?

I am newbie on android , and I just though of few question after reading some of the partition. http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/
But what I do not understand is , are those partition a folder or real partition ?
As for commonly known , Windows partition consist of either 4 Primary partition or 3 primary 1 extended partition.
-Master boot record partition
-Primary (max 4 , min 0)
-Extended partition ( multiple logical partition )
What about android ? Let me know whether I am wrong
-/boot ( equal to MBR )
-/system /recovery /data /cache /misc (1 parimary partition with different path like /system32 , /Programs files /My Document and etc)
-/SDcard0 (Extended partition )
External SDcard = something like external hard disk.
Overall any android Device have 2 partition ,1 Primary (/system /recovery /data /cache /misc) and 1 Extended logical ( SDcard0)
Please correct me if I'm getting the idea wrong.
Any expert here able to clear out or confirm them ?
Kindly let me know the correct answer.
I am just a starter
It's a hard question ?
Even for a dev too ?
xdadfm said:
I am newbie on android , and I just though of few question after reading some of the partition. http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/
But what I do not understand is , are those partition a folder or real partition ?
As for commonly known , Windows partition consist of either 4 Primary partition or 3 primary 1 extended partition.
-Master boot record partition
-Primary (max 4 , min 0)
-Extended partition ( multiple logical partition )
What about android ? Let me know whether I am wrong
-/boot ( equal to MBR )
-/system /recovery /data /cache /misc (1 parimary partition with different path like /system32 , /Programs files /My Document and etc)
-/SDcard0 (Extended partition )
External SDcard = something like external hard disk.
Overall any android Device have 2 partition ,1 Primary (/system /recovery /data /cache /misc) and 1 Extended logical ( SDcard0)
Please correct me if I'm getting the idea wrong.
Click to expand...
Click to collapse
I'm not an expert but as far as I know :
android has 5 partitions ..
/boot
/system
/recovery
/data
/cache
and there Is the SD card partition
/sdcard
Boot: Contains Kernal and Ramdisk ,, Without This Partition The Device Simply Won't Boot
System: Contains The Entire Android System,Android User Interface and System Apps
Recovery: Another Booting Option For Performing Advanced Recovery And maintenance Operations
Data: Contains The User Data Such As Contacts,Messages ... etc
Cache: Where Android Stores Applications Components and Cache
Hope It Helps
falf123 said:
I'm not an expert but as far as I know :
android has 5 partitions ..
/boot
/system
/recovery
/data
/cache
and there Is the SD card partition
/sdcard
Boot: Contains Kernal and Ramdisk ,, Without This Partition The Device Simply Won't Boot
System: Contains The Entire Android System,Android User Interface and System Apps
Recovery: Another Booting Option For Performing Advanced Recovery And maintenance Operations
Data: Contains The User Data Such As Contacts,Messages ... etc
Cache: Where Android Stores Applications Components and Cache
Hope It Helps
Click to expand...
Click to collapse
The partition is actually real partition like what we did to a hardisk ?
Possible to have 5 partition on a Flash drive ? as for window , maximum is 4 primary partition .
The question you are asking requires a bit of an explanation, but I will do my best (forgive me if I gloss over some things).
When a windows PC boots up, it initializes CMOS which searches for the hard drive or other boot device based on the order set up in BIOS/CMOS. Once it finds a storage device it attempts to boot that device (i.e. hdd=hard disk drive, eMMC=electronic MultiMedia Card). There is a bit set somewhere that determines what type of filing system is on the drive. In linux, you can see the partition table by using fdisk (devices are located in the /dev folder and look like /dev/sda or /dev/mmcblk0, depending on the type and how many there are). Therefore the command would be 'fdisk /dev/sda' and let's take a look at that...
Welcome to fdisk (util-linux 2.32.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: xxxxxxxxxx (omitted)
Device Start End Sectors Size Type
/dev/sda1 2048 2050047 2048000 1000M Windows recovery environment
/dev/sda2 2050048 2582527 532480 260M EFI System
/dev/sda3 2582528 4630527 2048000 1000M Windows recovery environment
/dev/sda4 4630528 4892671 262144 128M Microsoft reserved
/dev/sda5 4892672 1619314687 1614422016 769.8G Microsoft basic data
/dev/sda6 1619314688 1845840078 226525391 108G Microsoft basic data
/dev/sda7 1845840094 1853995007 8154914 3.9G Microsoft basic data
/dev/sda8 1853995008 1858228223 4233216 2G Windows recovery environment
/dev/sda9 1858228224 1859151871 923648 451M Windows recovery environment
/dev/sda10 1859151872 1911580671 52428800 25G Microsoft basic data
/dev/sda11 1911580672 1953523711 41943040 20G Windows recovery environment
As you can see, my device "sda" has 11 partitions. 1,3,8,9,11 are all recovery partitions, 2 is an EFI partition, etc. A short list of possibilities...
1 EFI System C12A7328-F81F-11D2-BA4B-00A0C93EC93B
2 MBR partition scheme 024DEE41-33E7-11D3-9D69-0008C781F39F
3 Intel Fast Flash D3BFE2DE-3DAF-11DF-BA40-E3A556D89593
4 BIOS boot 21686148-6449-6E6F-744E-656564454649
5 Sony boot partition F4019732-066E-4E12-8273-346C5641494F
6 Lenovo boot partition BFBFAFE7-A34F-448A-9A5B-6213EB736C22
7 PowerPC PReP boot 9E1A2D38-C612-4316-AA26-8B49521E5A8B
8 ONIE boot 7412F7D5-A156-4B13-81DC-867174929325
9 ONIE config D4E6E2CD-4469-46F3-B5CB-1BFF57AFC149
10 Microsoft reserved E3C9E316-0B5C-4DB8-817D-F92DF00215AE
11 Microsoft basic data EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
12 Microsoft LDM metadata 5808C8AA-7E8F-42E0-85D2-E1E90434CFB3
13 Microsoft LDM data AF9B60A0-1431-4F62-BC68-3311714A69AD
14 Windows recovery environment DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
15 IBM General Parallel Fs 37AFFC90-EF7D-4E96-91C3-2D7AE055B174
16 Microsoft Storage Spaces E75CAF8F-F680-4CEE-AFA3-B001E56EFC2D
17 HP-UX data 75894C1E-3AEB-11D3-B7C1-7B03A0000000
18 HP-UX service E2A1E728-32E3-11D6-A682-7B03A0000000
19 Linux swap 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F
20 Linux filesystem 0FC63DAF-8483-4772-8E79-3D69D8477DE4
21 Linux server data 3B8F8425-20E0-4F3B-907F-1A25A76F98E8
22 Linux root (x86) 44479540-F297-41B2-9AF7-D131D5F0458A
23 Linux root (ARM) 69DAD710-2CE4-4E3C-B16C-21A1D49ABED3
24 Linux root (x86-64) 4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709
Each partition stores data differently. Windows 95 all the way through Windows ME uses FAT (File Allocation Table) and doesn't use user permissions on files. NTFS (Windows NT File System) is the updated version of FAT which had its evolution and caveats. NTFS is the Windows standard now because it 1) can handle file systems larger than 2GB and 2) has the ability to set user file permissions so only the owner can read/write/execute certain files. Android uses ext4, which is a linux file system. The difference is that linux doesn't have drive letters. In windows, C:\ is your normal hard drive, A:\ is a floppy drive, and all disk devices (Thumb drive, CD ROM drive, tape backup, etc) have a letter and are almost always "mounted". In linux... the "root" is / and every device is either mounted as a subfolder or listed in /dev. So if I do a ls /dev I get this as a result (ls is the same command as dir for windows/dos):
ls -l
total 0
crw-r--r-- 1 root root 10, 235 Aug 27 05:17 autofs
drwxr-xr-x 2 root root 340 Aug 27 05:34 block
drwxr-xr-x 2 root root 60 Aug 27 05:34 bsg
crw------- 1 root root 10, 234 Aug 27 05:17 btrfs-control
drwxr-xr-x 3 root root 60 Aug 26 22:17 bus
drwxr-xr-x 2 root root 3580 Aug 27 14:00 char
crw------- 1 root root 5, 1 Aug 27 05:17 console
lrwxrwxrwx 1 root root 11 Aug 26 22:17 core -> /proc/kcore
drwxr-xr-x 2 root root 60 Aug 26 22:17 cpu
crw------- 1 root root 10, 62 Aug 27 05:17 cpu_dma_latency
crw------- 1 root root 10, 203 Aug 27 05:17 cuse
drwxr-xr-x 8 root root 160 Aug 26 22:17 disk
drwxr-xr-x 3 root root 100 Aug 27 05:17 dri
crw------- 1 root root 245, 0 Aug 27 05:17 drm_dp_aux0
crw-rw---- 1 root video 29, 0 Aug 27 05:17 fb0
lrwxrwxrwx 1 root root 13 Aug 26 22:17 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Aug 27 05:17 full
crw-rw-rw- 1 root root 10, 229 Aug 27 05:17 fuse
crw------- 1 root root 247, 0 Aug 27 05:17 hidraw0
crw------- 1 root root 247, 1 Aug 27 05:17 hidraw1
crw------- 1 root root 10, 228 Aug 27 05:17 hpet
drwxr-xr-x 2 root root 0 Aug 27 05:17 hugepages
lrwxrwxrwx 1 root root 12 Aug 27 05:17 initctl -> /run/initctl
drwxr-xr-x 4 root root 580 Aug 27 05:44 input
crw-r--r-- 1 root root 1, 11 Aug 27 05:17 kmsg
crw-rw----+ 1 root kvm 10, 232 Aug 27 05:17 kvm
lrwxrwxrwx 1 root root 28 Aug 27 05:17 log -> /run/systemd/journal/dev-log
crw-rw---- 1 root disk 10, 237 Aug 27 05:17 loop-control
drwxr-xr-x 2 root root 60 Aug 27 05:17 mapper
crw-rw---- 1 root video 243, 0 Aug 27 05:17 media0
crw-rw---- 1 root video 243, 1 Aug 27 05:42 media1
crw-rw---- 1 root video 243, 2 Aug 27 05:43 media2
crw-rw---- 1 root video 243, 3 Aug 27 05:44 media3
crw-rw---- 1 root video 243, 4 Aug 27 05:44 media4
crw-rw---- 1 root video 243, 5 Aug 27 05:44 media5
crw-rw---- 1 root video 243, 6 Aug 27 05:44 media6
crw-rw---- 1 root video 243, 7 Aug 27 05:44 media7
crw------- 1 root root 244, 0 Aug 27 05:17 mei0
crw-r----- 1 root kmem 1, 1 Aug 27 05:17 mem
crw------- 1 root root 10, 59 Aug 27 05:17 memory_bandwidth
brw-rw---- 1 root disk 179, 0 Aug 27 05:17 mmcblk0
brw-rw---- 1 root disk 179, 1 Aug 27 05:17 mmcblk0p1
brw-rw---- 1 root disk 179, 2 Aug 27 05:17 mmcblk0p2
drwxrwxrwt 2 root root 40 Aug 26 22:17 mqueue
drwxr-xr-x 2 root root 60 Aug 27 05:17 net
crw------- 1 root root 10, 61 Aug 27 05:17 network_latency
crw------- 1 root root 10, 60 Aug 27 05:17 network_throughput
crw-rw-rw- 1 root root 1, 3 Aug 27 05:17 null
crw-r----- 1 root kmem 1, 4 Aug 27 05:17 port
crw------- 1 root root 108, 0 Aug 27 05:17 ppp
crw------- 1 root root 10, 1 Aug 27 05:17 psaux
crw-rw-rw- 1 root tty 5, 2 Aug 27 14:05 ptmx
drwxr-xr-x 2 root root 0 Aug 26 22:17 pts
crw-rw-rw- 1 root root 1, 8 Aug 27 05:17 random
crw-rw-r--+ 1 root netdev 10, 58 Aug 27 05:17 rfkill
lrwxrwxrwx 1 root root 4 Aug 27 05:17 rtc -> rtc0
crw------- 1 root root 252, 0 Aug 27 05:17 rtc0
brw-rw---- 1 root disk 8, 0 Aug 27 05:17 sda
brw-rw---- 1 root disk 8, 1 Aug 27 05:17 sda1
brw-rw---- 1 root disk 8, 10 Aug 27 05:17 sda10
brw-rw---- 1 root disk 8, 11 Aug 27 05:17 sda11
brw-rw---- 1 root disk 8, 2 Aug 27 05:17 sda2
brw-rw---- 1 root disk 8, 3 Aug 27 05:17 sda3
brw-rw---- 1 root disk 8, 4 Aug 27 05:17 sda4
brw-rw---- 1 root disk 8, 5 Aug 27 05:17 sda5
brw-rw---- 1 root disk 8, 6 Aug 27 05:17 sda6
brw-rw---- 1 root disk 8, 7 Aug 27 05:17 sda7
brw-rw---- 1 root disk 8, 8 Aug 27 05:17 sda8
brw-rw---- 1 root disk 8, 9 Aug 27 05:17 sda9
crw-rw---- 1 root disk 21, 0 Aug 27 05:17 sg0
drwxrwxrwt 2 root root 40 Aug 27 14:05 shm
crw------- 1 root root 10, 231 Aug 27 05:17 snapshot
drwxr-xr-x 3 root root 220 Aug 27 06:31 snd
lrwxrwxrwx 1 root root 15 Aug 26 22:17 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Aug 26 22:17 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Aug 26 22:17 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root tty 5, 0 Aug 27 13:16 tty
crw--w---- 1 root tty 4, 0 Aug 27 05:17 tty0
crw--w---- 1 root tty 4, 1 Aug 27 05:18 tty1
crw--w---- 1 root tty 4, 10 Aug 27 05:17 tty10
crw--w---- 1 root tty 4, 11 Aug 27 05:17 tty11
crw--w---- 1 root tty 4, 12 Aug 27 05:17 tty12
crw--w---- 1 root tty 4, 13 Aug 27 05:17 tty13
crw--w---- 1 root tty 4, 14 Aug 27 05:17 tty14
crw--w---- 1 root tty 4, 15 Aug 27 05:17 tty15
crw--w---- 1 root tty 4, 16 Aug 27 05:17 tty16
crw--w---- 1 root tty 4, 17 Aug 27 05:17 tty17
crw--w---- 1 root tty 4, 18 Aug 27 05:17 tty18
crw--w---- 1 root tty 4, 19 Aug 27 05:17 tty19
crw--w---- 1 root tty 4, 2 Aug 27 05:17 tty2
crw--w---- 1 root tty 4, 20 Aug 27 05:17 tty20
crw--w---- 1 root tty 4, 21 Aug 27 05:17 tty21
crw--w---- 1 root tty 4, 22 Aug 27 05:17 tty22
crw--w---- 1 root tty 4, 23 Aug 27 05:17 tty23
crw--w---- 1 root tty 4, 24 Aug 27 05:17 tty24
crw--w---- 1 root tty 4, 25 Aug 27 05:17 tty25
crw--w---- 1 root tty 4, 26 Aug 27 05:17 tty26
crw--w---- 1 root tty 4, 27 Aug 27 05:17 tty27
crw--w---- 1 root tty 4, 28 Aug 27 05:17 tty28
crw--w---- 1 root tty 4, 29 Aug 27 05:17 tty29
crw--w---- 1 root tty 4, 3 Aug 27 05:17 tty3
crw--w---- 1 root tty 4, 30 Aug 27 05:17 tty30
crw--w---- 1 root tty 4, 31 Aug 27 05:17 tty31
crw--w---- 1 root tty 4, 32 Aug 27 05:17 tty32
crw--w---- 1 root tty 4, 33 Aug 27 05:17 tty33
crw--w---- 1 root tty 4, 34 Aug 27 05:17 tty34
crw--w---- 1 root tty 4, 35 Aug 27 05:17 tty35
crw--w---- 1 root tty 4, 36 Aug 27 05:17 tty36
crw--w---- 1 root tty 4, 37 Aug 27 05:17 tty37
crw--w---- 1 root tty 4, 38 Aug 27 05:17 tty38
crw--w---- 1 root tty 4, 39 Aug 27 05:17 tty39
crw--w---- 1 root tty 4, 4 Aug 27 05:17 tty4
crw--w---- 1 root tty 4, 40 Aug 27 05:17 tty40
crw--w---- 1 root tty 4, 41 Aug 27 05:17 tty41
crw--w---- 1 root tty 4, 42 Aug 27 05:17 tty42
crw--w---- 1 root tty 4, 43 Aug 27 05:17 tty43
crw--w---- 1 root tty 4, 44 Aug 27 05:17 tty44
crw--w---- 1 root tty 4, 45 Aug 27 05:17 tty45
crw--w---- 1 root tty 4, 46 Aug 27 05:17 tty46
crw--w---- 1 root tty 4, 47 Aug 27 05:17 tty47
crw--w---- 1 root tty 4, 48 Aug 27 05:17 tty48
crw--w---- 1 root tty 4, 49 Aug 27 05:17 tty49
crw--w---- 1 root tty 4, 5 Aug 27 05:17 tty5
crw--w---- 1 root tty 4, 50 Aug 27 05:17 tty50
crw--w---- 1 root tty 4, 51 Aug 27 05:17 tty51
crw--w---- 1 root tty 4, 52 Aug 27 05:17 tty52
crw--w---- 1 root tty 4, 53 Aug 27 05:17 tty53
crw--w---- 1 root tty 4, 54 Aug 27 05:17 tty54
crw--w---- 1 root tty 4, 55 Aug 27 05:17 tty55
crw--w---- 1 root tty 4, 56 Aug 27 05:17 tty56
crw--w---- 1 root tty 4, 57 Aug 27 05:17 tty57
crw--w---- 1 root tty 4, 58 Aug 27 05:17 tty58
crw--w---- 1 root tty 4, 59 Aug 27 05:17 tty59
crw--w---- 1 root tty 4, 6 Aug 27 05:17 tty6
crw--w---- 1 root tty 4, 60 Aug 27 05:17 tty60
crw--w---- 1 root tty 4, 61 Aug 27 05:17 tty61
crw--w---- 1 root tty 4, 62 Aug 27 05:17 tty62
crw--w---- 1 root tty 4, 63 Aug 27 05:17 tty63
crw--w---- 1 root tty 4, 7 Aug 27 05:18 tty7
crw--w---- 1 root tty 4, 8 Aug 27 05:17 tty8
crw--w---- 1 root tty 4, 9 Aug 27 05:17 tty9
crw-rw---- 1 root dialout 4, 64 Aug 27 05:17 ttyS0
crw-rw---- 1 root dialout 4, 65 Aug 27 05:17 ttyS1
crw-rw---- 1 root dialout 4, 66 Aug 27 05:17 ttyS2
crw-rw---- 1 root dialout 4, 67 Aug 27 05:17 ttyS3
crw------- 1 root root 10, 239 Aug 27 05:17 uhid
crw------- 1 root root 10, 223 Aug 27 05:17 uinput
crw-rw-rw- 1 root root 1, 9 Aug 27 05:17 urandom
drwxr-xr-x 2 root root 80 Aug 27 09:50 usb
drwxr-xr-x 4 root root 80 Aug 27 05:17 v4l
crw------- 1 root root 10, 57 Aug 27 05:18 vboxdrv
crw------- 1 root root 10, 56 Aug 27 05:18 vboxdrvu
crw------- 1 root root 10, 55 Aug 27 05:18 vboxnetctl
drwxr-x--- 4 root vboxusers 80 Aug 27 05:17 vboxusb
crw-rw---- 1 root tty 7, 0 Aug 27 05:17 vcs
crw-rw---- 1 root tty 7, 1 Aug 27 05:17 vcs1
crw-rw---- 1 root tty 7, 2 Aug 27 05:17 vcs2
crw-rw---- 1 root tty 7, 3 Aug 27 05:17 vcs3
crw-rw---- 1 root tty 7, 4 Aug 27 05:17 vcs4
crw-rw---- 1 root tty 7, 5 Aug 27 05:17 vcs5
crw-rw---- 1 root tty 7, 6 Aug 27 05:17 vcs6
crw-rw---- 1 root tty 7, 7 Aug 27 05:18 vcs7
crw-rw---- 1 root tty 7, 128 Aug 27 05:17 vcsa
crw-rw---- 1 root tty 7, 129 Aug 27 05:17 vcsa1
crw-rw---- 1 root tty 7, 130 Aug 27 05:17 vcsa2
crw-rw---- 1 root tty 7, 131 Aug 27 05:17 vcsa3
crw-rw---- 1 root tty 7, 132 Aug 27 05:17 vcsa4
crw-rw---- 1 root tty 7, 133 Aug 27 05:17 vcsa5
crw-rw---- 1 root tty 7, 134 Aug 27 05:17 vcsa6
crw-rw---- 1 root tty 7, 135 Aug 27 05:18 vcsa7
drwxr-xr-x 2 root root 60 Aug 27 05:17 vfio
crw------- 1 root root 10, 63 Aug 27 05:17 vga_arbiter
crw------- 1 root root 10, 137 Aug 27 05:17 vhci
crw------- 1 root root 10, 238 Aug 27 05:17 vhost-net
crw------- 1 root root 10, 241 Aug 27 05:17 vhost-vsock
crw-rw----+ 1 root video 81, 0 Aug 27 05:17 video0
crw-rw----+ 1 root video 81, 1 Aug 27 05:17 video1
crw------- 1 root root 10, 130 Aug 27 05:17 watchdog
crw------- 1 root root 249, 0 Aug 27 05:17 watchdog0
crw-rw-rw- 1 root root 1, 5 Aug 27 05:17 zero
As you can see there are a lot of devices, and some of those are pipes/other linux things. To get a list of BLOCK devices, we can either use the lsblk command or we can go into the /dev/block folder and type ls...
/dev/block$ ls -l
total 0
lrwxrwxrwx 1 root root 10 Aug 27 05:17 179:0 -> ../mmcblk0
lrwxrwxrwx 1 root root 12 Aug 27 05:17 179:1 -> ../mmcblk0p1
lrwxrwxrwx 1 root root 12 Aug 27 05:17 179:2 -> ../mmcblk0p2
lrwxrwxrwx 1 root root 6 Aug 27 05:17 8:0 -> ../sda
lrwxrwxrwx 1 root root 7 Aug 27 05:17 8:1 -> ../sda1
lrwxrwxrwx 1 root root 8 Aug 27 05:17 8:10 -> ../sda10
lrwxrwxrwx 1 root root 8 Aug 27 05:17 8:11 -> ../sda11
lrwxrwxrwx 1 root root 7 Aug 27 05:17 8:2 -> ../sda2
lrwxrwxrwx 1 root root 7 Aug 27 05:17 8:3 -> ../sda3
lrwxrwxrwx 1 root root 7 Aug 27 05:17 8:4 -> ../sda4
lrwxrwxrwx 1 root root 7 Aug 27 05:17 8:5 -> ../sda5
lrwxrwxrwx 1 root root 7 Aug 27 05:17 8:6 -> ../sda6
lrwxrwxrwx 1 root root 7 Aug 27 05:17 8:7 -> ../sda7
lrwxrwxrwx 1 root root 7 Aug 27 05:17 8:8 -> ../sda8
lrwxrwxrwx 1 root root 7 Aug 27 05:17 8:9 -> ../sda9
Here you can see my sdcard (mmcblk0) and my primary hard drive (sda). The number at the end represents the partition number. As you cans see, I have 11 partitions on my hard drive on my laptop and my sdcard has 2 partitions (in liunx the first of almost everything is 0 instead of 1).
Those ARE real partitions... but the storage isn't exactly like a hard disk drive. All of the information is saved on memory chips in the phone, whereas a hard disk drive (HDD) uses magnetic dust to signify bits (if more dust is on the top of the sector it's a 1, and if more dust is down it's a zero). Also, there are MANY more Android partitions than the partitions that you listed.... using the "cat" command you can print a text file to the screen in linux (including Android) and the /proc/ folder has a bunch of text files with information about your device. Typing the command "cat /proc/partitions" on my ZTE prints this out...
$ cat /proc/partitions
major minor #blocks name
253 0 196608 zram0
179 0 7634944 mmcblk0
179 1 8192 mmcblk0p1
179 2 8192 mmcblk0p2
179 3 8192 mmcblk0p3
179 4 8192 mmcblk0p4
179 5 8192 mmcblk0p5
179 6 8192 mmcblk0p6
179 7 8192 mmcblk0p7
179 8 16384 mmcblk0p8
179 9 16384 mmcblk0p9
179 10 8192 mmcblk0p10
179 11 90112 mmcblk0p11
179 12 49152 mmcblk0p12
179 13 49152 mmcblk0p13
179 14 8192 mmcblk0p14
179 15 8192 mmcblk0p15
179 16 16384 mmcblk0p16
179 17 8192 mmcblk0p17
179 18 8192 mmcblk0p18
179 19 8192 mmcblk0p19
179 20 8192 mmcblk0p20
179 21 8192 mmcblk0p21
179 22 8192 mmcblk0p22
179 23 8192 mmcblk0p23
179 24 1024 mmcblk0p24
179 25 8192 mmcblk0p25
179 26 8192 mmcblk0p26
179 27 32768 mmcblk0p27
179 28 540672 mmcblk0p28
179 29 2621440 mmcblk0p29
179 30 4030447 mmcblk0p30
179 64 4096 mmcblk0rpmb
179 128 31260672 mmcblk1
179 129 31256576 mmcblk1p1
254 0 4030431 dm-0
Each of those partitions stores different information in them. One is the cache partition, which is where all app data is stored. One is for the baseband (cellular radio chip), zram0 is RAM, system contains the Android system file (like c:\windows). Nowadays, there is an frp partition to lock the device if someone attempts to factory reset the device, the account information is still maintained (as the data and cache partitions are formatted but frp isn't, and therefore Android won't let you in unless you supply the username and password). The laf partition has to do with Fastboot (a PC command line program to change the partitions) and there are also vendor, firmware, carrier, and several others that I don't know the purpose of.
I hope this helped you and maybe some other people.

Verizon Pixel Your device is corrupt. Bootloop, locked bootloader, no recovery. Help?

OTA update failed, the phone spontaneously shut off and rebooted to the beautiful "Your device is corrupt. It can't be trusted and may not work properly." screen. After being greeted by said screen, the phone reboots and goes to the same screen. Recovery doesn't boot. Fastboot doesn't allow me to flash any image (even signed from google). If I boot into fastboot and do a "fastboot continue", the phone boots to a blank screen with adb running in recovery mode, but with the port closed (can't flash a recovery OTA).
Someone please help. I've tried all solutions I could think of. I don't know what is left.
Sounds like a trip to a Verizon store is in your future :/
mruno said:
Sounds like a trip to a Verizon store is in your future :/
Click to expand...
Click to collapse
Any chance Google themselves would be able to take care of this?
mruno said:
Sounds like a trip to a Verizon store is in your future :/
Click to expand...
Click to collapse
I wonder if the OP unlocked the bootloader and rooted. If so, they might not take too kindly to replacing the device. If it's stock then head there today and get a new one. How about a factory reset attempt?
bobby janow said:
I wonder if the OP unlocked the bootloader and rooted. If so, they might not take too kindly to replacing the device. If it's stock then head there today and get a new one. How about a factory reset attempt?
Click to expand...
Click to collapse
Impossible to factory reset. Recovery does not boot. Bootloader is locked, as fastboot flashing unlock returns as invalid.
dwegiel said:
Impossible to factory reset. Recovery does not boot. Bootloader is locked, as fastboot flashing unlock returns as invalid.
Click to expand...
Click to collapse
Recovery doesn't boot? Do you get the dead Android or something else?
PiousInquisitor said:
Recovery doesn't boot? Do you get the dead Android or something else?
Click to expand...
Click to collapse
Same "Your device is corrupt. It can't be trusted and may not work properly.", and recovery fails to boot. Nothing on the display, phone either shuts off or boots to charging mode.
dwegiel said:
Same "Your device is corrupt. It can't be trusted and may not work properly.", and recovery fails to boot. Nothing on the display, phone either shuts off or boots to charging mode.
Click to expand...
Click to collapse
What was your situation before this started? Unlocked? Rooted?
Edit: I see you were updating.
PiousInquisitor said:
What was your situation before this started? Unlocked? Rooted?
Edit: I see you were updating.
Click to expand...
Click to collapse
None of the above, stock Android OS.
dwegiel said:
Same "Your device is corrupt. It can't be trusted and may not work properly.", and recovery fails to boot. Nothing on the display, phone either shuts off or boots to charging mode.
Click to expand...
Click to collapse
Recovery is sometimes not easy to get in to. I had to do it 3 times in a row before I got it to take. So I'm sure you know it's hold the power button and then hit vol up. But if you don't get it just right it will reboot or turn off. Does adb work?
Ok so this is getting weirder by the second. Just saw a teamwin recovery screen pop up...
I purchased this device second hand and used it with no problems until the first update, but it definitely looks somewhat tampered with. Any advice?
This occurs when I perform a fastboot continue. At that point I have adb up in recovery mode. But since I see nothing on screen, I can do nothing. Can't sideload because it's not at the sideload screen. Suggestions?
EDIT: Okay, so I have a VERY basic adb shell up through TWRP. I can't access TWRP directly because it "hasn't started". Ideas?
EDIT2: adb shell has basic busybox commands and is running root. I have downloaded a new TWRP image. What is the partition where the pixel has its recovery? Under /dev/block/mmc....?
Can you get into bootloader?
Which slot is active?
Can you
Fastboot set_active _b
Or
Fastboot set_active _a
And try getting to recovery or booting?
Sent from my sailfish using XDA Labs
nednednerb said:
Can you get into bootloader?
Which slot is active?
Can you
Fastboot set_active _b
Or
Fastboot set_active _a
And try getting to recovery or booting?
Sent from my sailfish using XDA Labs
Click to expand...
Click to collapse
b slot is active. Will reboot now and (attempt to) switch to a. Found the appropriate fastboot by googling, please hold...
Code:
Setting current slot to 'a'...
(bootloader) Command is not supported.
(bootloader) Please unlock device to enable this command.
FAILED (remote failure)
finished. total time: 0.098s
What a surprise
Also to clear up, the only way for me to get thrown into this psuedo adb shell in TWRP is to "fastboot continue" at the fastboot screen. Recovery fails to boot. System fails to boot. Fastboot is useless because oem unlock is not possible.
Partition table dumped. Any ideas for where the recovery resides?
Side note: I have never ever seen this many partitions on any device. Ever.
Code:
# cat /proc/partitions
major minor #blocks name
8 16 4096 sdb
8 17 4052 sdb1
8 32 4096 sdc
8 33 4052 sdc1
8 48 49152 sdd
8 49 1024 sdd1
8 50 8 sdd2
8 51 32768 sdd3
8 52 128 sdd4
8 53 4 sdd5
8 54 4 sdd6
8 55 1024 sdd7
8 56 4 sdd8
8 57 2048 sdd9
8 58 2048 sdd10
8 59 1024 sdd11
8 60 4 sdd12
8 61 9020 sdd13
8 0 124866560 sda
8 1 512 sda1
8 2 512 sda2
8 3 512 sda3
8 4 512 sda4
8 5 2048 sda5
8 6 2048 sda6
8 7 512 sda7
8 8 512 sda8
8 9 512 sda9
8 10 512 sda10
8 11 512 sda11
8 12 512 sda12
8 13 256 sda13
8 14 256 sda14
8 15 256 sda15
259 0 256 sda16
259 1 4096 sda17
259 2 4096 sda18
259 3 32768 sda19
259 4 32768 sda20
259 5 32768 sda21
259 6 32768 sda22
259 7 128 sda23
259 8 128 sda24
259 9 71680 sda25
259 10 71680 sda26
259 11 256 sda27
259 12 256 sda28
259 13 256 sda29
259 14 256 sda30
259 15 307200 sda31
259 16 307200 sda32
259 17 2097152 sda33
259 18 2097152 sda34
259 19 119758848 sda35
259 20 4820 sda36
8 64 36864 sde
8 65 512 sde1
8 66 6144 sde2
8 67 4096 sde3
8 68 2048 sde4
8 69 16384 sde5
8 70 7636 sde6
8 80 8192 sdf
8 81 16 sdf1
8 82 256 sdf2
8 83 2048 sdf3
8 84 4 sdf4
8 85 5824 sdf5
Full partition table dumped:
Code:
lrwxrwxrwx 1 root root 16 Jan 1 13:41 aboot_a -> /dev/block/sda17
lrwxrwxrwx 1 root root 16 Jan 1 13:41 aboot_b -> /dev/block/sda18
lrwxrwxrwx 1 root root 16 Jan 1 13:41 apdp_a -> /dev/block/sda29
lrwxrwxrwx 1 root root 16 Jan 1 13:41 apdp_b -> /dev/block/sda30
lrwxrwxrwx 1 root root 15 Jan 1 13:41 board_info -> /dev/block/sdf1
lrwxrwxrwx 1 root root 16 Jan 1 13:41 boot_a -> /dev/block/sda19
lrwxrwxrwx 1 root root 16 Jan 1 13:41 boot_b -> /dev/block/sda20
lrwxrwxrwx 1 root root 15 Jan 1 13:41 bootlocker_a -> /dev/block/sda1
lrwxrwxrwx 1 root root 15 Jan 1 13:41 bootlocker_b -> /dev/block/sda2
lrwxrwxrwx 1 root root 16 Jan 1 13:41 cdt -> /dev/block/sdd12
lrwxrwxrwx 1 root root 16 Jan 1 13:41 cmnlib32_a -> /dev/block/sda13
lrwxrwxrwx 1 root root 16 Jan 1 13:41 cmnlib32_b -> /dev/block/sda14
lrwxrwxrwx 1 root root 16 Jan 1 13:41 cmnlib64_a -> /dev/block/sda15
lrwxrwxrwx 1 root root 16 Jan 1 13:41 cmnlib64_b -> /dev/block/sda16
lrwxrwxrwx 1 root root 16 Jan 1 13:41 ddr -> /dev/block/sdd11
lrwxrwxrwx 1 root root 16 Jan 1 13:41 devcfg_a -> /dev/block/sda23
lrwxrwxrwx 1 root root 16 Jan 1 13:41 devcfg_b -> /dev/block/sda24
lrwxrwxrwx 1 root root 15 Jan 1 13:41 devinfo -> /dev/block/sdf4
lrwxrwxrwx 1 root root 15 Jan 1 13:41 devinfobak -> /dev/block/sdd5
lrwxrwxrwx 1 root root 15 Jan 1 13:41 dip -> /dev/block/sdd7
lrwxrwxrwx 1 root root 15 Jan 1 13:41 dpo -> /dev/block/sdd6
lrwxrwxrwx 1 root root 15 Jan 1 13:41 frp -> /dev/block/sde1
lrwxrwxrwx 1 root root 15 Jan 1 13:41 fsc -> /dev/block/sdd8
lrwxrwxrwx 1 root root 15 Jan 1 13:41 fsg -> /dev/block/sdf3
lrwxrwxrwx 1 root root 16 Jan 1 13:41 hosd_a -> /dev/block/sda21
lrwxrwxrwx 1 root root 16 Jan 1 13:41 hosd_b -> /dev/block/sda22
lrwxrwxrwx 1 root root 16 Jan 1 13:41 hyp_a -> /dev/block/sda11
lrwxrwxrwx 1 root root 16 Jan 1 13:41 hyp_b -> /dev/block/sda12
lrwxrwxrwx 1 root root 15 Jan 1 13:41 keymaster_a -> /dev/block/sda3
lrwxrwxrwx 1 root root 15 Jan 1 13:41 keymaster_b -> /dev/block/sda4
lrwxrwxrwx 1 root root 15 Jan 1 13:41 metadata -> /dev/block/sde5
lrwxrwxrwx 1 root root 15 Jan 1 13:41 mfg -> /dev/block/sdf2
lrwxrwxrwx 1 root root 15 Jan 1 13:41 misc -> /dev/block/sdd1
lrwxrwxrwx 1 root root 16 Jan 1 13:41 modem_a -> /dev/block/sda25
lrwxrwxrwx 1 root root 16 Jan 1 13:41 modem_b -> /dev/block/sda26
lrwxrwxrwx 1 root root 15 Jan 1 13:41 modemst1 -> /dev/block/sdd9
lrwxrwxrwx 1 root root 16 Jan 1 13:41 modemst2 -> /dev/block/sdd10
lrwxrwxrwx 1 root root 16 Jan 1 13:41 msadp_a -> /dev/block/sda27
lrwxrwxrwx 1 root root 16 Jan 1 13:41 msadp_b -> /dev/block/sda28
lrwxrwxrwx 1 root root 15 Jan 1 13:41 persist -> /dev/block/sdd3
lrwxrwxrwx 1 root root 15 Jan 1 13:41 pg1fs -> /dev/block/sde3
lrwxrwxrwx 1 root root 15 Jan 1 13:41 pg2fs -> /dev/block/sde4
lrwxrwxrwx 1 root root 15 Jan 1 13:41 pmic_a -> /dev/block/sda9
lrwxrwxrwx 1 root root 16 Jan 1 13:41 pmic_b -> /dev/block/sda10
lrwxrwxrwx 1 root root 15 Jan 1 13:41 ramdump -> /dev/block/sde2
lrwxrwxrwx 1 root root 16 Jan 1 13:41 reserve0 -> /dev/block/sda36
lrwxrwxrwx 1 root root 16 Jan 1 13:41 reserve3 -> /dev/block/sdd13
lrwxrwxrwx 1 root root 15 Jan 1 13:41 reserve4 -> /dev/block/sde6
lrwxrwxrwx 1 root root 15 Jan 1 13:41 reserve5 -> /dev/block/sdf5
lrwxrwxrwx 1 root root 15 Jan 1 13:41 rpm_a -> /dev/block/sda7
lrwxrwxrwx 1 root root 15 Jan 1 13:41 rpm_b -> /dev/block/sda8
lrwxrwxrwx 1 root root 15 Jan 1 13:41 sec -> /dev/block/sdd4
lrwxrwxrwx 1 root root 15 Jan 1 13:41 ssd -> /dev/block/sdd2
lrwxrwxrwx 1 root root 16 Jan 1 13:41 system_a -> /dev/block/sda33
lrwxrwxrwx 1 root root 16 Jan 1 13:41 system_b -> /dev/block/sda34
lrwxrwxrwx 1 root root 15 Jan 1 13:41 tz_a -> /dev/block/sda5
lrwxrwxrwx 1 root root 15 Jan 1 13:41 tz_b -> /dev/block/sda6
lrwxrwxrwx 1 root root 16 Jan 1 13:41 userdata -> /dev/block/sda35
lrwxrwxrwx 1 root root 16 Jan 1 13:41 vendor_a -> /dev/block/sda31
lrwxrwxrwx 1 root root 16 Jan 1 13:41 vendor_b -> /dev/block/sda32
lrwxrwxrwx 1 root root 15 Jan 1 13:41 xbl_a -> /dev/block/sdb1
lrwxrwxrwx 1 root root 15 Jan 1 13:41 xbl_b -> /dev/block/sdc1
SUCCESS. Stock recovery boots.
Used the gimped TWRP adb shell to push aboot.img and boot.img from a stock rom. And dded them to the respective partitions, on the _b boot slots.
dwegiel said:
SUCCESS. Stock recovery boots.
Used the gimped TWRP adb shell to push aboot.img and boot.img from a stock rom. And dded them to the respective partitions, on the _b boot slots.
Click to expand...
Click to collapse
May I suggest unlocking the bootloader now that you have things going better for you?
Did you ever get the system to boot up?
Can't FRP is locked. Guess the FRP partition got screwed.
dwegiel said:
SUCCESS. Stock recovery boots.
Used the gimped TWRP adb shell to push aboot.img and boot.img from a stock rom. And dded them to the respective partitions, on the _b boot slots.
Click to expand...
Click to collapse
I have the same problem. I'm trying to follow your steps, but I'm lost
Currently, phone is on Boot-slot: b
Code:
fastboot set_active_a
usage: fastboot [ <option> ] <command>
doesn't do anything
sorry I'm noob. Please help.
azn6929 said:
I have the same problem. I'm trying to follow your steps, but I'm lost
Currently, phone is on Boot-slot: b
Code:
fastboot set_active_a
usage: fastboot [ <option> ] <command>
doesn't do anything
sorry I'm noob. Please help.
Click to expand...
Click to collapse
How do you have the same problem. You have a locked bootloader with TWRP?
Sent from my Pixel using Tapatalk
---------- Post added at 04:03 AM ---------- Previous post was at 04:01 AM ----------
Can you push full OTA image in stock recovery?
Sent from my Pixel using Tapatalk

[Android 11][OxygenOS] What is the new 'mmcblk0'?

The device is OnePlus 8 Pro, it is completely functional, booted for root ADB from LineageOS Recovery via fastboot -s XXXXXXXX boot lineage-recovery.img.
Bash:
$ adb --version
Android Debug Bridge version 1.0.41
Version 31.0.2-7242960
Installed as /opt/android-sdk/platform-tools/adb
Click to expand...
Click to collapse
Trying to follow some 4-6 years old online guides & QnAs (mostly written by Irfan Latif) on how to backup stock ROM & partitions using adb pull or adb exec-out.
All of these materials always reference an mmcblk0 partition. But in my case it is missing.
What I have instead are these:
Bash:
$ adb -s XXXXXXXX shell 'ls -al /dev/block' | grep -e '^[^d]'
total 0
lrwxrwxrwx 1 root root 37 1970-04-15 15:06 bootdevice -> /dev/block/platform/soc/XXXXXXX.ufshc
brw------- 1 root root 7, 0 1970-04-15 15:06 loop0
brw------- 1 root root 7, 8 1970-04-15 15:06 loop1
brw------- 1 root root 7, 80 1970-04-15 15:06 loop10
brw------- 1 root root 7, 88 1970-04-15 15:06 loop11
brw------- 1 root root 7, 96 1970-04-15 15:06 loop12
brw------- 1 root root 7, 104 1970-04-15 15:06 loop13
brw------- 1 root root 7, 112 1970-04-15 15:06 loop14
brw------- 1 root root 7, 120 1970-04-15 15:06 loop15
brw------- 1 root root 7, 16 1970-04-15 15:06 loop2
brw------- 1 root root 7, 24 1970-04-15 15:06 loop3
brw------- 1 root root 7, 32 1970-04-15 15:06 loop4
brw------- 1 root root 7, 40 1970-04-15 15:06 loop5
brw------- 1 root root 7, 48 1970-04-15 15:06 loop6
brw------- 1 root root 7, 56 1970-04-15 15:06 loop7
brw------- 1 root root 7, 64 1970-04-15 15:06 loop8
brw------- 1 root root 7, 72 1970-04-15 15:06 loop9
brw------- 1 root root 1, 0 1970-04-15 15:06 ram0
brw------- 1 root root 1, 1 1970-04-15 15:06 ram1
brw------- 1 root root 1, 10 1970-04-15 15:06 ram10
brw------- 1 root root 1, 11 1970-04-15 15:06 ram11
brw------- 1 root root 1, 12 1970-04-15 15:06 ram12
brw------- 1 root root 1, 13 1970-04-15 15:06 ram13
brw------- 1 root root 1, 14 1970-04-15 15:06 ram14
brw------- 1 root root 1, 15 1970-04-15 15:06 ram15
brw------- 1 root root 1, 2 1970-04-15 15:06 ram2
brw------- 1 root root 1, 3 1970-04-15 15:06 ram3
brw------- 1 root root 1, 4 1970-04-15 15:06 ram4
brw------- 1 root root 1, 5 1970-04-15 15:06 ram5
brw------- 1 root root 1, 6 1970-04-15 15:06 ram6
brw------- 1 root root 1, 7 1970-04-15 15:06 ram7
brw------- 1 root root 1, 8 1970-04-15 15:06 ram8
brw------- 1 root root 1, 9 1970-04-15 15:06 ram9
brw------- 1 root root 8, 0 1970-04-15 15:06 sda
brw------- 1 root root 8, 1 1970-04-15 15:06 sda1
brw------- 1 root root 8, 10 1970-04-15 15:06 sda10
brw------- 1 root root 8, 11 1970-04-15 15:06 sda11
brw------- 1 root root 8, 12 1970-04-15 15:06 sda12
brw------- 1 root root 8, 13 1970-04-15 15:06 sda13
brw------- 1 root root 8, 14 1970-04-15 15:06 sda14
brw------- 1 root root 8, 15 1970-04-15 15:06 sda15
brw------- 1 root root 259, 0 1970-04-15 15:06 sda16
brw------- 1 root root 259, 1 1970-04-15 15:06 sda17
brw------- 1 root root 259, 2 1970-04-15 15:06 sda18
brw------- 1 root root 259, 3 1970-04-15 15:06 sda19
brw------- 1 root root 8, 2 1970-04-15 15:06 sda2
brw------- 1 root root 259, 4 1970-04-15 15:06 sda20
brw------- 1 root root 259, 5 1970-04-15 15:06 sda21
brw------- 1 root root 259, 6 1970-04-15 15:06 sda22
brw------- 1 root root 259, 7 1970-04-15 15:06 sda23
brw------- 1 root root 8, 3 1970-04-15 15:09 sda3
brw------- 1 root root 8, 4 1970-04-15 15:06 sda4
brw------- 1 root root 8, 5 1970-04-15 15:06 sda5
brw------- 1 root root 8, 6 1970-04-15 15:06 sda6
brw------- 1 root root 8, 7 1970-04-15 15:06 sda7
brw------- 1 root root 8, 8 1970-04-15 15:06 sda8
brw------- 1 root root 8, 9 1970-04-15 15:06 sda9
brw------- 1 root root 8, 16 1970-04-15 15:06 sdb
brw------- 1 root root 8, 17 1970-04-15 15:06 sdb1
brw------- 1 root root 8, 18 1970-04-15 15:06 sdb2
brw------- 1 root root 8, 32 1970-04-15 15:06 sdc
brw------- 1 root root 8, 33 1970-04-15 15:06 sdc1
brw------- 1 root root 8, 34 1970-04-15 15:06 sdc2
brw------- 1 root root 8, 48 1970-04-15 15:06 sdd
brw------- 1 root root 8, 49 1970-04-15 15:06 sdd1
brw------- 1 root root 8, 50 1970-04-15 15:06 sdd2
brw------- 1 root root 8, 51 1970-04-15 15:06 sdd3
brw------- 1 root root 8, 52 1970-04-15 15:06 sdd4
brw------- 1 root root 8, 64 1970-04-15 15:06 sde
brw------- 1 root root 8, 65 1970-04-15 15:06 sde1
brw------- 1 root root 8, 74 1970-04-15 15:06 sde10
brw------- 1 root root 8, 75 1970-04-15 15:06 sde11
brw------- 1 root root 8, 76 1970-04-15 15:06 sde12
brw------- 1 root root 8, 77 1970-04-15 15:06 sde13
brw------- 1 root root 8, 78 1970-04-15 15:06 sde14
brw------- 1 root root 8, 79 1970-04-15 15:06 sde15
brw------- 1 root root 259, 8 1970-04-15 15:06 sde16
brw------- 1 root root 259, 9 1970-04-15 15:06 sde17
brw------- 1 root root 259, 10 1970-04-15 15:06 sde18
brw------- 1 root root 259, 11 1970-04-15 15:06 sde19
brw------- 1 root root 8, 66 1970-04-15 15:06 sde2
brw------- 1 root root 259, 12 1970-04-15 15:06 sde20
brw------- 1 root root 259, 13 1970-04-15 15:06 sde21
brw------- 1 root root 259, 14 1970-04-15 15:06 sde22
brw------- 1 root root 259, 15 1970-04-15 15:06 sde23
brw------- 1 root root 259, 16 1970-04-15 15:06 sde24
brw------- 1 root root 259, 17 1970-04-15 15:06 sde25
brw------- 1 root root 259, 18 1970-04-15 15:06 sde26
brw------- 1 root root 259, 19 1970-04-15 15:06 sde27
brw------- 1 root root 259, 20 1970-04-15 15:06 sde28
brw------- 1 root root 259, 21 1970-04-15 15:06 sde29
brw------- 1 root root 8, 67 1970-04-15 15:06 sde3
brw------- 1 root root 259, 22 1970-04-15 15:06 sde30
brw------- 1 root root 259, 23 1970-04-15 15:06 sde31
brw------- 1 root root 259, 24 1970-04-15 15:06 sde32
brw------- 1 root root 259, 25 1970-04-15 15:06 sde33
brw------- 1 root root 259, 26 1970-04-15 15:06 sde34
brw------- 1 root root 259, 27 1970-04-15 15:06 sde35
brw------- 1 root root 259, 28 1970-04-15 15:06 sde36
brw------- 1 root root 259, 29 1970-04-15 15:06 sde37
brw------- 1 root root 259, 30 1970-04-15 15:06 sde38
brw------- 1 root root 259, 31 1970-04-15 15:06 sde39
brw------- 1 root root 8, 68 1970-04-15 15:06 sde4
brw------- 1 root root 259, 32 1970-04-15 15:06 sde40
brw------- 1 root root 259, 33 1970-04-15 15:06 sde41
brw------- 1 root root 259, 34 1970-04-15 15:06 sde42
brw------- 1 root root 259, 35 1970-04-15 15:06 sde43
brw------- 1 root root 259, 36 1970-04-15 15:06 sde44
brw------- 1 root root 259, 37 1970-04-15 15:06 sde45
brw------- 1 root root 259, 38 1970-04-15 15:06 sde46
brw------- 1 root root 259, 39 1970-04-15 15:06 sde47
brw------- 1 root root 259, 40 1970-04-15 15:06 sde48
brw------- 1 root root 259, 41 1970-04-15 15:06 sde49
brw------- 1 root root 8, 69 1970-04-15 15:06 sde5
brw------- 1 root root 259, 42 1970-04-15 15:06 sde50
brw------- 1 root root 259, 43 1970-04-15 15:06 sde51
brw------- 1 root root 259, 44 1970-04-15 15:06 sde52
brw------- 1 root root 259, 45 1970-04-15 15:06 sde53
brw------- 1 root root 259, 46 1970-04-15 15:06 sde54
brw------- 1 root root 259, 47 1970-04-15 15:06 sde55
brw------- 1 root root 259, 48 1970-04-15 15:06 sde56
brw------- 1 root root 259, 49 1970-04-15 15:06 sde57
brw------- 1 root root 259, 50 1970-04-15 15:06 sde58
brw------- 1 root root 259, 51 1970-04-15 15:06 sde59
brw------- 1 root root 8, 70 1970-04-15 15:06 sde6
brw------- 1 root root 259, 52 1970-04-15 15:06 sde60
brw------- 1 root root 259, 53 1970-04-15 15:06 sde61
brw------- 1 root root 259, 54 1970-04-15 15:06 sde62
brw------- 1 root root 259, 55 1970-04-15 15:06 sde63
brw------- 1 root root 259, 56 1970-04-15 15:06 sde64
brw------- 1 root root 259, 57 1970-04-15 15:06 sde65
brw------- 1 root root 259, 58 1970-04-15 15:06 sde66
brw------- 1 root root 259, 59 1970-04-15 15:06 sde67
brw------- 1 root root 259, 60 1970-04-15 15:06 sde68
brw------- 1 root root 259, 61 1970-04-15 15:06 sde69
brw------- 1 root root 8, 71 1970-04-15 15:06 sde7
brw------- 1 root root 259, 62 1970-04-15 15:06 sde70
brw------- 1 root root 259, 63 1970-04-15 15:06 sde71
brw------- 1 root root 259, 64 1970-04-15 15:06 sde72
brw------- 1 root root 259, 65 1970-04-15 15:06 sde73
brw------- 1 root root 259, 66 1970-04-15 15:06 sde74
brw------- 1 root root 259, 67 1970-04-15 15:06 sde75
brw------- 1 root root 259, 68 1970-04-15 15:06 sde76
brw------- 1 root root 8, 72 1970-04-15 15:06 sde8
brw------- 1 root root 8, 73 1970-04-15 15:06 sde9
brw------- 1 root root 8, 80 1970-04-15 15:06 sdf
brw------- 1 root root 8, 81 1970-04-15 15:06 sdf1
brw------- 1 root root 8, 82 1970-04-15 15:06 sdf2
brw------- 1 root root 8, 83 1970-04-15 15:06 sdf3
brw------- 1 root root 8, 84 1970-04-15 15:06 sdf4
brw------- 1 root root 8, 85 1970-04-15 15:06 sdf5
brw------- 1 root root 8, 86 1970-04-15 15:06 sdf6
brw------- 1 root root 8, 87 1970-04-15 15:06 sdf7
brw------- 1 root root 8, 88 1970-04-15 15:06 sdf8
brw------- 1 root root 8, 89 1970-04-15 15:06 sdf9
brw------- 1 root root 254, 0 1970-04-15 15:06 zram0
Which one of those is the new mmcblk0? Which one should I pull to have a full backup of my device stock firmware as an .img file?
mmcblk0 is the internal NAND which contains the n partitions ( mmcblk0p1 ... mmcblk0pn ). Whereas mmcblk1 is the external SD-card.
Try this to backup NAND
Code:
adb exec-out "cat /dev/block/mmcblk0 | gzip" > C:\emmc_copy.zip
Take note that this operation can take very long ( a few hours ).
jwoegerbauer said:
mmcblk0 is the internal NAND which contains the n partitions ( mmcblk0p1 ... mmcblk0pn ). Whereas mmcblk1 is the external SD-card.
Try this to backup NAND
Code:
adb exec-out "cat /dev/block/mmcblk0 | gzip" > C:\emmc_copy.zip
Take note that this operation can take very long ( a few hours ).
Click to expand...
Click to collapse
The problem is that there is no mmcblk0 nor mmcblk1 on my device. Or maybe they were made invisible or somehow unlisted for ls.
Bash:
$ adb -s XXXXXXXX shell 'ls -shlap /dev/block'
total 0
0 drwxr-xr-x 5 root root 3.1K 1970-04-15 15:06 ./
0 drwxr-xr-x 11 root root 5.9K 1970-04-15 15:06 ../
0 lrwxrwxrwx 1 root root 37 1970-04-15 15:06 bootdevice -> /dev/block/platform/soc/1d84000.ufshc
0 drwxr-xr-x 2 root root 2.4K 1970-04-15 15:06 by-name/
0 brw------- 1 root root 7, 0 1970-04-15 15:06 loop0
0 brw------- 1 root root 7, 8 1970-04-15 15:06 loop1
0 brw------- 1 root root 7, 80 1970-04-15 15:06 loop10
0 brw------- 1 root root 7, 88 1970-04-15 15:06 loop11
0 brw------- 1 root root 7, 96 1970-04-15 15:06 loop12
0 brw------- 1 root root 7, 104 1970-04-15 15:06 loop13
0 brw------- 1 root root 7, 112 1970-04-15 15:06 loop14
0 brw------- 1 root root 7, 120 1970-04-15 15:06 loop15
0 brw------- 1 root root 7, 16 1970-04-15 15:06 loop2
0 brw------- 1 root root 7, 24 1970-04-15 15:06 loop3
0 brw------- 1 root root 7, 32 1970-04-15 15:06 loop4
0 brw------- 1 root root 7, 40 1970-04-15 15:06 loop5
0 brw------- 1 root root 7, 48 1970-04-15 15:06 loop6
0 brw------- 1 root root 7, 56 1970-04-15 15:06 loop7
0 brw------- 1 root root 7, 64 1970-04-15 15:06 loop8
0 brw------- 1 root root 7, 72 1970-04-15 15:06 loop9
0 drwxr-xr-x 3 root root 60 1970-04-15 15:06 platform/
0 brw------- 1 root root 1, 0 1970-04-15 15:06 ram0
0 brw------- 1 root root 1, 1 1970-04-15 15:06 ram1
0 brw------- 1 root root 1, 10 1970-04-15 15:06 ram10
0 brw------- 1 root root 1, 11 1970-04-15 15:06 ram11
0 brw------- 1 root root 1, 12 1970-04-15 15:06 ram12
0 brw------- 1 root root 1, 13 1970-04-15 15:06 ram13
0 brw------- 1 root root 1, 14 1970-04-15 15:06 ram14
0 brw------- 1 root root 1, 15 1970-04-15 15:06 ram15
0 brw------- 1 root root 1, 2 1970-04-15 15:06 ram2
0 brw------- 1 root root 1, 3 1970-04-15 15:06 ram3
0 brw------- 1 root root 1, 4 1970-04-15 15:06 ram4
0 brw------- 1 root root 1, 5 1970-04-15 15:06 ram5
0 brw------- 1 root root 1, 6 1970-04-15 15:06 ram6
0 brw------- 1 root root 1, 7 1970-04-15 15:06 ram7
0 brw------- 1 root root 1, 8 1970-04-15 15:06 ram8
0 brw------- 1 root root 1, 9 1970-04-15 15:06 ram9
0 brw------- 1 root root 8, 0 1970-04-15 15:06 sda
0 brw------- 1 root root 8, 1 1970-04-15 15:06 sda1
0 brw------- 1 root root 8, 10 1970-04-15 15:06 sda10
0 brw------- 1 root root 8, 11 1970-04-15 15:06 sda11
0 brw------- 1 root root 8, 12 1970-04-15 15:06 sda12
0 brw------- 1 root root 8, 13 1970-04-15 15:06 sda13
0 brw------- 1 root root 8, 14 1970-04-15 15:06 sda14
0 brw------- 1 root root 8, 15 1970-04-15 15:06 sda15
0 brw------- 1 root root 259, 0 1970-04-15 15:06 sda16
0 brw------- 1 root root 259, 1 1970-04-15 15:06 sda17
0 brw------- 1 root root 259, 2 1970-04-15 15:06 sda18
0 brw------- 1 root root 259, 3 1970-04-15 15:06 sda19
0 brw------- 1 root root 8, 2 1970-04-15 15:06 sda2
0 brw------- 1 root root 259, 4 1970-04-15 15:06 sda20
0 brw------- 1 root root 259, 5 1970-04-15 15:06 sda21
0 brw------- 1 root root 259, 6 1970-04-15 15:06 sda22
0 brw------- 1 root root 259, 7 1970-04-15 15:06 sda23
0 brw------- 1 root root 8, 3 1970-04-15 15:09 sda3
0 brw------- 1 root root 8, 4 1970-04-15 15:06 sda4
0 brw------- 1 root root 8, 5 1970-04-15 15:06 sda5
0 brw------- 1 root root 8, 6 1970-04-15 15:06 sda6
0 brw------- 1 root root 8, 7 1970-04-15 15:06 sda7
0 brw------- 1 root root 8, 8 1970-04-15 15:06 sda8
0 brw------- 1 root root 8, 9 1970-04-15 15:06 sda9
0 brw------- 1 root root 8, 16 1970-04-15 15:06 sdb
0 brw------- 1 root root 8, 17 1970-04-15 15:06 sdb1
0 brw------- 1 root root 8, 18 1970-04-15 15:06 sdb2
0 brw------- 1 root root 8, 32 1970-04-15 15:06 sdc
0 brw------- 1 root root 8, 33 1970-04-15 15:06 sdc1
0 brw------- 1 root root 8, 34 1970-04-15 15:06 sdc2
0 brw------- 1 root root 8, 48 1970-04-15 15:06 sdd
0 brw------- 1 root root 8, 49 1970-04-15 15:06 sdd1
0 brw------- 1 root root 8, 50 1970-04-15 15:06 sdd2
0 brw------- 1 root root 8, 51 1970-04-15 15:06 sdd3
0 brw------- 1 root root 8, 52 1970-04-15 15:06 sdd4
0 brw------- 1 root root 8, 64 1970-04-15 15:06 sde
0 brw------- 1 root root 8, 65 1970-04-15 15:06 sde1
0 brw------- 1 root root 8, 74 1970-04-15 15:06 sde10
0 brw------- 1 root root 8, 75 1970-04-15 15:06 sde11
0 brw------- 1 root root 8, 76 1970-04-15 15:06 sde12
0 brw------- 1 root root 8, 77 1970-04-15 15:06 sde13
0 brw------- 1 root root 8, 78 1970-04-15 15:06 sde14
0 brw------- 1 root root 8, 79 1970-04-15 15:06 sde15
0 brw------- 1 root root 259, 8 1970-04-15 15:06 sde16
0 brw------- 1 root root 259, 9 1970-04-15 15:06 sde17
0 brw------- 1 root root 259, 10 1970-04-15 15:06 sde18
0 brw------- 1 root root 259, 11 1970-04-15 15:06 sde19
0 brw------- 1 root root 8, 66 1970-04-15 15:06 sde2
0 brw------- 1 root root 259, 12 1970-04-15 15:06 sde20
0 brw------- 1 root root 259, 13 1970-04-15 15:06 sde21
0 brw------- 1 root root 259, 14 1970-04-15 15:06 sde22
0 brw------- 1 root root 259, 15 1970-04-15 15:06 sde23
0 brw------- 1 root root 259, 16 1970-04-15 15:06 sde24
0 brw------- 1 root root 259, 17 1970-04-15 15:06 sde25
0 brw------- 1 root root 259, 18 1970-04-15 15:06 sde26
0 brw------- 1 root root 259, 19 1970-04-15 15:06 sde27
0 brw------- 1 root root 259, 20 1970-04-15 15:06 sde28
0 brw------- 1 root root 259, 21 1970-04-15 15:06 sde29
0 brw------- 1 root root 8, 67 1970-04-15 15:06 sde3
0 brw------- 1 root root 259, 22 1970-04-15 15:06 sde30
0 brw------- 1 root root 259, 23 1970-04-15 15:06 sde31
0 brw------- 1 root root 259, 24 1970-04-15 15:06 sde32
0 brw------- 1 root root 259, 25 1970-04-15 15:06 sde33
0 brw------- 1 root root 259, 26 1970-04-15 15:06 sde34
0 brw------- 1 root root 259, 27 1970-04-15 15:06 sde35
0 brw------- 1 root root 259, 28 1970-04-15 15:06 sde36
0 brw------- 1 root root 259, 29 1970-04-15 15:06 sde37
0 brw------- 1 root root 259, 30 1970-04-15 15:06 sde38
0 brw------- 1 root root 259, 31 1970-04-15 15:06 sde39
0 brw------- 1 root root 8, 68 1970-04-15 15:06 sde4
0 brw------- 1 root root 259, 32 1970-04-15 15:06 sde40
0 brw------- 1 root root 259, 33 1970-04-15 15:06 sde41
0 brw------- 1 root root 259, 34 1970-04-15 15:06 sde42
0 brw------- 1 root root 259, 35 1970-04-15 15:06 sde43
0 brw------- 1 root root 259, 36 1970-04-15 15:06 sde44
0 brw------- 1 root root 259, 37 1970-04-15 15:06 sde45
0 brw------- 1 root root 259, 38 1970-04-15 15:06 sde46
0 brw------- 1 root root 259, 39 1970-04-15 15:06 sde47
0 brw------- 1 root root 259, 40 1970-04-15 15:06 sde48
0 brw------- 1 root root 259, 41 1970-04-15 15:06 sde49
0 brw------- 1 root root 8, 69 1970-04-15 15:06 sde5
0 brw------- 1 root root 259, 42 1970-04-15 15:06 sde50
0 brw------- 1 root root 259, 43 1970-04-15 15:06 sde51
0 brw------- 1 root root 259, 44 1970-04-15 15:06 sde52
0 brw------- 1 root root 259, 45 1970-04-15 15:06 sde53
0 brw------- 1 root root 259, 46 1970-04-15 15:06 sde54
0 brw------- 1 root root 259, 47 1970-04-15 15:06 sde55
0 brw------- 1 root root 259, 48 1970-04-15 15:06 sde56
0 brw------- 1 root root 259, 49 1970-04-15 15:06 sde57
0 brw------- 1 root root 259, 50 1970-04-15 15:06 sde58
0 brw------- 1 root root 259, 51 1970-04-15 15:06 sde59
0 brw------- 1 root root 8, 70 1970-04-15 15:06 sde6
0 brw------- 1 root root 259, 52 1970-04-15 15:06 sde60
0 brw------- 1 root root 259, 53 1970-04-15 15:06 sde61
0 brw------- 1 root root 259, 54 1970-04-15 15:06 sde62
0 brw------- 1 root root 259, 55 1970-04-15 15:06 sde63
0 brw------- 1 root root 259, 56 1970-04-15 15:06 sde64
0 brw------- 1 root root 259, 57 1970-04-15 15:06 sde65
0 brw------- 1 root root 259, 58 1970-04-15 15:06 sde66
0 brw------- 1 root root 259, 59 1970-04-15 15:06 sde67
0 brw------- 1 root root 259, 60 1970-04-15 15:06 sde68
0 brw------- 1 root root 259, 61 1970-04-15 15:06 sde69
0 brw------- 1 root root 8, 71 1970-04-15 15:06 sde7
0 brw------- 1 root root 259, 62 1970-04-15 15:06 sde70
0 brw------- 1 root root 259, 63 1970-04-15 15:06 sde71
0 brw------- 1 root root 259, 64 1970-04-15 15:06 sde72
0 brw------- 1 root root 259, 65 1970-04-15 15:06 sde73
0 brw------- 1 root root 259, 66 1970-04-15 15:06 sde74
0 brw------- 1 root root 259, 67 1970-04-15 15:06 sde75
0 brw------- 1 root root 259, 68 1970-04-15 15:06 sde76
0 brw------- 1 root root 8, 72 1970-04-15 15:06 sde8
0 brw------- 1 root root 8, 73 1970-04-15 15:06 sde9
0 brw------- 1 root root 8, 80 1970-04-15 15:06 sdf
0 brw------- 1 root root 8, 81 1970-04-15 15:06 sdf1
0 brw------- 1 root root 8, 82 1970-04-15 15:06 sdf2
0 brw------- 1 root root 8, 83 1970-04-15 15:06 sdf3
0 brw------- 1 root root 8, 84 1970-04-15 15:06 sdf4
0 brw------- 1 root root 8, 85 1970-04-15 15:06 sdf5
0 brw------- 1 root root 8, 86 1970-04-15 15:06 sdf6
0 brw------- 1 root root 8, 87 1970-04-15 15:06 sdf7
0 brw------- 1 root root 8, 88 1970-04-15 15:06 sdf8
0 brw------- 1 root root 8, 89 1970-04-15 15:06 sdf9
0 drwxr-xr-x 2 root root 40 1970-04-15 15:06 volmgr/
0 brw------- 1 root root 254, 0 1970-04-15 15:06 zram0
The command below produces an empty 71 byte archive.
Bash:
$ adb -s XXXXXXXX exec-out 'cat /dev/block/mmcblk0 | gzip' > backup/partitions/mmcblk0.tar.gz
$ ls -shlap backup/partitions/mmcblk0.tar.gz
4.0K -rw-rw-r-- 1 tanhok tanhok 71 Aug 5 18:26 backup/partitions/mmcblk0.tar.gz
Look inside here:
How To Gather Information About Partition Layouts
Ameer Dawood edited this page on 2 Jun 2013 · 7 revisions Note: I have obtained the below information with great effort and difficul...
shincdevnote.blogspot.com
jwoegerbauer said:
Look inside here:
How To Gather Information About Partition Layouts
Ameer Dawood edited this page on 2 Jun 2013 · 7 revisions Note: I have obtained the below information with great effort and difficul...
shincdevnote.blogspot.com
Click to expand...
Click to collapse
Bash:
$ adb -s XXXXXXXX shell 'cat /proc/partitions'
major minor #blocks name
1 0 8192 ram0
1 1 8192 ram1
1 2 8192 ram2
1 3 8192 ram3
1 4 8192 ram4
1 5 8192 ram5
1 6 8192 ram6
1 7 8192 ram7
1 8 8192 ram8
1 9 8192 ram9
1 10 8192 ram10
1 11 8192 ram11
1 12 8192 ram12
1 13 8192 ram13
1 14 8192 ram14
1 15 8192 ram15
8 16 8192 sdb
8 17 5120 sdb1
8 18 128 sdb2
8 0 247013376 sda
8 1 8 sda1
8 2 32768 sda2
8 3 1024 sda3
8 4 512 sda4
8 5 512 sda5
8 6 1024 sda6
8 7 10240 sda7
8 8 10240 sda8
8 9 307200 sda9
8 10 262144 sda10
8 11 512 sda11
8 12 307200 sda12
8 13 307200 sda13
8 14 14680064 sda14
8 15 102400 sda15
259 0 102400 sda16
259 1 64 sda17
259 2 64 sda18
259 3 16384 sda19
259 4 131072 sda20
259 5 131072 sda21
259 6 131072 sda22
259 7 230478156 sda23
8 32 8192 sdc
8 33 5120 sdc1
8 34 128 sdc2
8 48 131072 sdd
8 49 104 sdd1
8 50 128 sdd2
8 51 2048 sdd3
8 52 1024 sdd4
8 64 2621440 sde
8 65 512 sde1
8 66 4096 sde2
8 67 8192 sde3
8 68 524288 sde4
8 69 1024 sde5
8 70 4096 sde6
8 71 32768 sde7
8 72 8192 sde8
8 73 65536 sde9
8 74 512 sde10
8 75 98304 sde11
8 76 512 sde12
8 77 512 sde13
8 78 128 sde14
8 79 80 sde15
259 8 64 sde16
259 9 24576 sde17
259 10 2048 sde18
259 11 32 sde19
259 12 32 sde20
259 13 32768 sde21
259 14 128 sde22
259 15 2048 sde23
259 16 16384 sde24
259 17 512 sde25
259 18 4096 sde26
259 19 8192 sde27
259 20 524288 sde28
259 21 1024 sde29
259 22 4096 sde30
259 23 32768 sde31
259 24 8192 sde32
259 25 65536 sde33
259 26 512 sde34
259 27 98304 sde35
259 28 512 sde36
259 29 512 sde37
259 30 128 sde38
259 31 80 sde39
259 32 64 sde40
259 33 24576 sde41
259 34 2048 sde42
259 35 32 sde43
259 36 32 sde44
259 37 32768 sde45
259 38 128 sde46
259 39 2048 sde47
259 40 16384 sde48
259 41 4 sde49
259 42 1024 sde50
259 43 256 sde51
259 44 256 sde52
259 45 32768 sde53
259 46 4 sde54
259 47 4 sde55
259 48 8192 sde56
259 49 65536 sde57
259 50 128 sde58
259 51 512 sde59
259 52 28 sde60
259 53 128 sde61
259 54 4096 sde62
259 55 2048 sde63
259 56 65536 sde64
259 57 32768 sde65
259 58 307200 sde66
259 59 16192 sde67
259 60 16192 sde68
259 61 16192 sde69
259 62 16192 sde70
259 63 16192 sde71
259 64 8096 sde72
259 65 16192 sde73
259 66 16192 sde74
259 67 16192 sde75
259 68 128 sde76
8 80 131072 sdf
8 81 104 sdf1
8 82 2048 sdf2
8 83 2048 sdf3
8 84 2048 sdf4
8 85 128 sdf5
8 86 2048 sdf6
8 87 2048 sdf7
8 88 2048 sdf8
8 89 4 sdf9
OMG. It depends on what partition layout Android OS is based on.
It's on you to find that out.
jwoegerbauer said:
OMG. It depends on what partition layout Android OS is based on.
It's on you to find that out.
Click to expand...
Click to collapse
Where can I find which ones even exist to compare my situation against?
Code:
adb shell "[ -e '/proc/mtd' ] && echo 'is MTD layout'"
adb shell "[ -e '/proc/emmc' ] && echo 'is EMMC layout'"
adb shell "[ -e '/proc/dumchar_info' ] && echo 'is MTK layout'"
jwoegerbauer said:
Code:
adb shell "[ -e '/proc/mtd' ] && echo 'is MTD layout'"
adb shell "[ -e '/proc/emmc' ] && echo 'is EMMC layout'"
adb shell "[ -e '/proc/dumchar_info' ] && echo 'is MTK layout'"
Click to expand...
Click to collapse
None of the above.
Really weird. No more clues by me. Sorry.

Need help for the repartitioning of Z3 in order to install Windows 11

Recently I noticed that Windows 11 Arm64 version is possible to run on Z2 Force which has the same processor (Snapdragon 835) with my Z3 retcn version, so I feel very like to give it a try on my Z3. (Project Renegade)
Unfortunately I am stuck at the first step which is repartitioning the internal storage.
According to the guidelines, I will need to:
1. Repartition device;
2. Format new partitions;
3. Mount PE partition as /mnt;
4. (And other following steps);
The example given by the project's guidelines is OnePlus 6T 128GB, which apparently has its /userdata on /dev/block/sda, and its /dev/block/sda seems has only 17 partitions in place originally.
I see on my Z3 its /userdata is on /dev/block/sdb, which has already 21 partitions existing, and also it has so many disks existing as in below:
messi:/ # ls -l /dev/block/ | grep sd
brw------- 1 root root 8, 0 1970-01-01 00:17 sda
brw------- 1 root root 8, 1 1970-01-01 00:17 sda1
brw------- 1 root root 8, 2 1970-01-01 00:17 sda2
brw------- 1 root root 8, 16 2022-03-07 06:56 sdb
brw------- 1 root root 8, 17 1970-01-01 00:17 sdb1
brw------- 1 root root 8, 18 1970-01-01 00:17 sdb2
brw------- 1 root root 8, 19 2022-03-07 06:35 sdb3
brw------- 1 system system 8, 20 1970-01-01 00:17 sdb4
brw------- 1 root root 8, 21 1970-01-01 00:17 sdb5
brw------- 1 root root 8, 22 1970-01-01 00:17 sdb6
brw------- 1 root root 8, 23 1970-01-01 00:17 sdb7
brw------- 1 root root 8, 24 1970-01-01 00:17 sdb8
brw------- 1 root root 8, 25 1970-01-01 00:17 sdb9
brw------- 1 root root 8, 26 1970-01-01 00:17 sdb10
brw------- 1 root root 8, 27 1970-01-01 00:17 sdb11
brw------- 1 root root 8, 28 1970-01-01 00:17 sdb12
brw------- 1 root root 8, 29 1970-01-01 00:17 sdb13
brw------- 1 root root 8, 30 1970-01-01 00:17 sdb14
brw------- 1 root root 8, 31 1970-01-01 00:17 sdb15
brw------- 1 root root 259, 0 1970-01-01 00:17 sdb16
brw------- 1 root root 259, 1 1970-01-01 00:17 sdb17
brw------- 1 root root 259, 2 1970-01-01 00:17 sdb18
brw------- 1 root root 259, 3 1970-01-01 00:17 sdb19
brw------- 1 root root 259, 4 1970-01-01 00:17 sdb20
brw------- 1 root root 259, 5 2022-03-07 06:56 sdb21
brw------- 1 root root 8, 32 1970-01-01 00:17 sdc
brw------- 1 root root 8, 33 1970-01-01 00:17 sdc1
brw------- 1 root root 8, 48 1970-01-01 00:17 sdd
brw------- 1 root root 8, 49 1970-01-01 00:17 sdd1
brw------- 1 root root 8, 64 1970-01-01 00:17 sde
brw------- 1 root root 8, 65 1970-01-01 00:17 sde1
brw------- 1 root root 8, 66 1970-01-01 00:17 sde2
brw------- 1 root root 8, 67 1970-01-01 00:17 sde3
brw------- 1 root root 8, 68 1970-01-01 00:17 sde4
brw------- 1 root root 8, 69 1970-01-01 00:17 sde5
brw------- 1 root root 8, 70 1970-01-01 00:17 sde6
brw------- 1 root root 8, 71 1970-01-01 00:17 sde7
brw------- 1 root root 8, 72 1970-01-01 00:17 sde8
brw------- 1 root root 8, 73 1970-01-01 00:17 sde9
brw------- 1 root root 8, 74 1970-01-01 00:17 sde10
brw------- 1 root root 8, 75 1970-01-01 00:17 sde11
brw------- 1 root root 8, 76 1970-01-01 00:17 sde12
brw------- 1 root root 8, 77 1970-01-01 00:17 sde13
brw------- 1 root root 8, 78 1970-01-01 00:17 sde14
brw------- 1 root root 8, 79 1970-01-01 00:17 sde15
brw------- 1 root root 259, 6 1970-01-01 00:17 sde16
brw------- 1 root root 259, 7 1970-01-01 00:17 sde17
brw------- 1 root root 259, 8 1970-01-01 00:17 sde18
brw------- 1 root root 259, 9 1970-01-01 00:17 sde19
brw------- 1 root root 259, 10 1970-01-01 00:17 sde20
brw------- 1 root root 259, 11 1970-01-01 00:17 sde21
brw------- 1 root root 8, 80 1970-01-01 00:17 sdf
brw------- 1 root root 8, 81 1970-01-01 00:17 sdf1
brw------- 1 root root 8, 82 1970-01-01 00:17 sdf2
brw------- 1 root root 8, 83 1970-01-01 00:17 sdf3
brw------- 1 root root 8, 84 1970-01-01 00:17 sdf4
brw------- 1 root root 8, 85 1970-01-01 00:17 sdf5
brw------- 1 root root 8, 86 1970-01-01 00:17 sdf6
brw------- 1 root root 8, 87 1970-01-01 00:17 sdf7
brw------- 1 root root 8, 88 1970-01-01 00:17 sdf8
brw------- 1 root root 8, 89 1970-01-01 00:17 sdf9
brw------- 1 root root 8, 90 1970-01-01 00:17 sdf10
brw------- 1 root root 8, 91 1970-01-01 00:17 sdf11
brw------- 1 root root 8, 92 1970-01-01 00:17 sdf12
brw------- 1 root root 8, 93 1970-01-01 00:17 sdf13
brw------- 1 root root 8, 94 1970-01-01 00:17 sdf14
brw------- 1 root root 8, 95 1970-01-01 00:17 sdf15
brw------- 1 root root 259, 12 1970-01-01 00:17 sdf16
brw------- 1 root root 259, 13 1970-01-01 00:17 sdf17
brw------- 1 root root 259, 14 1970-01-01 00:17 sdf18
brw------- 1 root root 259, 15 1970-01-01 00:17 sdf19
brw------- 1 root root 259, 16 1970-01-01 00:17 sdf20
brw------- 1 root root 259, 17 1970-01-01 00:17 sdf21
The /userdata is on /dev/block/sdb which is like this (by parted):
messi:/ # parted /dev/block/sdb
GNU Parted 3.2
Using /dev/block/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: SAMSUNG KLUDG8V1EE-B0C1 (scsi)
Disk /dev/block/sdb: 116GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 131kB 139kB 8192B ssd
2 262kB 33.8MB 33.6MB ext4 persist
3 33.8MB 34.9MB 1049kB misc
4 34.9MB 35.4MB 524kB frp
5 35.4MB 35.9MB 524kB utags
6 35.9MB 36.4MB 524kB utagsBackup
7 36.4MB 36.6MB 131kB cid
8 36.6MB 37.1MB 524kB metadata
9 37.1MB 45.5MB 8389kB kpan
10 45.5MB 53.9MB 8389kB sp
11 53.9MB 70.6MB 16.8MB carrier
12 70.6MB 72.7MB 2097kB modemst1
13 72.7MB 74.8MB 2097kB modemst2
14 74.8MB 74.8MB 4096B fsc
15 75.0MB 75.0MB 4096B devinfo
16 75.1MB 83.5MB 8389kB logfs
17 83.5MB 83.5MB 16.4kB sec
18 83.6MB 83.9MB 262kB apdp
19 83.9MB 84.1MB 262kB msadp
20 84.1MB 84.2MB 4096B dpo
21 84.2MB 116GB 116GB ext4 userdata
The disk /dev/block/sdb1 has only 8192B and no partition created as shown below (Model: Unknown):
(parted) select /dev/block/sdb1
Using /dev/block/sdb1
(parted) print
Error: /dev/block/sdb1: unrecognised disk label
Model: Unknown (unknown)
Disk /dev/block/sdb1: 8192B
Sector size (logical/physical): 4096B/4096B
Partition Table: unknown
Disk Flags:
However, the disk /dev/block/sdb2 has 1 partition (33.6MB) on it as shown below (Model: Unknown):
(parted) select /dev/block/sdb2
Using /dev/block/sdb2
(parted) print
Model: Unknown (unknown)
Disk /dev/block/sdb2: 33.6MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 33.6MB 33.6MB ext4
What I wanted was:
rm 21
mkpart esp fat32 85MB(84.2MB) 500MB #415MB
mkpart pe fat32 500MB 3000MB #2500MB
mkpart win ntfs 3000MB 100GB #97GB
mkpart userdata ext4 100GB 116GB #16GB
The problem is after I removed partition 21 on /dev/block/sdb (115.9158GB) and created the esp partition without problem, then I needed to create the pe partition but I got an error as:
(parted) mkpart pe fat32 500MB 3000MB
Error: Too many primary partitions.
I understand the number of primary partitions can not exceed 21, but in this case how can I continue to create the partitions needed for the Windows 11?
I think I may need to shrink the size of /dev/block/sdb, keeping the /userdata partition still on this disk but taking size only 16GB and then utilize the free space to create a new disk /dev/block/sdg to hold esp, pe, win partitions but I don't know how to do it. The Z3 currently is not my daily use, so that I have no problem losing all data on it.
Could you please help and see how can I progress on this problem?
Grateful to your help!

Categories

Resources