Rooting lollipop SGP611 - Xperia Z3 Tablet Compact Q&A, Help & Troubleshooti

I flashed SGP611_23.1.A.0.690_SGP611_Customized NCB.ftf the other day on my SGP611, all went well. But now I'd like root for some access I need to my filesystem - do I need to downgrade to get XZDualRecovery to work? I tried to run the install script and got the following:
Using TowelRoot to attempt an installation.
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
=============================================
Step1 : Waiting for Device.
=============================================
Succes
=============================================
Device and firmware information:
=============================================
Device model is SGP611
Firmware is 23.1.A.0.690
=============================================
Step2 : Sending the recovery files.
=============================================
0 KB/s (30 bytes in 0.063s)
329 KB/s (15757 bytes in 0.046s)
11 KB/s (501 bytes in 0.042s)
269 KB/s (11842 bytes in 0.042s)
2655 KB/s (56834 bytes in 0.020s)
67 KB/s (3082 bytes in 0.044s)
8 KB/s (385 bytes in 0.043s)
6289 KB/s (657704 bytes in 0.102s)
6589 KB/s (3346654 bytes in 0.495s)
6117 KB/s (1935201 bytes in 0.308s)
6597 KB/s (2425202 bytes in 0.358s)
203 KB/s (8985 bytes in 0.043s)
=============================================
Step3 : Setup of dual recovery.
=============================================
=============================================
Attempting to get root access for installation using TowelRoot now.
NOTE: this only works on certain ROM/Kernel versions!
If it fails, please check the development thread (Post #2) on XDA for more details.
=============================================
=============================================
Sending files
=============================================
34 KB/s (1776 bytes in 0.049s)
280 KB/s (13592 bytes in 0.047s)
5554 KB/s (197320 bytes in 0.034s)
205 KB/s (9496 bytes in 0.045s)
287 KB/s (13672 bytes in 0.046s)
Copying kernel module...
759 KB/s (34473 bytes in 0.044s)
17 KB/s (765 bytes in 0.043s)
282 KB/s (13592 bytes in 0.047s)
Kernel version is 3.4.0-perf-g72984dd
Version does not match 3.4.0-perf-ge4322cd, needs patching...
dd: conv option disabled
Kernel module patched.
error: only position independent executables (PIE) are supported.
=============================================
Installing using zxz0O0's towelzxperia (using geohot's towelroot library)
=============================================
error: only position independent executables (PIE) are supported.
=============================================
REMEMBER THIS:
XZDualRecovery does NOT install any superuser app!!
You can use one of the recoveries to root your device.
=============================================
/system/bin/sh: /system/xbin/busybox: not found
=============================================
Installation FAILED!
Please copy and paste the contents of
this window/screen to the DevDB thread.
=============================================

Related

[TOOL/E15] [UPDATE 07/01/2013] Flashtool version 0.9.10.0 - Windows / Linux / Mac

