yashsingh1/xdaforums huggingface dataset:
[Nexus Player Original Android Development] OxyX:
Yep, I've been following post #16 for all the compiling but your advice of creating a 2nd partition of MS-DOS did it for me. Thanks so much! I've spent the last 3 days working on this up til 5am. Yes, only for the quarantine I could find time to do this :laugh:. My Linux is limited as I do have a Raspberri Pi serving Pihole for a couple years and just days ago installed OpenVPN.

The next step is to clone the OS to internal storage. I'm curious as to which method you've used for that: dd or adb push files to TWRP? Again, thanks you so much!

(The last few hours had been frustrating trying to find tools/packages to clone the live OS to Nexus Player. There seem to be one (Mondo) but Makefile process errors out every time).
[Nexus Player Original Android Development] snobrd4life:
So I did the following, created 2 USB drives, booted from one, inserted the second after booting debian, unmounted it, and did a DD of the second USB to the internal storage partition. After the DD finished I flashed the INTERNAL bootimage, rebooted and voila it booted up entirely on its own. Muuuuch faster!

I did manage to screw up my first internal install since i am still tinkering so i will need to start almost from scratch. my plan will be to DD backups to a USB drive frequently until I get everything configured exactly as I want.

[MENTION=1065003]fcipaq[/MENTION], any suggestion on how to configure for autologin? my plan is to run this thing without a keyboard in the future as a server in my entertainment center, but I would also like to be able to switch over to the HDMI input to run Retropie without having to spend however long it would take to connect a keyboard to log in. For whatever reason, the MATE version installed over buster does not have much in the way of configuring login via GUI. Thanks again!
[Nexus Player Original Android Development] OxyX:
Yay, I've just got it to boot off the internal partition, though I totally missed your reply. Thank you!

A second USB drive isn't necessary, there's a trick though. Unbeknownst to me, Linux DD will clone the empty space of the partition into the image file as well. My VM Ubuntu storage is set to be lower than my USB drive, so there's an issue there. The beauty of the built in "Disks" application takes care of that. After successfully making a bootable USB drive, you could prep it by unmounting within Disks and resize the partition (5.5gb). Disks has the GUI interface for dd (click on the two gears/cogs > Create Partition Image). After creating the img file, resize the partition larger then copy over the img file. That's it!

(Edit)

To configure for auto login

Edit conf file on terminal: sudo nano /usr/share/lightdm/lightdm.conf.d/01_debian.conf

Add these two lines under "Seat...", save file and reboot.

autologin-user=login_name_here

autologin-user-timeout=0

Thank you [MENTION=4745989]snobrd4life[/MENTION] + [MENTION=1065003]fcipaq[/MENTION]
[Nexus Player Original Android Development] snobrd4life:
Glad you got it working! Your autologin instructions didn't seem to work for me as I still need to login after every reboot. See attached. My username is homebridge. Do I need to remove the lines below the timeout?
[Nexus Player Original Android Development] OxyX:
Looks like you have a typo on your first line: autolgoin instead of autologin.

There's no need to remove any of the previous codes. I don't know if this is a good solution for not having to hook up keyboard/mouse per your previous post but if you need to access your device after login you could try TeamViewer. I had it installed on my Raspberry Pi and remote access that way from my phone. If you just need SSH access then you could do that as well with something like JuiceSSH (Android).
[Nexus Player Original Android Development] snobrd4life:
Thank you for catching my dumb mistake!
[Nexus Player Original Android Development] snobrd4life:
Hey [MENTION=1065003]fcipaq[/MENTION], I have gotten pi-hole and homebridge installed. working great considering both were designed to be able to run on a pi zero. now I am trying to run retropie and I am running into performance issues, can you think of any way to set performance considering the compositor limits you mentioned in your first post? i have to imagine this should be able to handle the super light server day job with some retro emulation every now and then, no? Thanks in advance! This has been a lot of fun!
[Nexus Player Original Android Development] fcipaq:
Hey [MENTION=4745989]snobrd4life[/MENTION], sorry for my delayed response.

This actually depends on what you are trying to emulate. Technically speaking, there are two issues: 1) emulation speed 2) streching the image to fullscreen. For 1) you need hardware acceleration of the emulator (which likely will be very tricky) and for 2) you need hardware acceleration of the window system (which - for X11 - is really tricky as well). Concerning 1) you may well emulate SNES and even N64 at decent speed w/o hw support. But when 2) going to fullscreen, emulation will be choppy.

