Hey All,
I wanted to start a thread on compiling AOSP from scratch. I have done a bit of work with the folks over in the unofficial Lineage build (thank you @gee one!).
If you want to recreate my work, I posted helper scripts to include the necessary changes as well as a guide on how to compile there. Those scripts were adapted from lineageOS.
You can download a compiled img files or the recovery-image.zip here (get the vendor image here, and get the bootloader and radio images here). The recovery-image.zip should be able to be flashed in TWRP, or you can execute the following commands in the bootloader for the img files:
Code:
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash vbmeta vbmeta.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot -w (to wipe cache and data)
This is currently based off of build PQ3B.190801.002, last updated 2019-08-30
This ROM is compatible with MicroG, OpenGapps, F-Droid Privileged App, and Magisk
MicroG - Install via NanoDroid: https://nanolx.org/nanolx/nanodroid (Install first NanoDroid-Patcher then NanoDroig-MicroG)
OpenGapps - https://opengapps.org/
Magisk: https://forum.xda-developers.com/apps/magisk
F-Droid Privileged App: https://f-droid.org/en/packages/org.fdroid.fdroid.privileged.ota/
KNOWN ISSUES:
- AT&T does not have "Enhanced 4G LTE" mode, and WiFi Calling doesn't seem to work. I imagine this is a proprietary blob missing.
- eSIM isn't functional. I have a test build for it if you want to try, but it will crash without MicroG or Google Play. When I get confirmation it works I'll add it.
- There are probably other proprietary files I can add so that I can unlock normally stock ROM features, feel free to post and let me know. I am happy to even provide test builds, so if it does work, I will add it to the normal ROM.
NOTICES:
- This is untested in Sprint and Verizon. I removed a bunch of their proprietary files, so if you install and it doesn't work, install this version and see if it works. Please also let me know the results!
- If you do not install the AOSP Vendor above, you get a "device is corrupted" error. This is intentional. Secure boot is still on, so you cannot use the factory vendor image.
- The compiled ROMs will stay as close to AOSP as possible, with the exception of adding proprietary files that unlock stock ROM features. I do this so maintaining the ROM is easy, and I really only make this ROM for myself. I don't mind posting the compiled ROMs here, and I do hope folks find it useful. However, I am not adding non-stock/AOSP features (i.e. Lineage/OmniROM/bootlegger/etc. features). If I did, I have to add and maintain them. I really have neither the time nor the inclination to do that. The only way to change my mind is if I was paid to do it, but I already have a well paying day job, so the paycheck would have to be very well worth my while (which is why I don't have a donote button, I really don't want to feel like I'm obligated to do this).
I was trying to be "smart" and use vendor.img from stock ROM. It failed miserably.
Boot to TWRP first, did factory wipe, reboot to bootloader and flashed ROM:
======================================
AOSP>fastboot flash boot boot.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot flash system system.img && fastboot flash vendor vendor.img && fastboot -w
Sending 'boot_b' (65536 KB) OKAY [ 1.641s]
Writing 'boot_b' OKAY [ 0.328s]
Finished. Total time: 2.453s
Sending 'dtbo_b' (8192 KB) OKAY [ 0.281s]
Writing 'dtbo_b' OKAY [ 0.094s]
Finished. Total time: 0.656s
Sending 'vbmeta_b' (4 KB) OKAY [ 0.109s]
Writing 'vbmeta_b' OKAY [ 0.063s]
Finished. Total time: 0.438s
Sending sparse 'system_b' 1/5 (262140 KB) OKAY [ 6.508s]
Writing 'system_b' OKAY [ 0.047s]
Sending sparse 'system_b' 2/5 (262140 KB) OKAY [ 6.531s]
Writing 'system_b' OKAY [ 0.063s]
Sending sparse 'system_b' 3/5 (262140 KB) OKAY [ 6.455s]
Writing 'system_b' OKAY [ 0.063s]
Sending sparse 'system_b' 4/5 (262140 KB) OKAY [ 6.584s]
Writing 'system_b' OKAY [ 0.359s]
Sending sparse 'system_b' 5/5 (155532 KB) OKAY [ 3.968s]
Writing 'system_b' OKAY [ 1.172s]
Finished. Total time: 39.903s
Sending sparse 'vendor_b' 1/3 (262140 KB) OKAY [ 6.527s]
Writing 'vendor_b' OKAY [ 0.373s]
Sending sparse 'vendor_b' 2/3 (262096 KB) OKAY [ 6.515s]
Writing 'vendor_b' OKAY [ 0.375s]
Sending sparse 'vendor_b' 3/3 (12276 KB) OKAY [ 1.297s]
Writing 'vendor_b' OKAY [ 0.125s]
Finished. Total time: 19.118s
Erasing 'userdata' OKAY [ 4.506s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' OKAY [ 0.188s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Finished. Total time: 5.147s
======================================
White screen with Google logo popped up for few sec and phone rebooted with following message:
Your device is corrupt. It can't be trusted and may not work properly.
In second attempt flashed stock ROM first, boot, enabled ADB, disabled automatic updates, boot to bootloader, then TWRP, did factory wipe, flash ROM and ends up with the same result.
Compiling my own vendor image using provided instructions doesn't look like something I'm eager to do.
Pogo said:
I was trying to be "smart" and use vendor.img from stock ROM. It failed miserably.
Boot to TWRP first, did factory wipe, reboot to bootloader and flashed ROM:
======================================
AOSP>fastboot flash boot boot.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot flash system system.img && fastboot flash vendor vendor.img && fastboot -w
Sending 'boot_b' (65536 KB) OKAY [ 1.641s]
Writing 'boot_b' OKAY [ 0.328s]
Finished. Total time: 2.453s
Sending 'dtbo_b' (8192 KB) OKAY [ 0.281s]
Writing 'dtbo_b' OKAY [ 0.094s]
Finished. Total time: 0.656s
Sending 'vbmeta_b' (4 KB) OKAY [ 0.109s]
Writing 'vbmeta_b' OKAY [ 0.063s]
Finished. Total time: 0.438s
Sending sparse 'system_b' 1/5 (262140 KB) OKAY [ 6.508s]
Writing 'system_b' OKAY [ 0.047s]
Sending sparse 'system_b' 2/5 (262140 KB) OKAY [ 6.531s]
Writing 'system_b' OKAY [ 0.063s]
Sending sparse 'system_b' 3/5 (262140 KB) OKAY [ 6.455s]
Writing 'system_b' OKAY [ 0.063s]
Sending sparse 'system_b' 4/5 (262140 KB) OKAY [ 6.584s]
Writing 'system_b' OKAY [ 0.359s]
Sending sparse 'system_b' 5/5 (155532 KB) OKAY [ 3.968s]
Writing 'system_b' OKAY [ 1.172s]
Finished. Total time: 39.903s
Sending sparse 'vendor_b' 1/3 (262140 KB) OKAY [ 6.527s]
Writing 'vendor_b' OKAY [ 0.373s]
Sending sparse 'vendor_b' 2/3 (262096 KB) OKAY [ 6.515s]
Writing 'vendor_b' OKAY [ 0.375s]
Sending sparse 'vendor_b' 3/3 (12276 KB) OKAY [ 1.297s]
Writing 'vendor_b' OKAY [ 0.125s]
Finished. Total time: 19.118s
Erasing 'userdata' OKAY [ 4.506s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' OKAY [ 0.188s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Finished. Total time: 5.147s
======================================
White screen with Google logo popped up for few sec and phone rebooted with following message:
Your device is corrupt. It can't be trusted and may not work properly.
In second attempt flashed stock ROM first, boot, enabled ADB, disabled automatic updates, boot to bootloader, then TWRP, did factory wipe, flash ROM and ends up with the same result.
Compiling my own vendor image using provided instructions doesn't look like something I'm eager to do.
Click to expand...
Click to collapse
You should be able to use the vendor image off of the google website (AOSP drivers, not factory image), all you are doing is unpacking it and then agreeing to the terms of use. You can't use other ones because it trips secure boot. I hesitate to upload it because you have to agree to terms of use when you unpack it.
EDIT: I confirmed, the SHA-512 of the vendor.img off of the google website (AOSP, not stock) is exactly the same as the one I flashed (I.e. the compilation process does nothing to it). You do have to use the AOSP one, or else you trip secure boot.
Pogo said:
I was trying to be "smart" and use vendor.img from stock ROM. It failed miserably.
Boot to TWRP first, did factory wipe, reboot to bootloader and flashed ROM:
======================================
AOSP>fastboot flash boot boot.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot flash system system.img && fastboot flash vendor vendor.img && fastboot -w
Sending 'boot_b' (65536 KB) OKAY [ 1.641s]
Writing 'boot_b' OKAY [ 0.328s]
Finished. Total time: 2.453s
Sending 'dtbo_b' (8192 KB) OKAY [ 0.281s]
Writing 'dtbo_b' OKAY [ 0.094s]
Finished. Total time: 0.656s
Sending 'vbmeta_b' (4 KB) OKAY [ 0.109s]
Writing 'vbmeta_b' OKAY [ 0.063s]
Finished. Total time: 0.438s
Sending sparse 'system_b' 1/5 (262140 KB) OKAY [ 6.508s]
Writing 'system_b' OKAY [ 0.047s]
Sending sparse 'system_b' 2/5 (262140 KB) OKAY [ 6.531s]
Writing 'system_b' OKAY [ 0.063s]
Sending sparse 'system_b' 3/5 (262140 KB) OKAY [ 6.455s]
Writing 'system_b' OKAY [ 0.063s]
Sending sparse 'system_b' 4/5 (262140 KB) OKAY [ 6.584s]
Writing 'system_b' OKAY [ 0.359s]
Sending sparse 'system_b' 5/5 (155532 KB) OKAY [ 3.968s]
Writing 'system_b' OKAY [ 1.172s]
Finished. Total time: 39.903s
Sending sparse 'vendor_b' 1/3 (262140 KB) OKAY [ 6.527s]
Writing 'vendor_b' OKAY [ 0.373s]
Sending sparse 'vendor_b' 2/3 (262096 KB) OKAY [ 6.515s]
Writing 'vendor_b' OKAY [ 0.375s]
Sending sparse 'vendor_b' 3/3 (12276 KB) OKAY [ 1.297s]
Writing 'vendor_b' OKAY [ 0.125s]
Finished. Total time: 19.118s
Erasing 'userdata' OKAY [ 4.506s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' OKAY [ 0.188s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Finished. Total time: 5.147s
======================================
White screen with Google logo popped up for few sec and phone rebooted with following message:
Your device is corrupt. It can't be trusted and may not work properly.
In second attempt flashed stock ROM first, boot, enabled ADB, disabled automatic updates, boot to bootloader, then TWRP, did factory wipe, flash ROM and ends up with the same result.
Compiling my own vendor image using provided instructions doesn't look like something I'm eager to do.
Click to expand...
Click to collapse
How are you getting the "device is corrupt message". I think that only shows up when your bootloader is locked. Are you sure it's not the orange message " device can't be verified"? You should only get orange or yellow messages. The red message means something is wrong- missing keys or bad/no signature.
I might be a little confused- I've been building and flashing so many variations, I can't keep them straight anymore.
gee one said:
How are you getting the "device is corrupt message". I think that only shows up when your bootloader is locked. Are you sure it's not the orange message " device can't be verified"? You should only get orange or yellow messages. The red message means something is wrong- missing keys or bad/no signature.
I might be a little confused- I've been building and flashing so many variations, I can't keep them straight anymore.
Click to expand...
Click to collapse
I compiled AOSP with the AOSP vendor.IMG, not the factory vendor.img . he is using the factory one, and that triggers the "device is corrupt" error he is getting. It's secure boot detecting the difference in vendor images
kop316 said:
I compiled AOSP with the AOSP vendor.IMG, not the factory vendor.img . he is using the factory one, and that triggers the "device is corrupt" error he is getting. It's secure boot detecting the difference in vendor images
Click to expand...
Click to collapse
If you build it with the stock image as a prebuilt vendor image, the hash and info should be included in the vbmeta.img. The BoardConfigPartial.mk file has
Code:
BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/sargo/proprietary/vendor.img
which should add whatever vendor image you put in there to the vbmeta data.
However, if I recall correctly, building aosp with the aosp vendor images doesn't enable all the features. I think wifi calling and camera are broken on stock aosp.
There is a great tool for bringing the extra proprietary files into aosp. https://github.com/GrapheneOS/android-prepare-vendor
This will create a drop in replacement for the vendor/google_devices tree. I believe it also replaces the qcom tree as well.
Here is stock aosp built with help from the android-prepare-vendor scripts.
https://brownbagdinner.com/sargo-aosp-prepare-vendor_d6c76ce9.tar
This probably isn't gapps friendly, although there is a --full flag that will pull in more files that could help with gapps.
I don't think that you have to flash system_other.img, but it will probably speed up your first boot.
You can use "fastboot getvar current-slot" to see what slot you are on, and then flash system_other.img to, you know, the other slot with "fastboot flash system_<type in the other slot here> system_other.img"
You might have to wipe data if you are coming from a different rom, and you might have to reflash the stock vendor if you are going to a custom rom that is expecting the stock vendor.
gee one said:
If you build it with the stock image as a prebuilt vendor image, the hash and info should be included in the vbmeta.img. The BoardConfigPartial.mk file has
Code:
BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/sargo/proprietary/vendor.img
which should add whatever vendor image you put in there to the vbmeta data.
However, if I recall correctly, building aosp with the aosp vendor images doesn't enable all the features. I think wifi calling and camera are broken on stock aosp.
There is a great tool for bringing the extra proprietary files into aosp. https://github.com/GrapheneOS/android-prepare-vendor
This will create a drop in replacement for the vendor/google_devices tree. I believe it also replaces the qcom tree as well.
Here is stock aosp built with help from the android-prepare-vendor scripts.
https://brownbagdinner.com/sargo-aosp-prepare-vendor_d6c76ce9.tar
This probably isn't gapps friendly, although there is a --full flag that will pull in more files that could help with gapps.
I don't think that you have to flash system_other.img, but it will probably speed up your first boot.
You can use "fastboot getvar current-slot" to see what slot you are on, and then flash system_other.img to, you know, the other slot with "fastboot flash system_<type in the other slot here> system_other.img"
You might have to wipe data if you are coming from a different rom, and you might have to reflash the stock vendor if you are going to a custom rom that is expecting the stock vendor.
Click to expand...
Click to collapse
One of my next steps was to try the Graphene OS scripts to see how they work.
I am actually able to use WiFi calling and enhanced LTE on T mobile with the AOSP vendor image, and the camera works fine. If you are compiling AOSP yourself, you can also just swap out the vendor.IMG to the factory one.and recompile, it will do like you said.
I am trying also not to include every single.proprietary thing that is included, just what is needed for desired functionality. Several of them adds functionality for Google Play, and that can be added with openGapps.
kop316 said:
You should be able to use the vendor image off of the google website (AOSP drivers, not factory image), all you are doing is unpacking it and then agreeing to the terms of use. You can't use other ones because it trips secure boot. I hesitate to upload it because you have to agree to terms of use when you unpack it.
EDIT: I confirmed, the SHA-512 of the vendor.img off of the google website (AOSP, not stock) is exactly the same as the one I flashed (I.e. the compilation process does nothing to it). You do have to use the AOSP one, or else you trip secure boot.
Click to expand...
Click to collapse
You are right. Once I extracted vendor.img from AOSP it booted!
I'm looking around, playing, installing... So far so good
Magisk and EdXposed are working ,Google camera is working after installing microG as well as my banking app, Netflix and all other apps I use.
Pogo said:
You are right. Once I extracted vendor.img from AOSP it booted!
I'm looking around, playing, installing... So far so good
Magisk and EdXposed are working ,Google camera is working after installing microG as well as my banking app, Netflix and all other apps I use.
Click to expand...
Click to collapse
Glad to hear It! I didn't add the part to allow signature spoofing....I'm surprised MicroG works. That was something I was going to try.
kop316 said:
Glad to hear It! I didn't add the part to allow signature spoofing....I'm surprised MicroG works. That was something I was going to try.
Click to expand...
Click to collapse
Signature Spoofing require FakeGApps2.apk which is Exposed module. However FakeGApps2 is throwing lots of NullPointerExceptions in EdXposed. If you add signature spoofing into ROM, this module won't be needed.
Pogo said:
Signature Spoofing require FakeGApps2.apk which is Exposed module. However FakeGApps2 is throwing lots of NullPointerExceptions in ExXposed. If you add signature spoofing into ROM, this module won't be needed.
Click to expand...
Click to collapse
OK. I haven't tried Exposed in a long time.
My mobile provider has LTE. Mobile network in Status bar shows 4G+ (ok, no big deal).
In Mobile Network -> Advanced -> Preferred Network type, it also say 4G+ (again no big deal). However when I click to 'Preferred Network type' the available options are 3G and 2G. No 4G+, no LTE option.
The mobile speed is fine, it's definitely as fast as any other ROM.
Any chance to add eSIM into AOSP? I nave tried to install eSIM app from my backup, the app is there, but it won't show in the options (Settings->Mobile network->Advanced->Carrier)
Pogo said:
My mobile provider has LTE. Mobile network in Status bar shows 4G+ (ok, no big deal).
In Mobile Network -> Advanced -> Preferred Network type, it also say 4G+ (again no big deal). However when I click to 'Preferred Network type' the available options are 3G and 2G. No 4G+, no LTE option.
The mobile speed is fine, it's definitely as fast as any other ROM.
Any chance to add eSIM into AOSP? I nave tried to install eSIM app from my backup, the app is there, but it won't show in the options (Settings->Mobile network->Advanced->Carrier)
Click to expand...
Click to collapse
I'm aware of the first issue, I have a feeling there's an app I need to add that I haven't yet.
I recall Gee One saying you need Gapps for the eSIM to work? I know AOSP is aware of it (if you go into reset -> network, it will ask to also wipe your eSIM).
kop316 said:
I'm aware of the first issue, I have a feeling there's an app I need to add that I haven't yet.
I recall Gee One saying you need Gapps for the eSIM to work? I know AOSP is aware of it (if you go into reset -> network, it will ask to also wipe your eSIM).
Click to expand...
Click to collapse
Esim looks for gcs/google services otherwise it will force close.
Oops, hit send too soon. Lineage has LTE as an option. I can't remember if I've ever seen it on aosp. I think yes, because WiFi calls are HD. I'll check when I'm home later.
gee one said:
Oops, hit send too soon. Lineage has LTE as an option. I can't remember if I've ever seen it on aosp. I think yes, because WiFi calls are HD. I'll check when I'm home later.
Click to expand...
Click to collapse
The AOSP one I compiled doesn't have that option. I was wondering if I didn't include a proprietary file to allow that. But it does give me enhanced 4G LTE mode (VoLTE) and it gives my WiFi calling, so I haven't made too hard of an effort to look.
If you know what it is I am missing that'd be great!
gee one said:
Esim looks for gcs/google services otherwise it will force close.
Click to expand...
Click to collapse
I have microG installed and eSIM Manager (pulled from Stock ROM) and it's not crashing.
However, I cannot start it. My guess is that some menu option is missing or has to be enabled in Settings.
If I search for eSIM in Settings it point to 'Carrier', but nothing happen when click on this.
If I try to start some of the eSIM Manager activities I'm getting "permission denied". Don't know if this help.
kop316 said:
The AOSP one I compiled doesn't have that option. I was wondering if I didn't include a proprietary file to allow that. But it does give me enhanced 4G LTE mode (VoLTE) and it gives my WiFi calling, so I haven't made too hard of an effort to look.
If you know what it is I am missing that'd be great!
Click to expand...
Click to collapse
Yup, that sound right. The menu has a toggle for 4G LTE mode, but the network type only allows for 3G/2G.
This is for aosp.
Pogo said:
I have microG installed and eSIM Manager (pulled from Stock ROM) and it's not crashing.
However, I cannot start it. My guess is that some menu option is missing or has to be enabled in Settings.
If I search for eSIM in Settings it point to 'Carrier', but nothing happen when click on this.
If I try to start some of the eSIM Manager activities I'm getting "permission denied". Don't know if this help.
Click to expand...
Click to collapse
https://mega.nz/#F!95wmSAJA!xE1eWAA68AsJax6C90pFxg
See if that get's it to work. I am not confident it will work without Google Play, but maybe?
kop316 said:
https://mega.nz/#F!95wmSAJA!xE1eWAA68AsJax6C90pFxg
See if that get's it to work. I am not confident it will work without Google Play, but maybe?
Click to expand...
Click to collapse
Should I just flash these 3 img files or there are more steps involved?
Related
Hello, does anyone have a complete ROM running, where all the little stuff is working without gapps?
Ideally im searching for Lineage but any AOSP, or anything without Gapps is welcome here.
Thanks for any hint.
Havoc rom working fine
thanks for the reply. so battery life, notch, wifi, etc. all working and no single google app is preinstalled?
is it a GSI (treble) or a rom specifically for a2 lite?
As far as I know there are no custom roms for our device beside GSI's at the moment.
i thought so but what i read from lineageOS´s GSI i presumed they all have serious difficulties with custom notch position and special drivers for each telephone. so i couldnt imagine havoc working just fine with a2 lite. There also isnt a thread for havoc here right? at least i didnt find it at the custom rom section. but if thedoop says its working just fine ill give it a try as daily driver. as long as i have gapps from custom rom i wouldnt even take the phone out of the fridge
After you tried Havoc please report about your experiences with it.
Code:
fastboot flash system Havoc-OS-v2.0-20181016-GSI-ARM64-AB-Official.img
target reported max download size of 534773760 bytes
sending sparse 'system' 1/3 (522236 KB)...
OKAY [ 12.138s]
writing 'system' 1/3...
OKAY [ 2.515s]
sending sparse 'system' 2/3 (522236 KB)...
OKAY [ 12.431s]
writing 'system' 2/3...
OKAY [ 2.446s]
sending sparse 'system' 3/3 (424660 KB)...
OKAY [ 9.869s]
writing 'system' 3/3...
OKAY [ 1.994s]
finished. total time: 41.409s
bootloop.
nothing fancy stock full flash, twrp intall, fastboot havoc. i think ill wait for official lineageOS...
tutankpusch said:
Code:
fastboot flash system Havoc-OS-v2.0-20181016-GSI-ARM64-AB-Official.img
target reported max download size of 534773760 bytes
sending sparse 'system' 1/3 (522236 KB)...
OKAY [ 12.138s]
writing 'system' 1/3...
OKAY [ 2.515s]
sending sparse 'system' 2/3 (522236 KB)...
OKAY [ 12.431s]
writing 'system' 2/3...
OKAY [ 2.446s]
sending sparse 'system' 3/3 (424660 KB)...
OKAY [ 9.869s]
writing 'system' 3/3...
OKAY [ 1.994s]
finished. total time: 41.409s
bootloop.
nothing fancy stock full flash, twrp intall, fastboot havoc. i think ill wait for official lineageOS...
Click to expand...
Click to collapse
TWRP is having issues with custom ROMs. If you use fastboot to flash then the stock recovery to factory reset, HavocOS works fine.
rosiepie said:
TWRP is having issues with custom ROMs. If you use fastboot to flash then the stock recovery to factory reset, HavocOS works fine.
Click to expand...
Click to collapse
Let me try. If I succeeded. I shall share complete guide along with download links.
abidalishakir.khan said:
Let me try. If I succeeded. I shall share complete guide along with download links.
Click to expand...
Click to collapse
I do have difficulties flashing ROMS. Once I did flash successfully, but after installing Magisk, it bootloops, and I also stumbled upon the Encrypted Password thing in TWRP.
i tried today without twrp, so just flash-all stock, then fastboot havoc.
bootloop.
(this file: https://sourceforge.net/projects/ha...0181016-GSI-ARM64-AB-Official.img.xz/download)
So I've been on the original stable Q build and haven't updated since. Recently I've been getting the popup saying its time to update. The bottom option is always remind me later. Yesterday it popped up and i auto clicked the bottom one, however the "remind me later" wasn't there and i ended up clicking "update at 2am". 2am, update, lost root.
I know you can do the boot.img patch but i decided to do a clean install. So i downloaded the full december factory image and did the following,
Cd to platform-tools, - Adb reboot bootloader, - Flash-all.bat
Reboots to bootloader_b, everything works good, until it tries writing the system. I get
checking product...
OKAY [ 0.060s]
checking version-bootloader...
OKAY [ 0.059s]
checking version-baseband...
OKAY [ 0.084s]
sending 'boot_b' (65536 KB)...
OKAY [ 1.486s]
writing 'boot_b'...
OKAY [ 0.686s]
sending sparse 'system_b' 1/4 (262140 KB)...
OKAY [ 6.110s]
writing 'system_b' 1/4...
FAILED (remote: Partition should be flashed in fastbootd)
finished. total time: 8.813s
Press any key to exit...
After everything it writes the fastboot screen goes dark and comes back before it writes something else. Did i miss a command? Magisk manager doesn't give me the option for full uninstall either so, i figured it'd be easier to just go back to stock and root from there.
Any help or suggestions would be appreciated.
MOD ACTION:
Update of platform tools solved the issue as reported by OP. Thread closed at his request.
So, I just got a Pixel3 XL and am trying to build and flash my own clean AOSP build (as a starting point). I'm pretty technical, but new to the ROM world. (Would have posted in the ROM sub-forum, but my acct is brand new, if a mod wants to move it, cool.)
After successfully building, I'm getting an error halfway through running fastboot flashall now, after the reboot. Has anyone hit an error at Writing 'product_a'?
For my setup, I basically followed this awesome guide by @codevalley : https://forum.xda-developers.com/pixel-3/how-to/noobs-guide-to-building-aosp-scratch-t4012293
Since it was a new phone, the additional steps I had to do were:
* Connect to network in order to enable OEM unlock
* install the right drivers so fastboot would work, not just adb
* re-flash the OEM firmware, otherwise fastboot fails right away
The only oddball thing about my setup is that I'm building in an ubuntu VM and flashing it from windows after copying the whole target/product directory over.
Code:
C:\android-target\target\product\crosshatch>fastboot flashall
--------------------------------------------
Bootloader Version...: b1c1-0.2-5946827
Baseband Version.....: g845-00086-191011-B-5933466
Serial Number........: 95FY1XXXX
--------------------------------------------
Checking 'product' OKAY [ 0.044s]
Setting current slot to 'a' OKAY [ 0.512s]
Sending 'boot_a' (65536 KB) OKAY [ 0.432s]
Writing 'boot_a' OKAY [ 0.400s]
Sending 'dtbo_a' (8192 KB) OKAY [ 0.126s]
Writing 'dtbo_a' OKAY [ 0.087s]
Sending 'vbmeta_a' (4 KB) OKAY [ 0.099s]
Writing 'vbmeta_a' OKAY [ 0.039s]
Rebooting into fastboot OKAY [ 0.045s]
< waiting for any device >
Sending 'system_a' (4 KB) OKAY [ 0.002s]
Updating super partition OKAY [ 0.006s]
Resizing 'product_a' OKAY [ 0.006s]
Resizing 'system_a' OKAY [ 0.005s]
Resizing 'vendor_a' OKAY [ 0.006s]
Resizing 'product_a' OKAY [ 0.009s]
Sending 'product_a' (299008 KB) OKAY [ 1.783s]
Writing 'product_a' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Anyone got any thoughts? Googling this error is really not turning up much....
sam_242 said:
So, I just got a Pixel3 XL and am trying to build and flash my own clean AOSP build (as a starting point). I'm pretty technical, but new to the ROM world. (Would have posted in the ROM sub-forum, but my acct is brand new, if a mod wants to move it, cool.)
After successfully building, I'm getting an error halfway through running fastboot flashall now, after the reboot. Has anyone hit an error at Writing 'product_a'?
For my setup, I basically followed this awesome guide by @codevalley : https://forum.xda-developers.com/pixel-3/how-to/noobs-guide-to-building-aosp-scratch-t4012293
Since it was a new phone, the additional steps I had to do were:
* Connect to network in order to enable OEM unlock
* install the right drivers so fastboot would work, not just adb
* re-flash the OEM firmware, otherwise fastboot fails right away
The only oddball thing about my setup is that I'm building in an ubuntu VM and flashing it from windows after copying the whole target/product directory over.
Code:
C:\android-target\target\product\crosshatch>fastboot flashall
--------------------------------------------
Bootloader Version...: b1c1-0.2-5946827
Baseband Version.....: g845-00086-191011-B-5933466
Serial Number........: 95FY1XXXX
--------------------------------------------
Checking 'product' OKAY [ 0.044s]
Setting current slot to 'a' OKAY [ 0.512s]
Sending 'boot_a' (65536 KB) OKAY [ 0.432s]
Writing 'boot_a' OKAY [ 0.400s]
Sending 'dtbo_a' (8192 KB) OKAY [ 0.126s]
Writing 'dtbo_a' OKAY [ 0.087s]
Sending 'vbmeta_a' (4 KB) OKAY [ 0.099s]
Writing 'vbmeta_a' OKAY [ 0.039s]
Rebooting into fastboot OKAY [ 0.045s]
< waiting for any device >
Sending 'system_a' (4 KB) OKAY [ 0.002s]
Updating super partition OKAY [ 0.006s]
Resizing 'product_a' OKAY [ 0.006s]
Resizing 'system_a' OKAY [ 0.005s]
Resizing 'vendor_a' OKAY [ 0.006s]
Resizing 'product_a' OKAY [ 0.009s]
Sending 'product_a' (299008 KB) OKAY [ 1.783s]
Writing 'product_a' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Anyone got any thoughts? Googling this error is really not turning up much....
Click to expand...
Click to collapse
The only thing I see is that it is only flashing to slot_a. It is my understanding that you need to flash to both partitions a and b before the process will work. For me it has only worked when I flashed to both partitions. Also adding .\ before the command may help. For some reason it only flashes for me when I add it.
Sent from my Pixel 3 XL
Does the AOSP build process generate full OTA images similar to what are found here: https://developers.google.com/android/ota?
If so, try flashing just the bootloader in fastboot, boot into recovery, and sideload the full OTA.
sam_242 said:
So, I just got a Pixel3 XL and am trying to build and flash my own clean AOSP build (as a starting point). I'm pretty technical, but new to the ROM world. (Would have posted in the ROM sub-forum, but my acct is brand new, if a mod wants to move it, cool.)
After successfully building, I'm getting an error halfway through running fastboot flashall now, after the reboot. Has anyone hit an error at Writing 'product_a'?
For my setup, I basically followed this awesome guide by @codevalley : https://forum.xda-developers.com/pixel-3/how-to/noobs-guide-to-building-aosp-scratch-t4012293
Since it was a new phone, the additional steps I had to do were:
* Connect to network in order to enable OEM unlock
* install the right drivers so fastboot would work, not just adb
* re-flash the OEM firmware, otherwise fastboot fails right away
The only oddball thing about my setup is that I'm building in an ubuntu VM and flashing it from windows after copying the whole target/product directory over.
Code:
C:\android-target\target\product\crosshatch>fastboot flashall
--------------------------------------------
Bootloader Version...: b1c1-0.2-5946827
Baseband Version.....: g845-00086-191011-B-5933466
Serial Number........: 95FY1XXXX
--------------------------------------------
Checking 'product' OKAY [ 0.044s]
Setting current slot to 'a' OKAY [ 0.512s]
Sending 'boot_a' (65536 KB) OKAY [ 0.432s]
Writing 'boot_a' OKAY [ 0.400s]
Sending 'dtbo_a' (8192 KB) OKAY [ 0.126s]
Writing 'dtbo_a' OKAY [ 0.087s]
Sending 'vbmeta_a' (4 KB) OKAY [ 0.099s]
Writing 'vbmeta_a' OKAY [ 0.039s]
Rebooting into fastboot OKAY [ 0.045s]
< waiting for any device >
Sending 'system_a' (4 KB) OKAY [ 0.002s]
Updating super partition OKAY [ 0.006s]
Resizing 'product_a' OKAY [ 0.006s]
Resizing 'system_a' OKAY [ 0.005s]
Resizing 'vendor_a' OKAY [ 0.006s]
Resizing 'product_a' OKAY [ 0.009s]
Sending 'product_a' (299008 KB) OKAY [ 1.783s]
Writing 'product_a' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Anyone got any thoughts? Googling this error is really not turning up much....
Click to expand...
Click to collapse
I had this exact error running fastboot from shell on a Chromebook. Simply booting into the full Ubuntu installation I had installed on the Chromebook allowed me to flash.
I believed in my case the error was due to running out of memory. Though using an old fastboot version or a c -> c cable could also cause trouble.
You can also manually flash partitions instead of using the script. Remember, to get to fastbootd, you have to "fastboot reboot fastboot" from the bootloader.
ktmom said:
Though using an old fastboot version or a c -> c cable could also cause trouble.
Click to expand...
Click to collapse
Both of these are good points. You wouldn't think a USB-C to USB-C cable could cause fastboot problems but I've experienced this first hand. I can't quite remember the error I had, but I couldn't flash the stock factory images while using a USB-C to C cable. Switching to a USB-A to C cable (USB 2.0) resolved it.
CODES;
I am NOT responsible for bricked devices, destroyed SD cards or any
damage that may happen to your device.
Requirements;
Unlocked bootloader
WARNING;Don't use nippon gsi they aren't working,I recommend using phh gsi by phusson lineage os by Andyyan and PE 12 by ponces
INSTRUCTIONS;
Power + volume down button
fastboot reboot fastboot
fastboot delete-logical-partition product
fastboot flash system (name gsi.img)
fastboot reboot recovery
in recovery select wipe data
Reboot to system
bugs:
No bugs
Pixel Experience Plus 12.1 v413.1;
Release Pixel Experience 12.1 v414 · ponces/treble_build_pe
Sync with June sources of PE Sync with AOSP 12.1 v414 (thanks @phhusson)
github.com
If brightness slider is broken:
Go to phh treble settings,misc settings enable "use alternative brightness scale", "use linear screen brightness slider" and "allow setting brightness to the lowest possible",reboot the device
Id bluetooth audio is broken:
Go to phh treble settings,misc settings, "Force enable a2dp off-load" and "Bluetooth workarounds" select mediatek option and reboot the device
ENJOY
Reserved
didnt work, followed all the steps, got a dm-verity corruption error
tried disabling vbmeta after erasing the system partition / before flashing the gsi using stock miui's vbmeta image
didnt work as well, got stuck on a bootloop
@zuhaibsarwar The [Development] prefix is only for threads created to share one's own development. Since this isn't the case for this thread, I've changed the prefix to [How To Guide] which is more appropriate for this thread.
Regards,
shadowstep
Forum Moderator
Did it worked for anyone
muhsin_Sultan said:
didnt work, followed all the steps, got a dm-verity corruption error
tried disabling vbmeta after erasing the system partition / before flashing the gsi using stock miui's vbmeta image
didnt work as well, got stuck on a bootloop
Click to expand...
Click to collapse
muhsin_Sultan said:
didnt work, followed all the steps, got a dm-verity corruption error
tried disabling vbmeta after erasing the system partition / before flashing the gsi using stock miui's vbmeta image
didnt work as well, got stuck on a bootloop
Click to expand...
Click to collapse
skip this line ( fastboot erase system ) and try
What's the performance is like in gsi
muneeb rizwan said:
What's the performance is like in gsi
Click to expand...
Click to collapse
I haven't tested this GSI 100%
muneeb rizwan said:
Did it worked for anyone
Click to expand...
Click to collapse
For me it's works before 4 weeks
zuhaibsarwar said:
For me it's works before 4 weeks
Click to expand...
Click to collapse
what do you mean by before 4 weeks
and other than performance is it stable
muneeb rizwan said:
and other than performance is it stable
Click to expand...
Click to collapse
Yeah it's stable
muneeb rizwan said:
what do you mean by before 4 weeks
Click to expand...
Click to collapse
what do you mean by this
muneeb rizwan said:
what do you mean by this
Click to expand...
Click to collapse
This GSI is used for 2 days only before 4 week's
zuhaibsarwar said:
This GSI is used for 2 days only before 4 week's
Click to expand...
Click to collapse
any other gsi you tried
muneeb rizwan said:
any other gsi you tried
Click to expand...
Click to collapse
Nippon gsi but failed . Since I hard brick my device before now i stopped installing GSI
Mi service center replaced box packed Redmi note 11 pro against old hard brick Redmi note 11 pro . So i stop testing stuff
zuhaibsarwar said:
Mi service center replaced box packed Redmi note 11 pro against old hard brick Redmi note 11 pro . So i stop testing stuff
Click to expand...
Click to collapse
can you tell me ho you hard bricked it
muneeb rizwan said:
can you tell me ho you hard bricked it
Click to expand...
Click to collapse
You wanna hard brick your device too ?
After enjoying GSI. Install originally firmware while installing original firmware interrupt the flashing while removing the usb data and restart the mobile phone by pressing volume up + volume down and power at same time
muhsin_Sultan said:
didnt work, followed all the steps, got a dm-verity corruption error
tried disabling vbmeta after erasing the system partition / before flashing the gsi using stock miui's vbmeta image
did
Click to expand...
Click to collapse
it works for me without no errors
C:\Users\HACKER\Desktop\platform-tools_r33.0.2-windows\platform-tools>fastboot reboot fastboot
Rebooting into fastboot OKAY [ 0.005s]
< waiting for any device >
Finished. Total time: 31.417s
C:\Users\HACKER\Desktop\platform-tools_r33.0.2-windows\platform-tools>fastboot delete-logical-partition product
Deleting 'product' OKAY [ 0.034s]
Finished. Total time: 0.047s
C:\Users\HACKER\Desktop\platform-tools_r33.0.2-windows\platform-tools>fastboot flash system C:\Users\HACKER\Desktop\PixelExperience_Plus_arm64-ab-12.1-20220613-UNOFFICIAL.img_2
Invalid sparse file format at header magic
Resizing 'system_a' OKAY [ 0.011s]
Sending sparse 'system_a' 1/14 (262108 KB) OKAY [ 23.304s]
Writing 'system_a' OKAY [ 1.305s]
Sending sparse 'system_a' 2/14 (262120 KB) OKAY [ 20.560s]
Writing 'system_a' OKAY [ 1.192s]
Sending sparse 'system_a' 3/14 (262112 KB) OKAY [ 19.624s]
Writing 'system_a' OKAY [ 1.106s]
Sending sparse 'system_a' 4/14 (262116 KB) OKAY [ 19.489s]
Writing 'system_a' OKAY [ 1.209s]
Sending sparse 'system_a' 5/14 (262128 KB) OKAY [ 19.921s]
Writing 'system_a' OKAY [ 1.176s]
Sending sparse 'system_a' 6/14 (262124 KB) OKAY [ 22.930s]
Writing 'system_a' OKAY [ 1.213s]
Sending sparse 'system_a' 7/14 (262124 KB) OKAY [ 20.192s]
Writing 'system_a' OKAY [ 1.192s]
Sending sparse 'system_a' 8/14 (262124 KB) OKAY [ 20.209s]
Writing 'system_a' OKAY [ 1.140s]
Sending sparse 'system_a' 9/14 (262124 KB) OKAY [ 20.017s]
Writing 'system_a' OKAY [ 1.168s]
Sending sparse 'system_a' 10/14 (262124 KB) OKAY [ 19.848s]
Writing 'system_a' OKAY [ 1.206s]
Sending sparse 'system_a' 11/14 (262120 KB) OKAY [ 20.352s]
Writing 'system_a' OKAY [ 1.207s]
Sending sparse 'system_a' 12/14 (262084 KB) OKAY [ 19.608s]
Writing 'system_a' OKAY [ 1.203s]
Sending sparse 'system_a' 13/14 (262128 KB) OKAY [ 20.083s]
Writing 'system_a' OKAY [ 1.185s]
Sending sparse 'system_a' 14/14 (201896 KB) OKAY [ 15.774s]
Writing 'system_a' OKAY [ 1.071s]
Finished. Total time: 411.459s
C:\Users\HACKER\Desktop\platform-tools_r33.0.2-windows\platform-tools>fastboot reboot recovery
Rebooting into recovery OKAY [ 0.001s]
Finished. Total time: 0.082s
Hello lads, after trying trying to install multiple android 13 custom roms I have issue booting my phone. Keep getting this annoying "no command" screen after it tries to reboot few times. Could anyone help me with this one ? I know that issue should be very easy resolvable. My daily driver used to be stock most recent (not beta) firmware.
naujokellis said:
Hello lads, after trying trying to install multiple android 13 custom roms I have issue booting my phone. Keep getting this annoying "no command" screen after it tries to reboot few times. Could anyone help me with this one ? I know that issue should be very easy resolvable. My daily driver used to be stock most recent (not beta) firmware.
Click to expand...
Click to collapse
Did you erase your boot image by chance? Reflash /boot and /init_boot
Ok, i will do. I havent deleted it for sure, but i did flashed bootloader to all slots, would that could effect booting up ? as i have some errors during installation of custom ROM, but installation finished with successful message.
BTW with original firmware it booted up without a problem. And I still used stock firmware for another day after playing with bootloader or boot files.
Bootloader Version...: slider-1.2-9152140
Baseband Version.....: g5123b-107485-221101-B-9242015
Serial Number........: 1A281FDEE007L3
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'product' OKAY [ 0.000s]
Setting current slot to 'b' OKAY [ 0.089s]
extracting boot.img (64 MB) to disk... took 0.286s
archive does not contain 'boot.sig'
Sending 'boot_b' (65536 KB) OKAY [ 2.350s]
Writing 'boot_b' OKAY [ 0.079s]
extracting dtbo.img (16 MB) to disk... took 0.069s
archive does not contain 'dtbo.sig'
Sending 'dtbo_b' (16384 KB) OKAY [ 0.566s]
Writing 'dtbo_b' OKAY [ 0.022s]
archive does not contain 'dt.img'
archive does not contain 'recovery.img'
extracting vbmeta.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta.sig'
Sending 'vbmeta_b' (8 KB) OKAY [ 0.001s]
Writing 'vbmeta_b' OKAY [ 0.002s]
extracting vbmeta_system.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta_system.sig'
Sending 'vbmeta_system_b' (4 KB) OKAY [ 0.000s]
Writing 'vbmeta_system_b' OKAY [ 0.002s]
extracting super_empty.img (0 MB) to disk... took 0.000s
Rebooting into fastboot OKAY [ 0.000s]
< waiting for any device >
Sending 'super' (4 KB) OKAY [ 0.001s]
Updating super partition OKAY [ 0.020s]
Resizing 'product_b' OKAY [ 0.003s]
Resizing 'system_b' OKAY [ 0.002s]
Resizing 'system_a' OKAY [ 0.003s]
Resizing 'vendor_b' OKAY [ 0.002s]
Resizing 'vendor_a' OKAY [ 0.002s]
archive does not contain 'boot_other.img'
archive does not contain 'odm.img'
extracting product.img (2234 MB) to disk... took 12.826s
Invalid sparse file format at header magic
archive does not contain 'product.sig'
Resizing 'product_b' OKAY [ 0.005s]
Sending sparse 'product_b' 1/9 (261666 KB) OKAY [ 9.032s]
Writing 'product_b' OKAY [ 0.457s]
Sending sparse 'product_b' 2/9 (261399 KB) OKAY [ 9.334s]
Writing 'product_b' OKAY [ 0.495s]
Sending sparse 'product_b' 3/9 (260861 KB) OKAY [ 9.410s]
Writing 'product_b' OKAY [ 0.473s]
Sending sparse 'product_b' 4/9 (261912 KB) OKAY [ 9.286s]
Writing 'product_b' OKAY [ 0.471s]
Sending sparse 'product_b' 5/9 (262080 KB) OKAY [ 9.405s]
Writing 'product_b' OKAY [ 0.462s]
Sending sparse 'product_b' 6/9 (261344 KB) OKAY [ 9.402s]
Writing 'product_b' OKAY [ 0.550s]
Sending sparse 'product_b' 7/9 (261391 KB) OKAY [ 9.325s]
Writing 'product_b' OKAY [ 0.498s]
Sending sparse 'product_b' 8/9 (256403 KB) OKAY [ 9.318s]
Writing 'product_b' OKAY [ 0.633s]
Sending sparse 'product_b' 9/9 (183972 KB) OKAY [ 6.660s]
Writing 'product_b' OKAY [ 0.356s]
archive does not contain 'product_services.img'
extracting system.img (967 MB) to disk... took 4.577s
Invalid sparse file format at header magic
archive does not contain 'system.sig'
Resizing 'system_b' OKAY [ 0.007s]
Sending sparse 'system_b' 1/4 (262108 KB) OKAY [ 9.344s]
Writing 'system_b' OKAY [ 0.451s]
Sending sparse 'system_b' 2/4 (254041 KB) OKAY [ 9.211s]
Writing 'system_b' OKAY [ 1.016s]
Sending sparse 'system_b' 3/4 (261996 KB) OKAY [ 9.528s]
Writing 'system_b' OKAY [ 0.433s]
Sending sparse 'system_b' 4/4 (200872 KB) OKAY [ 7.233s]
Writing 'system_b' OKAY [ 0.374s]
extracting system_other.img (20 MB) to disk... took 0.141s
archive does not contain 'system.sig'
Resizing 'system_a' OKAY [ 0.007s]
Sending 'system_a' (21248 KB) OKAY [ 0.766s]
Writing 'system_a' OKAY [ 0.092s]
extracting vendor.img (534 MB) to disk... took 2.574s
Invalid sparse file format at header magic
archive does not contain 'vendor.sig'
Resizing 'vendor_b' OKAY [ 0.006s]
Sending sparse 'vendor_b' 1/3 (259740 KB) OKAY [ 9.475s]
Writing 'vendor_b' OKAY [ 0.467s]
Sending sparse 'vendor_b' 2/3 (262132 KB) OKAY [ 9.323s]
Writing 'vendor_b' OKAY [ 0.483s]
Sending sparse 'vendor_b' 3/3 (21572 KB) OKAY [ 0.764s]
Writing 'vendor_b' OKAY [ 0.100s]
archive does not contain 'vendor_other.img'
Erasing 'userdata' OKAY [ 0.163s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' OKAY [ 0.004s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Rebooting OKAY [ 0.000s]
Finished. Total time: 189.359s
naujokellis said:
Hello lads, after trying trying to install multiple android 13 custom roms I have issue booting my phone. Keep getting this annoying "no command" screen after it tries to reboot few times. Could anyone help me with this one ? I know that issue should be very easy resolvable. My daily driver used to be stock most recent (not beta) firmware.
Click to expand...
Click to collapse
Sounds like the stock android recovery. If you see the above, just hold power and volume up to enter recovery.
jamescable said:
Sounds like the stock android recovery. If you see the above, just hold power and volume up to enter recover
Click to expand...
Click to collapse
OK, this is the screen I am getting, but I am looking for solution why any custom rom does not run on my phone. I know that installing stock firmware would fix issue, but i do not want to use stock firmware. I will try to install stock firmware and reinstall custom ROM later, but i do not think that would fix issue I am having.
naujokellis said:
OK, this is the screen I am getting, but I am looking for solution why any custom rom does not run on my phone. I know that installing stock firmware would fix issue, but i do not want to use stock firmware. I will try to install stock firmware and reinstall custom ROM later, but i do not think that would fix issue I am having.
Click to expand...
Click to collapse
It may help others to help you if you describe in detail (e.g. exact steps and commands used, etc.) your method of installation and any other pertinent details, such as version of Platform Tools used, etc..
naujokellis said:
OK, this is the screen I am getting, but I am looking for solution why any custom rom does not run on my phone. I know that installing stock firmware would fix issue, but i do not want to use stock firmware. I will try to install stock firmware and reinstall custom ROM later, but i do not think that would fix issue I am having.
Click to expand...
Click to collapse
Use android recovery to wipe data and see if that works
jamescable said:
Use android recovery to wipe data and see if that works
Click to expand...
Click to collapse
did that multiple times before installing every custom ROM
Lughnasadh said:
It may help others to help you if you describe in detail (e.g. exact steps and commands used, etc.) your method of installation and any other pertinent details, such as version of Platform Tools used, etc..
Click to expand...
Click to collapse
Im using Linux Mint 21.1
Android Debug Bridge version 1.0.41
Version 28.0.2-debian
Installed as /usr/lib/android-sdk/platform-tools/adb
commands used before reinstalling stock firmware:this and this thread
after reinstalling latest stock firmware (canceling beta version) only used guides how to install custom rom using fastboot mode. ( fastboot update rom.zip )
I have a questio tho, do i need to root my phone with magisk before being able to install custom rom ? I feel like I am missing something, thats why it does not work
naujokellis said:
Im using Linux Mint 21.1
Android Debug Bridge version 1.0.41
Version 28.0.2-debian
Installed as /usr/lib/android-sdk/platform-tools/adb
commands used before reinstalling stock firmware:this and this thread
after reinstalling latest stock firmware (canceling beta version) only used guides how to install custom rom using fastboot mode. ( fastboot update rom.zip )
Click to expand...
Click to collapse
That could be the issue, idk. I have always used windows. I know some people have issues with Mac and Linux so...
jamescable said:
That could be the issue, idk. I have always used windows. I know some people have issues with Mac and Linux so...
Click to expand...
Click to collapse
That would be insane, as I would have had issues before, linux is my daily driver
naujokellis said:
That would be insane, as I would have had issues before, linux is my daily driver
Click to expand...
Click to collapse
Then idk. I have been flashing Roms since Motorola droid 1 android froyo days and have heard of numerous people having some weird issue with Linux one time or another
naujokellis said:
Version 28.0.2-debian
Click to expand...
Click to collapse
Is that Platform Tools version 28.0.2? If so, that's like 4 years old. The latest Platform Tools version is 33.0.3.
Lughnasadh said:
Is that Platform Tools version 28.0.2? If so, that's like 4 years old. The latest Platform Tools version is 33.0.3.
Click to expand...
Click to collapse
OK, i will double check on that and I will update platform tools