Can’t boot to recovery neither rom

I made a mistake while trying to flash an stock rom in my XT1644. While unlocking bootloader, I didn’t realize I had to check the “allow OEM unlock” in developer options. When I thought unlocking had gone good, I started flashing manually a stock update, and everything failed. Now, I can’t boot into recovery nor flash a recover nor unlock correctly bootloader, since “allow OEM unlock” still appears on screen.

Tried using RSD Lite, but doesn’t work.

How can I unlock my device without checking the “allow OEM unlock” since I have no OS nor recovery?

EC2 ubuntu instance won’t boot properly after being stopped

I stopped my EC2 Ubuntu (can’t remember if it’s 14.04 or 16.04) instance and now I can’t access it.

These are the last couple lines of the system log.

Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Warning: fsck not present, so skipping root file system [    9.413433] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... Warning: overlayroot: debug is busted done. run-init: /sbin/init: No such file or directory Target filesystem doesn't have requested /sbin/init. run-init: /sbin/init: No such file or directory run-init: /etc/init: Permission denied run-init: /bin/init: No such file or directory /bin/sh: 0: can't access tty; job control turned off # [   37.220041] random: nonblocking pool is initialized 

I mounted my volume into another instance and checked, and /sbin/init is really not there.

In the new instance I launched, /sbin/init is a link to /lib/systemd/systemd. In the old volume, /lib/systemd/systemd apparently does not exist.

I also tried running fsck in the old volume and it didn’t work.

Any clues?

EC2 ubuntu instance won’t boot properly after being stopped

I stopped my EC2 Ubuntu (can’t remember if it’s 14.04 or 16.04) instance and now I can’t access it.

These are the last couple lines of the system log.

Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Warning: fsck not present, so skipping root file system [    9.413433] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... Warning: overlayroot: debug is busted done. run-init: /sbin/init: No such file or directory Target filesystem doesn't have requested /sbin/init. run-init: /sbin/init: No such file or directory run-init: /etc/init: Permission denied run-init: /bin/init: No such file or directory /bin/sh: 0: can't access tty; job control turned off # [   37.220041] random: nonblocking pool is initialized 

I mounted my volume into another instance and checked, and /sbin/init is really not there.

In the new instance I launched, /sbin/init is a link to /lib/systemd/systemd. In the old volume, /lib/systemd/systemd apparently does not exist.

I also tried running fsck in the old volume and it didn’t work.

Any clues?

Проблема с кодирование URL после перехода на Spring Boot 2

Проект крутится на Spring Boot 1.5. После перехода на Spring Boot 2 столкнулся с достаточно большой проблемой. Отправляя URL с частично закодированными или не закодированными вовсе параметрами, достучаться до контроллера не представляется возможным. Исправить проблему со стороны frontend (к примеру кодировать url) я не могу. И я не совсем понимаю, почему раньше с такой проблемой не доводилось сталкиваться.

Для примера:

url/test?param[0]=15&param[1]=25&param2=16 – не работает

url/test?param[0]=15&param[1]=25%26param2%3D16 – не работает

url/test?param%5B0%5D%3D15%26param%5B1%5D%3D25%26param2%3D16 – работает

Предполагаю, что проблему можно решить с помощью конфига или фильтра. Но не совсем представляю, в какую сторону стоит копать.

Cannot Dual Boot Ubuntu and Windows from Windows 10

I am using the Dell XPS 15 laptop, and I have Windows 10 installed. I attempted to create a dual boot from a USB and install Ubuntu to my laptop. However, I’ve been experiencing the same problem during installation, even though I tried launching different versions of Ubuntu from various USB devices: When I boot from the USB disk and reach the Ubuntu installation steps, my screen (and my mouse) freezes during the step of picking the partition (the partition that I created in Windows Disk Manager for Ubuntu). Because the screen freezes, the only thing I could do is to restart my laptop at this point. I couldn’t find a solution to this problem on my own, I would appreciate if you could provide any suggestions with this.

Thank you very much!

High DPI and dual boot

I’ve installed Ubuntu on top of a Windows10 install and successfully now have a dual boot system. However the boot menu that allows me to select the OS to boot from is extremely tiny. How can I fix this so I can actually see the menu items?

What’s the minimum amount of space I could leave for Windows 10 in a dual boot setup?

I’ve just bought a new laptop. It’s intended to be primarily for Linux and teaching myself JavaScript. I already use a Mac as my main laptop so won’t be installing many (Windows) apps, or storing large amounts of media.

I want to keep Windows around both to make it easy to restore the laptop for selling or gifting later, and as a ‘just in case’ for home Windows need.

What’s the smallest space you’d recommend leaving Windows in, and what would you put as a reasonable size NTFS shared drive – again just functional, not serious storage?

The specs – i3/ 4gb/ 1tb

Rca cambio w101-CS windows 10 tablet boot issue

I had let a friend borrow my RCA tablet and he brought it back to me but it would not boot up. When you turn it on it will show the RCA logo and then go to the screen and the keyboard is not functional and all you can do is press the power button and it just keeps reprinting shell on the screen. Anybody have any idea what just wrong or how to fix this?

Spring Boot REST Java Microservice: Why Use Maven Submodules?

I have seen a project which uses Maven submodules. The project itself is a spring boot application that exposes Restful API endpoints for a microservice ex: Customer Service (getCustomers, createCustomers etc); consisting of standard model classes, repository, service interface&implementations, controllers etc.

Is there a good reason why we want to make model classes, repository, service interface&implementations, controllers, submodules ?

To be clear, i’m comparing these 2:

1) Normal case:

Project             src                main                    java                       dao                       model                       service                       controller                    resources                test                    ...              pom.xml 

2) Submodules case:

Project         dao             src                main                    java                       dao                    resources                test                    ...             pom.xml          service             src                main                    java                       service                    resources                test                    ...             pom.xml 

Why go for no 2?

To me this structure looks really complex with each pom.xml in each submodule folder..