Assistant
REPLY |
Auto power on when power on (ROOT) | DNS S4003 |
Message#1 06.07.15, 16:44 | |
a guest [offline] Group: Users Messages 9 Check in: 06.07.15 DNS S4003 Reputation: 0 | �������������� ��������� �������� ��� ������ �������(ROOT) downloadAuto power on when a charger is connected to DNS S5008 Auto Power On Explay Hit (android 4.2.2) Auto on Honor 4x (Kirin 620) on Android 6.0 (Line 13) On MegaFon Login (SP AI) User experience - edit init.rc Script (keeps the phone on the loading screen until the charge reaches 5%, after which the body successfully loads) There is no curator in the subject. For filling caps, please contactmoderatorssection through a buttonunder the messages to which you want to add links. Post has been editedvaalf - 23.10.18, 20:11 Reason for editing: MegaFon Login (SP AI) |
Message#2 06.07.15, 17:22 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 907 Check in: 29.01.12 Samsung Monte GT-S5620 Reputation: 112 | and it is still scary if I make changes and it is erroneous (as it is safe), there may be a special testing program, OR it will simply help RESET TO FACTORY SETTINGS. There is a "special program" for backup and subsequent recovery. And you will need them very soon, I suppose, because First, go to the topic of your device and find out how, in which case, to restore the device. P.S. And to turn on the power supply, the options are: 1), you can assemble a new kernel, which is not a trivial task at all. 2) devices on the RockChip processor (RK3066, RK3188 ...) are included so out of the box. 3) a relay that "presses the button" when power is applied. Post has been editedlunjan - 06.07.15, 17:31 -------------------- |
Message#3 06.07.15, 17:58 | |
a guest [offline] Group: Users Messages 9 Check in: 06.07.15 DNS S4003 Reputation: 0 | Thanks for the answer. it is possible in more detail: 2) devices on the RockChip processor (RK3066, RK3188 ...) are included so "out of the box". what does it mean: turn on out of the box? |
Message#4 06.07.15, 20:59 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 907 Check in: 29.01.12 Samsung Monte GT-S5620 Reputation: 112 | |
Message#5 07.07.15, 09:03 | |
a guest [offline] Group: Users Messages 9 Check in: 06.07.15 DNS S4003 Reputation: 0 | I checked on the device turned off, when the power is supplied, the DNS LOGO is displayed, then the charge indicator is displayed. Full inclusion does not occur. there is hope (something that maybe I can do myself) to find the file of the "bootloader" that launches the appearance of the LOGO and add a line to it to completely turn on the smartphone. You can prompt the program to edit the android system files. THANK. |
Message#6 07.07.15, 15:40 | |
a guest [offline] Group: Users Messages 9 Check in: 06.07.15 DNS S4003 Reputation: 0 | I myself could not find the file in which you can make changes to automatically turn on the smartphone. I will be grateful for the help, many thanks. |
Message#7 07.07.15, 17:16 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 907 Check in: 29.01.12 Samsung Monte GT-S5620 Reputation: 112 | [email protected], 15:40 I myself could not find the file in which you can make changes to automatically turn on the smartphone. I am sure that such a file is not in nature. -------------------- |
Message#8 07.07.15, 18:07 | |
a guest [offline] Group: Users Messages 9 Check in: 06.07.15 DNS S4003 Reputation: 0 | But what about this option? 2) devices on the RockChip processor (RK3066, RK3188 ...) are included so out of the box. I checked on the device turned off, when the power is supplied, the DNS LOGO is displayed, then the charge indicator is displayed. Full inclusion does not occur. maybe I'm doing something wrong? |
Message#9 07.07.15, 18:33 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 907 Check in: 29.01.12 Samsung Monte GT-S5620 Reputation: 112 | [email protected], 18:07 But what about this option? You have a Qualcomm chip, not RockChip. In general, be interested in the topic of your device:DNS S4003 2SIM / INNOS i3 - Discussion -------------------- |
Message#10 15.02.16, 04:03 | |
/ [offline] Group: Friendssavagemessiahzine.com Messages 1388 Check in: 21.02.14 Xiaomi Redmi Note 3 Pro Prime Reputation: 215 | |
Message#11 23.02.16, 00:50 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 296 Check in: 24.04.15 Samsung Galaxy S7 EDGE SM-G935F Reputation: 49 | Samsung galaxy tab s t-705 tablet, firmware based on CM 12.1 - Pak-man 5.1.1. From what I could find, it turns out that the inclusion when charging is done in the ramdisk, there is a healthd file, it contains the code to enable animation of the battery when charging, and if you correct it (by type - android_reboot (ANDROID_RB_RESTART, 0, 0) ;, Then the tablet will be loaded automatically when charging. Boot.img unzip smog, there is a ramdisk folder, in it sbin and here lies healthd. Please tell me how (what) to edit this file? The file itself is unpacked with a zip, there is a .rodata file, here it is the message of the battery animation code ... <4>charger: --------------- STARTING CHARGER MODE --------------- / sys / class / power_supply / battery / charging_enabled<4>charger: android charging is disabled, exit! ... 1. How to edit and compile healthd? Tell me which way to google? PS - in the ramdisk folder, at the root, there is another file, charger. In it, the code cannot be read with a notebook, the notebook writes this: !<symlink>ia / s b i n / h e a l t h d 2. Maybe this file is enough to correct, the type of what I could find in nete #! / system / bin / sh / system / bin / reboot Post has been editedWhiteTezis - 23.02.16, 01:12 |
Message#12 30.03.16, 11:20 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 135 Check in: 27.09.11 Xiaomi Redmi 4 Prime Reputation: 6 | From what I could find, it turns out that the inclusion when charging is done in the ramdisk, there is a healthd file, it contains the code to enable animation of the battery when charging, and if you correct it (by type - android_reboot (ANDROID_RB_RESTART, 0, 0) ;, Then the tablet will be loaded automatically when charging. Plus, also interested in the ability to turn on the phone when charging connected. |
Message#13 03.04.16, 23:10 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 296 Check in: 24.04.15 Samsung Galaxy S7 EDGE SM-G935F Reputation: 49 | All the same, I solved the issue with the automatic inclusion of Samsung galaxy tab s 8.4 T-705, on the custom firmware based on CM 12.1 - Pak-man 5.1.1. I think on any Samsung with Cyanogen mod will work. Delov for 20 minutes, great knowledge of programming is not required, I will try to explain everything on the shelves. BEFORE ALL WE DO THE FULL BECAP !!! I had so many failures in the process of experimentation that without a backup it was possible to go crazy with reinstalling the system! What is required: On the computer. 1. Android Image Kitchen (found onsavagemessiahzine.com). 2.Notepad ++. 3.Total Comander. 4. 7zip On phone / tablet 1.Total Comander. Actions on the computer: 1. Download the custom CM firmware, unpack it using the 7zip archiver. In the unpacked folder we are looking for the boot.img file. Copy it to a separate folder. It is better to rename the folder for example CM Boot. 2. Download the Samsung official firmware, unpack it using the 7zip archiver. In the unpacked folder we are looking for the boot.img file. Copy it to a separate folder. It is better to rename the folder for example Samsung Boot. 3. Copy the boot.img file from the Samsung Boot folder to the folder with the installed Android Image Kitchen program. In the Open folder Android Image Kitchen, grab the mouse boot.img and drag it directly to the unpackimg.bat icon, click what the program offers. The kernel was unpacked, we are interested in the ramdisk folder that appears, in it the file init.universal5420.rc. Open it with notepad ++ and look for the line # LPM. This line and everything under it (referring to it, that is, from the # LPM sign and to the next # # sign needs to be copied. In my case these are the following lines: # LPM on property: ro.bootmode = charger mount ext4 / dev / block / mmcblk0p18 / system wait ro on property: ro.bootmode = charger wait /dev/block/platform/dw_mmc.0/by-name/EFS check_fs /dev/block/platform/dw_mmc.0/by-name/EFS ext4 mount ext4 /dev/block/platform/dw_mmc.0/by-name/EFS / efs nosuid nodev noatime noauto_da_alloc, discard, journal_async_commit on property: ro.bootmode = charger class_start sec-charger service playlpm / system / bin / lpm class sec-charger critical 4. After the above lines have been copied to the clipboard, the ramdisk folder and the boot.img file need to be deleted from the folder with the Android Image Kitchen program. 5. Copy the boot.img kernel to which we will boot when charging, in our case from the CM Boot folder the boot.img file to the folder with the installed Android Image Kitchen program. In the Open folder Android Image Kitchen, grab the mouse boot.img and drag it directly to the unpackimg.bat icon, click what the program offers. The kernel was unpacked, we are interested in the ramdisk folder that appears, in it the file init.universal5420.rc. Open it with notepad ++ and look for the line # LPM. In my case it was these lines: # LPM on charger # EHCI runtime enable for LPA write / sys / devices / platform / s5p-ehci / power / control auto mkdir / data / log 0777 chmod 0666 / dev / log / radio chmod 0666 / dev / log / main chmod 0666 / dev / log / event ifup lo hostname localhost domainname localdomain service charger / sbin / healthd -c class charger critical seclabel u: r: healthd: s0 Now, you need to replace all the lines relating to # LPM that we copied from the Samsung kernel. We save. 6. Click on the icon repackimg.bat and see the emergence of a new kernel image-new.img. The kernel is copied to the phone / tablet, we will put it through the recovery. Just in case, you need to copy the normal and not correct kernel boot.img on occasion if the device does not boot. 7. Go to Total Commander on your phone / tablet on the system / bin path. We copy any file from there (preferably not large, otherwise there are such files there that you edit the FIG. Rename the copied file to lpm. We delete everything in it and write the following lines: #! / system / bin / sh / system / bin / reboot 8. Copy the lpm file on the system / bin path, set permissions to 755. 9. Install the new kernel through the recovery. We are checking. From the beginning, just after installation, we reboot, if booted up, then we try to turn off the device and connect the charging. If not, then go to the recovery and put in advance the copied "original" core. As a result, we get ithttps://www.youtube.com/watch?v=dX4hjTyW4iY PS - perhaps not everyone will have exactly the same string and even files. In this case, we search for all files in the ramdisk with the word lpm or playlpm and replace it. I think the meaning is clear. Post has been editedWhiteTezis - 03.04.16, 23:47 |
Message#14 16.04.16, 23:28 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 296 Check in: 24.04.15 Samsung Galaxy S7 EDGE SM-G935F Reputation: 49 | Automatic switching on when charging Asus ZenPad 8 (Z380KL) with firmware Cyanogen Mod 13 is connected I will not paint thoroughly, only the main thing. "How and what" look in the previous message. 1. We unpack the core of CM13 2.Open ramdisk Notepad ++ init.qcom.rc file 3. Search and delete the lines: service charger / charger class charger group log seclabel u: r: healthd: s0 4. Instead of deleted lines, we write the following lines: on property: ro.bootmode = charger class_start sec-charger service playlpm / system / bin / reboot class sec-charger critical 5. We pack a kernel. 6. Install the kernel. Bingohttps://www.youtube.com/watch?v=4KQVxiPDXhA Post has been editedWhiteTezis - 18.04.16, 18:28 |
Message#15 16.04.16, 23:59 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 296 Check in: 24.04.15 Samsung Galaxy S7 EDGE SM-G935F Reputation: 49 | Found a way. You do not need to create any additional lpm files, you can refer to the file system / bin / reboot in the kernel. This file is in the firmware by default. Everything works, when you connect the charging, the tablet turns on. Instruction corrected. Post has been editedWhiteTezis - 18.04.16, 18:29 |
Message#16 17.04.16, 09:12 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 9976 Check in: 27.08.11 Reputation: 472 | White Thesis I understand that you copy in the name of the Samsung file Is it possible to call the lpm file as you like (of course by changing the name in the kernel)? Post has been editedsandr2010 - 17.04.16, 09:13 |
Message#17 17.04.16, 11:48 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 296 Check in: 24.04.15 Samsung Galaxy S7 EDGE SM-G935F Reputation: 49 | sandr2010 Yes that's right. And everything is simple, it turns out I make a link to the lpm file that I create in system / bin, or to any file that is there. This can be any xxxx file created. Post has been editedWhiteTezis - 17.04.16, 11:56 |
Message#18 17.04.16, 13:53 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 9976 Check in: 27.08.11 Reputation: 472 | White Thesis Hmm, then, perhaps, there is a charger file in / system / bin / - if you make these changes right away in it + make a delay of 5-10 seconds (just in case), then the idea should work, without tinkering the kernel. Post has been editedsandr2010 - 17.04.16, 13:56 |
Message#19 18.04.16, 16:00 | |
Novice [offline] Group: Active users Messages 32 Check in: 22.11.07 Reputation: 3 | White Thesis I use Asus ZenPad 8 (Z380KL) with Cyanogen Mod 13 firmware as a CAR PC. Made changes to the kernel, created and pasted LPM. After a reboot, the battery logo weighs in for a while, then for a couple of seconds the initial picture of the Asusa boot and the transition to TWRP. After the forced Reboota TWRP download on the home screen CM. And MacroDroid Pro stopped working (it has a power off macro when the power is turned off). I turned the old kernel on (button) and shutdown (macro) restored. Be so kind as to tell me what I am doing wrong. |
Message#20 18.04.16, 18:22 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 296 Check in: 24.04.15 Samsung Galaxy S7 EDGE SM-G935F Reputation: 49 | mogolev,difficult to answer why it happens. As an option to check out everything that was replaced and created. lpm should be spelled out in small letters in the code and the name of the file itself. But my humble experience suggests that it reboots into TWRP due to improper kernel packaging, I had it when I used some of the packers. And better try the kernel below, I found an easier way to implement the inclusion (corrected instructions). Here is the core for Asus ZenPad 8 (Z380KL) with Cyanogen Mod 13 firmware. Assembly number Thu Apr 7 10:56:29 MSK 2016. There is no need to create via TWRP and no additional lpm files. Pre-save the working core in case something goes wrong. boot-cm-13-reboot.img(9.19 MB) Unsubscribe pliz on performance. Post has been editedWhiteTezis - 18.04.16, 18:38 |
Message#21 18.04.16, 20:47 | |
Novice [offline] Group: Active users Messages 32 Check in: 22.11.07 Reputation: 3 | |
mobile version | Now: 03/30/19/13: 16 |