[DISCONTINUED][ROM][UNOFFICIAL][OCEAN]Lineage OS 16.0 - Moto G7 Power ROMs, Kernels, Recoveries, & Other D

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications,
*/
About:
LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.​
Introduction:
This is the unofficial Lineage OS thread for the Motorola G7 Power, codename ocean.
We support all the T-Mobile, International, and Project Fi variants, as their bootloaders are unlockable, while we can't support the Verizon and AT&T variants, as their bootloaders are permanently locked.​
ROM:
lineage-16.0-20191001-UNOFFICIAL-ocean.zip
Stock Firmware:
Official Firmware
Recovery:
Unofficial TWRP
Copy Partitions: (To setup slot_b)
copypartitions.zip
(courtesy of @filipepferraz)
Open GApps:
http://opengapps.org​
Preparation for A/B Roms:
01. Download TWRP and the Firmware for your variant from the links above.
02. Remove your google account under Settings > Accounts then factory reset your device as FRP is enforced.
03. Unlock your bootloader Instructions here.
04. Flash your factory firmware image on slot_A
Hold power + Volume down untill you reach bootloader (fastboot mode)
In your extracted firmware folder open a terminal and flash your firmware files with these commands.
NOTE: This last step installs vendor.img to slot_b as well.
05. Use terminal to boot latest twrp.img "fastboot boot twrp.img"
06. While on Slot_A Flash copypartitions.zip (This step only needs to be completed Once only after updating from stock factory firmwares.)
07. While in TWRP choose Reboot > bootloader
08. Now you're ready for ROM Steps below
ROM - Installation:
01. Download the ROM, TWRP and GApps from the links above.
02. Use terminal to boot latest twrp.img "fastboot boot twrp.img"
03. Flash ROM.zip + TWRP_installer/boot.img ramdisk method
04. Reboot > Recovery
05. Install Gapps + Magisk (if you choose)
06. Reboot > System
​
Updating (AKA 'dirty flash'):
01. Download the updated ROM
02. fasboot boot twrp.img
03. Install ROM.zip + TWRP_installer/boot.img ramdisk method
04. Reboot > Recovery
05. flash gapps + Magisk (if you choose)
06. Reboot > System
​
Notes:
Any time your internal storage aka "Userdata" is from a stock install you must use 'fastboot -w' to erase it before using ROMS​
XDA:DevDB Information
Lineage OS 16.0, ROM for the Moto G7 Power, ROM for the Moto G7 Power
Contributors
SyberHexen, erfanoabdi, LineageOS Team
Source Code:
[url]https://github.com/LineageOS[/URL]
android_kernel_motorola_msm8953
android_device_motorola_river_prebuiltvendor
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: Stock Vendor.img
Version Information
Status: Testing
Created 2019-09-18
Last Updated 2019-10-01

reserve 1

reserve 2

Thanks for the rom. Do you know if the Moto gestures work? Like chop twice for camera....
EDiT..
Yes moto actions are included in this ROM. Awesome job. Buttery smooth so far. Nice attentive display. LTE+ I see now in the status bar. No issues to report yet.
Just to root. Flashing magisk from twrp won't boot system. I had to back up the boot.emmc.win from twrp and use the install via patch boot method. Bam rooted on Lineage OS.
I'll report if any issues should arrive. So far Great ROM.
Make sure you fastboot flash your stock firmware first.

YES! I've been waiting for this since I bought the phone, and had almost given up all hope seeing the lack of activity in the forums for this device. While I'm far from an Android dev, I'll get to tinkering with the unofficial TWRP port and with this ROM during the weekend and will let you know how well it goes
Thank you!

Thank You , Awesome answered prayer overnight. As an inept tinkerer I typically brick phones or have days of migraines attempting this sort of upgrade but your guide may be almost idiot proof. Working for me at least, only snafu was flashing the ROM , I guess my phone wanted partitions mounted first as I got the " Not enough space in Data or System " error. Persistence a reread of guide and another prayer put me over the top. I went from soft-bricked to rooted linage in minutes. XDA rocks ! Peace

Does VoLTE work? If the camera, Bluetooth, and VoLTE work I'm installing it.

runed.OS said:
Does VoLTE work? If the camera, Bluetooth, and VoLTE work I'm installing it.
Click to expand...
Click to collapse
Everything works on my variant. Retail...Im not going back to stock.
So smooth no bloatware. An option in settings you can turn off all animations besides the settings in developer options. This phone flies with impressive battery life. The bugs are very minimal. Like i use LG tone Bluetooth headsets and when i get a text it takes 7 seconds to read out loud. On stock it was 2 seconds before my texts would be read. I noticed on you tube vance the 720 p streaming sometimes gives a slight second blur. Other than these two bugs. The rom is near prefect.

Works.
Been experimenting with it to see if the rom allows simple bypassing of the Metropcs sim lock. So far no luck. Keep in mind I dont have a working sim card for it, and am attempting to have a standard lte t-mobile sim work.
Also experiencing an issue with the screen colors going bonkers randomly, requiring restart (or two) to fix. Not sure if this is a device issue, a screw up during flashing, or a rom issue (keep in mind this was a phone only rarely messed with, not a daily driver).

arolust said:
Works.
Been experimenting with it to see if the rom allows simple bypassing of the Metropcs sim lock. So far no luck. Keep in mind I dont have a working sim card for it, and am attempting to have a standard lte t-mobile sim work.
Also experiencing an issue with the screen colors going bonkers randomly, requiring restart (or two) to fix. Not sure if this is a device issue, a screw up during flashing, or a rom issue (keep in mind this was a phone only rarely messed with, not a daily driver).
Click to expand...
Click to collapse
Just fyi, there is no way at this time to bypass a sim network unlock simply by using another software.
Sim unlock is a Carrier Remote over the air network in which requires a program to unlock. (imei) Only carriers or sim unlock service's like on ebay can achieve this with a fee of course.. older phones which dont have an unlock app may have been able to sim unlock using a third party tool but that was ages ago.
Average sim unlock cost for newer devices $35 u s dollars. older phone's around $10 u s dollars.
Metro by T-Mobile unlocks for free after 180 days of service.
Hope one stops thinking sim unlock is free.
Buying a phone from a carrier will be sim locked automatically. Buying the same phone that can be bought in different regions and is not exclusive to any carrier will be sim UnLocked. Buy non- carrier branded phones in the future to avoid being stuck to one carrier. (Amazon,Ebay and BestBuy)

Is it possible to bring the stock firmware back via fastboot in case I face any problems with the ROM? Is the procedure ordinary?

weird colours
Mostly it works, but the screen behaves strangely...
The colours are messed up, it looks a bit like if it was using 16 colours, and there are some horizontal lines close to the top and to the bottom of the screen.
I've tried to take a screenshot, for showing you, but on the screenshot the colours are fine
I've tried also AOSP Pie, and there the colours are ok.
My device is XT1955-4 retail EU
Anyone else is experiencing my problems?
Can I help debug somehow?

The benefits of this rom I like:
No Bloatware
Fluid , fast and responsive
More data options on Metro by T-Mobile. I get HSDA+ and LTE+ always. Stock i hardly saw anything but LTE and HSDPA only.
Selinux off by default with init.d support.
Near Stock Pie experience.
---------- Post added at 05:58 PM ---------- Previous post was at 05:55 PM ----------
binocerino said:
Mostly it works, but the screen behaves strangely...
The colours are messed up, it looks a bit like if it was using 16 colours, and there are some horizontal lines close to the top and to the bottom of the screen.
I've tried to take a screenshot, for showing you, but on the screenshot the colours are fine
I've tried also AOSP Pie, and there the colours are ok.
My device is XT1955-4 retail EU
Anyone else is experiencing my problems?
Can I help debug somehow?
Click to expand...
Click to collapse
Unfortunately, I dont have a color issue.
I use color changer pro for this phone because how dull the colors are. So my screen is great
I saw a color changer option in the settings you can tinker with to get your colors the way you like it.
(Under Live display)
I have mines set to sRGB
DPI set to 420. wink wink...
---------- Post added at 06:06 PM ---------- Previous post was at 05:58 PM ----------
kry52 said:
Is it possible to bring the stock firmware back via fastboot in case I face any problems with the ROM? Is the procedure ordinary?
Click to expand...
Click to collapse
Of course
---------- Post added at 06:10 PM ---------- Previous post was at 06:06 PM ----------
One more thing my chop to flash is faster because I was now able to disable the vibration. Yes this phone is flying higher guys..

so I have to flash the rom and twrp to ramdisk

I can't install gapps says insufficient storage. When I check the size of the system partition it says 4mb.
Edit: I fixed this somehow so nvm