The only way I got N64 emulation in fullscreen properly working, is using Kwin Wayland. I am currently working on (Kwin) wayland support and I have made some progress. However using Kwin Wayland is currently less stable than using X11 and uses more RAM which will slow down the machine in some situtations.

tl;dr: Depends on what you are trying to emulate. It's possible to run SNES and N64 when using Kwin Wayland instead of X11. Tell me if you're interested.
[Nexus Player Original Android Development] snobrd4life:
SNES is primarily what I am going after. I tried using zsnes and it ran, but the frame rate was abysmal. Very interested to read more about Kwin Wayland!

Thanks!
[Nexus Player Original Android Development] kingsleycao:
I am interested in it but I know little about Linux. :(
[Nexus Player Original Android Development] fcipaq:
I have made no progress with Kwin. The problem is the way the Android EGL driver (which it relies on) works internally. In case you want some technical details: https://github.com/libhybris/libhybris/issues/444

tl;dr using Kwin currently is not an option. Too buggy and too instable. Sorry!
[Nexus Player Original Android Development] snobrd4life:
That's alright. This foray into playing around with Debian on the Nexus Player taught me a whole bunch. I have since dabbled into RPi4 and a RockPi SBC. In the end, these tiny computers all serve their purpose and surprise me with what they are capable of doing on such low power draw! Homebridge, Pi-hole, VPN torrent machine, etc.

I appreciate your support! Have you and success with any other distributions? I know that the kernel is pretty outdated and doesn't support some modern applications.
[Nexus Player Original Android Development] trevd:
Hi

Firstly Nice Work.

I managed to get this booting. It took a bit of jikery-pokery with a power belkin usb hub.

I had to connect the usb stick after the hub had been detected and then the mouse after the display manager had started. Unfortunately I don't have a USB keyboard (ikr still using PS2 KB's in 2021) to hand and can't find my adapters at the moment so that's as far as I've got....

I'm going to install this on internal storage I think and run home-assistant on it!

So yeah. Very much appreciated. Giving life to a device that was sitting in my shed! (y)

Thanks

Trev
[Nexus Player Original Android Development] PPBottle:
Hi, i'm trying to get it to work but no matter which version of the EXTERNAL zip is flashed in fastboot (NOCONSOLE neither W_CONSOLE), I dont get to boot at all, staying on the "No Command" screen until I long press the harware button and enter stock fugu recovery. This behaviour is exactly the same if I plug the thumbdrive via the OTG cable (no hub, directly to the OTG) or dont plug it at all.

I think I did the roofs correctly on my thumbdrive (mind you, this was done on a (20.1 Mint LiveCD session), creating the EXT4 partition first, then mounting it and then running the script on the mounted partition.

I'm trying to check if anything suspicious appears on the recovery logs, I can capture them on camera and show to you if there is something I'm missing that you could probably detect easier.

Thanks in advance.

EDIT: After further inspection I have seen that the /boot directory in the thumbdrive is totally empty, which points out to having some issue with the rootfs script generating the necessary files in order to make it a bootable linux drive.
[Nexus Player Original Android Development] trevd:
So I plugged in a keyboard. I also used the proper usb cable and power supply to my belkin usb hub and what'dya know everything works lol. :)

Anywho. I moved the installation over to the internal storage and the difference in speed is amazing.

I have attached a back up of my "original" (I think I'd already extended the userdata partition so it's not quite stock) nexus player partition table using the sgdisk --backup. Incase anyone needs it. this can be restored with sgdisk (not tested tho)

So No Bugs. Problems or anything to report. Just one satisfied user. :)

Thanks

Trev
[Nexus Player Original Android Development] CAPSITUP:
Ok so I've flashed the first part but having trouble with the second, can I just burn the second part to a USB using say etcher ?? cheers

Ps anyone hear any news on the ubuntu port ?
[Nexus Player Original Android Development] esan96:
I was able to get my device working with the EXTERNAL_W_CONSOLE bootimage, but it boots to a white screen with the external and internal NOCONSOLE options.

Any ideas how I could troubleshoot?
[Nexus Player Original Android Development] thedaday_45689:
Any chance the kernel could be rebuilt to support Docker? I could not get the `check-config.sh` file to find the kernel, so even if I could get pointed in the right direction I might be able to help with this:

https://raw.githubusercontent.com/moby/moby/master/contrib/check-config.sh

