Assistant
REPLY |
Replacing Android on the desktop distribution | all platforms |
Message#1 08.01.16, 10:48 | |
Only hardcore [offline] Topics Curator Group: Curators Messages 4851 Check in: 27.12.12 Reputation: 356 | ������ Android �� ���������� ����������� download... He just had his own ideas about how the world should look, and he was powerful enough to try to implement them. V. Archer I wonder if anyone, except me, tried to completely get rid of the android on his device and deploy a normal distribution. If such people exist, then they may want to discuss the results, share their experiences, or boast achievements. Surely, someone will ask, "What for? Yes, almost any desktop Linux program already has counterparts for android. But maybe someone just does not like the android. Or maybe someone wants to write highly specialized programs for their device and write them not in Java. Here you can ask questions (or leave instructions) on the following topics: - Rebuilding the kernel with the new config or drivers; - Work with ramdisk; - HAL libraries and libhybris; - Set up Wi-Fi, 3g; - Setup and launch of the X server; - Choice of window manager, environment, virtual keyboard; - Sound output; - Development of programs that replace the functionality of the android: control backlight, processor frequency, volume, lights, calls, messages, hibernation; - Using cameras, sensors. Init FAQ. Easy reading for leisure. If someone is interested, but do not know where to start, you can look here: Replacing Android on the desktop distribution (Post Pigg # 48927960) Post has been editedottiwell - 15.06.18, 23:22 |
Message#22 19.04.16, 13:50 | |
Only hardcore [offline] Topics Curator Group: Curators Messages 4851 Check in: 27.12.12 Reputation: 356 | |
Message#23 19.04.16, 19:20 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 724 Check in: 07.01.16 Xiaomi Redmi Note 3 Pro Special Edition Reputation: 13 | What options are there to dig up ramdisk and disable android services other than compiling the kernel from source? P.s. I can not compile, because the arm drvgen does not start -------------------- Replacing Android on the desktop distribution |
Message#24 19.04.16, 22:06 | |
Only hardcore [offline] Topics Curator Group: Curators Messages 4851 Check in: 27.12.12 Reputation: 356 | Junior Developer, The theory says that there are special programs called kitchens that allow you to unpack and pack ramdisks located in boot.img and recovery.img. One example isBoot & Recovery Repack for Windows, but usually they vary from device to device. There are devices common to devices, a line of devices, SoC, by manufacturer, and so on, you need to start looking from the beginning, and if you don’t find the kitchen on the first item, then go search for the second. With each transition the chances are reduced. You should start in the profile topic of your device. |
Message#25 20.04.16, 03:21 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 724 Check in: 07.01.16 Xiaomi Redmi Note 3 Pro Special Edition Reputation: 13 | |
Message#26 20.04.16, 08:00 | |
Only hardcore [offline] Topics Curator Group: Curators Messages 4851 Check in: 27.12.12 Reputation: 356 | Junior Developer, Look for better, should be on a normal system. Here are a couple of links, maybe there you will find tips. unpacking boot.img system.img Tool for disassembling / assembling firmware and individual images Image Processing under Windows |
Message#27 20.04.16, 10:08 | |
_ && make it funny) [offline] Group: Curators Messages 2346 Check in: 05.11.13 Xiaomi Redmi 6 Pro 4/64 Reputation: 508 | -------------------- |
Message#28 20.04.16, 10:24 | |
Magos biologis [offline] Group: Developers Messages 11799 Check in: 05.05.13 Huawei MediaPad 7 Vogue S7-601u, S7-602u Reputation: 1041 | Junior Developer, not necessary. Attached are perl scripts for working with boot / recovery MTK systems. The result is perfectly sewed through SP Flash or via dd MTK-repack.zip(6.63 KB) Post has been editedAzathtot - 20.04.16, 10:25 -------------------- Order. Unity. Obedience. |
Message#29 21.04.16, 12:18 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 724 Check in: 07.01.16 Xiaomi Redmi Note 3 Pro Special Edition Reputation: 13 | Azathtot The same error as before is not packaged. Exhaust Repacking boot image ... Ramdisk size: 4553 blocks / usr / bin / mkbootimg: 1: / usr / bin / mkbootimg: ELF: not found / usr / bin / mkbootimg: 2: / usr / bin / mkbootimg: Syntax error: "(" unexpected -------------------- Replacing Android on the desktop distribution |
Message#30 21.04.16, 14:14 | |
Magos biologis [offline] Group: Developers Messages 11799 Check in: 05.05.13 Huawei MediaPad 7 Vogue S7-601u, S7-602u Reputation: 1041 | |
Message#31 21.04.16, 15:39 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 724 Check in: 07.01.16 Xiaomi Redmi Note 3 Pro Special Edition Reputation: 13 | Azathtot Yes, it is unpacked without problems, but it does not work. The error gives mkbootimg. User for files and group "root", rights - all checkboxes (rwxrwxrwx), also run from root https://github.com/bgcngm/mtk-tools Post has been editedJunior Developer - 21.04.16, 15:42 -------------------- Replacing Android on the desktop distribution |
Message#32 24.05.16, 10:21 | |
Only hardcore [offline] Topics Curator Group: Curators Messages 4851 Check in: 27.12.12 Reputation: 356 | Junior Developer, Even better - busybox init.https: //www.busybox.ne...inaries/busybox-armv5lThere is already part of init. It remains to leave in the ramdisk simlink init at the root of this busybox. Run everything else through init.d Post has been editedottiwell - 24.05.16, 10:29 |
Message#33 25.05.16, 22:24 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 724 Check in: 07.01.16 Xiaomi Redmi Note 3 Pro Special Edition Reputation: 13 | I shortened init as much as possible and cannot mount partitions. Left only adb and mkdir'y (removed section / data). adb shell swears that there is no sh file, I decide to load sh into the directory every time after switching on. Nodes are created, but not mounted. I tried everything with the command mount -t ext4 -o rw, exec, dev $ nod / data -------------------- Replacing Android on the desktop distribution |
Message#34 25.05.16, 22:30 | |
Only hardcore [offline] Topics Curator Group: Curators Messages 4851 Check in: 27.12.12 Reputation: 356 | |
Message#35 25.05.16, 22:43 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 724 Check in: 07.01.16 Xiaomi Redmi Note 3 Pro Special Edition Reputation: 13 | |
Message#36 25.05.16, 22:44 | |
Only hardcore [offline] Topics Curator Group: Curators Messages 4851 Check in: 27.12.12 Reputation: 356 | Junior Developer, No, not that. The ueventd binary should be in the ramdisk. In the android ramdisk you have it 100%. Posted 05/25/2016 at 10:44 PM: Yes, here it is and run. Post has been editedottiwell - 25.05.16, 22:44 |
Message#37 25.05.16, 22:49 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 724 Check in: 07.01.16 Xiaomi Redmi Note 3 Pro Special Edition Reputation: 13 | ottiwell, It is, but unpacked / sbin / ueventd - simlink on init In init.rc "start ueventd" Posted 05/25/2016 at 10:49 PM: And service / sbin / ueventd is Post has been editedJunior Developer - 25.05.16, 22:48 -------------------- Replacing Android on the desktop distribution |
Message#38 25.05.16, 22:59 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 724 Check in: 07.01.16 Xiaomi Redmi Note 3 Pro Special Edition Reputation: 13 | If you do this: on charger start adbd Then start adb on usb in the phone off? -------------------- Replacing Android on the desktop distribution |
Message#39 25.05.16, 23:02 | |
_ && make it funny) [offline] Group: Curators Messages 2346 Check in: 05.11.13 Xiaomi Redmi 6 Pro 4/64 Reputation: 508 | |
Message#40 26.05.16, 11:32 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 724 Check in: 07.01.16 Xiaomi Redmi Note 3 Pro Special Edition Reputation: 13 | uevent runs fine, they create dev sections of the kernel. Later I will try to pack the system partition for firmware via fastboot -------------------- Replacing Android on the desktop distribution |
Message#41 30.05.16, 00:15 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 3361 Check in: 26.11.13 Reputation: 387 | Something turned out! namely, mounted the image, before downloading the android! (for me it was important!) In general, I disassembled the bootloader, changed the values ​​in: default.prop to: ro.secure = 0 ro.adb.secure = 0 ro.allow.mock.location = 0 ro.debuggable = 1 persist.sys.usb.config = mtp, adb To get out of fastboot, you could switch to adb mode. Found such a script (only edited for yourself): mount -o remount, rw -t ext4 / dev / block / mmcblk0p8 / system echo "SETTING VARIABLES" export bin = / system / bin export mnt = / data / local / ubuntu export PATH = $ bin: / usr / bin: / usr / sbin: / bin: $ PATH export TERM = linux export HOME = / root if [! -d / data / local / ubuntu] then mkdir / data / local / ubuntu fi echo "MOUNTING" mount -t ext2 -o loop /sdcard/ubuntu/rootfs.ext2 / data / local / ubuntu mount -t devpts devpts $ mnt / dev / pts mount -t proc proc $ mnt / proc mount -t sysfs sysfs $ mnt / sys echo "SETTING UP NETWORK" sysctl -w net.ipv4.ip_forward = 1 echo "nameserver 208.67.222.222">$ mnt / etc / resolv.conf echo "nameserver 208.67.220.220">>$ mnt / etc / resolv.conf echo "127.0.0.1 localhost">$ mnt / etc / hosts echo "All credits to original creator !!!!!!!" chroot $ mnt / bin / bash The image was mounted, an invitation appeared: root @ localhost: / # But what to do next? How to run the GUI? -------------------- *** Ingratitude, kills enthusiasm *** |
mobile version | Now: 04/28/19, 17:52 |