Hey!
So, I tried installing this, and I've encountered a roadblock. I think I've got all the steps from "Preparation for A/B Roms" category right, my issue appears when actually flashing the LOS zip file. When I'm on TWRP and I go ahead and try to Install the ZIP, it simply stops after "Done processing script file" (after both steps of Checking for Digest file... are complete) but actually there's nothing on the internal memory of the phone. This means that after rebooting, I only get a bootloop on the "bootloader unlocked" warning screen.
Some things to note:
I've copied all required files to the microSD card on my phone, and I'm trying to install everything from there.
I've been doing all the TWRP stuff from the CMD prompt in Windows using ADB because for some reason the touchscreen won't work on my phone while using the unofficial port of TWRP.
I've copied a log file from my console right after step 6 of the preparation, that is, flashing copy-partitions-payton.zip up to where I get stuck, in case this is helpful to help whoever wants to lend me a hand with this
Code:
G:\Cosas\Android\platform-tools>adb shell
ocean:/ # twrp
TWRP openrecoveryscript command line tool, TWRP version 3.3.1-0
Allows command line usage of TWRP via openrecoveryscript commands.
Some common commands include:
install /path/to/update.zip
backup <SDCRBAEM> [backupname]
restore <SDCRBAEM> [backupname]
wipe <partition name>
sideload
set <variable> [value]
decrypt <password>
remountrw
fixperms
mount <path>
unmount <path>
print <value>
mkdir <directory>
reboot [recovery|poweroff|bootloader|download|edl]
See more documentation at https://twrp.me/faq/openrecoveryscript.html
ocean:/ # twrp install /external_sd/copy-partitions-payton.zip
Installing zip file '/external_sd/copy-partitions-payton.zip'
Checking for Digest file...
Partition aboot_a
3072+0 records in
3072+0 records out
1572864 bytes transferred in 0.270 secs (5825422 bytes/sec)
Partition cmnlib64_a
2048+0 records in
2048+0 records out
1048576 bytes transferred in 0.070 secs (14979657 bytes/sec)
Partition cmnlib_a
2048+0 records in
2048+0 records out
1048576 bytes transferred in 0.069 secs (15196753 bytes/sec)
Partition devcfg_a
128+0 records in
128+0 records out
65536 bytes transferred in 0.005 secs (13107200 bytes/sec)
Partition dsp_a
32768+0 records in
32768+0 records out
16777216 bytes transferred in 1.079 secs (15548856 bytes/sec)
Partition dtbo_a
16384+0 records in
16384+0 records out
8388608 bytes transferred in 0.525 secs (15978300 bytes/sec)
Partition fsg_a
24576+0 records in
24576+0 records out
12582912 bytes transferred in 0.792 secs (15887515 bytes/sec)
Partition keymaster_a
2048+0 records in
2048+0 records out
1048576 bytes transferred in 0.071 secs (14768676 bytes/sec)
Partition logo_a
32768+0 records in
32768+0 records out
16777216 bytes transferred in 1.008 secs (16644063 bytes/sec)
Partition modem_a
204800+0 records in
204800+0 records out
104857600 bytes transferred in 6.427 secs (16315170 bytes/sec)
Partition prov_a
384+0 records in
384+0 records out
196608 bytes transferred in 0.013 secs (15123692 bytes/sec)
Partition rpm_a
512+0 records in
512+0 records out
262144 bytes transferred in 0.018 secs (14563555 bytes/sec)
Partition sbl1_a
1024+0 records in
1024+0 records out
524288 bytes transferred in 0.039 secs (13443282 bytes/sec)
Partition tz_a
3584+0 records in
3584+0 records out
1835008 bytes transferred in 0.116 secs (15819034 bytes/sec)
Partition vbmeta_a
128+0 records in
128+0 records out
65536 bytes transferred in 0.004 secs (16384000 bytes/sec)
[OK]
Done processing script file
ocean:/ # twrp reboot bootloader
Done processing script file
ocean:/ #
G:\Cosas\Android\platform-tools>fastboot -w
Erasing 'userdata' OKAY [ 0.180s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' (bootloader) Permission denied
FAILED (remote: '')
fastboot: error: Command failed
G:\Cosas\Android\platform-tools>fastboot boot twrp-3.3.1-0-ocean-20190904-0715.img
Sending 'boot.img' (25554 KB) OKAY [ 0.545s]
Booting OKAY [ 0.730s]
Finished. Total time: 1.301s
G:\Cosas\Android\platform-tools>adb shell
ocean:/ # twrp install /external_sd/lineage-16.0-20190918-UNOFFICIAL-ocean.zip
Installing zip file '/external_sd/lineage-16.0-20190918-UNOFFICIAL-ocean.zip'
Checking for Digest file...
Step 1/2Step 2/2Done processing script file
ocean:/ #
The good thing is that I was able to recover the original system image from the lolinet file I downloaded, so my phone is fully functional and ready to give it another go hehe.
Any help will be more than welcome. I'll try giving it another go on my own during the weekend.

ViRUS2015 said:
Hey!
So, I tried installing this, and I've encountered a roadblock. I think I've got all the steps from "Preparation for A/B Roms" category right, my issue appears when actually flashing the LOS zip file. When I'm on TWRP and I go ahead and try to Install the ZIP, it simply stops after "Done processing script file" (after both steps of Checking for Digest file... are complete) but actually there's nothing on the internal memory of the phone. This means that after rebooting, I only get a bootloop on the "bootloader unlocked" warning screen.
Some things to note:
I've copied all required files to the microSD card on my phone, and I'm trying to install everything from there.
I've been doing all the TWRP stuff from the CMD prompt in Windows using ADB because for some reason the touchscreen won't work on my phone while using the unofficial port of TWRP.
I've copied a log file from my console right after step 6 of the preparation, that is, flashing copy-partitions-payton.zip up to where I get stuck, in case this is helpful to help whoever wants to lend me a hand with this
Code:
G:\Cosas\Android\platform-tools>adb shell
ocean:/ # twrp
TWRP openrecoveryscript command line tool, TWRP version 3.3.1-0
Allows command line usage of TWRP via openrecoveryscript commands.
Some common commands include:
install /path/to/update.zip
backup <SDCRBAEM> [backupname]
restore <SDCRBAEM> [backupname]
wipe <partition name>
sideload
set <variable> [value]
decrypt <password>
remountrw
fixperms
mount <path>
unmount <path>
print <value>
mkdir <directory>
reboot [recovery|poweroff|bootloader|download|edl]
See more documentation at https://twrp.me/faq/openrecoveryscript.html
ocean:/ # twrp install /external_sd/copy-partitions-payton.zip
Installing zip file '/external_sd/copy-partitions-payton.zip'
Checking for Digest file...
Partition aboot_a
3072+0 records in
3072+0 records out
1572864 bytes transferred in 0.270 secs (5825422 bytes/sec)
Partition cmnlib64_a
2048+0 records in
2048+0 records out
1048576 bytes transferred in 0.070 secs (14979657 bytes/sec)
Partition cmnlib_a
2048+0 records in
2048+0 records out
1048576 bytes transferred in 0.069 secs (15196753 bytes/sec)
Partition devcfg_a
128+0 records in
128+0 records out
65536 bytes transferred in 0.005 secs (13107200 bytes/sec)
Partition dsp_a
32768+0 records in
32768+0 records out
16777216 bytes transferred in 1.079 secs (15548856 bytes/sec)
Partition dtbo_a
16384+0 records in
16384+0 records out
8388608 bytes transferred in 0.525 secs (15978300 bytes/sec)
Partition fsg_a
24576+0 records in
24576+0 records out
12582912 bytes transferred in 0.792 secs (15887515 bytes/sec)
Partition keymaster_a
2048+0 records in
2048+0 records out
1048576 bytes transferred in 0.071 secs (14768676 bytes/sec)
Partition logo_a
32768+0 records in
32768+0 records out
16777216 bytes transferred in 1.008 secs (16644063 bytes/sec)
Partition modem_a
204800+0 records in
204800+0 records out
104857600 bytes transferred in 6.427 secs (16315170 bytes/sec)
Partition prov_a
384+0 records in
384+0 records out
196608 bytes transferred in 0.013 secs (15123692 bytes/sec)
Partition rpm_a
512+0 records in
512+0 records out
262144 bytes transferred in 0.018 secs (14563555 bytes/sec)
Partition sbl1_a
1024+0 records in
1024+0 records out
524288 bytes transferred in 0.039 secs (13443282 bytes/sec)
Partition tz_a
3584+0 records in
3584+0 records out
1835008 bytes transferred in 0.116 secs (15819034 bytes/sec)
Partition vbmeta_a
128+0 records in
128+0 records out
65536 bytes transferred in 0.004 secs (16384000 bytes/sec)
[OK]
Done processing script file
ocean:/ # twrp reboot bootloader
Done processing script file
ocean:/ #
G:\Cosas\Android\platform-tools>fastboot -w
Erasing 'userdata' OKAY [ 0.180s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' (bootloader) Permission denied
FAILED (remote: '')
fastboot: error: Command failed
G:\Cosas\Android\platform-tools>fastboot boot twrp-3.3.1-0-ocean-20190904-0715.img
Sending 'boot.img' (25554 KB) OKAY [ 0.545s]
Booting OKAY [ 0.730s]
Finished. Total time: 1.301s
G:\Cosas\Android\platform-tools>adb shell
ocean:/ # twrp install /external_sd/lineage-16.0-20190918-UNOFFICIAL-ocean.zip
Installing zip file '/external_sd/lineage-16.0-20190918-UNOFFICIAL-ocean.zip'
Checking for Digest file...
Step 1/2Step 2/2Done processing script file
ocean:/ #
The good thing is that I was able to recover the original system image from the lolinet file I downloaded, so my phone is fully functional and ready to give it another go hehe.
Any help will be more than welcome. I'll try giving it another go on my own during the weekend.
Click to expand...
Click to collapse
I had a snafu because i tried to install the rom using the TWRP already installed and I was rooted with xposed.
You must start from scratch before flashing. The OP's directions were spot on if you follow to the T.
The TWRP in the OP is important and I notice in TWRP im on slot _b.
Hope this helps ya..

jhjhjhjhjhjh said:
I had a snafu because i tried to install the rom using the TWRP already installed and I was rooted with xposed.
You must start from scratch before flashing. The OP's directions were spot on if you follow to the T.
Click to expand...
Click to collapse
Nope, in my case I had the phone fully stock before trying this. I did the whole preparation first anyway, removed my Google Account from the device and factory reset it, then flashed the downloaded factory firmware image as instructed in step 04 with the console commands in dogbin.
jhjhjhjhjhjh said:
The TWRP in the OP is important and I notice in TWRP im on slot _b.
Hope this helps ya..
Click to expand...
Click to collapse
I'm using TWRP-ocean-test-1 from the thread OP linked. I can't use the exact one posted by the OP in that other thread since for some reason the touchscreen doesn't work with it.
By the way, how did you end up in slot_b on TWRP? Unless I'm missing something, in no step the OP says to change to that slot during the preparation or installation steps :/
--------------
Also, I just tried starting everything from scratch. Before going to bed last night, I reflashed the original factory image I downloaded from lolinet only to install WhatsApp and use the alarm. This morning, I re-did everything carefully and got logs at every stage, here they are:
Stage 1: These are steps 4 and 5 of the preparation. I removed my Google Account and factory reset the device, then I rebooted into fastboot and began entering the commands from the dogbin page. As far as I can tell, the console shows no errors at this stage.
Code:
Microsoft Windows [Versión 10.0.18362.356]
(c) 2019 Microsoft Corporation. Todos los derechos reservados.
C:\Windows\system32>cd G:\Cosas\Android
C:\Windows\system32>G:
G:\Cosas\Android>fastboot set_active a
Setting current slot to 'a' (bootloader) Slot already set active
OKAY [ 0.001s]
Finished. Total time: 0.004s
G:\Cosas\Android>fastboot reboot-bootloader
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.001s
G:\Cosas\Android>fastboot getvar max-sparse-size
max-sparse-size: 268435456
Finished. Total time: 0.000s
G:\Cosas\Android>fastboot oem fb_mode_set
OKAY [ 0.003s]
Finished. Total time: 0.005s
G:\Cosas\Android>fastboot flash partition gpt.bin
(bootloader) is-logical:partition: not found
Sending 'partition' (45 KB) OKAY [ 0.169s]
Writing 'partition' (bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 0.084s]
Finished. Total time: 0.260s
G:\Cosas\Android>fastboot flash bootloader bootloader.img
(bootloader) is-logical:bootloader: not found
Sending 'bootloader' (7419 KB) OKAY [ 0.340s]
Writing 'bootloader' (bootloader) Validating 'bootloader.default.xml'
(bootloader) Committing 'bootloader.default.xml'
(bootloader) - flashing 'emmc_appsboot.mbn' to 'aboot'
(bootloader) - flashing 'rpm.mbn' to 'rpm'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
(bootloader) - flashing 'cmnlib_30.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64_30.mbn' to 'cmnlib64'
(bootloader) - flashing 'keymaster64.mbn' to 'keymaster'
(bootloader) - flashing 'prov.mbn' to 'prov'
(bootloader) - flashing 'sbl1.mbn' to 'sbl1'
OKAY [ 0.324s]
Finished. Total time: 0.678s
G:\Cosas\Android>fastboot reboot-bootloader
Rebooting into bootloader OKAY [ 0.001s]
Finished. Total time: 0.002s
G:\Cosas\Android>fastboot flash modem_a NON-HLOS.bin
(bootloader) is-logical:modem_a: not found
Sending 'modem_a' (65396 KB) OKAY [ 1.585s]
Writing 'modem_a' OKAY [ 0.505s]
Finished. Total time: 2.125s
G:\Cosas\Android>fastboot flash fsg_a fsg.mbn
(bootloader) is-logical:fsg_a: not found
Sending 'fsg_a' (11684 KB) OKAY [ 0.421s]
Writing 'fsg_a' OKAY [ 0.092s]
Finished. Total time: 0.533s
G:\Cosas\Android>fastboot flash dsp_a adspso.bin
(bootloader) is-logical:dsp_a: not found
Sending 'dsp_a' (16384 KB) OKAY [ 0.521s]
Writing 'dsp_a' OKAY [ 0.105s]
Finished. Total time: 0.648s
G:\Cosas\Android>fastboot flash logo_a logo.bin
(bootloader) is-logical:logo_a: not found
Sending 'logo_a' (1285 KB) OKAY [ 0.196s]
Writing 'logo_a' OKAY [ 0.045s]
Finished. Total time: 0.251s
G:\Cosas\Android>fastboot flash boot_a boot.img
(bootloader) is-logical:boot_a: not found
Sending 'boot_a' (32768 KB) OKAY [ 0.937s]
Writing 'boot_a' (bootloader) Image signed with key bad key
OKAY [ 0.633s]
Finished. Total time: 1.604s
G:\Cosas\Android>fastboot flash dtbo_a dtbo.img
(bootloader) is-logical:dtbo_a: not found
Sending 'dtbo_a' (1760 KB) OKAY [ 0.206s]
Writing 'dtbo_a' OKAY [ 0.043s]
Finished. Total time: 0.258s
G:\Cosas\Android>fastboot flash vendor_a vendor.img_sparsechunk.0
(bootloader) is-logical:vendor_a: not found
Sending 'vendor_a' (259120 KB) OKAY [ 5.780s]
Writing 'vendor_a' OKAY [ 1.368s]
Finished. Total time: 7.261s
G:\Cosas\Android>fastboot flash vendor_a vendor.img_sparsechunk.1
(bootloader) is-logical:vendor_a: not found
Sending 'vendor_a' (147628 KB) OKAY [ 3.359s]
Writing 'vendor_a' OKAY [ 0.685s]
Finished. Total time: 4.112s
G:\Cosas\Android>fastboot flash vendor_b vendor.img_sparsechunk.0
(bootloader) is-logical:vendor_b: not found
Sending 'vendor_b' (259120 KB) OKAY [ 5.775s]
Writing 'vendor_b' OKAY [ 1.365s]
Finished. Total time: 7.253s
G:\Cosas\Android>fastboot flash vendor_b vendor.img_sparsechunk.1
(bootloader) is-logical:vendor_b: not found
Sending 'vendor_b' (147628 KB) OKAY [ 3.362s]
Writing 'vendor_b' OKAY [ 0.689s]
Finished. Total time: 4.119s
G:\Cosas\Android>fastboot flash oem_a oem.img
(bootloader) is-logical:oem_a: not found
Sending 'oem_a' (103016 KB) OKAY [ 2.402s]
Writing 'oem_a' OKAY [ 0.507s]
Finished. Total time: 2.962s
G:\Cosas\Android>fastboot flash oem_b oem.img
(bootloader) is-logical:oem_b: not found
Sending 'oem_b' (103016 KB) OKAY [ 2.407s]
Writing 'oem_b' OKAY [ 0.523s]
Finished. Total time: 2.981s
G:\Cosas\Android>fastboot oem fb_mode_clear
OKAY [ 0.002s]
Finished. Total time: 0.003s
G:\Cosas\Android>fastboot reboot-bootloader
Rebooting into bootloader OKAY [ 0.001s]
Finished. Total time: 0.002s
G:\Cosas\Android>fastboot boot TWRP-ocean-test-1.img
Sending 'boot.img' (27138 KB) OKAY [ 0.579s]
Booting OKAY [ 0.732s]
Finished. Total time: 1.336s
G:\Cosas\Android>
Now I'm in TWRP, instead of using the interface on my phone, I used ADB Shell to flash copypartitions to gather the logs. Here I flash copy-partitions-payton.zip while on Slot_A as instructed (I checked by going to "Reboot" in TWRP, and it says "Current Slot: A" at the bottom, so I know I'm using the correct one). Here's where the first issues appear. I check the log in TWRP and it says at the top in red:
Code:
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
Full SELinux support is present.
Unable to mount /data/media/TWRP/.twrps
MTP Enabled
I proceed anyway, and install copy-partitions-payton.zip.
Code:
Microsoft Windows [Versión 10.0.18362.356]
(c) 2019 Microsoft Corporation. Todos los derechos reservados.
C:\Windows\system32>cd G:\Cosas\Android
C:\Windows\system32>G:
G:\Cosas\Android>adb shell
ocean:/ # twrp install /external_sd/copy-partitions-payton.zip
Installing zip file '/external_sd/copy-partitions-payton.zip'
Checking for Digest file...
Partition aboot_a
3072+0 records in
3072+0 records out
1572864 bytes transferred in 0.266 secs (5913022 bytes/sec)
Partition cmnlib64_a
2048+0 records in
2048+0 records out
1048576 bytes transferred in 0.071 secs (14768676 bytes/sec)
Partition cmnlib_a
2048+0 records in
2048+0 records out
1048576 bytes transferred in 0.071 secs (14768676 bytes/sec)
Partition devcfg_a
128+0 records in
128+0 records out
65536 bytes transferred in 0.006 secs (10922666 bytes/sec)
Partition dsp_a
32768+0 records in
32768+0 records out
16777216 bytes transferred in 1.135 secs (14781688 bytes/sec)
Partition dtbo_a
16384+0 records in
16384+0 records out
8388608 bytes transferred in 0.531 secs (15797755 bytes/sec)
Partition fsg_a
24576+0 records in
24576+0 records out
12582912 bytes transferred in 0.806 secs (15611553 bytes/sec)
Partition keymaster_a
2048+0 records in
2048+0 records out
1048576 bytes transferred in 0.072 secs (14563555 bytes/sec)
Partition logo_a
32768+0 records in
32768+0 records out
16777216 bytes transferred in 1.053 secs (15932778 bytes/sec)
Partition modem_a
204800+0 records in
204800+0 records out
104857600 bytes transferred in 6.565 secs (15972216 bytes/sec)
Partition prov_a
384+0 records in
384+0 records out
196608 bytes transferred in 0.015 secs (13107200 bytes/sec)
Partition rpm_a
512+0 records in
512+0 records out
262144 bytes transferred in 0.018 secs (14563555 bytes/sec)
Partition sbl1_a
1024+0 records in
1024+0 records out
524288 bytes transferred in 0.040 secs (13107200 bytes/sec)
Partition tz_a
3584+0 records in
3584+0 records out
1835008 bytes transferred in 0.119 secs (15420235 bytes/sec)
Partition vbmeta_a
128+0 records in
128+0 records out
65536 bytes transferred in 0.006 secs (10922666 bytes/sec)
[OK]
Updating partition details...
Failed to mount '/data' (Invalid argument)
Done processing script file
ocean:/ #
G:\Cosas\Android>
Then I go to Reboot > Bootloader in TWRP. I get a warning that no OS is installed, but I swipe to reboot anyway and proceed using the -w command in fastboot.
Code:
Microsoft Windows [Versión 10.0.18362.356]
(c) 2019 Microsoft Corporation. Todos los derechos reservados.
C:\Windows\system32>cd G:\Cosas\Android
C:\Windows\system32>G:
G:\Cosas\Android>fastboot -w
Erasing 'userdata' OKAY [ 0.149s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' (bootloader) Permission denied
FAILED (remote: '')
fastboot: error: Command failed
G:\Cosas\Android>
Here I still get some errors about metadata and some permissions denied, maybe some of these errors are the cause of my problems?
In any case, I keep on going and reboot to TWRP again using the Windows console.
Code:
Microsoft Windows [Versión 10.0.18362.356]
(c) 2019 Microsoft Corporation. Todos los derechos reservados.
C:\Windows\system32>cd G:\Cosas\Android
C:\Windows\system32>G:
G:\Cosas\Android>fastboot boot TWRP-ocean-test-1.img
Sending 'boot.img' (27138 KB) OKAY [ 0.578s]
Booting OKAY [ 0.731s]
Finished. Total time: 1.335s
G:\Cosas\Android>
Now in TWRP, I proceed to install the ROM zip + TWRP on Ramdisk as instructed in Step 3 of "ROM - Installation". Needless to say, the errors about /data are still present when TWRP boots up.
Code:
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
Full SELinux support is present.
Unable to mount /data/media/TWRP/.twrps
MTP Enabled
Code:
Microsoft Windows [Versión 10.0.18362.356]
(c) 2019 Microsoft Corporation. Todos los derechos reservados.
C:\Windows\system32>cd G:\Cosas\Android
C:\Windows\system32>G:
G:\Cosas\Android>adb shell
ocean:/ # twrp install /external_sd/lineage-16.0-20190918-UNOFFICIAL-ocean.zip
Installing zip file '/external_sd/lineage-16.0-20190918-UNOFFICIAL-ocean.zip'
Checking for Digest file...
Step 1/2Step 2/2Done processing script file
ocean:/ #
Then I install TWRP to ramdisk going to Advanced > Install Recovery Ramdisk and choosing TWRP-ocean-test-1.img from my microSD card. Now I also get an error regarding /system in TWRP's log.
Code:
Unpacking Boot...
Backing up Boot...
Unpacking /external_sd/TWRP-ocean-test-1.img...
Repacking Boot...
[IMAGE FLASH STARTED]
Image to flash: '/tmp/repackorig/new-boot.img'
Calculating restore details...
[IMAGE FLASH COMPLETED]
Updating partition details...
Failed to mount '/data' (Invalid argument)
Failed to mount '/system' (Permission denied)
...done
Backing up Boot...
[IMAGE FLASH STARTED]
Image to flash: '/tmp/repackorig/new-boot.img'
Calculating restore details...
[IMAGE FLASH COMPLETED]
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done
Now I go to Reboot > Recovery in TWRP. I still get a warning saying that no OS is installed, but I reboot anyway and I succesfully get into TWRP again. I try to install OpenGapps but I get an error 70 complaining that there's no enough space in System partition. If I reboot my phone to system, I get into a bootloop on the bootloader unlocked warning.
Thank you in advance to anyone willing to help me out! Surely I'm missing something trivial due to lack of experience. I've flashed many ROMS before, but this is my first time giving it a try since the A/B partition stuff was implemented :silly:

Thank you in advance to anyone willing to help me out! Surely I'm missing something trivial due to lack of experience. I've flashed many ROMS before, but this is my first time giving it a try since the A/B partition stuff was implemented :silly:[/QUOTE]
Okay i do recall i had to format data so i could mount all partions. The copy partitions zip has to be flashed in the twrp of the o.p
In regards to me being on slot_b. the copy partiitions zip accomplished that part. The rom is flashed on slot_b. The O. P TWRP is needed. You keep using the wrong TWRP.

Homie as soon as TWRP installed you gotta format data where you type "yes" and reboot recovery or you end up fubared in loops or worse. Follow steps exactly...

Related

system crashed pls help

hey guys
I do some wrong
I try to factory reset on my n9 and after this everthing goes wrong
my bootloader is locked and I can't unlock it
if I try I get (bootloader) Permission denied for this command!
and my n9 stuck in a bootloop
c:\android-sdk-windows\platform-tools>fastboot oem unlock
< waiting for device >
...
(bootloader) ability is 0
(bootloader) Permission denied for this command!
OKAY [ -0.000s]
finished. total time: -0.000s
Checking Bootloader Lock State + Tamper Flag:
---------------------------------------------
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.006s]
finished. total time: 0.007s
Click to expand...
Click to collapse
I try to flash the bootloader from bootloader-flounder-3.43.0.0114.img and this dont work after this I try to flash the bootloader
bootloader-hammerhead-hhz12d.img but this also not work -.-
now I have no system on my n9 no recovery on it
someone has a idea what I can do?
In fastboot try,
fastboot format cache
fastboot format userdata
Sent from my Nexus 9 using XDA Free mobile app
fastboot format cache I get this
Code:
C:\WINDOWS\system32>fastboot format cache
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
target reported max download size of 518205818 bytes
erasing 'cache'...
(bootloader) Device State : Locked
FAILED (remote: Can not erase any partition while device state is locked!)
finished. total time: 0.157s
and by fastboot format userdata
Code:
C:\WINDOWS\system32>fastboot format userdata
Formatting is not supported for filesystem with type 'f2fs'.
Try holding the volume down button, booting into Fastboot, then running WugFresh Nexus Root Toolkit http://forum.xda-developers.com/nexus-9/development/toolkit-wugs-nexus-root-toolkit-v1-9-8-t2945451 with 'Flash Stock/Unroot' and 'Soft-bricked/bootload'' option then in the next window '5.0.2 Android' and 'Force Flash Mode'
Can't promise it'll work but worth a try.
@kedarrWolf I tryed your way but it dosn'T work
Code:
target reported max download size of 518205818 bytes
erasing 'system'...
(bootloader) Device State : Locked
FAILED (remote: Can not erase any partition while device state is locked!)
finished. total time: 0.141s
rebooting into bootloader...
OKAY [ 0.016s]
finished. total time: 0.016s

Recovery boot problems

Hey I wanted to restore my OPX back to the OxygenOS and the stock recovery. I Somehow ****ed up and now only fastboot is booting.
Here is the fastboot log:
Code:
C:\Users\Fifi\Downloads>fastboot devices
5c9c4816 fastboot
C:\Users\Fifi\Downloads>fastboot erase recovery
erasing 'recovery'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\Users\Fifi\Downloads>fastboot format cache
erasing 'cache'...
OKAY [ 0.047s]
formatting 'cache' partition...
Creating filesystem with parameters:
Size: 536870912
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 2048
Label:
Blocks: 131072
Block groups: 4
Reserved block group size: 31
Created filesystem with 11/32768 inodes and 4206/131072 blocks
sending 'cache' (10432 KB)...
writing 'cache'...
OKAY [ 0.641s]
finished. total time: 0.688s
C:\Users\Fifi\Downloads>fastboot oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
(bootloader) console_enabled: 0
(bootloader) exec_console_unconsole: 0
OKAY [ 0.016s]
finished. total time: 0.016s
C:\Users\Fifi\Downloads>fastboot flash recovery recovery.img
target reported max download size of 1073741824 bytes
sending 'recovery' (16384 KB)...
OKAY [ 0.531s]
writing 'recovery'...
OKAY [ 0.297s]
finished. total time: 0.828s
C:\Users\Fifi\Downloads>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\Users\Fifi\Downloads>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.531s]
booting...
FAILED (remote: dtb not found)
finished. total time: 0.578s
I hope you can help. Thanks
Use this command in fastboot.
Fastboot boot recovery recovery.img
Sent from my XT1022 using Tapatalk
That gives me the same Error:
FAILED (remote: dtb not found)
I found that the Error often comes up when the recovery.img is corrupted or wrong.
I tried a lot of different download for different OPX recoverys, all the same error.
I tried to re lock and to re unlock the bootloader. First worked, the unlock did not. So i cant accsess the phone at all.
Ill close this thread and send the phone to Oneplus.
EDIT... Dont know how to close this.
Well yeah that error usually ocuurs when the recovery file is corrupted or is for a different device.
You can try to flash stock recovery once.
Sent from my XT1022 using Tapatalk
Struck at 1+ logo
Hello developers,
I have rooted OPX and stock rom.
I am struck at 1+ logo after rebooting,
tried flashing recovery again since the recovery.img I just flashed is not working,
Device bootloader not unlocked and I cannot unlock it as phones gets struck at 1+ logo.
Please Help friends....