Also, there seems to be a way to get it to work with Termux but I would like to dump Android altogether in favour of a more lightweight solution (Debian only):

This tutorial shows how to run docker natively on Android, without VMs and chroot.

This tutorial shows how to run docker natively on Android, without VMs and chroot. - docker.md

gist.github.com

Great work on this as well!
[Nexus Player Original Android Development] snobrd4life:
hey trev,

can you explain quickly how to flash the original partition table. i'd like to go back to purenexus rom. haven't had too much use for this outdated debian build since getting a pi4.

thanks!
[Nexus Player Original Android Development] john3jo:
Greetings-

Having the same issue here. Did you or anyone ever find a solution? I know this fork is a little outdated now but it was just a fun thing to do with an old device only taking dust in a drawer.

I have tried imaging a newly created usb drive or just create 2 and dd the second into the internal ext4 partition and as soon as I flash the INTERNAL_NOCONSOLE boot image all I get is a blank page.

The EXTERNAL_WCONSOLE image however, boots great into debian and picks up my USB drives OK.

Appreciate any help with this! Would be nice to get this project complete!
[Nexus Player Original Android Development] esan96:
sorry, I did not get any further
[Nexus Player Original Android Development] ls-lrt:
Hi,

On which emmc partition did you dd your image?

It MUST be the partition mmcblk0p9, the 'root=' kernel parameter is hardcoded into the kernel of the boot image (INTERNAL_NOCONSOLE).

If you dd, unless your usb flash drive partition is the same size as the mmc, chances that your filesystem is corrupted, you may need to start e2fsck on the mmc partition after the dd is finished, also do not forget to 'sync' your filesystem before rebooting.

On my side, to install it on mmc, what I did is:

1. Prepare the usb flash drive using the script fugu_rootfs_creator provided by @fcipaq

2. Flash the EXTERNAL_WCONSOLE image

3. Boot on the usb fash drive

4. From the booted system, install gparted and start it to remove cache, system and userdata partition

5. Create a new ext4 partition using the free space

6. Mount the new partition (mmcblk0p9) somewhere (/mnt)

