mighty17[m] | buZz the thing is mer was based on different sources and halium can't use those | 06:48 |
---|---|---|
inetdragon | Wizzup, regarding the fixed wifi issue on N900, where will be the kernel fix? In which repository? | 08:31 |
sicelo | beowulf-devel, I believe | 08:46 |
buZz | whats halium? | 09:25 |
mighty17[m] | https://halium.org/ but that's offtopic here :P | 09:55 |
buZz | mighty17[m]: i dont really understand the charm of keeping android running | 10:04 |
mighty17[m] | Got bored of mainline so tried this, tbh no reason :P | 10:08 |
buZz | :) | 10:09 |
buZz | bored of native performance , lets add more layers! | 10:27 |
buZz | lol | 10:27 |
mighty17[m] | ahaha | 12:15 |
mighty17[m] | halium is very slow tbh | 12:15 |
Wizzup | looks like I need to pull this into pulse-core https://git.sailfishos.org/mer-core/pulseaudio/commit/d572b6f66922f032b1d0fd432ba54f1a8a82e4a1 | 16:06 |
Wizzup | lol | 16:06 |
Wizzup | pulseaudio-modules-nemo will be in repos momentarily | 16:20 |
Wizzup | (of course, useful without proper config, but we're getting there) | 16:20 |
Wizzup | s/useful/useless/ | 16:20 |
Wizzup | ah, of course, armhf needs more work... | 16:25 |
Wizzup | https://github.com/maemo-leste/pulseaudio-modules-nemo/commit/17da5bd985de3b8f63857f2dff0cbe93f95b3c15 | 16:30 |
Wizzup | hum | 16:30 |
Wizzup | so is this binary-only or what? | 16:31 |
lel | MerlijnWajer opened an issue: https://github.com/maemo-leste/bugtracker/issues/560 (pulseaudio-modules-nemo includes binary .a file for neon optimised code) | 16:43 |
Wizzup | uvos: for bionic reflashing, did you create a script like tmlind's flash-droid-4-fw.sh for the bionc? | 17:26 |
bencoh | Wizzup: neon-optimized code is usually ASM anyway | 17:42 |
bencoh | (unless you're happy with intrinsics SIMD, but heh ... circa 2010 those were buggy as hell afaiu) | 17:43 |
Wizzup | bencoh: sure, I suppose, but it's not ideal | 17:44 |
Wizzup | (also it breaks the build, but that's probably fixable without too muhc work) https://phoenix.maemo.org/job/pulseaudio-modules-nemo-binaries/architecture=armhf,label=armhf/6/console | 17:45 |
bencoh | Wizzup: the .a just ships a neon-optimized binary version of the .c | 17:45 |
bencoh | we could probably disass it and dump into a .S file | 17:46 |
Wizzup | bencoh: so it's a compiled version of the .c file, with some gcc flag that enables neon? | 17:46 |
Wizzup | I mean, yes, I got that | 17:46 |
Wizzup | I just don't know if it's all assembly or not | 17:46 |
Wizzup | and if the assembly is ommented at all | 17:46 |
bencoh | I wouldn't be surprised if they edited the resulting assembly | 17:46 |
bencoh | because as I said, ~2010 intrinsics were buggy | 17:47 |
bencoh | so I doubt nokia used it | 17:47 |
bencoh | hmm actually maybe they just compiled it in some hacky way | 17:48 |
bencoh | because the C code has SIMD stuff | 17:48 |
bencoh | https://github.com/maemo-leste/pulseaudio-modules-nemo/blob/leste/src/common/optimized.c | 17:48 |
bencoh | maybe they struggled with armcc and decided to include the result in git | 17:49 |
Wizzup | yeah, I am wondering if we should just use the C files | 17:49 |
Wizzup | pls add the above (from irc) to the ticket if you don't mind, btw | 17:49 |
bencoh | looks like I'll have to click that 'forgot password' link on github again :D | 17:50 |
Wizzup | :-) | 17:51 |
bencoh | hmpf, looks like the 'insert code' thing in github isn't great ... | 17:55 |
bencoh | either that, or I missed something | 17:55 |
bencoh | it messes the formatting | 17:55 |
Wizzup | use ``` | 17:56 |
Wizzup | ``` | 17:56 |
Wizzup | foo | 17:56 |
Wizzup | ``` | 17:56 |
Wizzup | it's a bit like <pre> :-) | 17:56 |
bencoh | Ohwell, I used > | 17:59 |
bencoh | but thanks | 17:59 |
Wizzup | tmlind: do you know what the difference is between cdt.bin_patch and cdt.bin ? (looking at the dorid 4 flashing script) | 18:40 |
Wizzup | don't particularly care about the real/exact difference btw, just wondering if I need to worry about the d3 not having a cdt.bin_patch | 18:41 |
inky | what is the default lock code? | 18:53 |
inky | i am trying to enable device lock and it asks for current code. there is no code now | 18:53 |
inky | the leste image is the latest | 18:54 |
inky | had to change sdcard. | 18:54 |
inky | (found out that my drone has no card inside, when i was near the mountain lake, so i sacrificed droids sdcard, now flashed anew. | 18:57 |
inky | ) | 18:57 |
Wizzup | inky: iirc 123456, but I think the wiki mentions it | 19:13 |
tmlind | Wizzup: not sure but i think cdt.bin_patch might have some more relaxed permissions to update partition table or something like that | 19:13 |
inky | thanks! didn't think of wiki, sorry. | 19:13 |
Wizzup | tmlind: ok, check | 19:14 |
uvos | Wizzup: no i dident @ bionic | 20:04 |
uvos | im also not a fan of using tmlinds script as a general flash tool | 20:04 |
uvos | this has you updateing mbm mbmloader and cdt etc every time | 20:05 |
uvos | which is needlesly dangerous | 20:05 |
uvos | if your just reinstalling android | 20:05 |
Wizzup | uvos: hmm ok | 20:05 |
uvos | mbm is totaly chill with booting older boot.imgs | 20:06 |
Wizzup | uvos: well the net mostly just seems to recommend weird windows tools that I don't really want to install | 20:06 |
uvos | so just update it and -loader and cdt, modem once | 20:06 |
uvos | etc | 20:06 |
Wizzup | (or can, really, no windows here) | 20:06 |
uvos | if your just reinstalling android just flash boot system preinstall and wipe cache and data | 20:07 |
uvos | leave out the rest of the script | 20:07 |
Wizzup | aha | 20:07 |
Wizzup | well, I will do that next time | 20:07 |
Wizzup | (it's running atm) | 20:08 |
Wizzup | btw, n900 kernel and wifi fixes are in -stable | 20:09 |
uvos | great | 20:10 |
Wizzup | ok, looks like the flashing worked, lets retry the root and safestrap then | 20:11 |
Wizzup | android fs layout is so confusing to me always | 20:11 |
Wizzup | I ended up using the browser to download safestrap from my website because I could not find a suitable place to adb push to | 20:11 |
uvos | sdcard | 20:11 |
uvos | /sdcard | 20:12 |
Wizzup | there is no sd card in this phone yet | 20:12 |
uvos | dosent matter | 20:12 |
Wizzup | hm | 20:12 |
Wizzup | and then the file manager can access it? | 20:12 |
uvos | for legacy reasons the fat32 partition of the emmc is mounted at /sdcard | 20:12 |
uvos | or rather /emstorage/0 or something and linked to /sdcard | 20:13 |
uvos | yeah ofc | 20:13 |
uvos | @ file manager | 20:14 |
Wizzup | "touch the android to begin" (touches it... nothing happens) | 20:14 |
uvos | safestrap app? | 20:14 |
Wizzup | nah, just new install | 20:14 |
Wizzup | it also auto switched to cdma since it didn't find a sim card | 20:15 |
uvos | oh the wizzard | 20:15 |
uvos | yeah you need a sim | 20:15 |
Wizzup | just to continue? | 20:15 |
uvos | verizon are idiots | 20:15 |
Wizzup | (np if I need one, I do have them) | 20:15 |
uvos | if thats a possibilty | 20:15 |
Wizzup | ok | 20:15 |
uvos | on bonic you just need a sim | 20:15 |
Wizzup | shutting down my d4 ;) | 20:15 |
Wizzup | so technically, with the right dts, I could re-use my bionic rootfs, right? | 20:16 |
uvos | pvr immidatly is ambitious | 20:16 |
uvos | but jeah | 20:16 |
Wizzup | heh ok | 20:17 |
Wizzup | lol, rebooted, but still can't get past the android that wants me to touch it | 20:18 |
uvos | the touchscreen worked before right? | 20:19 |
Wizzup | oh the ts works still | 20:19 |
uvos | ok | 20:19 |
uvos | hm | 20:19 |
uvos | thats wierd | 20:19 |
uvos | maybe try the four coners thing | 20:19 |
uvos | but afaik that wos introduced by moto at the same time as android 4.1 | 20:20 |
uvos | *was | 20:20 |
Wizzup | loading a youtube video that shows how to bypass it, but internet is slow atm :( | 20:20 |
uvos | right so pess the top left corner | 20:20 |
uvos | then top right etc clockwise | 20:20 |
uvos | do a couple of rotations | 20:20 |
uvos | this dosent work on bionic android 4.0 | 20:20 |
uvos | but dose on 4.1 | 20:20 |
Wizzup | this is 2.3.x | 20:21 |
uvos | i know | 20:21 |
uvos | try it but i suspect this isent implmentet yet | 20:21 |
Wizzup | well, if my internet was responding at all, I'd be able to figure this out ;-) | 20:24 |
uvos | Wizzup: so acording to yt | 20:25 |
uvos | the top-left top-tight bottom-right bottom-left thing | 20:26 |
uvos | is what works here | 20:26 |
uvos | the corners being the corners of the black field with the android figure | 20:26 |
uvos | not the screen | 20:26 |
uvos | the bottom "corners" are in the black field below the line | 20:26 |
uvos | below the text | 20:27 |
Wizzup | let me reboot my machine, maybe that will help somehow | 20:27 |
Wizzup | brb | 20:27 |
Wizzup | rehi | 20:29 |
Wizzup | I managed to that trick | 20:29 |
Wizzup | also internet is fine now | 20:30 |
Wizzup | weird stuff | 20:30 |
Wizzup | (it's some weird out of tree modem driver) | 20:30 |
uvos | you could use a d4 and motomodem ko | 20:31 |
uvos | in the mode where cpcap passes the modem directly to the usb port :P | 20:31 |
Wizzup | yeah, but it's not LTE :-) | 20:31 |
Wizzup | I need it (kinda) for my work meetings | 20:31 |
Wizzup | otherwise I could just use d4 in ap mode | 20:31 |
Wizzup | uvos: hm, doesn't seem like /sdcard is a good place: adb: error: failed to copy 'Droid3Safestrap-3.05.apk' to '/sdcard/Droid3Safestrap-3.05.apk': remote Permission denied | 20:40 |
uvos | hmm wierd | 20:41 |
Wizzup | I did root it, and from adb shell I can type: /system/xbin/su | 20:41 |
uvos | try /emstroage/0 | 20:41 |
Wizzup | and then I am root | 20:41 |
uvos | or something like that | 20:42 |
Wizzup | # ls /emstroage/0 | 20:42 |
Wizzup | /emstroage/0: No such file or directory | 20:42 |
uvos | look with adb shell | 20:42 |
uvos | Yeah name is aproximate | 20:42 |
uvos | emtstorage maybe | 20:42 |
uvos | something like that | 20:42 |
Wizzup | https://pastebin.com/YKHyZGrt | 20:43 |
uvos | so d3 has no built in media sorgage | 20:44 |
uvos | storage | 20:44 |
uvos | interesting | 20:44 |
uvos | well tough luck then | 20:44 |
Wizzup | the root script just does this: $adb push Superuser.apk /system/app/Superuser.apk | 20:45 |
Wizzup | could try to do that with safestrap | 20:45 |
uvos | yes | 20:45 |
uvos | that should work | 20:45 |
uvos | ikd if safestrap will be ok with being a system app tho | 20:46 |
uvos | (this makes it run in a sighly different envirnment) | 20:46 |
Wizzup | well let me try something else then | 20:46 |
Wizzup | doh | 20:46 |
Wizzup | there's mass storage | 20:46 |
uvos | o right that was dropped with andoird 5 or soemthing | 20:48 |
Wizzup | ok, safestrap launched this time | 20:49 |
Wizzup | I guess I need to find the guides I was reading now | 20:49 |
Wizzup | ok, safestrap showed and I'm in the safestrap recovery menu | 20:51 |
Wizzup | so now I need to assemble something with aboot and have the bionic sd card ready? | 20:52 |
uvos | if safestrap works | 20:53 |
uvos | you need to create a slot | 20:53 |
uvos | and then use mkbootimg (part of android-tools) to make a bootimg with the kernel and dts you need | 20:53 |
Wizzup | ok, so for the dts I need to take the latest bionic one but change the ram | 20:53 |
uvos | yes | 20:54 |
uvos | so the stock kernel gets passed 512mb starting at 0x8000000 | 20:55 |
uvos | but you might want to back off a couple of mb if mbm wants to shadow itself there like it dose on d4 | 20:55 |
uvos | *in case | 20:55 |
Wizzup | couple of mb = ? | 20:56 |
uvos | 2 | 20:56 |
Wizzup | my android-tools has only adb and fastboot | 20:59 |
Wizzup | no mkbootimg | 20:59 |
uvos | let me check | 20:59 |
uvos | on arch its its own package | 21:00 |
Wizzup | what is the package called? | 21:00 |
uvos | mkbootimg | 21:00 |
Wizzup | not in gentoo, sigh | 21:02 |
Wizzup | nothing ever works in computers :-D | 21:02 |
buZz | lol | 21:03 |
buZz | sue the CEO | 21:03 |
buZz | Wizzup: its in 'android-tools' it seems | 21:04 |
Wizzup | let's see what insane build system will required now | 21:04 |
Wizzup | oh, bazel | 21:04 |
Wizzup | of course | 21:04 |
uvos | suddenly he wishes it was at least cmake instead :P | 21:05 |
Wizzup | https://github.com/osm0sis/mkbootimg this seems ok | 21:05 |
uvos | sure | 21:05 |
Wizzup | and compiled | 21:05 |
uvos | to be fair i think safestrap was a bit wierd | 21:05 |
uvos | compeard to a real andorid bootloader | 21:05 |
uvos | with regards to boot.mg | 21:06 |
uvos | *img | 21:06 |
uvos | but i dont remember what it was | 21:06 |
uvos | its been so long since i used it... | 21:06 |
uvos | tmlind: do you remember ^^^ | 21:06 |
Wizzup | I can also try to do the kexec thing later, assuming I can find the right compiler(s) | 21:10 |
Wizzup | I assume actually it's the same compilers you used for bionic, or very similar | 21:11 |
uvos | you can just lift the modules from the safestrap apk | 21:11 |
uvos | they are in there | 21:11 |
uvos | and its just a zip | 21:11 |
Wizzup | ok | 21:11 |
uvos | the d3 kernel is older than the bionic one | 21:12 |
Wizzup | ok, I think I will continue later tonight or tomorrow | 21:13 |
Wizzup | uvos: hm mapphone-common has memory in there atm | 23:48 |
Wizzup | uvos: that might need to be moved to individual dts? | 23:48 |
Wizzup | uvos: btw you wrote 0x8000000, did you mean 0x80000000 | 23:49 |
Wizzup | uvos: so this: | 23:52 |
Wizzup | - reg = <0x80000000 0x3fd00000>; /* 1021 MB */ | 23:52 |
Wizzup | + reg = <0x80000000 0x1fd00000>; /* 509 MB */ | 23:52 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!