Fastboot G5NPFP026657RFA

Hi,
I am trying to revive my Asus and running into following problem. I read multiple threads and forums and have executed multiple commands in cmd fastboot. Getting following errors:
First I was running into error that "vrl needs to be flashed" which I found a correct (I hope) file and flashed the vrl, and then flashed CM13 or stock ROM from Asus website. Which fastboot returns with "OKAY flashed partition system. Time 28 seconds" Still wont boot and stuck on boot logo.
C:\adb>fastboot devices
G5NPFP026657RFA fastboot
C:\adb>fastboot flash system UL-P023-CN-4.7.3.0-user.zip
(bootloader) system partition type: ext4
target reported max download size of 1019215872 bytes
erasing 'system'...
(bootloader) Erasing partition: system
OKAY [ 0.031s]
sending 'system' (907352 KB)...
(bootloader) Ready to receive: 0x376162fc size of data
OKAY [ 28.448s]
writing 'system'...
(bootloader) Flashing partition: system
FAILED (remote: VRL need to be flashed!)
finished. total time: 28.511s
C:\adb>fastboot flash vrl vrl2.bin
(bootloader) vrl partition type: raw
target reported max download size of 1019215872 bytes
sending 'vrl' (128 KB)...
(bootloader) Ready to receive: 0x00020000 size of data
OKAY [ 0.016s]
writing 'vrl'...
(bootloader) Flashing partition: vrl
OKAY [ 0.078s]
finished. total time: 0.094s
C:\adb>fastboot flash system UL-P023-CN-4.7.3.0-user.zip
(bootloader) system partition type: ext4
target reported max download size of 1019215872 bytes
erasing 'system'...
(bootloader) Erasing partition: system
OKAY [ 0.047s]
sending 'system' (907352 KB)...
(bootloader) Ready to receive: 0x376162fc size of data
OKAY [ 28.424s]
writing 'system'...
(bootloader) Flashing partition: system
OKAY [ 0.031s]
finished. total time: 28.518s
C:\adb>fastboot reboot
rebooting...
finished. total time: 0.016s
Any of the senior members or other who have more knowledge, please shade some light here and tell me what am I doing wrong??
I also get below error at times, and my computer gets stuck every time I execute below command and it takes forever for it to get back to working by itself unless I try to close the application.
C:\adb>fastboot update system "C:\adb\UL-P023-WW-4.7.3.0-user.zip"
W/ ( 448): Unable to open 'system': No such file or directory
error: failed to open zip file 'system': I/O Error
C:\adb>fastboot flash system UL-P023-WW-4.7.3.0-user.zip
(bootloader) system partition type: ext4
target reported max download size of 1019215872 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 175719111 is not a multiple of t
he block size 4096
erasing 'system'...
FAILED (command write failed (Invalid argument))
finished. total time: 1.102s
Very much keen to read some good replies. Thanks in advance guys.