Hello
Flashtool can be downloaded on the Flashtool Homepage (on Installation tab)
As Flashtool was originally developped for X10, you can find a lot of information on the Original X10 Flashtool thread
Major update for 0.6.8.0 : Ability to now install CWM from Flashtool on locked bootloader for LT15/LT18.
Fastboot now works fine under linux
Major new feature :
- Fastboot toolbox for 2011 line devices.
- BL Unlock for X10 Mini/PRo and X8
Please post device related issues here in this thread
But there need to be special edit for x8
jit,xrecovery and other stuff for x10 will now work on x8
Changelog:
0.2.8:
[New] The device is autodetected by the flashtool at plug / unplug
[New] If you install xRecovery from flashtool, you can reboot into recovery from flashtool too (Advanced menu)
[New] You can now backup all /system/app content (Advanced menu)
[New] You can translate all parts of the Graphical Interface (look in x10flasher_lib/langs for samples)
[Upd] Firmware screen selection offers the ability to change the folder source containing ftf files.
[Upd] Clean task now has a notion of profile that can be imported/exported for sharing
[Upd] Customize is now APK Installer. This screen has the ability to choose the folder where apk files are
[Upd] Optimize should work for any device (X10, X10mini/pro, X8)
[Upd] xRecovery should work for any device (X10, X10mini/pro, X8)
[Bug] Flashing should not anymore hang if flash goes wrong. An error should be thrown and flash aborted
Watch this
hmmm...i hope it works, cuz i ever try use the optimize/xrecovery and it isn't work also stuck on boot...but if only for flashing it's work smoothly. i'm sure bin4ry will fixed it
regards,,,
cruizz said:
hmmm...i hope it works, cuz i ever try use the optimize and it isn't work
regards,,,
Click to expand...
Click to collapse
I hope too, I don't have any X8 so I can't test it ;-)
so... if we want to use flashtool, how and where to get the firmware?
I've tried it on latest SEMC rom. My phone was already rooted though and I had xrecovery installed. After you check for root you can optimize (will put on jit) and I also installed the new xrecovery.
works for x8
Edit: Install script don't work for xRecovery. It picks the right files, but the script fails.
Code:
09/054/2011 23:54:55 - INFO - <- This level is successfully initialized
09/055/2011 23:55:02 - INFO - Connected device : E15
09/055/2011 23:55:02 - INFO - Installed version of busybox : BusyBox v1.15.3 (2010-02-06 17:13:19 CET) multi-call binary
09/055/2011 23:55:14 - DEBUG - <- This level is successfully initialized
09/055/2011 23:55:18 - DEBUG - Pushing .\custom\root\sysrun to /data/local/tmp/sysrun
09/055/2011 23:55:18 - DEBUG - Running .\x10flasher_lib\adb push .\custom\root\sysrun /data/local/tmp/sysrun
09/055/2011 23:55:18 - DEBUG - stderr :7 KB/s (101 bytes in 0.014s)
09/055/2011 23:55:18 - DEBUG - Pushing .\custom\root\checkperms to /data/local/tmp/runscript
09/055/2011 23:55:18 - DEBUG - Running .\x10flasher_lib\adb push .\custom\root\checkperms /data/local/tmp/runscript
09/055/2011 23:55:18 - DEBUG - stderr :0 KB/s (11 bytes in 0.011s)
09/055/2011 23:55:18 - WARN - Please check your Phone and 'ALLOW' Superuseraccess!
09/055/2011 23:55:18 - DEBUG - Running .\x10flasher_lib\adb shell su -c 'sh /data/local/tmp/sysrun'
09/055/2011 23:55:19 - DEBUG - stdout :uid=0(root) gid=0(root)
09/055/2011 23:55:19 - INFO - Root Access Allowed
09/055/2011 23:55:25 - INFO - Installing xRecovery to device...
09/055/2011 23:55:25 - INFO - Remounting system read-write
09/055/2011 23:55:25 - DEBUG - Pushing .\custom\root\sysrun to /data/local/tmp/sysrun
09/055/2011 23:55:25 - DEBUG - Running .\x10flasher_lib\adb push .\custom\root\sysrun /data/local/tmp/sysrun
09/055/2011 23:55:25 - DEBUG - stderr :10 KB/s (101 bytes in 0.009s)
09/055/2011 23:55:25 - DEBUG - Pushing .\custom\root\remount to /data/local/tmp/runscript
09/055/2011 23:55:25 - DEBUG - Running .\x10flasher_lib\adb push .\custom\root\remount /data/local/tmp/runscript
09/055/2011 23:55:25 - DEBUG - stderr :15 KB/s (156 bytes in 0.010s)
09/055/2011 23:55:25 - DEBUG - Running remount as root thru sysrun
09/055/2011 23:55:25 - DEBUG - Running .\x10flasher_lib\adb shell su -c 'sh /data/local/tmp/sysrun'
09/055/2011 23:55:26 - INFO - Pushing .\custom\xRecovery\xrecoveryE15.tar.gz to /data/local/tmp/xrecovery.tar.gz
09/055/2011 23:55:26 - DEBUG - Running .\x10flasher_lib\adb push .\custom\xRecovery\xrecoveryE15.tar.gz /data/local/tmp/xrecovery.tar.gz
09/055/2011 23:55:26 - DEBUG - stderr :1611 KB/s (1270848 bytes in 0.770s)
09/055/2011 23:55:27 - INFO - Pushing .\custom\xRecovery\chargemonnew to /data/local/tmp/chargemon
09/055/2011 23:55:27 - DEBUG - Running .\x10flasher_lib\adb push .\custom\xRecovery\chargemonnew /data/local/tmp/chargemon
09/055/2011 23:55:27 - DEBUG - stderr :120 KB/s (741 bytes in 0.006s)
09/055/2011 23:55:27 - INFO - Pushing .\custom\xRecovery\chargerE15 to /data/local/tmp/charger
09/055/2011 23:55:27 - DEBUG - Running .\x10flasher_lib\adb push .\custom\xRecovery\chargerE15 /data/local/tmp/charger
09/055/2011 23:55:27 - DEBUG - stderr :350 KB/s (14364 bytes in 0.040s)
09/055/2011 23:55:27 - INFO - Pushing .\custom\xRecovery\sh to /data/local/tmp/sh
09/055/2011 23:55:27 - DEBUG - Running .\x10flasher_lib\adb push .\custom\xRecovery\sh /data/local/tmp/sh
09/055/2011 23:55:27 - DEBUG - stderr :1012 KB/s (735308 bytes in 0.709s)
09/055/2011 23:55:27 - DEBUG - Pushing .\custom\root\sysrun to /data/local/tmp/sysrun
09/055/2011 23:55:27 - DEBUG - Running .\x10flasher_lib\adb push .\custom\root\sysrun /data/local/tmp/sysrun
09/055/2011 23:55:28 - DEBUG - stderr :14 KB/s (101 bytes in 0.007s)
09/055/2011 23:55:28 - DEBUG - Pushing .\custom\root\installrecovery to /data/local/tmp/runscript
09/055/2011 23:55:28 - DEBUG - Running .\x10flasher_lib\adb push .\custom\root\installrecovery /data/local/tmp/runscript
09/055/2011 23:55:28 - DEBUG - stderr :56 KB/s (583 bytes in 0.010s)
09/055/2011 23:55:28 - INFO - Running installrecovery as root thru sysrun
09/055/2011 23:55:28 - DEBUG - Running .\x10flasher_lib\adb shell su -c 'sh /data/local/tmp/sysrun'
09/055/2011 23:55:29 - DEBUG - stdout :rm failed for -f, Read-only file system
09/055/2011 23:55:29 - DEBUG - stdout :rm failed for -f, Read-only file system
09/055/2011 23:55:29 - DEBUG - stdout :rm failed for -f, Read-only file system
09/055/2011 23:55:29 - DEBUG - stdout :rm failed for -f, Read-only file system
09/055/2011 23:55:29 - DEBUG - stdout :rm failed for -f, Read-only file system
09/055/2011 23:55:29 - INFO - xRecovery successfully installed
hmm - 2nd time i ran the script it installed. it's the removal of the temp files that fails.
I'm happy anyways
work on any devices?
wow, that good news
thanks..
oisteink said:
I've tried it on latest SEMC rom. My phone was already rooted though and I had xrecovery installed. After you check for root you can optimize (will put on jit) and I also installed the new xrecovery.
works for x8
Click to expand...
Click to collapse
glad to hear that...ready to download
@airyz :semarange endi gan?
menuju TKP gan... ama ijin sedotnya..
what does iptimize do? Does it autoinstall jit v2 for x8? does it work? Thanks
A new version (0.5.0.0) of flashtool is here
What's new for X8 comunity : BL unlock for X8 added
Androxyde said:
A new version (0.5.0.0) of flashtool is here
What's new for X8 comunity : BL unlock for X8 added
Click to expand...
Click to collapse
Thanks!!!
Here is a small update that resolves the following issue :
Device not recognized correctly when plugged.
https://github.com/downloads/Androxyde/Flashtool/Flashtool-0.5.1.0-update.exe
After the 0.5.1 update there are still issues.
not detecting properly
v291
Code:
19/002/2011 01:02:08 - INFO - <- This level is successfully initialized
19/002/2011 01:02:12 - INFO - Connected device : E15
19/002/2011 01:02:12 - INFO - Installed version of busybox : BusyBox v1.15.3 (2010-02-06 17:13:19 CET) multi-call binary
v051:
Code:
19/001/2011 01:01:03 - INFO - <- This level is successfully initialized
19/001/2011 01:01:06 - INFO - Device connected with USB debugging on
19/001/2011 01:01:08 - ERROR - Cannot identify your device.
19/001/2011 01:01:08 - INFO - Selecting from user input
19/001/2011 01:01:13 - INFO - Connected device : E15
19/001/2011 01:01:13 - INFO - Installed version of busybox : BusyBox v1.19.2-cm71 bionic (2011-10-06 22:08 +0200) multi-call binary.
19/001/2011 01:01:13 - INFO - Android version : 2.3.7 / kernel version : 2.6.29-Alfs
19/001/2011 01:01:13 - INFO - Root Access Allowed
It is not see my phone automagically, need choose it.
edit:
v5 is looking for
buildprop=ro.product.device
recognition=E15
v291 was looking for
ro.product.model as far I remember
We need update build.prop or change e15.properites
Edited file attached.
@rav3n_pl
Wow, replaced the e15 properties without installing the 0.5.1 update and my e15 is
detectable by flashtool ....Thank you.
rav3n_pl said:
v291
Code:
19/002/2011 01:02:08 - INFO - <- This level is successfully initialized
19/002/2011 01:02:12 - INFO - Connected device : E15
19/002/2011 01:02:12 - INFO - Installed version of busybox : BusyBox v1.15.3 (2010-02-06 17:13:19 CET) multi-call binary
v051:
Code:
19/001/2011 01:01:03 - INFO - <- This level is successfully initialized
19/001/2011 01:01:06 - INFO - Device connected with USB debugging on
19/001/2011 01:01:08 - ERROR - Cannot identify your device.
19/001/2011 01:01:08 - INFO - Selecting from user input
19/001/2011 01:01:13 - INFO - Connected device : E15
19/001/2011 01:01:13 - INFO - Installed version of busybox : BusyBox v1.19.2-cm71 bionic (2011-10-06 22:08 +0200) multi-call binary.
19/001/2011 01:01:13 - INFO - Android version : 2.3.7 / kernel version : 2.6.29-Alfs
19/001/2011 01:01:13 - INFO - Root Access Allowed
It is not see my phone automagically, need choose it.
edit:
v5 is looking for
buildprop=ro.product.device
recognition=E15
v291 was looking for
ro.product.model as far I remember
We need update build.prop or change e15.properites
Edited file attached.
Click to expand...
Click to collapse
what is the value you have for ro.product.device ?
the recognition property can be a coma separated list of values.
for example on X10 I have :
recognition=X10,SO-01B,es209ra
the latest one (es209ra) is the value set by FXP team for CM7 on X10
Androxyde said:
what is the value you have for ro.product.device ?
the recognition property can be a coma separated list of values.
for example on X10 I have :
recognition=X10,SO-01B,es209ra
the latest one (es209ra) is the value set by FXP team for CM7 on X10
Click to expand...
Click to collapse
In build.prop we have "shakira"
anyone has checked out if on E15 BL unlock works at all with the latest update??

