Boot on Charge - Meizu M3 Note Guides, News, & Discussion

I want to boot meizu m3 note on connecting charger for use in Car. The fastboot method wont work and there is no lmp file in system/bin to edit. There was kpoc_charger file, which i edited, but not booting on charge...please inform if any other way i can accomplish this?

Related

[Q] Bootloop, USB Connectivity etc.

So, I have CyanogenMod 7.0.3 Stable flashed in my Legend, and it's been working just fine. Until couple days ago when I made some theme changes through Theme Chooser and flashed some theme add-ons. Now the phone is acting just stupidly. It's in a bootloop (sometimes loops in HTC bootscreen, sometimes in the CyanogenMod bootscreen), usb connectivity doesn't work (fastboot usb works, adb/mass storage etc. doesn't). I have tried to wipe the phone and flash that rom/recovery again through fastboot, but fastboot says "remote: not allowed" or something like that. Bootloader works, fastboot works, even recovery works but it's no use 'cause adb driver doesn't recognize the phone.
Please guys, help me. What should I do to get my phone running again? (working CyanogenMod or even a stock without root, I don't care, I just want this thing up and running again)
EDIT: And the weird thing is, that couple times I was able to boot the phone normally using recovery by just sticking the usb cable into the phone. And also, couple times I was able to boot it normally by just using fastboot reboot (I was able to get to the HTC Setup screen and then it would crash and show just black screen with notification bar)
It's possible the you're USB bricked. A quick search of "USB unbrick" should bring the required thread to light (search in development)
TheGrammarFreak said:
It's possible the you're USB bricked. A quick search of "USB unbrick" should bring the required thread to light (search in development)
Click to expand...
Click to collapse
Yeah, I have thought of that! Only problem is that how am I supposed to get the required files (flash_image and .img) to SD card without a way to manage SD card? Can I flash the image using fastboot?
I can't do it inside the phone 'cause I'm in a bootloop and can't boot the phone.
EDIT: Is there a chance to do a wipe and flash a new rom using only fastboot or something?
In theory you can flash without recovery, but only if you're S-OFF. You'll need the ROM in .img format too.
I used a microSD to SDCard reader to transfer the files., they're fairly cheap in high street stores. Or borrow a friends Android phone
TheGrammarFreak said:
In theory you can flash without recovery, but only if you're S-OFF. You'll need the ROM in .img format too.
I used a microSD to SDCard reader to transfer the files., they're fairly cheap in high street stores. Or borrow a friends Android phone
Click to expand...
Click to collapse
Well, am I able to flash those files once they are in the SD card? I mean with S-ON cause I don't have S-OFF?
Or is my phone a complete brick? =( Cause I'm pretty much all out of ideas..
Once you've got the files needed for a USB unbrick on your SD card you'll be fine
if you have recovery access did you try to make apply update from SD card in order to pass in cwm recovery.
if you got a USB brick you can use a multifonction printer to mount your SD on your computer.
So in a nutshell, my problems are:
- My Legend is in a bootloop
- Apparently my phone is USB bricked cause only fastboot works
- I don't have a recovery, when I go manually into recovery (recovery -> POWER + VOL UP) it goes into stock recovery
- And also my phone is S-ON
Could you guys point me into the right direction with this, I really want my phone back working. What should I do?
When you get to the stock recovery, navigate to ans select "flash update.zip from SDcard" That should get you to ClockworkMOD. Once there you'll need to use ADB to push the files required for the USB unbrick procedure to the SDcard (adb push [files-on-pc] /sdcard/) You should no be able to perform the the USB unbrick.
You may need your phone plugged into a PC for it to boot
TheGrammarFreak said:
When you get to the stock recovery, navigate to ans select "flash update.zip from SDcard" That should get you to ClockworkMOD. Once there you'll need to use ADB to push the files required for the USB unbrick procedure to the SDcard (adb push [files-on-pc] /sdcard/) You should no be able to perform the the USB unbrick.
You may need your phone plugged into a PC for it to boot
Click to expand...
Click to collapse
But I'm getting this blue recovery screen with only four options instead of the original green one including option to flash zip. So wtf has happened?
EDIT: In the blue recovery screen it says Can't open cache/recovery/command. And when I choose "apply sdcard:update.zip" it says "signature verification failed" and it aborts the installation.
Fakeflash.
TheGrammarFreak said:
Fakeflash.
Click to expand...
Click to collapse
So I am able to flash roms only using this menu? Am I correct? Just do a wipe and apply update.zip?
Why does it say "verification failed" then?
EDIT: Oh I see, I have to download fake-flash update.zip and apply update.zip takes me to the clockwork recovery? When I put the update.zip to the SD card and apply it, then it should go on with out any "verification failed" errors?
TheGrammarFreak said:
Fakeflash.
Click to expand...
Click to collapse
My main priority is just to get the phone to run normally again, I can worry about the USB Unbrick later. So I just want to do a full wipe and flash Cyanogenmod again. Am I able to do all that is required to run the phone again normally with fakeflash?
Thanks in advance TheGrammarFreak, I really appreciate your help!
The phone won't run normally until you do a USB unbrick.
One of the things that happens with this USB brick is that a flag for advanced debugging gets set. It's a very deep setting, and the setting is read ad the HBOOT level. If this flag is set to on (like it is in a USB brick) the phone will not boot unless it's plugged into a computer. Remember that
In order to get your phone back I believe you will need to plug your phone into the PC and turn it on. It should boot, if not you will need to get to recovery and wipe/reflash (you'll need to do this while plugged into a PC too). Once you have a running system/you're in recovery you can use ADB to push the files needed for a USB unbrick to your SD card.
Assuming you got that far, you should be in a prime position to follow the USB unbrick procedure.
I'm going away tomorrow for a week, and I will not be online at all. If you need more help you will need to get someone else in. That said, I believe that with the information in this thread, the USB unbrick thread, the fakeflash thread and Google you have enough information and help top fix your phone
TheGrammarFreak said:
The phone won't run normally until you do a USB unbrick.
One of the things that happens with this USB brick is that a flag for advanced debugging gets set. It's a very deep setting, and the setting is read ad the HBOOT level. If this flag is set to on (like it is in a USB brick) the phone will not boot unless it's plugged into a computer. Remember that
In order to get your phone back I believe you will need to plug your phone into the PC and turn it on. It should boot, if not you will need to get to recovery and wipe/reflash (you'll need to do this while plugged into a PC too). Once you have a running system/you're in recovery you can use ADB to push the files needed for a USB unbrick to your SD card.
Assuming you got that far, you should be in a prime position to follow the USB unbrick procedure.
I'm going away tomorrow for a week, and I will not be online at all. If you need more help you will need to get someone else in. That said, I believe that with the information in this thread, the USB unbrick thread, the fakeflash thread and Google you have enough information and help top fix your phone
Click to expand...
Click to collapse
Legend is up and running again! Thank you so much TheGrammarFreak!
Same problem here, but slightly different. He doesn't recognize my SD card (tried different ones) anymore ... out of the blue ... so how can I unbrick ??
http://forum.xda-developers.com/showthread.php?t=751265
follow this guide, helped me a lot.
you'll need root access.

[Q] Phone not booting, forgot to set backup

I had NOS Google Play ROM on my phone, but now it won't boot up and I forgot to set a backup file. Now I am stuck in TWRP since I can't boot up the phone. Also, I deleted the ROM file from my phone. Yes call me stupid all you want but I seriously need this fixed.
So what happens is, I boot the phone, goes to the boot screen, and shows it is booting, but it never does boot. It's in some kind of an infinite loop.
On top of that, I can't transfer files in TWRP!!
Does anyone know how to fix this? I know there is a fix to this, but I can't seem to get any to work or most just don't make any sense.
If you have boot loader unlocked (most likely) try fastboot flashing boot.img in fastboot mode
Sent from my DNA
hddr3 said:
I had NOS Google Play ROM on my phone, but now it won't boot up and I forgot to set a backup file. Now I am stuck in TWRP since I can't boot up the phone. Also, I deleted the ROM file from my phone. Yes call me stupid all you want but I seriously need this fixed.
So what happens is, I boot the phone, goes to the boot screen, and shows it is booting, but it never does boot. It's in some kind of an infinite loop.
On top of that, I can't transfer files in TWRP!!
Does anyone know how to fix this? I know there is a fix to this, but I can't seem to get any to work or most just don't make any sense.
Click to expand...
Click to collapse
USB OTG Cable, thumbdrive, rom image on thumbdrive, install from external SD.
Boot into recovery and connect the device to your pc and open a terminal and type in adb devices to make sure the pc recognizes your phone and it should. The just adb push a different Rom to the sdcard wait for that to finish and flash. Or if you can get adb sideload to work you can do that too.
You can use adb push/pull in recovery without mounting anything or at least it works for me...
Sent from my dlx using XDA Premium HD app

G925F boot loop / OTG & ADB not working HELP PLS??

Hi all,
I have a S6 Edge G925f, which is in need of some TLC.
It switches on into a boot loop, and has TWRP 3.0.2-0. It has no ROM.
I don't know if it has (or should have) anything else.
I have tried to send files via OTG and ADB, but both are failing, and I don't know why.
ADB (using fastboot) it spots the phone, gives the serial and recovery, but when I try to push a file, it waits... and waits.. and waits. Nothing happens. I have to pull the cable to force it to stop waiting.
OTG, I boot into TWRP and plug in a memory card with the ROM on, but it doesnt let me select OTG in the Install section. I tap it, but it work select.
I'm sure there is a really easy way to sort this out, but it is eluding me, and I'm hoping the community here can assist.
Any assistance would be much appreciated.
Thanks

AutoBoot, AutoTurnON, AutoStart on power (AC) plug - PLEASE HELP

Hello All Smart People
I am trying to set up my phone to start up after connecting USB power to the phone.
XIAOMI Redmi Note 4 Snapdragon 7.0 NRD90M MIUI Global 9.2.1.0 (NCFMIEK)
Bootloader is unlocked. Phone is ROOTED.
I tested solutions:
1. XDA - Fastboot Commands - https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands/
2. Tasker software
and many more - without success.
I've used probably all possible solutions on the Internet
I am confused with the request to users who have made XIAOMI Note 4 turn on after connecting a USB cable with power supply.
I will be very grateful.
Pl check at ( but it needs experience of bootloader unlocking, rooting, boot image extraction , unpacking and repacking of boot image.)
https://forum.xda-developers.com/ga...o-boot-charge-connected-t3626364#post78472845
Hi,
I tried for a long time to modify Xiaomi devices for boot on charger. Finally I did it. This procedure works for MIUI, I did succesfully on Redmi 2, Redmi Note 4, Redmi Note 6 Pro. This method works modifing "init.rc" file, I tried modifing the "charger" file but without results.
1 - download the fastboot ROM you want to flash to phone and extract it on pc to take the images/boot.img file to mod, you can also take it from TWRP backup.
2 - download Android.Image.Kitchen.v3.6-Win32 and extract it, drag and drop the boot.img file on /Android Image Kitchen/unpackimg.bat, go to a new folder created ramdisk and edit by Notepad++ the init.rc file replacing:
Code:
on charger
class_start charger
with:
Code:
on charger
setprop ro.bootmode "normal"
setprop sys.powerctl "reboot"
and save it.
3 - Go to /Android Image Kitchen/ and run repackimg.bat, rename image-new.img to boot.img and replace or copy it to ROM folder images/
4 - Flash the modded ROM by fastboot (XiaomiMiFlash) or restore backup by TWRP recovery.
it is possible to add some script that will check if battery is higher than 10% then boot up ? and if lower will charge till 10 ?
this protect from bootlop when battery is completley discharged
You can instruct init to reboot the device whenever charger mode is detected. Create a new .rc file or edit any existing one:
# /system/etc/init/off_mode_charge.rc
on charger
setprop sys.powerctl reboot,leaving-off-mode-charging
Source:
Automatically power on Android when the charger is connected
Is it possible to automatically power on the device once the charger is connected given that the device is initially turned off?
android.stackexchange.com
malinowskimm said:
Hello All Smart People
I am trying to set up my phone to start up after connecting USB power to the phone.
XIAOMI Redmi Note 4 Snapdragon 7.0 NRD90M MIUI Global 9.2.1.0 (NCFMIEK)
Bootloader is unlocked. Phone is ROOTED.
I tested solutions:
1. XDA - Fastboot Commands - https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands/
2. Tasker software
and many more - without success.
I've used probably all possible solutions on the Internet
I am confused with the request to users who have made XIAOMI Note 4 turn on after connecting a USB cable with power supply.
I will be very grateful.
Click to expand...
Click to collapse
Did it work
malinowskimm said:
Hello All Smart People
I am trying to set up my phone to start up after connecting USB power to the phone.
XIAOMI Redmi Note 4 Snapdragon 7.0 NRD90M MIUI Global 9.2.1.0 (NCFMIEK)
Bootloader is unlocked. Phone is ROOTED.
I tested solutions:
1. XDA - Fastboot Commands - https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands/
2. Tasker software
and many more - without success.
I've used probably all possible solutions on the Internet
I am confused with the request to users who have made XIAOMI Note 4 turn on after connecting a USB cable with power supply.
I will be very grateful.
Click to expand...
Click to collapse
Did it work anyone
hey to all
Any success on this? I need this feature on Redmi Note 11
kenuser said:
Hi,
I tried for a long time to modify Xiaomi devices for boot on charger. Finally I did it. This procedure works for MIUI, I did succesfully on Redmi 2, Redmi Note 4, Redmi Note 6 Pro. This method works modifing "init.rc" file, I tried modifing the "charger" file but without results.
1 - download the fastboot ROM you want to flash to phone and extract it on pc to take the images/boot.img file to mod, you can also take it from TWRP backup.
2 - download Android.Image.Kitchen.v3.6-Win32 and extract it, drag and drop the boot.img file on /Android Image Kitchen/unpackimg.bat, go to a new folder created ramdisk and edit by Notepad++ the init.rc file replacing:
Code:
on charger
class_start charger
with:
Code:
on charger
setprop ro.bootmode "normal"
setprop sys.powerctl "reboot"
and save it.
3 - Go to /Android Image Kitchen/ and run repackimg.bat, rename image-new.img to boot.img and replace or copy it to ROM folder images/
4 - Flash the modded ROM by fastboot (XiaomiMiFlash) or restore backup by TWRP recovery.
Click to expand...
Click to collapse
Works for me. Anyway how to auto off when charger is unplugged?

[I9205] Boot on charge

So I installed Resurrection Remix (Android 6.0) on an i9205. I did this because I want to enable boot on charge for this phone because it will be installed in a car dashboard.
Enabling this on the stock ROM didn't work so I hoped for more success with a custom ROM. However, all the default files that are used for this in system/bin do not exist. These files can be lpm, playlpm, charge_only_mode, chargemon etc. Again, these do not exist with the custom ROM.
I also cannot get a popular fastboot command to work because afaik Samsung does not work with Fastboot. When I try an ABD command to boot into fastboot it only reboots.
Does anyone know what file controls the 'battery bootup' when the device is switched off and connects to USB?
I also heard about the old app NoMoarPowah! but that one doesn't work on my device either.

Categories

Resources