Armor x5 Android 10_Q Mt6765 aka Mt6762 ROOT AT LAST!

This 'tutorial' is a quicky for those yet to figure this fone out.
Well it took a bit time for sure, but this is how it went...
No matter what recovery or magisk I tried, nothing worked, all ulefone images with twrp were 64mb in size, where-as mine was 32mb. Betting the 64mb is a/b partioned like the old ambit 250 modems, where half the non-vol was the first boot, the second half a clone of the first half.
No file for the mt6765 worked. In other words, no twrp. instant bootloop every time.
But then I found the ulefone note9 mt6762 recovery, flashed it, booted into recovery, and had root!
Until I rebooted at least. There was no access to the actual fone system however, for in recovery, system, or / has not been mounted, and if it was, it cold not be written to..
Then I had an idea. I tested the root.img from android kitchen by flashing just that direct to the recovery of the fone, and it not only stuck, I could switch off fone, reboot, and what I call an overlaid file system with root presented itself, and before I knew it I had a fake root that worked.
The problem with this fone is that it actually uses mt6762 for booting, booting into mt6765 style, vice versa does not work. The note9 is a 6762 chipset. 32mb in size.
The root.img from android kitchen, flashed to recovery gives the head start, having magisk installed, but sadley, twrp did not show in recovery using the note9 recovery that has a working twrp, and the android kitchen root.img shows no twrp, being magisk'd!
Unlocked bootloader required.
Boot into fastboot.
fastboot flash vbmeta vblankmeta.img
fastboot flash recovery root.img
boot fone, install magisk manager, superuser and busybox apk's, then root checker pro, test and see, by rebooting, it should keep root if you set su to boot via busybox, AND superuser.
Now if someone wants to make this for this actual fone, with the correct file versions for this fone, I'll post my latest stock recovery, along with the files I used. All files as far as I know came from here, I have done nothing to them.
The actual Files are: Armor x5 Android 10_Q root.zip is actually a 7z file renamed to zip to upload here, i use 7z, and dont install winzip, and the password for both is Re-Kr8, used in order to prevent google tampering.
The zip contains vblankmeta.img and root.img taken from android kitchen, hope they dont mind auld folks like me helping this way...
The origional is recovery from unrooted fone taken from stock firmware, android 10 Q for ulefone armor x5.
Have a nice day.
And I found this somewhere so will leave it here for those who want true root on the ulefone device, I'm too sore with slow paralysis to keep working at this...
Android Q system_app writes persist.sys by default. The system property SEliux permission
When debugging Settings.apk by myself.
It was discovered that as a platform system signature application, there was no permission to sign a custom persist.st_nfc_debug system property.
It can be modified to the name beginning with persist.sys.
Although in the end, I said:
persist.st_nfc_debug ubject_r:system_prop:s0
Get it done.
why is that?
This step by step tracks SeLinux permission protection in Android.
The same is because the system authorizes persist.sys. by default and classifies it into system_prop.
alps/system/sepolicy/private/property_contexts
persist.log.tag ubject_r:log_tag_prop:s0
persist.mmc. ubject_r:mmc_prop:s0
persist.netd.stable_secret ubject_r:netd_stable_secret_prop:s0
persist.sys. ubject_r:system_prop:s0
persist.sys.safemode ubject_r:safemode_prop:s0
persist.sys.fflag.override.settings_dynamic_system ubject_r:dynamic_system_prop:s0
So where is system_prop defined?
It belongs to property_type and core_property_type.
alps/system/sepolicy/public/property.te
79 type shell_prop, property_type, core_property_type;
80 type system_boot_reason_prop, property_type;
81 type system_prop, property_type, core_property_type;
82 type system_radio_prop, property_type, core_property_type;
83 type system_trace_prop, property_type;
84 type test_boot_reason_prop, property_type;
Authorization, the last line below, set_prop(system_app, system_prop).
alps/system/sepolicy/private/system_app.te
7 typeattribute system_app coredomain;
8
9 app_domain(system_app)
10 net_domain(system_app)
11 binder_service(system_app)
12
13 # android.ui and system.ui
14 allow system_app rootfs:dir getattr;
15
16 # Read and write /data/data subdirectory.
17 allow system_app system_app_data_file:dir create_dir_perms;
18 allow system_app system_app_data_file:{ file lnk_file } create_file_perms;
33 # Write to properties
34 set_prop(system_app, bluetooth_a2dp_offload_prop)
35 set_prop(system_app, bluetooth_audio_hal_prop)
36 set_prop(system_app, bluetooth_prop)
37 set_prop(system_app, debug_prop)
38 set_prop(system_app, system_prop)
So where is this set_prop sacred?
alps/system/sepolicy/public/te_macros
305 #####################################
306 # set_prop(sourcedomain, targetproperty)
307 # Allows source domain to set the
308 # targetproperty.
309 #
310 define(`set_prop', `
311 unix_socket_connect($1, property, init)
312 allow $1 $2roperty_service set;
313 get_prop($1, $2)
314 ')
315
316 #####################################
317 # get_prop(sourcedomain, targetproperty)
318 # Allows source domain to read the
319 # targetproperty.
320 #
321 define(`get_prop', `
322 allow $1 $2:file { getattr open read map };
323 ')
It is a general method of declaration.
So according to this meaning, you can piece together the following permission statement:
allow system_app system_proproperty_service set;
Use the real phone to enter the mobile phone directory to find and verify is the king:
5032E:/system/etc/selinux # grep -rni "allow system_app system_prop".
./Plat_sepolicy.cil:19108allow system_app system_prop (property_service (set)))
./plat_sepolicy.cil:19109allow system_app system_prop ( file (read getattr map open)))
5032E:/system/etc/selinux #
summary:
Just because the Android compilation system has assigned relevant permissions by default, it can be used directly, and custom ones require additional authorization.
Additional tips:
Before adding the compilation in the alps project, the .te file will be compiled and imported into the cil file.
Android Q currently has cil files:
./vendor/etc/selinux/vendor_sepolicy.cil
./vendor/etc/selinux/plat_pub_versioned.cil
./system/etc/selinux/mapping/27.0.cil
./system/etc/selinux/mapping/29.0.cil
./system/etc/selinux/mapping/26.0.cil
./system/etc/selinux/mapping/28.0.cil
./system/etc/selinux/plat_sepolicy.cil
The property_contexts file will be imported into the plat_property_contexts file.
./system/etc/selinux/plat_property_contexts:61ersist.sys. ubject_r:system_prop:s0
./system/etc/selinux/plat_property_contexts:62ersist.sys.safemode ubject_r:safemode_prop:s0
./system/etc/selinux/plat_property_contexts:63ersist.sys.theme ubject_r:theme_prop:s0
./system/etc/selinux/plat_property_contexts:64ersist.sys.fflag.override.settings_dynamic_system ubject_r:dynamic_system_prop:s0
./system/etc/selinux/plat_property_contexts:66ersist.sys.audit_safemode ubject_r:safemode_prop:s0
./system/etc/selinux/plat_property_contexts:81ersist.sys.boot.reason ubject_r:last_boot_reason_prop:s0
./system/etc/selinux/plat_property_contexts:346ersist.sys.dalvik.vm.lib.2 ubject_r:exported2_system_prop:s0 exact string
./system/etc/selinux/plat_property_contexts:347ersist.sys.media.avsync ubject_r:exported2_system_prop:s0 exact bool
And all the files ending with _contexts in Android Q are:
./vendor/etc/selinux/vndservice_contexts
./vendor/etc/selinux/vendor_file_contexts
./vendor/etc/selinux/vendor_hwservice_contexts
./vendor/etc/selinux/vendor_property_contexts
./vendor/etc/selinux/vendor_seapp_contexts
./system/etc/selinux/plat_file_contexts
./system/etc/selinux/plat_service_contexts
./system/etc/selinux/plat_hwservice_contexts
./system/etc/selinux/plat_seapp_contexts
./system/etc/selinux/plat_property_contexts
./sys/fs/selinux/initial_contexts
The service corresponding to the NFC module is in ./vendor/etc/selinux/vendor_file_contexts:
5032E:/ # cat ./vendor/etc/selinux/vendor_file_contexts | grep nfc
/(vendor|system/vendor)/bin/hw/android\.hardware\[email protected]\.1-service ubject_r:hal_nfc_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\[email protected]\.2-service ubject_r:hal_nfc_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\[email protected]\.0-service ubject_r:hal_nfc_default_exec:s0
/(system\/vendor|vendor)/bin/hw/android\.hardware\[email protected]\.1-service-st ubject_r:hal_nfc_default_exec:s0
/data/nfc_socket(/.*)? ubject_r:nfc_socket:s0
/data/vendor/nfc_socket(/.*)? ubject_r:vendor_nfc_socket:s0
/dev/st21nfc ubject_r:st21nfc_device:s0
5032E:/ #
My journey continues taking the untrodden path's...
I have found how to write to /
But I dont know how it's working.
So please read, and help me root this fone properly so I can keep what I found permanent in my fone.
I know some of you will 'see' with eye's to hear...
I need a twrp for my fone.
So I finally managed to get a working boot image created for my fone, with magisk, this is how I did it:
fastboot flashing unlock_critical
pressed + vol
fastboot flash vbmeta vblankmeta.img
fastboot flash recovery note9recovery.img <-for mt6762
fastboot reboot
As soon as the screen turns off. I have to hold + vol to NOT show recovery/fastboot/normal, choose recovery, but by taking this step, the recovery with magisk is already wiped somehow, depends on the version of android 10-Q, Pro, Latest, boots are slightly different.
The Pro variant is the best to work with.
So I rinse and repeat and flash the note9.img, boot into recovery, keeping + vol pressed until AFTER the point where the stock android recovery menu would kick in.
This boots the fone using the note9.img from recovery!
Voila, so I know I'm in, but I know a wonderfull trick most devs dont know.
This fone is unlocked from shop. It is system-as-root, meaning, root is actually pointless!
To prove it, I'll use root commands WITHOUT magisk, or twrp, or su, by giving this example:
adb shell echo "persist.service.adb.enable=1" >> default.prop
'Read only' bull**** pops up, but when doing:
adb -s *************** shell echo "persist.service.adb.enable=1" >> default.prop (* = your device serial number)
Command completes! WITHOUT MOUNTING ANY SYSTEM!
HOwever, attempting to write with magisk, su etc wont ever work, yeah, in an overlay file system, they will, but what of this? Like I've said in other posts, it's all a mirror image, or in todays speak, overlaid, I wrote of this on surfboard hacker, and a few other sites back in docsis 2 days as a security measure to stop us
uncapping lol...
So I initially do:
adb -s *************** shell echo "persist.service.adb.enable=1" >> default.prop
adb -s *************** shell echo "persist.service.debuggable=1" >> default.prop
adb -s *************** shell echo "persist.sys.usb.config=mtp,adb" >> default.prop
adb -s *************** shell echo "persist.service.adb.enable=1" >> /system/build.prop
adb -s *************** shell echo "persist.service.debuggable=1" >> /system/build.prop
adb -s *************** shell echo "persist.sys.usb.config=mtp,adb" >> /system/build.prop
adb -s *************** shell settings put secure install_non_market_apps 1
adb -s *************** shell settings put global adb_enabled 1
adb -s *************** shell settings put global setup_wizard_has_run 1
adb -s *************** shell settings put secure user_setup_complete 1
adb -s *************** shell settings put global activity_starts_logging_enabled 1
adb -s *************** shell settings put global development_settings_enabled 1
adb -s *************** shell settings put secure location_providers_allowed +gps,network
Works wonders huh?
Nah... of course my above commands work, lots of research...
I tried systemrw_1.32 to use any apps etc wanting to write to system, but I noticed while using magisk, some MMblock29 was read only, whereas systemrw_1.32 locked another, making me believe this is actually a pie script, because after testing this, when I rebooted, system was dm-1, not the dm-3 I normally see, and when attempting to system write, No joy, so these two are clashing.
But here's what to watch for: How TO write system is at this point:
I flashed the first mentioned files. Clean slate.
I boot the fone PAST recovery as mentioned, dont go INTO recovery, go PASSED it so fone boots from recovery without reflashing itself with stock, fone starts with a magisk icon on the desktop. kool.
adb shell
su
mount -o remount,rw /
Voila!
Now reboot...
All gone...
Rinse n repeat. Now how to keep this read write access?
1: Magisk in the bootloader will not work will not enable "mount -o remount,rw / " because it's symlinked it's own overlay system.
2: Magisk in the recovery is great to get magisk canary to do your bootloader for you, but the bootloader root will NOT write "mount -o remount,rw / " - only the note9 recovery allows me to "mount -o remount,rw / "
3: The note9 recovery is doing something no other magiskd bootloader or twrp'd recovery can!
4: If you get this, you get me.
Notice none of this is actually about what I need the most?
A twrp recovery 32mb in size, mt6762 or mt6765
Not a magisked boot.img thats supposed to be flashed to recovery..???
Oh and magisk has not done my fone yet, I need to load the note9 recovery just to get what you just read.
When I try magisk on a clean slate, it does nothing.
Sussed it... when the fone booted, I had the note9 magisk appear dulled out on my screen.
adb shell
$
su
sits and waits...
update magisk using canary 23 apk, but do nothing else.
adb shell
$
su
mount -o remount,rw /
do whatever.
Let magisk do it's stuff n reboot
mount -o remount,rw / is now impossible.
Get it?
Recovery can access / with rw access! <- VOILA!
Edit:
Oh, and flashing magisk to recovery is causing the bootloops, as is the confusion over why we'd flash a boot to recovery or recovery to boot, me I try anything, and I bet the note9 is the key to the read only fs, in that it still contains everything in 'A' bootloader, not several...
I propose a new root tool, called ****root.
Input your serial, in your adb -s *************** then the rooting commands no?
the app will run a script to do what I wrote above I can do.
Only with root commands.
Get to it.
Oh, please forgive my serial numbers, but here's the logs:
Rebooting OKAY [ 0.001s]
Finished. Total time: 0.005s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash vbmeta vblankmeta.
img
Sending 'vbmeta' (4 KB) OKAY [ 0.022s]
Writing 'vbmeta' OKAY [ 0.008s]
Finished. Total time: 0.053s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash recovery TWRP-3.4.
0-10-full.img
Sending 'recovery' (32768 KB) OKAY [ 0.807s]
Writing 'recovery' OKAY [ 0.517s]
Finished. Total time: 1.350s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot boot recovery
fastboot: error: cannot load 'recovery': No such file or directory
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot boot TWRP-3.4.0-10-full.
img
Sending 'boot.img' (32768 KB) OKAY [ 0.799s]
Booting OKAY [ 0.213s]
Finished. Total time: 1.073s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>adb shell
adb.exe: no devices/emulators found
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash vbmeta vblankmeta.
img
Sending 'vbmeta' (4 KB) OKAY [ 0.022s]
Writing 'vbmeta' OKAY [ 0.008s]
Finished. Total time: 0.058s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash boot MyBoot0.img
Sending 'boot' (32768 KB) OKAY [ 0.805s]
Writing 'boot' OKAY [ 0.513s]
Finished. Total time: 1.347s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash recovery MyRecover
y0.img
Sending 'recovery' (32768 KB) OKAY [ 0.803s]
Writing 'recovery' OKAY [ 0.519s]
Finished. Total time: 1.351s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot reboot
Rebooting OKAY [ 0.003s]
Finished. Total time: 0.008s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash boot MyBoot0.img
< waiting for any device >
^C
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>adb kill-server
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot devices
3082SH1001004262 fastboot
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash super super.img
fastboot: error: cannot load 'super.img': No such file or directory
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash super super.bin
fastboot: error: cannot load 'super.bin': No such file or directory
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash super super.bin
Sending sparse 'super' 1/23 (131068 KB) OKAY [ 4.468s]
Writing 'super' OKAY [ 2.133s]
Sending sparse 'super' 2/23 (130832 KB) OKAY [ 4.300s]
Writing 'super' OKAY [ 2.132s]
Sending sparse 'super' 3/23 (130841 KB) OKAY [ 4.602s]
Writing 'super' OKAY [ 2.251s]
Sending sparse 'super' 4/23 (130572 KB) OKAY [ 4.410s]
Writing 'super' OKAY [ 2.184s]
Sending sparse 'super' 5/23 (131060 KB) OKAY [ 4.109s]
Writing 'super' OKAY [ 2.068s]
Sending sparse 'super' 6/23 (130700 KB) OKAY [ 4.157s]
Writing 'super' OKAY [ 2.053s]
Sending sparse 'super' 7/23 (130881 KB) OKAY [ 4.182s]
Writing 'super' OKAY [ 2.248s]
Sending sparse 'super' 8/23 (130489 KB) OKAY [ 3.941s]
Writing 'super' OKAY [ 2.277s]
Sending sparse 'super' 9/23 (129252 KB) OKAY [ 4.187s]
Writing 'super' OKAY [ 2.855s]
Sending sparse 'super' 10/23 (128853 KB) OKAY [ 4.071s]
Writing 'super' OKAY [ 3.008s]
Sending sparse 'super' 11/23 (131020 KB) OKAY [ 4.032s]
Writing 'super' OKAY [ 2.070s]
Sending sparse 'super' 12/23 (131068 KB) OKAY [ 4.108s]
Writing 'super' OKAY [ 2.069s]
Sending sparse 'super' 13/23 (131068 KB) OKAY [ 4.073s]
Writing 'super' OKAY [ 2.080s]
Sending sparse 'super' 14/23 (131068 KB) OKAY [ 4.066s]
Writing 'super' OKAY [ 2.053s]
Sending sparse 'super' 15/23 (130348 KB) OKAY [ 4.274s]
Writing 'super' OKAY [ 4.725s]
Sending sparse 'super' 16/23 (131032 KB) OKAY [ 4.043s]
Writing 'super' OKAY [ 2.085s]
Sending sparse 'super' 17/23 (130560 KB) OKAY [ 4.186s]
Writing 'super' OKAY [ 2.126s]
Sending sparse 'super' 18/23 (130900 KB) OKAY [ 4.065s]
Writing 'super' OKAY [ 2.107s]
Sending sparse 'super' 19/23 (130493 KB) OKAY [ 4.069s]
Writing 'super' OKAY [ 2.340s]
Sending sparse 'super' 20/23 (121428 KB) OKAY [ 3.900s]
Writing 'super' OKAY [ 1.933s]
Sending sparse 'super' 21/23 (131068 KB) OKAY [ 4.082s]
Writing 'super' OKAY [ 2.164s]
Sending sparse 'super' 22/23 (131068 KB) OKAY [ 4.102s]
Writing 'super' OKAY [ 2.109s]
Sending sparse 'super' 23/23 (40268 KB) OKAY [ 1.320s]
Writing 'super' OKAY [ 0.649s]
Finished. Total time: 145.206s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.005s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot reboot
Rebooting OKAY [ 0.001s]
Finished. Total time: 0.005s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash vbmeta vblankmeta.
img
< waiting for any device >
^C
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>adb kill-server
cannot connect to daemon at tcp:5037: cannot connect to 127.0.0.1:5037: No conne
ction could be made because the target machine actively refused it. (10061)
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash boot TWRP-3.4.0-10
-full.img
Sending 'boot' (32768 KB) OKAY [ 0.795s]
Writing 'boot' OKAY [ 0.517s]
Finished. Total time: 1.336s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot reboot TWRP-3.4.0-10-ful
l.img
fastboot: usage: unknown reboot target TWRP-3.4.0-10-full.img
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot boot TWRP-3.4.0-10-full.
img
Sending 'boot.img' (32768 KB) OKAY [ 0.784s]
Booting OKAY [ 0.067s]
Finished. Total time: 0.904s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash vbmeta vblankmeta.
img
Sending 'vbmeta' (4 KB) OKAY [ 0.007s]
Writing 'vbmeta' OKAY [ 0.001s]
Finished. Total time: 0.022s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash boot boot.img
Sending 'boot' (32768 KB) OKAY [ 0.791s]
Writing 'boot' OKAY [ 0.514s]
Finished. Total time: 1.321s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash recovery TWRP-3.4.
0-10-full.img
Sending 'recovery' (32768 KB) OKAY [ 0.795s]
Writing 'recovery' OKAY [ 0.510s]
Finished. Total time: 1.322s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.004s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>adb shell
* daemon not running; starting now at tcp:5037
* daemon started successfully
Armor_X5_Q:/ $ su
/system/bin/sh: su: inaccessible or not found
3082SH1001004262 shell echo "persist.service.adb.enable=1" >> default.prop <
/system/bin/sh: can't create default.prop: Read-only file system
082SH1001004262 shell echo "persist.service.debuggable=1" >> default.prop <
/system/bin/sh: can't create default.prop: Read-only file system
082SH1001004262 shell echo "persist.sys.usb.config=mtp,adb" >> default.prop <
/system/bin/sh: can't create default.prop: Read-only file system
o "persist.service.adb.enable=1" >> /system/build.prop <
/system/bin/sh: can't create /system/build.prop: Read-only file system
o "persist.service.debuggable=1" >> /system/build.prop <
001004/system/bin/sh: can't create /system/build.prop: Read-only file system
262 s1|Armor_X5_Q:/ $ adb -s 3082SH1001004262 shell echo "persist.sys.usb.config
o "persist.sys.usb.config=mtp,adb" >> /system/build.prop <
/system/bin/sh: can't create /system/build.prop: Read-only file system
1|Armor_X5_Q:/ $
1|Armor_X5_Q:/ $
082SH1001004262 shell settings put secure install_non_market_apps 1 <
adb -s 3082SH1001004262 shell settings put global setup_wiz/system/bin/sh: adb:
inaccessible or not found
ard_has_run 1
adb -s 3082SH1001004262 shell settings put secure user_setup_complete 1
adb -s 3082SH10010127|Armor_X5_Q:/ $ adb -s 3082SH1001004262 shell settings put
3082SH1001004262 shell settings put global adb_enabled 1 <
s/system/bin/sh: adb: inaccessible or not found
3082SH1001004262 shell settings put global setup_wizard_has_run 1 <
rt/system/bin/sh: adb: inaccessible or not found
s_logg127|Armor_X5_Q:/ $ adb -s 3082SH1001004262 shell settings put secure user_
3082SH1001004262 shell settings put secure user_setup_complete 1 <
/system/bin/sh: adb: inaccessible or not found
ed 1
adb127|Armor_X5_Q:/ $ adb -s 3082SH1001004262 shell settings put global activity
3082SH1001004262 shell settings put global activity_starts_logging_enabled 1 <
-s 3082SH1001004262 shell settings put sec/system/bin/sh: adb: inaccessible or n
ot found
ure location_providers_allowed +gps,network127|Armor_X5_Q:/ $ adb -s 3082SH10010
3082SH1001004262 shell settings put global development_settings_enabled 1 <
/system/bin/sh: adb: inaccessible or not found
ettings put secure location_providers_allowed +gps,network <
/system/bin/sh: adb: inaccessible or not found
127|Armor_X5_Q:/ $ exit
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>adb reboot bootloader
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash vbmeta vblankmeta.
img
Sending 'vbmeta' (4 KB) OKAY [ 0.007s]
Writing 'vbmeta' OKAY [ 0.001s]
Finished. Total time: 0.026s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash boot MyBoot0.img
Sending 'boot' (32768 KB) OKAY [ 0.794s]
Writing 'boot' OKAY [ 0.510s]
Finished. Total time: 1.320s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot flash recovery MyRecover
y0.img
Sending 'recovery' (32768 KB) OKAY [ 0.794s]
Writing 'recovery' OKAY [ 0.508s]
Finished. Total time: 1.319s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>fastboot reboot
Rebooting OKAY [ 0.001s]
Finished. Total time: 0.007s
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>adadb shell
'adadb' is not recognized as an internal or external command,
operable program or batch file.
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>adb shell
Armor_X5_Q:/ $ su
^C
130|Armor_X5_Q:/ $ mount -o remount,rw /
mount: '/dev/block/dm-1' not user mountable in fstab
1|Armor_X5_Q:/ $ exit
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>adb -s 3082SH1001004262 shell ech
o "persist.service.adb.enable=1" >> default.prop
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>adb -s 3082SH1001004262 shell ech
o "persist.service.debuggable=1" >> default.prop
adb -s 3082SH1001004262 shell echo "persist.sys.usb.config=mtp,adb" >> default.p
rop
adb -s 3082SH1001004262 shell echo "persist.service.adb.enable=1" >> /system/bui
ld.prop
adb -s 3082SH1001004262 shell echo "persist.service.debuggable=1" >> /system/bui
ld.prop
adb -s 3082SH1001004262 shell echo "persist.sys.usb.config=mtp,adb" >> /system/b
uild.prop
adb -s 3082SH1001004262 shell settings put secure install_non_market_apps 1
adb -s 3082SH1001004262 shell settings put global adb_enabled 1
adb -s 3082SH1001004262 shell settings put global setup_wizard_has_run 1
adb -s 3082SH1001004262 shell settings put secure user_setup_complete 1
adb -s 3082SH1001004262 shell settings put global activity_starts_logging_enable
d 1
adb -s 3082SH1001004262 shell settings put global development_settings_enabled 1
adb -s 3082SH1001004262 shell settings put secure location_providers_allowed +gp
s,network
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>adb install MagiskCanary23.0.apk
Performing Streamed Install
Success
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>for x in / /product /vendor; do m
ount -o remount,rw $x; echo "it works! @ $x">$x/test.txt; cat $x/test.txt; rm $x
/test.txt; done
x was unexpected at this time.
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>adb shell
Armor_X5_Q:/ $ su
"it works! @ $x">$x/test.txt; cat $x/test.txt; rm $x/test.txt; done <
'/dev/block/dm-1' is read-only
/system/bin/sh: can't create //test.txt: Read-only file system
cat: //test.txt: No such file or directory
rm: //test.txt: No such file or directory
'/dev/block/dm-0' is read-only
/system/bin/sh: can't create /product/test.txt: Read-only file system
cat: /product/test.txt: No such file or directory
rm: /product/test.txt: No such file or directory
'/dev/block/dm-2' is read-only
/system/bin/sh: can't create /vendor/test.txt: Read-only file system
cat: /vendor/test.txt: No such file or directory
rm: /vendor/test.txt: No such file or directory
1|Armor_X5_Q:/ #
1|Armor_X5_Q:/ # mount -o remount,rw /
'/dev/block/dm-1' is read-only
Armor_X5_Q:/ #
D:\2022 x86\Adb\platform-tools_r31.0.1-windows>
Notice the commands being accepted BEFORE I updated magisk, then what happens?
mount -o remount,rw /
mount: '/dev/block/dm-1' not user mountable in fstab
In effect I need the note9 fstab to enable rw to /
!!!
One last thing I forgot to mention, without twrp, forget twrp.
I made a proper boot image for this fone, that also works when booting it from recovery, when booting from recovery, if in select recovery menu, continuing to press + VOL button, while choosing recovery lol...
And the boot image works with stock recovery!
Sadley, no twrp flashing
So how to get the twrp flashables flashable again?
The above MyBoot.img gives magisked root access flashed to boot.
fastboot flash vbmeta vblankmeta.img
fastboot flash boot MyBoot1.img
fastboot reboot
As for
mount -o remount,rw /
I gave y'all the answer.
Pachacouti said:
One last thing I forgot to mention, without twrp, forget twrp.
I made a proper boot image for this fone, that also works when booting it from recovery, when booting from recovery, if in select recovery menu, continuing to press + VOL button, while choosing recovery lol...
And the boot image works with stock recovery!
Sadley, no twrp flashing
So how to get the twrp flashables flashable again?
Click to expand...
Click to collapse
Sorry for the doubt but is the TWRP Ulefone Note 9 you wrote from this thread?https://forum.xda-developers.com/t/twrp-3-4-0-twrp-for-ulefone-note-9p-helio-p22-mt6762-5.4171433/
You PORTed TWRP img or only flash that img file directly in your device?
If you want I'll compile the TWRP 3.5.2_10 to you. Only send me stock recovery.img & super.img same version from your device.
I'll post the ULEFONE note9.img I used to gain access. The thing is, when I use this, system is writable, but obviously I update magisk, and while rebooting after doing the 'live install' of magisk (works fine to patch a boot that fails... )
My process is this, I can patch an origional boot with magisk after flashing note9 to recovery,
I can then flash the patched boot and it works when flashed to boot, and can use origional recovery, but cant flash magisk'd boot from origional un rooted fone, patched by magisk, so the note9 was my 'backdoor' so to speak...
and the systems all over the place lol.. dynamic is a pain, cant even find my sdcard and kali nethunter magisk modules need zips not git lol...
The note9recovery has something to watch for.. using clean slate, when booting the note9recovery, as fone goes into loading (past recovery) and just before fone goes into gui,
when doing "mount -o remount,rw / " system is actually writable, but cuts off adb when gui gives access!
Magisk somehow wrecks the actual mount -o remount,rw / I have when I first boot, afterwards saying dm-1 or 3 is read only.
Anyway, I'v posted my stock boot and recovery too, if I can see twrp in recovery, I'd be delighted, I lost the plot with all this where's my f'n sdcard, damn dynamic partitioning'!
Oh, and I have a problem, 128gig sdcard, fone says not enough space!
MyBoot1.img posted above is the clean slate magisk'd origional boot WITHOUT twrp, and I can use this to flash to recovery afterwards, in order to boot recovery, but have no twrp... so useless really as recovery, so I flash boot MyBoot1.img just to get a magisk to test lol...
Thanks for your time
lopestom said:
Sorry for the doubt but is the TWRP Ulefone Note 9 you wrote from this thread?https://forum.xda-developers.com/t/twrp-3-4-0-twrp-for-ulefone-note-9p-helio-p22-mt6762-5.4171433/
You PORTed TWRP img or only flash that img file directly in your device?
If you want I'll compile the TWRP 3.5.2_10 to you. Only send me stock recovery.img & super.img same version from your device.
Click to expand...
Click to collapse
Yes it was this I flashed to recovery, it says mt6762, and this was the key, because up until I flashed this, I was flashing mt6765 as per fones claims it is, and getting nowhere, i'm a only...
Soz, posting superimage once zipped...
I may get cut off by my isp, so if its easier for you my firmware is:
P2N2V23A.GQU.Ulefone.EEA.HB.HJ.S8AMABHUYB.0509.V3.01
In the meantime, I noticed when testing twrp ports, a green line flashed just before I get black screen where twrp WOULD show, adb/su works, but no twrp flashing commands, and it crossed my mind I've seen this with the firestick lol, where firesticks were being overlaid with a screen blocking twrp..? No?
Pachacouti said:
Yes it was this I flashed to recovery, it says mt6762, and this was the key, because up until I flashed this, I was flashing mt6765 as per fones claims it is, and getting nowhere, i'm a only...
Click to expand...
Click to collapse
Keep calm and let me time to do correct TWRP to you test after. Time now.
Thank you...
I think uppin the super mite not go down too well with the ee unlimited broadband business class lol, isp, so if I disappear for a while lol...
Ps, origional super.7z.001 was renamed to zip for my ease
Pachacouti said:
Thank you...
I think uppin the super mite not go down too well with the ee unlimited broadband business class lol, isp, so if I disappear for a while lol...
Ps, origional super.7z.001 was renamed to zip for my ease
Click to expand...
Click to collapse
Downloaded recovery.img & super.zip files.
Now I'm creating file test. Maybe 2h after this message.
SYL
Update: Try install recovery.img (TWRP) and if not good so install vbmeta modified.
Spoiler: Install Custom recovery
stock recovery - bootloader => fastboot (not fastbootd)
cmd command:
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmetaAndroidSC_mod.img
cmd command:
Code:
fastboot flash recovery recovery.img
cmd command:
Code:
fastboot reboot-recovery
Let me know about.
Super! No rush, it's pickled my head enough as it is lol, reading time..
Am impressed... I see twrp in recovery at last.. you are a god send for all those armor x5 punters with the 'a' only partition, next time I see you in the street, i'll buy you a pint, but until then a lucky find will seek you out, respect!!
You should post this as a working twrp, since it's not my work, as twrp was what I actually needed to get stuff done, well appreciated, I'll away test it now
Pachacouti said:
Am impressed... I see twrp in recovery at last.. you are a god send for all those armor x5 punters with the 'a' only partition, next time I see you in the street, i'll buy you a pint, but until then a lucky find will seek you out, respect!!
You should post this as a working twrp, since it's not my work, as twrp was what I actually needed to get stuff done, well appreciated, I'll away test it now
Click to expand...
Click to collapse
Thanks. Not need more than respect.
I just chose you for the attitude of sharing information and the fact that you needed help to progress. Courage is for the few.
I prefer that you share the TWRP file and instructions yourself. So fastboot/fastbootD; encryption and decryption; installation of zips; backup and restore; internal and external storage; anything else is working??
Yes: Enjoy! No: let me know.
lopestom said:
Thanks. Not need more than respect.
I just chose you for the attitude of sharing information and the fact that you needed help to progress. Courage is for the few.
I prefer that you share the TWRP file and instructions yourself. So fastboot/fastbootD; encryption and decryption; installation of zips; backup and restore; internal and external storage; anything else is working??
Yes: Enjoy! No: let me know.
Click to expand...
Click to collapse
Hmm, I learn sumat new every day, thank god aquarius is here lol, anyway, so far, I'm still at some pernikity when it comes to writing system, dm-1 or dm-3 locked, but from what I see and have tested so far, all possibilities using fone before it boot's into gui, system and mnt points work, , my sdcard is very visible at last, and writable, using stock the crappy google file manager would not let me write to sdcard, so you've solved so many headache's in one swoop. I'll write a final tut to show my alternative route's lol, thanks again
Armor x5 Android 10_Q Mt6765 aka Mt6762 ROOT AT LAST!
This 'tutorial' is a quicky for those yet to figure this fone out. Well it took a bit time for sure, but this is how it went... No matter what recovery or magisk I tried, nothing worked, all ulefone images with twrp were 64mb in size, where-as...
forum.xda-developers.com