[Q] rooting failure? st25i GB unlocked

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\>cd android-sdk
C:\android-sdk>cd tools
C:\android-sdk\tools>fastboot.exe -i 0x0fce oem unlock 0xFF6C0B6CABAA77A3
... INFOUnlock phone requested
FAILED (remote: Phone is already unlocked!)
C:\android-sdk\tools>
======================================================================
= This script will root your Android phone with adb restore function =
= Script by Bin4ry (thanks to Goroh_kun and tkymgr for the idea) =
= Idea for Tablet S from Fi01_IS01 =
= (13.10.2012) v15 =
======================================================================
Device type:
1) Normal
2) Special (for example: Sony Tablet S, Medion Lifetab)
@x) Unroot
Make a choice: 1
Checking if i should run in Normal Mode or special Sony Mode
Please connect your device with USB-Debugging enabled now
1869 KB/s (119636 bytes in 0.062s)
remote object '/system/bin/ric' does not exist
.
Found Sony Backup-Restore.apk
LT26,LT22 etc. mode enabled!
.
Pushing busybox....
2338 KB/s (1085140 bytes in 0.453s)
Pushing su binary ....
2874 KB/s (91980 bytes in 0.031s)
Pushing Superuser app
2491 KB/s (996704 bytes in 0.390s)
Making busybox runable ...
.
Pushing fake Backup
2304 KB/s (73728 bytes in 0.031s)
Extracting fakebackup on device ...
Watch now your device. Select the backup named RootMe and restore it!
Starting: Intent { act=android.intent.action.VIEW dat=com.sonyericsson.vendor.ba
ckuprestore/.ui.BackupActivity }
Error: Activity not started, unable to resolve Intent { act=android.intent.actio
n.VIEW dat=com.sonyericsson.vendor.backuprestore/.ui.BackupActivity flg=0x100000
00 }
If all is successful i will tell you, if not this shell will run forever.
Running ......
05/040/2012 07:40:56 - INFO - <- This level is successfully initialized
05/040/2012 07:40:56 - INFO - Flashtool Version 0.9.8.0 built on 2012-10-01 19:35:32
05/040/2012 07:40:56 - INFO - You can drag and drop ftf files here to start flashing them
05/040/2012 07:40:58 - INFO - Device connected with USB debugging on
05/040/2012 07:40:59 - INFO - Connected device : ST25
05/040/2012 07:40:59 - INFO - Installed version of busybox : N/A
05/040/2012 07:40:59 - INFO - Android version : 2.3.7 / kernel version : 2.6.35.7+ / Build number : 6.0.B.3.184
05/041/2012 07:41:02 - INFO - Decrypting C:\Flashtool\custom\root\ZergRush\zergrush.tar.uue.enc to C:\Flashtool\custom\root\ZergRush\zergrush.tar.uue
05/041/2012 07:41:06 - INFO - Pushing C:\Flashtool\custom\root\ZergRush\zergrush.tar.uue to /data/local/tmp
05/041/2012 07:41:06 - INFO - Pushing C:\Flashtool\.\devices\ST25\busybox\1.19.0\busybox to /data/local/tmp/busybox
05/041/2012 07:41:06 - INFO - Pushing C:\Flashtool\custom\root\subin\Superuser\su to /data/local/tmp/su
05/041/2012 07:41:07 - INFO - Pushing C:\Flashtool\custom\root\subin\Superuser\Superuser.apk to /data/local/tmp/Superuser.apk
05/041/2012 07:41:07 - INFO - Running part1 of Root Exploit, please wait
05/041/2012 07:41:26 - INFO - Waiting for device. After 60secs, stop waiting will be forced
05/042/2012 07:42:30 - INFO - Forced stop waiting.
05/042/2012 07:42:30 - ERROR - The part1 exploit did not work
05/042/2012 07:42:30 - INFO - Cleaning files
I want to root my phone mainly to clean **** like facebook and other which eat ram in stock rom. After that all i dont have any icons from supersu/superuser in list. In bin4ry script nothing happen but its supposed to show backup and restore window i think.
The method works only on ICS
Tapatalked !
Ok problem solved i uploaded rooted kernel for gb. And now all works fine. Topic can be closed or go to trash, thanks for reply.