7. Copy the rootfs of the flash drive into the mmc partition: rsync -avzP /* /mnt/

Note: rsync was clever enought to not recursively copy the content of /mnt into /mnt/mnt, maybe you can exclude it using --exclude '/mnt'
[Nexus Player Original Android Development] ls-lrt:
Hi,

Thanks a lot for your work! I run smoothly on my device. With component shortage, I'm rebooting all my old devices and this one is a perfect compromise between an x86_64 NUC and a raspberrypi!

Thanks to you, I've also discovered the halium project (although I already knew libhybris).

I noticed that your script is making a 32bits rootfs, is that because libhybris is not available on 64bit version for the fugu device?

I will have a look into this Halium project.
[Nexus Player Original Android Development] fcipaq:
Sorry for the late response.

Halium can be compiled both in 32 as well as 64 bit. The reason why I stick to 32 bit is that Halium is a software layer between the Android libs and the Linux libs and the Android libs of the Dell are strictly 32 bit. So the precompiled libraries are 32 bit only. Some time ago I asked over at Imgtech if they could provide any precompiled libs but I had no success.

Maybe this has changed in the meantime since I read they are even opensourceing some linux drivers...
[Nexus Player Original Android Development] russanandres:
HI. My X-11 are not starting up and then i try to force run startx it gives error library "libminisf.so not found" and startx return error.

I cant run any sudo commands too, system cant reach /etc/sudoers, so i think becouse wifi is not working.\

UPD1. Okay, i fixed root user and systemctl. LDM and modem manager can't startup and idk why. Startx still in error

UPD2. Xorg.0.log quote: [ 365.351] (WW) hwcomposer(0): libminisf is incompatible or missing. Can not possibly start the fake SurfaceFlinger service.

and other errors after that

[ 365.356] (EE)
[ 365.356] (EE) Backtrace:
[ 365.359] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x122) [0xf13bd6b2]
[ 365.361] (EE) 1: linux-gate.so.1 (?+0x0) [0xffffe40f]
[ 365.363] (EE) 2: linux-gate.so.1 (?+0x0) [0xffffe420]
[ 365.365] (EE) 3: /lib/i386-linux-gnu/libc.so.6 (gsignal+0xc2) [0xf0b42382]
[ 365.367] (EE) 4: /lib/i386-linux-gnu/libc.so.6 (abort+0xf0) [0xf0b2c2b6]
[ 365.369] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 365.369] (EE) 5: /lib/i386-linux-gnu/libc.so.6 (?+0x0) [0xf0b2c1ad]
[ 365.371] (EE) 6: /lib/i386-linux-gnu/libc.so.6 (__assert_fail+0x39) [0xf0b3a339]
[ 365.373] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 365.373] (EE) 7: /usr/lib/xorg/modules/drivers/hwcomposer_drv.so (?+0x0) [0xf11de190]
[ 365.375] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 365.375] (EE) 8: /usr/lib/xorg/modules/drivers/hwcomposer_drv.so (?+0x0) [0xf11e4000]
[ 365.377] (EE) 9: ? (?+0x0) [0xec830000]
[ 365.378] (EE) unw_step failed: unspecified (general) error [-1]
[ 365.378] (EE)
[ 365.378] (EE)
Fatal server error:
[ 365.378] (EE) Caught signal 6 (Aborted). Server aborting
[ 365.378] (EE)
[ 365.378] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 365.378] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 365.379] (EE)
[ 365.399] (EE) Server terminated with error (1). Closing log file.
[Nexus Player Original Android Development] pwnyourace:
was hoping to get some help/advice on a usb question. when i plug in a usb device i dont get ttyusb or /dev/serial. do you know how i can get the serial port address of a usb device on this build?
[Nexus Player Original Android Development] thedaday_45689:
Any advice on this issue? Would be great to use the old nexus players as 3d printer hosts (octoprint/klipper/etc.).
[Nexus Player Original Android Development] francospaleta:
Hello, im looking for an use to my drm dead nexus player! Run batocera will be great, iam going to tested but i have a lot of questions! But i start with 2:

Do say that the distro have to use 3.10 kernel, why that? No one batorera use kernel version 3, the oldest use kernel version 4 and the lasted kernel version 6!

I just need flash external bootloader and that one will boot any pendrive inserted in usb hub?

Thanks
[MTCD Android Head Units General] svsommer:
Hello

My clock is not updated, so I want too Update Firmware.

but are not sure which firmware i need.

Now, it is MTCE_CZ_V3.06_2 Jan 24 2019

Best regards

svsommer
[Xiaomi Mi A2 Lite Questions & Answers] wladzix2:
I'm not advanced in these things, but please help! My brother has changed phone pin many times recently, but there is a probably software problem, where after rebooting you have to try your recent PINs because most of the times, your current pin won't work. We tried all the codes but none worked.

Well I think I can just do factory reset from recov menu but is there any way to fix it, if I know the current passcode??? Please! Something with adb or these things idk I'm not advanced here

Edit: no longer important! Don't answer
[Xiaomi Mi A2 Lite Questions & Answers] rbrkh:
Hi, i have same problem with you. Do you know how to fix it???
[Moto E5 Questions & Answers] SketchSlayer:
So my moto e5+ works with a stock rom I have and auto flash folder for that I found somewhere around and it works with pixel experience but neither the pixel experience rom or the base factory (8.0) rom can read sim cards being in the phone however when I update the stock rom to 9.0 it registers the sim card being there.

So I'm curious which files tell the phone how to read sim cards and if there's some method to splice said file from stock 9.0 into the pixel rom (various things about the base rom annoy the **** outta me like the "Hello moto" boot message it feels the need to scream at you every boot or the motorola bloatware that a little of seems tied to important system files which would make debloating it cause issues.)
[Moto E5 Questions & Answers] sd_shadow:
My suggestion is to flash this from stock firmware

After installing custom rom.

fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
[Moto E5 Questions & Answers] SketchSlayer:
How would one extract them from an active rom to flash them?

As I mentioned it seems to require upgrading the stock rom to 9.0 so I assume the files in stock rom I have on hand for unbricking it aren't exactly functional as far as the sim port goes so I assume I'd need to tear the files out of the 9.0 droid install after upgrading to it.
[Moto E5 Questions & Answers] sd_shadow:
Do you have a link to the instructions that you are referring to?
[Moto E5 Questions & Answers] SketchSlayer:
Instructions? I've just had to mess around with flashing to work out which roms work and which don't for me and what parts of what seem to work hence knowing whatever controls the sim reading (likely modem by what has been said) only seems to work on stock 9.0 I believe the stock 8.0 I use for unbricking is the one found at https://drive.google.com/file/d/1AMquyKDx-5WvmMrkgXylv_7IaaVtovIC/view found through https://motostockrom.com/motorola-moto-e5-plus-xt1924-3 judging by my web history

What I'm asking is, since the modem files seem to be what controls the ability to detect sim cards, how would you copy the working modem files from the running phone to a computer to later flash via fastboot? I assume that when installed the modem files are not in a flash ready format or easily copied and I don't have the stock 9.0 rom (I've literally been flashing 8 then running the upgrade whenever it bricks due to a custom rom not working with it).

Sorry if I am being stupid but I'm more of a hardware nerd than a software one, I build my own computers and I tear broken tech apart to find probable faults but my software knowledge is somewhat limited so if I'm missing something obvious then that is totally on me.
[Moto E5 Questions & Answers] sd_shadow:
By whom?
[Moto E5 Questions & Answers] SketchSlayer:
I found that out myself as the phone absolutely refuses to read the sim card on either the 8.0 rom or the current pixel experience rom and I was messing around checking if it read on the maybe 9.0 and it did. the method of upgrade being through the phones system menu, does this answer your somewhat confusing question?
[Moto E5 Questions & Answers] SketchSlayer:
The update that has the fix for me is version: OPP27.91.179-8 I may be mistaken about it being 9.0 I'd left the phone bricked for a while and was working from memory, the phone had an upgrade to 8.0 message and it being a rounded build I assumed it was jumping a version (knowing the base rom was 8 I assumed it was to 9 but that may be me being a dumb) I can check the build info more once the update runs for the like 10th time I've run it.
[Moto E5 Questions & Answers] sd_shadow:
Android 9 should should be like

29.114-134-7

---------- Post added at 10:12 PM ---------- Previous post was at 10:01 PM ----------

https://mirrors.lolinet.com/firmware/moto/ahannah/official/RETIN/
[Moto E5 Questions & Answers] SketchSlayer:
Yeah best I can determine I was wrong about it being 9, it appears to be a security update for 8.0 (though it is what fixs the modem files not working from the rom) that unlike all the other updates doesn't tell you it's a security update in the little notification of availability and under the settings menu the update says "update to android 8.0" which when going from memory my mind remembered as 9.0 cause I knew the rom was 8.0 and the clear next update that isn't a full new build would be either 8.0.x or 8.1 not 8.0 cause I'm used to rounded updates being different from the version running when you update.

My bad but that's what happens when I assume upfront info is going to follow some form of logic.
[P3600 Software Upgrading] aisar190:
i want to use diamond touch flow for my htc p3600....the problem is...what is the version of hardspl olipro that i need to used and what is the radio version that i should used.....and another thing...i dunno the different btw p3600 and p3600i....i dunno whats the different...can you guys help me here....

currently im using....hardspl olipro1.20 radio version 1.50....please help
[P3600 Software Upgrading] WM_69:
I regret chaning my Tinity to Diamond.
[Huawei Watch 2] miguedep:
I bought the Huaiwei GT 2.

In my Samsung Note 10 I can't install Huawei health app without installing Huawei mobile services - the app won't open.

If I open huawei health app, the app crashes 100% - msg: huawei movile services does not work.

Huawei health asks me to install the mobile services or exit.

any solution?
[Huawei Watch 2] BulletDivision:
Same but this helps

Search for "huawei Central download the latest Huawei Mobile Services APK [4.0.1.207]"

This Apk worked for me. Sorry XDA doesnt let me Post links. Good luck
[Galaxy S II General] m3vuv:
is there one,if so where to look,ive lineage 14 .1 on android7..1.1,ive an app that wont work on this,same issue on my lenovo tab,the app works fine on my tab tho runing android 7.2 and resurectionremix,i want to have it on my phone too,the app is for my nanovna.
[Galaxy S II General] Lister Of Smeg:
Hi [MENTION=9897404]m3vuv[/MENTION],

Wasn't to hard to find, literally what you typed... (or even less)... "rr i9100" and up comes the link below.

https://androidfilehost.com/?w=files&flid=283064

Here you can pick Nougat or Oreo... :)

Have fun... Lister :D
[Galaxy S II General] m3vuv:
the links say cant find a mirror when i try and download the roms !!
[Galaxy S II General] m3vuv:
rr for the i9100

fooking site now says my message is too short WTF!!
[Galaxy S II General] sbappi:
https://get.resurrectionremix.com/?dir=older/i9100

Just in case