How To Guide [FULL DEFINITIVE GUIDE] Installing 'Custom ROMs' (GSIs) without TWRP on Samsung Phones

11th Feb 2023
THIS GUIDE DOES NOT REQUIRE ROOT, BUT WILL WIPE YOUR EXISTING DATA! MAKE SURE TO HAVE A BACKUP.
Now before you start commenting that GSIs are not the same as Custom ROMs, please read below.
Spoiler Alert: There are probably not going to be any true Custom ROMs for the A52 5G for quite a long time. Due to the fact that Samsung's RIL system (the thing that makes your SIM/LTE/Mobile Data work) will not work on anything other than the Stock ROM, many developers have basically seen no point in developing even an official TWRP recovery for the phone. The above is true for all Samsung 5G Snapdragon-based devices. Using a GSI circumvents the RIL issue since all it does is sit in the system partition.
Therefore, your best bet if you really are intent on messing with your phone is to use GSIs. While some may argue that using GSIs for use as a daily driver comes with its issues, but I have been using mine with PE13+ for a few days now and everything functions as normal albeit while needing some workarounds (see POST-INSTALLATION section at bottom after installation).
You might be asking, why not use TWRP? The A52 5G does not have an official (or stable) TWRP yet. You can check this thread to be updated on the progress of the unofficial port! This guide is relatively simple, however, I have tried to make it as thorough as possible to help those who are just beginning on their GSI journey.
IT IS RECOMMENDED TO READ THROUGH THE GUIDE AT LEAST ONCE BEFORE UNDERTAKING ACTIONS!
----Your Warranty is Now Void (unless you live in AU or UK I guess)----
I am not responsible to any damage that comes from following this guide. While I have tried to keep information here as accurate and precise as possible, your mileage may vary. Be Warned!
This guide is tailored towards Windows devices and Samsung phones for target installation. Please seek alternatives to Odin such as Hiemdall if on Linux.
-----------------------------------------------------------------------------------
GUIDE:
Installing the PixelExperience+ GSI is recommended while using this guide as I cannot give any post-installation help to those using other GSIs.
General Commands for GSI Installation here:
Generic system images | Android Open Source Project
source.android.com
PixelExperience+ Stable GSI Download:
GitHub - ponces/treble_build_pe: Script and patches for building PHH-Treble Pixel Experience
Script and patches for building PHH-Treble Pixel Experience - GitHub - ponces/treble_build_pe: Script and patches for building PHH-Treble Pixel Experience
github.com
Prerequisites:
- An Android Treble-Enabled device. Use this app to check. Any devices launched at and after Android 10 should work.
- Windows system.
- Extraction software such as 7Zip or PeaZip.
- ADB and fastboot on computer, if not can download from official Google Android SDK. Make sure to add the platform-tools folder to PATH.
- Samsung Odin software (at the time of writing, the attached is the latest version).
- Stock Firmware for your phone model to completely reset if needed. Use this link to download yours. Make sure everything is correct before downloading!
- Your preferred GSI .xz file or .img
- Know which keys to press for your SPECIFIC Samsung model for Download Mode and Recovery Mode.
If your Samsung device already has fastbootd, boot into fastboot and skip straight to step 8!
Your Samsung device should be plugged into your computer from now on, with USB debugging enabled.
1. From the stock OneUI ROM, boot into Download Mode by holding VOL UP and VOL DOWN simultaneously when off or rebooting. Alternatively, you can run `adb reboot download`.
2. TURN OFF AUTO RESTART IN ODIN (options tab), AS RESTARTING TO STOCK ROM WILL WIPE CUSTOM RECOVERY!
3. If you are on an A52 5G, download the fastboot-recovery.tar file attached. If the file is missing, go to this thread and download the tar file. Otherwise, use this link and follow instructions to patch your model's recovery.img file. Then convert it back into a tar file for flashing.
4. Choose the patched recovery tar file. This is enables fastboot, as modern Samsung devices don't have this feature enabled. USE AP SLOT in ODIN TO FLASH.
5. Once flash is complete, hold VOL DOWN and SIDE KEY to exit Download Mode, then immediately change to VOL UP and SIDE KEY when screen goes black.
6. Press the VOL UP and VOL DOWN buttons to select the fastboot option once in Android recovery.
7. Press SIDE KEY to boot into fastbootd.
8. Run `fastboot devices` in Windows Terminal or Command Prompt to ensure the device is recognized.
9. If your GSI came in a compressed file (.xz, .zip, etc.) extract it with your program of choice. You should be left with a .img file. Rename this file to system.img. All of this should be done in your downloads folder.
10. Navigate your command prompt using `cd` to your Downloads folder. In my case, it was `cd C:\Users\User\Downloads\`. Your username might be different.
11. Run `fastboot erase system`.
12. Run `fastboot flash system system.img`. This might take a few minutes to complete. If you get an error about system partition size, scroll to the bottom of this article and run the command to free up space.
13. Once complete, run `fastboot -w`. If this returns an error, do not retry and proceed to the next step. If it ran successfully, skip to step 17.
14. Run `fastboot reboot`. Immediately after the screen goes black, hold the VOL UP and SIDE KEY buttons together until you reach Android recovery. If you fail to reach Android recovery, you may have to return to step 11. Worst case scenario, you may have to go to the PANIK GUIDE to completely reset, then go from step 1.
15. Use VOL UP and VOL DOWN to select 'Wipe Data/Factory Reset' and use SIDE KEY to confirm. Then repeat the process for 'Wipe Cache'.
16. After wiping data, use VOL UP and VOL DOWN to reboot (should be the first option in Android recovery).
17. If you ran `fastboot -w` without an error, run `fastboot reboot` and enjoy your newly flashed GSI! Make sure to check the POST-INSTALLATION section for some fixes.
POST-INSTALLATION SPECIFIC TO PIXELEXPERIENCE:
These are some quality-of-life improvements for your experience that I had to painstakingly test lol. If you have any of your own, make sure to share them with me in the comments!
1. Under-screen fingerprint sensor not working.
FIX: Go to Settings -> PHH Treble Settings -> Misc. -> Under-display fp color. Switch to the colour it was on your stock ROM (should be white for most Samsung devices). For some reason, PE13+ will only let you register fingerprints when the color is green. If you want to modify your fingerprints, switch the display fp color back to green. When done, return it to your stock ROM's colour.
2. Camera app features are extremely minimal.
FIX: Go to the GCam Hub to find the best app for your device.
3. No alternate refresh rate (or stuck at 60HZ)
FIX: Go to Settings -> PHH Treble Settings -> Misc. -> Force FPS. Choose the one you want.
4. Fingerprint sensor not working with Night Light.
FIX: There's no working fix yet. However, you can work around this by downloading a task automation app such as Tasker (paid) or Automator (freemium) to toggle the Night Light automatically when you are on the lock screen. Search online for a specific fix for your specific app. For starters, you can use 'toggle night light with <your automation app>'.
KNOWN UNFIXABLE ISSUES:
If you know any fixes that have worked for you, make sure to share them in the comments!
1. Face Unlock does not work on the A52 5G. It may or may not work on your device. IMO, it's not a deal breaker since I the fingerprint sensor is faster and more convenient in 99% of cases.
PANIK GUIDE:
If all hope seems lost and you somehow mess the phone up, wait until the next bootloop. When the screen goes black, press VOL UP and VOL DOWN immediately until it enters Download Mode. Then flash stock firmware through Odin. Use All files available in the stock firmware folder to their corresponding slot in Odin. Use the CSC file, NOT the HOME_CSC.
CONCLUSION:
Well, hopefully that just about sums up everything you need or wanted to know about the A52 5G and tinkering with the OS. If you need any more information just leave a comment on the thread and I'll try to get back to you.
Reserved.
Reserved.
Reserved.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello, I followed the steps, install the file fastboot a52 5g by odin, reboot into recovery, install img gsi, it seems that it gives a size error but it is installed. I follow these steps of course, unlocked booloader, fasboot mode fastboot erase system fastboot flash system system.img gives size error but does it install?. Finally the fastboot -w command and reboot but it stays rebooting. I have android 13 a52 5g. I put images fastboot delete-logical-partition product_a not working for me
For some reason, attempting to erase the system partition results in error:
Erasing 'system' FAILED (remote: 'unknown command')
fastboot: error: Command failed
Worked like a charm. Thank you very much. I now have something else to play with my a52 5g. Will try with other gsi's.
markpanget1 said:
Worked like a charm. Thank you very much. I now have something else to play with my a52 5g. Will try with other gsi's.
Click to expand...
Click to collapse
Hello, what rom did you use? Well, I tried pixel, cdroid and it gives me a partition size error. I have the a52 5g android 13
ped1609 said:
Hello, what rom did you use? Well, I tried pixel, cdroid and it gives me a partition size error. I have the a52 5g android 13
Click to expand...
Click to collapse
Pixel experience plus. Did you erase the system properly? Try to check if fastboot drivers is properly installed. I do get some error but i just proceeded with every steps.
markpanget1 said:
ÇPixel experience plus. Did you erase the system properly? Try to check if fastboot drivers is properly installed. I do get some error but i just proceeded with every steps.
Click to expand...
Click to collapse
markpanget1 said:
Pixel experience plus. Did you erase the system properly? Try to check if fastboot drivers is properly installed. I do get some error but i just proceeded with every steps.
Click to expand...
Click to collapse
I follow all the steps, install the recovery with odin, enter recovery, then fasboot mode where fasboot devices recognize it with a number, then fastboot erase system, this is where fastboot flash fails system system.img partition size error, I hit fastboot delete-logical-partition product_a but it does nothing.
ped1609 said:
I follow all the steps, install the recovery with odin, enter recovery, then fasboot mode where fasboot devices recognize it with a number, then fastboot erase system, this is where fastboot flash fails system system.img partition size error, I hit fastboot delete-logical-partition product_a but it does nothing.
Click to expand...
Click to collapse
Im sorry, i'm not an expert on this, im afraid i cant answer your question about that except if i experience that error, maybe i can find a workaround with myself , then maybe i can help you. Maybe later i'll try to flash my phone again with gsi and record it all and share it with this forum.
markpanget1 said:
Im sorry, i'm not an expert on this, im afraid i cant answer your question about that except if i experience that error, maybe i can find a workaround with myself , then maybe i can help you. Maybe later i'll try to flash my phone again with gsi and record it all and share it with this forum.
Click to expand...
Click to collapse
Thanks, maybe it's a PC problem, I'll restore them to the factory and try.
Hello, I already managed to install gsi pixel plus, partition errors too large, pixel on the a52 5g with android 13. 1 root method a525g with android 13, use AP_A526BXXU3EWD2 according to your model to place it in the mobile memory 2 install magisk, patch the ap will create a file on the mobile pass it to pc, 3 open Odin, reinstall the official rom but with the patched ap, when you start the mobile, please install the magisk app again as it is removed, When you open it, you will be root. 4 then go back to odin to install the fastbootd-recovery file in the ap box as the tutorial says above. 5 when you install the file enter the recovery as it says above press power and volume down at the same time to exit odin and quickly when it exits black screen volume up and power to enter recovery. 5 when you enter recovery and you are in fasboot mode, this is where it gave me trouble normal cmd didn't work. Download platform-tools, create a folder called rom a52, inside the plattform -tools folder I opened cmd the commands i used and it worked, 1 fastboot devices to indicate that it recognizes it, 2 fastboot delete-logical-partition product this worked 3 fastboot erase system 4 fastboot flash system system.img 5 fastboot -w 6 fastboot reboot and reboot into the new pixel system, Sorry if it's too long but I had a hard time solving the partition size.
Más información sobre este texto de origen​Para obtener más información sobre la traducción, se necesita el texto de origen
Enviar comentarios
Paneles laterales​
https://translate.google.es/saved
https://translate.google.es/contribute
ped1609 said:
Hello, I already managed to install gsi pixel plus, partition errors too large, pixel on the a52 5g with android 13. 1 root method a525g with android 13, use AP_A526BXXU3EWD2 according to your model to place it in the mobile memory 2 install magisk, patch the ap will create a file on the mobile pass it to pc, 3 open Odin, reinstall the official rom but with the patched ap, when you start the mobile, please install the magisk app again as it is removed, When you open it, you will be root. 4 then go back to odin to install the fastbootd-recovery file in the ap box as the tutorial says above. 5 when you install the file enter the recovery as it says above press power and volume down at the same time to exit odin and quickly when it exits black screen volume up and power to enter recovery. 5 when you enter recovery and you are in fasboot mode, this is where it gave me trouble normal cmd didn't work. Download platform-tools, create a folder called rom a52, inside the plattform -tools folder I opened cmd the commands i used and it worked, 1 fastboot devices to indicate that it recognizes it, 2 fastboot delete-logical-partition product this worked 3 fastboot erase system 4 fastboot flash system system.img 5 fastboot -w 6 fastboot reboot and reboot into the new pixel system, Sorry if it's too long but I had a hard time solving the partition size.
Más información sobre este texto de origen​Para obtener más información sobre la traducción, se necesita el texto de origen
Enviar comentarios
Paneles laterales​
https://translate.google.es/saved
https://translate.google.es/contribute
Click to expand...
Click to collapse
Oh, that's what i forgot to mention, i'm already rooted with latest magisk long before i performed gsi flashing.
Good for you bro! congrats!
markpanget1 said:
Oh, that's what i forgot to mention, i'm already rooted with latest magisk long before i performed gsi flashing.
Good for you bro! congrats!
Click to expand...
Click to collapse
Thanks, I've tried 2 gsi but it has little pixel brightness, cdroid, I'll try lineage and evolution to see if the brightness is corrected.
I see mention of the Snapdragon variants. Does that mean the bootloader doesn't need to be unlocked to flash GSIs? I have the U1 variant
lowridincrew said:
I see mention of the Snapdragon variants. Does that mean the bootloader doesn't need to be unlocked to flash GSIs? I have the U1 variant
Click to expand...
Click to collapse
You need to unlock the bootloader to flash GSI, yes.
C:\Users\user\Downloads\PixelExperience_Plus_arm64-ab-13.0-20230503-UNOFFICIAL.img>fastboot flash system system.img
target reported max download size of 268435456 bytes
Invalid sparse file format at header magi
erasing 'system'...
OKAY [ 0.063s]
sending sparse 'system' (256443 KB)...
OKAY [ 6.929s]
writing 'system'...
OKAY [ 0.890s]
sending sparse 'system' (258773 KB)...
OKAY [ 6.679s]
writing 'system'...
OKAY [ 0.641s]
sending sparse 'system' (255920 KB)...
OKAY [ 6.754s]
writing 'system'...
OKAY [ 0.714s]
sending sparse 'system' (258109 KB)...
OKAY [ 6.957s]
writing 'system'...
OKAY [ 0.687s]
sending sparse 'system' (259589 KB)...
OKAY [ 6.674s]
writing 'system'...
OKAY [ 0.687s]
sending sparse 'system' (258310 KB)...
OKAY [ 6.678s]
writing 'system'...
OKAY [ 0.726s]
sending sparse 'system' (259101 KB)...
OKAY [ 6.910s]
writing 'system'...
OKAY [ 0.671s]
sending sparse 'system' (259985 KB)...
OKAY [ 6.582s]
writing 'system'...
OKAY [ 0.617s]
sending sparse 'system' (259396 KB)...
OKAY [ 7.228s]
writing 'system'...
OKAY [ 0.616s]
sending sparse 'system' (260673 KB)...
OKAY [ 6.939s]
writing 'system'...
OKAY [ 0.641s]
sending sparse 'system' (260774 KB)...
OKAY [ 6.919s]
writing 'system'...
OKAY [ 0.695s]
sending sparse 'system' (245741 KB)...
OKAY [ 6.211s]
writing 'system'...
OKAY [ 0.672s]
sending sparse 'system' (206734 KB)...
OKAY [ 5.591s]
writing 'system'...
OKAY [ 0.641s]
finished. total time: 96.193s
C:\Users\user\Downloads\PixelExperience_Plus_arm64-ab-13.0-20230503-UNOFFICIAL.img>fastboot -w
Erase successful, but not automatically formatting.
File system type f2fs not supported.
Creating filesystem with parameters:
Size: 629145600
Block size: 4096
Blocks per group: 32768
Inodes per group: 7680
Inode size: 256
Journal blocks: 2400
Label:
Blocks: 153600
Block groups: 5
Reserved block group size: 39
Created filesystem with 11/38400 inodes and 4936/153600 blocks
target reported max download size of 268435456 bytes
erasing 'userdata'...
OKAY [ 10.502s]
erasing 'cache'...
OKAY [ 0.015s]
sending 'cache' (11752 KB)...
OKAY [ 0.284s]
writing 'cache'...
OKAY [ 0.102s]
finished. total time: 10.932s
these are my fastboot logs, when I perform "fastboot reboot" I got an endless bootloop, I followed all steps and everything worked fine until this, any help please?
EDIT: I tried also to perform a factory data reset from recovery instead of "fastboot -w" command, nothing changed
Shiina_ said:
C:\Users\user\Downloads\PixelExperience_Plus_arm64-ab-13.0-20230503-UNOFFICIAL.img>fastboot flash system system.img
target reported max download size of 268435456 bytes
Invalid sparse file format at header magi
erasing 'system'...
OKAY [ 0.063s]
sending sparse 'system' (256443 KB)...
OKAY [ 6.929s]
writing 'system'...
OKAY [ 0.890s]
sending sparse 'system' (258773 KB)...
OKAY [ 6.679s]
writing 'system'...
OKAY [ 0.641s]
sending sparse 'system' (255920 KB)...
OKAY [ 6.754s]
writing 'system'...
OKAY [ 0.714s]
sending sparse 'system' (258109 KB)...
OKAY [ 6.957s]
writing 'system'...
OKAY [ 0.687s]
sending sparse 'system' (259589 KB)...
OKAY [ 6.674s]
writing 'system'...
OKAY [ 0.687s]
sending sparse 'system' (258310 KB)...
OKAY [ 6.678s]
writing 'system'...
OKAY [ 0.726s]
sending sparse 'system' (259101 KB)...
OKAY [ 6.910s]
writing 'system'...
OKAY [ 0.671s]
sending sparse 'system' (259985 KB)...
OKAY [ 6.582s]
writing 'system'...
OKAY [ 0.617s]
sending sparse 'system' (259396 KB)...
OKAY [ 7.228s]
writing 'system'...
OKAY [ 0.616s]
sending sparse 'system' (260673 KB)...
OKAY [ 6.939s]
writing 'system'...
OKAY [ 0.641s]
sending sparse 'system' (260774 KB)...
OKAY [ 6.919s]
writing 'system'...
OKAY [ 0.695s]
sending sparse 'system' (245741 KB)...
OKAY [ 6.211s]
writing 'system'...
OKAY [ 0.672s]
sending sparse 'system' (206734 KB)...
OKAY [ 5.591s]
writing 'system'...
OKAY [ 0.641s]
finished. total time: 96.193s
C:\Users\user\Downloads\PixelExperience_Plus_arm64-ab-13.0-20230503-UNOFFICIAL.img>fastboot -w
Erase successful, but not automatically formatting.
File system type f2fs not supported.
Creating filesystem with parameters:
Size: 629145600
Block size: 4096
Blocks per group: 32768
Inodes per group: 7680
Inode size: 256
Journal blocks: 2400
Label:
Blocks: 153600
Block groups: 5
Reserved block group size: 39
Created filesystem with 11/38400 inodes and 4936/153600 blocks
target reported max download size of 268435456 bytes
erasing 'userdata'...
OKAY [ 10.502s]
erasing 'cache'...
OKAY [ 0.015s]
sending 'cache' (11752 KB)...
OKAY [ 0.284s]
writing 'cache'...
OKAY [ 0.102s]
finished. total time: 10.932s
these are my fastboot logs, when I perform "fastboot reboot" I got an endless bootloop, I followed all steps and everything worked fine until this, any help please?
EDIT: I tried also to perform a factory data reset from recovery instead of "fastboot -w" command, nothing changed
Click to expand...
Click to collapse
Hello, that happened to me, above I put how to install..it seems to be installed but not.
ped1609 said:
Hello, that happened to me, above I put how to install..it seems to be installed but not.
Click to expand...
Click to collapse
Hi! Thanks for your reply, I just tried following your guide but nothing changed, still in bootloop
EDIT: I tried using another PixelExperience GSI and it worked, so I guess that I solved, thanks

Categories

Resources