Nexus 5x Device state- locked and OS rebooting before boot, any ideas?

Phone started to loop through booting, crashes at different points of booting. Preformed a wipe data/factory reset and is doing the same loop though booting. Last ditch effort i want to try flashing but looks like i can't as it's locked any ideas?
error = FAILED (remote: device is locked. Cannot flash images)
bullhead LGH791 16GB
HW Version - rev_1.0
Bootloader version BHZ11m
Baseband Version - M8994F-2.6.37.2.21
Carrier info - N/A
Signing - production
Secure boot - enabled
Device - State - locked
< waiting for any device >
target reported max download size of 536870912 bytes
sending 'bootloader' (4616 KB)...
OKAY [ 0.180s]
writing 'bootloader'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 0.210s
rebooting into bootloader...
OKAY [ 0.020s]
finished. total time: 0.020s
< waiting for any device >
target reported max download size of 536870912 bytes
sending 'radio' (56630 KB)...
OKAY [ 1.300s]
writing 'radio'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 1.330s
rebooting into bootloader...
OKAY [ 0.020s]
finished. total time: 0.020s
< waiting for any device >
target reported max download size of 536870912 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
archive does not contain 'vendor.sig'
wiping userdata...
Creating filesystem with parameters:
Size: 11773390848
Block size: 4096
Blocks per group: 32768
Inodes per group: 8176
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 2874363
Block groups: 88
Reserved block group size: 703
Created filesystem with 11/719488 inodes and 84965/2874363 blocks
wiping cache...
Creating filesystem with parameters:
Size: 100663296
Block size: 4096
Blocks per group: 32768
Inodes per group: 6144
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 24576
Block groups: 1
Reserved block group size: 7
Created filesystem with 11/6144 inodes and 1422/24576 blocks
--------------------------------------------
Bootloader Version...: BHZ11m
Baseband Version.....: M8994F-2.6.37.2.21
Serial Number........: 00bf02fa89e421b5
--------------------------------------------
checking product...
OKAY [ 0.020s]
checking version-bootloader...
OKAY [ 0.010s]
checking version-baseband...
OKAY [ 0.010s]
sending 'boot' (12045 KB)...
OKAY [ 0.341s]
writing 'boot'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 0.501s
Press any key to exit...

