Reply
Thread Tools
Posts: 803 | Thanked: 1,585 times | Joined on Aug 2014
#171
Originally Posted by aspergerguy View Post
Revisited this and after updating Vagrant happy to concur no issues in creating "Sailfish_OS-patched-for-f5321-3.1.0.11-f5321-0.2.1.17" on Mac
Similarly no problems creating "Sailfish_OS-patched-for-f5321-3.2.0.12-f5321-0.2.1.15.zip" today.
 

The Following 2 Users Say Thank You to aspergerguy For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#172
for the first time using eugenio patcher, i AM having trouble creating Sailfish_OS-patched-for-f5321-3.2.0.12-f5321-0.2.1.15.zip

rather, having trouble flashing it once i create it. i get this:

Code:
wolke:~/Code/sx/flashing/Sailfish_OS-patched-for-f5321-3.2.0.12-f5321-0.2.1.15$ ./flash.sh 
Detected Linux
Searching device to flash..
Found 1 devices: QV701QB10B 
Fastboot command: fastboot -s QV701QB10B  
Flashing boot partition..
target reported max download size of 536870912 bytes
sending 'boot' (12228 KB)...
OKAY [  0.440s]
writing 'boot'...
OKAY [  0.098s]
finished. total time: 0.538s
Flashing userdata partition..
target reported max download size of 536870912 bytes
error: write_sparse_skip_chunk: don't care size 518443984 is not a multiple of the block size 4096
erasing 'userdata'...
OKAY [  0.434s]
sending sparse 'userdata' 1/2 (511248 KB)...
error: write_sparse_skip_chunk: don't care size 518443984 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 518443984 is not a multiple of the block size 4096
OKAY [ 16.074s]
writing 'userdata' 1/2...
FAILED (remote: buffer overreads occured due to invalid sparse header)
finished. total time: 20.307s