Boot stuck on nexus 7 2013

Hello.
I need help with install ubuntu touch on nexus 72013(flo).After unlock bootloader and flash image, the device stuck on boot screen .I tried both stable and rc channel but i got the same problem.
Thanks in advance !
Sorry for my bad English.
https://drive.google.com/file/d/1w5M3mEuMc5CvdTW_vdJhiUGISGvux3ra/view?usp=sharing
this is log
Unlock boot loader
Code:
[email protected]:~$ adb devices
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
0736dfd0 unauthorized
[email protected]:~$ adb devices
List of devices attached
0736dfd0 device
[email protected]:~$ adb reboot bootloader
[email protected]:~$ sudo fastboot oem unlock
[sudo] password for chip:
...
(bootloader) Unlocking bootloader...
(bootloader) erasing userdata...
(bootloader) erasing userdata done
(bootloader) erasing cache...
(bootloader) erasing cache done
(bootloader) Unlocking bootloader done!
OKAY [ 11.612s]
finished. total time: 11.612s
[email protected]:~$
Install image
Code:
[email protected]:~$ ubuntu-device-flash touch --channel=ubuntu-touch/rc/ubuntu --bootstrap
2018/04/16 11:45:41 Expecting the device to be in the bootloader... waiting
2018/04/16 11:45:41 Device is |flo|
2018/04/16 11:45:42 Flashing version 45 from ubuntu-touch/rc/ubuntu channel and server https://system-image.ubuntu.com to device flo
20.41 MB / 20.41 MB [=======================================] 100.00 % 3.25 MB/s
55.05 MB / 55.05 MB [=======================================] 100.00 % 1.92 MB/s
316.54 MB / 316.54 MB [=====================================] 100.00 % 2.83 MB/s
/home/chip/.cache/ubuntuimages/gpg/image-master.tar.xz
/home/chip/.cache/ubuntuimages/gpg/image-signing.tar.xz
/home/chip/.cache/ubuntuimages/ubuntu-touch/rc/ubuntu/flo/version-45.tar.xz
/home/chip/.cache/ubuntuimages/pool/custom-2369a9a834acd3c434fec12da7c59560797532e5a08f046fbe5b02857a8e4424.tar.xz
/home/chip/.cache/ubuntuimages/pool/device-1d88c67d0daa4d0403ebf3bdab8f0ac5c27f3cda3d4b45302ba4a021ec0f1a73.tar.xz
2018/04/16 11:47:58 Start pushing /home/chip/.cache/ubuntuimages/gpg/image-master.tar.xz to device
2018/04/16 11:47:58 Start pushing /home/chip/.cache/ubuntuimages/gpg/image-signing.tar.xz to device
2018/04/16 11:47:58 Start pushing /home/chip/.cache/ubuntuimages/ubuntu-touch/rc/ubuntu/flo/version-45.tar.xz to device
2018/04/16 11:47:58 Done pushing /home/chip/.cache/ubuntuimages/ubuntu-touch/rc/ubuntu/flo/version-45.tar.xz to device
2018/04/16 11:47:58 Done pushing /home/chip/.cache/ubuntuimages/gpg/image-master.tar.xz to device
2018/04/16 11:47:58 Done pushing /home/chip/.cache/ubuntuimages/gpg/image-signing.tar.xz to device
2018/04/16 11:47:58 Start pushing /home/chip/.cache/ubuntuimages/pool/custom-2369a9a834acd3c434fec12da7c59560797532e5a08f046fbe5b02857a8e4424.tar.xz to device
2018/04/16 11:47:58 Start pushing /home/chip/.cache/ubuntuimages/pool/device-1d88c67d0daa4d0403ebf3bdab8f0ac5c27f3cda3d4b45302ba4a021ec0f1a73.tar.xz to device
2018/04/16 11:47:58 Start pushing /home/chip/.cache/ubuntuimages/pool/ubuntu-d8d097dfc125dc91455594656762421ba6ac8fbf19524bfa07db1a879d0adee1.tar.xz to device
2018/04/16 11:48:08 Done pushing /home/chip/.cache/ubuntuimages/pool/custom-2369a9a834acd3c434fec12da7c59560797532e5a08f046fbe5b02857a8e4424.tar.xz to device
2018/04/16 11:48:19 Done pushing /home/chip/.cache/ubuntuimages/pool/device-1d88c67d0daa4d0403ebf3bdab8f0ac5c27f3cda3d4b45302ba4a021ec0f1a73.tar.xz to device
2018/04/16 11:49:03 Done pushing /home/chip/.cache/ubuntuimages/pool/ubuntu-d8d097dfc125dc91455594656762421ba6ac8fbf19524bfa07db1a879d0adee1.tar.xz to device
2018/04/16 11:49:03 Created ubuntu_command: /home/chip/.cache/ubuntuimages/ubuntu_commands200797069
2018/04/16 11:49:03 Rebooting into recovery to flash
[email protected]:~$
UPDATE ----------------------------------
I found the solution.The image file from https://system-image.ubuntu.com not working.Use image file http://system-image.ubports.com slove the problem.
Code:
$ sudo ubuntu-device-flash --server=http://system-image.ubports.com touch --channel=ubports-touch/15.04/devel --device=flo --bootstrap --wipe
here is the guide to install ubuntu on nexus7 2012/2013
https://github.com/ChipTechno/2018-Guide-to-Install-Ubuntu-desktop-13.04-on-Nexus-7-2012-and-Ubuntu-touch-15.04-on-Nexus-7-2013

[DISCONTINUED][ROM][UNOFFICIAL][OCEAN]Lineage OS 16.0

{
"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...

Categories

Resources