just to check, i rebuilt 3.1 (in eugenio's ./patch.sh -a f5321 in vagrant) and reflashed it and it worked fine. no idea whats up
__________________
~ teleshoes ~
 

The Following User Says Thank You to wolke For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#173
could NOT get it to work btw. have no idea why sailfish.img has wrong sparse size, and comparing the logs between the two builds (3.1 and 3.2) was not enlightening
__________________
~ teleshoes ~
 

The Following User Says Thank You to wolke For This Useful Post:
Posts: 803 | Thanked: 1,585 times | Joined on Aug 2014
#174
Just a thought, you are using the latest "platform-tools" for fastboot?
 

The Following User Says Thank You to aspergerguy For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#175
im on debian sid, which is usually fairly up-to-date with these things

wolke:~$ fastboot --version
fastboot version 1:8.1.0+r23-5
Installed as /usr/lib/android-sdk/platform-tools/fastboot
__________________
~ teleshoes ~
 

The Following User Says Thank You to wolke For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#176
ok, now, im on the actual current version of platform-tools, and its still failing. (fastboot version 29.0.5-5949299)

Code:
wolke:~/Code/sx/flashing/Sailfish_OS-patched-for-f5321-3.2.0.12-f5321-0.2.1.15$ fastboot --version
fastboot version 29.0.5-5949299
Installed as /usr/lib/android-sdk/platform-tools/fastboot
wolke:~/Code/sx/flashing/Sailfish_OS-patched-for-f5321-3.2.0.12-f5321-0.2.1.15$ fastboot flash userdata sailfish.img001
error: write_sparse_skip_chunk: don't care size 511927192 is not a multiple of the block size 4096
Sending sparse 'userdata' 1/2 (519476 KB)          error: write_sparse_skip_chunk: don't care size 511927192 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 511927192 is not a multiple of the block size 4096
OKAY [ 16.373s]
Writing 'userdata'                                 FAILED (remote: 'buffer overreads occured due to invalid sparse header')
fastboot: error: Command failed
__________________
~ teleshoes ~
 

The Following User Says Thank You to wolke For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#177
android app support is broken for me!
in 3.1 with a fresh flash of g7 (also continues to be broken after ssu-ing to 3.2)

i can install android support (during initial setup or in jolla store, i have a paid license).
it works fine, AndroidSupport is in the config, /opt/alien looks good, i can logcat and see services starting and such.


BUT i cant install any APKs, and when i install Andriod Store (aptoide) from the jolla store, the icon disappears before i can click it (no desktop file is generated, and afaict, nothing is actually installed).


when i use apkd-install, the DBUS service returns 'ok' and does nothing.....

android-support worked perfectly fine the FIRST time i flashed 3.1. the RPM has been updated to aliendalvik-1.0.90-1.armv7hl.rpm, but installing the previous aliendalvik-1.0.89-1.armv7hl.rpm doesnt help either...

again, this is on a fresh 3.1 install, with working jolla login and a paid license...
__________________
~ teleshoes ~
 

The Following User Says Thank You to wolke For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#178
Code:
apkd-install aptoide_cm.aptoide.pt_9.0.0.3.apk
Code:
devel-su chroot /opt/alien /system/bin/logcat
Code:
D/AlienPackageManagerClient( 5729): installPackage size = 37
D/AlienNativePackageManager( 5729): installPackage=/data/app//incoming/cm.aptoide.pt.apk, silent = false
W/ContextImpl( 5729): Calling a method in the system process without a qualified user: android.app.ContextImpl.startActivity:1028 com.android.server.AlienNativePackageManager.installPackage:179 dalvik.system.NativeStart.run:-2 <bottom of call stack> <bottom of call stack> 
W/ContextImpl( 5729): Calling a method in the system process without a qualified user: android.app.ContextImpl.startActivity:1040 android.app.ContextImpl.startActivity:1029 com.android.server.AlienNativePackageManager.installPackage:179 dalvik.system.NativeStart.run:-2 <bottom of call stack> 
I/ActivityManager( 5729): START u0 {act=android.intent.action.VIEW dat=file:///data/app/incoming/cm.aptoide.pt.apk typ=application/vnd.android.package-archive flg=0x10000000 cmp=com.android.packageinstaller/.PackageInstallerActivity} from pid 5729
W/ResourceType( 5869): Failure getting entry for 0x7f070004 (t=6 e=4) in package 0 (error -75)
D/dalvikvm( 5869): GC_CONCURRENT freed 1617K, 15% free 16231K/18880K, paused 2ms+27ms, total 58ms
D/dalvikvm( 5869): WAIT_FOR_CONCURRENT_GC blocked 48ms
D/dalvikvm( 5869): GC_FOR_ALLOC freed 5770K, 34% free 12559K/18880K, paused 25ms, total 25ms
D/dalvikvm( 5869): GC_FOR_ALLOC freed 751K, 33% free 12676K/18880K, paused 17ms, total 17ms
D/dalvikvm( 5869): GC_FOR_ALLOC freed 254K, 32% free 12930K/18880K, paused 14ms, total 14ms
I/dalvikvm-heap( 5869): Grow heap (frag case) to 13.015MB for 380813-byte allocation
D/dalvikvm( 5869): GC_FOR_ALLOC freed 509K, 34% free 12792K/19252K, paused 16ms, total 16ms
D/dalvikvm( 5869): GC_FOR_ALLOC freed 240K, 33% free 13048K/19252K, paused 14ms, total 14ms
I/dalvikvm-heap( 5869): Grow heap (frag case) to 13.263MB for 520988-byte allocation
D/dalvikvm( 5869): GC_FOR_ALLOC freed 254K, 33% free 13303K/19764K, paused 14ms, total 14ms
D/dalvikvm( 5869): GC_CONCURRENT freed 829K, 30% free 13910K/19764K, paused 1ms+4ms, total 32ms
D/dalvikvm( 5869): WAIT_FOR_CONCURRENT_GC blocked 22ms
D/dalvikvm( 5869): GC_CONCURRENT freed 496K, 24% free 15053K/19764K, paused 1ms+5ms, total 59ms
D/dalvikvm( 5869): WAIT_FOR_CONCURRENT_GC blocked 53ms
D/dalvikvm( 5869): GC_CONCURRENT freed 1278K, 21% free 15795K/19764K, paused 1ms+4ms, total 62ms
D/dalvikvm( 5869): WAIT_FOR_CONCURRENT_GC blocked 56ms
I/ActivityManager( 5729): Displayed com.android.packageinstaller/.PackageInstallerActivity: +829ms
__________________
~ teleshoes ~
 

The Following User Says Thank You to wolke For This Useful Post:
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#179
g7 fixed the 3.2.0.12 patching/flashing issue. it is now possible to patch it and install it using the git branch `block-size-alignment` of `sailfishx-patcher-f5321`
__________________
~ teleshoes ~
 

The Following 3 Users Say Thank You to wolke For This Useful Post:
Posts: 7 | Thanked: 23 times | Joined on Aug 2018
#180
...aaaand merged to master

Thanks to @wolke for testing!
 

The Following 2 Users Say Thank You to eugenio For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 17:44.