yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] :
can actually someone confirm what happens when they try to charge their defy (powered off) with msginger 5.0 installed?

I have already 5 users who have confirmed which it goes moto logo, blue led, red led, black screen then again moto logo and so on forever

I have 2 defys and I have checked md5 sum and also tried 2 different downloads just in case and it keeps happening!
[Defy Android Development] walter79:
Can someone with green lens can test charging without installed soc cam support. I do not have any charging problems with my bayer defy.

Edit: Can green lens (soc) user check permissions for /system/bin/charge_only_mode ? 755? rwx xr x
[Defy Android Development] :
just in case you want to know, I also have red lense (both of them) and the charge_only_mode is rwxr-xr-x and 755 don't know what it is but I have rwxr at the beginning while you have only rwx maybe this is the cause?

edit: after looking all the files of that folder start with rwxR with R at the end did you mean rwxr or just rwx?

edit2: is this the file responsible of charging? I must say the phone charges while is ON perfectly, the explained bootloop only occurs while trying to charge the phone while its switched off (no matter if its at 0% or at 80% it will bootloop and the only way to charge it is while the phone is turned ON) have you tried charging it with the phone switched off?
[Defy Android Development] Shubhamqweasd:
i would gladly check it , but the issue is i cant boot into the rom ,.

i tried everything .. like formatting to ext3( both from bootmenu tools ,and stock recovery) , i even tried re-flashing sbf and then flashing the rom..

nothing helped it for booting , i waited for 3-4 times , stil no boot..

any suggestions ??
[Defy Android Development] walter79:
charge only need rwxr-xr-r
[Defy Android Development] :
well I will ask other users about how they have this file, but maybe this is the reason? the both defy I have (both with fresh install rsd lite and so on) are rwxr-xr-X instead of R how can I change it with root explorer?

edit: my permissions on root explorer are as follows

x= yes o= no

x x x

x o x

x o x

Special Permisions:

set UID: o set GID: o Sticky: o

edit2: I cant manage to end up with R no matter what permisions I set up, and I dont know how to look up the number you put up there 755?

edit3: comparing your posts you ask for something different, maybe you type it down incorrectly, in the first post you ask for "RWX XR X" which I think you missed up the last R from the first part and then you say RWXR-XR-R which is exaclty what I mean (the missing R, but know you have changed your previous one which was X to R

SO. after confusing you so much, do you mean charge_only_mode should be RWXR-XR-X?

edit 4: I tried a different charge_only_mode from a backup of cm7 maniac final build (with the same permissions as before) and it charges while ON perfectly but when you shut down the phone and you try to charge it, it goes into bootloop

maybe the reason of not charging while its off its due to the default boot?

should it be 2nd-boot as default? (which actually is) or 2nd-init or 2nd-boot-uart? I remember in msginger 4.0 I think it was 2nd-init and it gave a green led because it wasn't using Quarx custom kernel,

walter, have you tried charging your phone while its switched off? because this the whole problem not charging it while on which as ive said, it works perfectly
[Defy Android Development] walter79:
Tried all version of charging. If you switch off your phone it will boot via 2nd-boot and run charge only mode. You can try to set 2nd-init boot but it works only with gb kernel on MS2G 5.0.
[Defy Android Development] :
I didn't understand it right I think

If you switch off phone and charge it will boot via 2nd-boot (this is the reason why I get motologo, blue led then RED led.. but then you get a battery image charging? or you get a bootloop (again motologo, blue, red) and although its bootlooping it is charging? which of the 2 things you get?

I tried with 2ndinit and it didnt work as you just said and 2nd boot uart neither
[Defy Android Development] walter79:
2nd-boot-uart is a place holder for twrp recovery. (next build) You can try to flash greenbread mod for ms2ginger 4 if you are running froyo kernel.
[Defy Android Development] :
It wont boot in charge mode only for me neither other 6 defys.. 2 of them are bayer module so maybe it has something to do with bl 2 of those 6 are bl4

so when you switch off your defy and connect it to the charger it goes motologo>blue>red(2ndboot) and then it starts charging? (with a battery icon charging?) or after the 2ndboot it gives you a blackscreen then reboots?

can you upload your charge mode only so I replace it and see what happens? or we both have the same charge_mode_only?

thank you very much for your attention
[Defy Android Development] nedywest71:
Walter, how to update to the latest CM10.1 by Quarx via Second Boot option?

Just like normal way? From within Second Boot? How about Gapps?

Gapps were included in your Second Boot (essentials) files.

Thanks in advance!
[Defy Android Development] walter79:
Have to edit ramdisk and update.zip. Will upload it later.
[Defy Android Development] intemptesta:
Hello, I finally tried this rom today (MS2Ginger 5.0 2013-4-23). It's smooth and easy to use!

But after some re-config, I found no "data roaming" option in settings...

Did I, by any chance, simply missed it?

v

v

v

That's it! Unfamiliar with stock menus, I really got lost and miss it.

Thank you!! ^ ^d
[Defy Android Development] walter79:
Check data and battery managment in settings.
[Defy Android Development] :
Hello there! can you try and charge your defy while its completely off? Will it boot to charge mode only? or it will enter a bootloop? thanks for the test I just wanna see what happens in other user defy!
[Defy Android Development] pakarbu:
tested it..no bootloop after full charge when defy is off..

*using other rom now because not use to stock view..:)
[Defy Android Development] intemptesta:
My defy has red lens. When I charge my shutted down device it will boot itself normally, no charge mode to be seen.

Sometime my device take 2-3min to boot past 2nd-boot state (red LED stay on), other time it's quick and take less than 1 min to boot.

That happened when charge boot too.
[Defy Android Development] remix96:
Can it be setted too in CM10.1?
[Defy Android Development] erdnuesse:
bl7, defy

can confirm:

v5 won't boot if you come from fresh installed, rooted BL7 on your defy with green lens.

must go back via sbf method.

- should I have put it into default: 2nd boot before flashing? - if so: whoops XD
[Defy Android Development] walter79:
Default is 2nd-boot. Does boot via 2nd-int work?
[Defy Android Development] intemptesta:
I'm here to report about my phone.

Today I'm careless and let my phone's battery dried out, now it can't charge back up.

When connect to usb wall charger, my phone just loop boot logo > blue led > red led > boot logo, and so on.

If I remove the usb, my phone will turn itself off.

But even if I remove the battery while keep charging, bootloop still occur.

I can still get into bootmenu and custom recovery.

So I try to boot into 2nd-init, "Charge only mode" finally appear!

But show a battery image with "?" on it for a couple seconds, then off again into bootloop.

I think I should go get an external charger for now.

Wish my report could be any help for others.
[Defy Android Development] walter79:
Bl6 defy?
[Defy Android Development] nedywest71:
Hi Walter!

How to access Google Now Cards from Lock Screen?

Before I just swiped up (by default) from Lock screen but now you have customised it to open different apps (up Apollo) and I can not find how to put Google Now cards on Lock Screen (on Apollo place).

Thanks in advance!
[Defy Android Development] :
EDIT: I found a temporal solution for this problem that we are all having (not charging while our defy is full discharged) boot into recovery wait 15 min or so with the phone plugged in, then unplug it and restart, It will boot at 0% so plug it fuking fast before it shuts down!

This will solve the problem, Walter, can you try discharging your defy to 0% when it shuts down and then try to charge it with wall charger? This is a common bug and Im bl4 just if you wanted to know
[Defy Android Development] intemptesta:
Sorry I forgot to inform you my system.

It's Defy red lens, based on Stock 2.2.2 (BL4).
[Defy Android Development] nedywest71:
Froyo > GB > MS2G v5 > Dual Boot CM10.1
[Defy Android Development] Andrea45:
Is v5 now a stable release or it has to have new optimizations?
[Defy Android Development] nedywest71:
It is stable release
[Defy Android Development] :
It is a great rom, my favourite, most stable and lag free rom.. but still it has a very important bug, once you get your battery to 0% you cant charge it or boot it up hope walter can see what is causing this problem to find a solution

walter, if you need a logcat or something just tell me what to do I will help!
[Defy Android Development] lexer98:
NEVER let the battery drain to 0%, ruins your battery
[Defy Android Development] :
I know sometimes you can't do nothing about it, the case is the rom cant charge if battery goes to 0% and this is a quite important bug it should be looked at ^^
[Defy Android Development] rogier666:
Phone batteries switch off at about 3V, which is well above the point of no return at 2.5V. When your phone shuts down at 0% your battery has more than 10% of juice left, it just won't let you use it. By the time the protection circuit drains an "empty" lithium battery to death its natural aging (unavoidable at any charge level) has made it unusable anyway.
[Defy Android Development] walter79:
I have no problems with charging. I use only a chargers with more then 700 mA output. I am on bl4 too. USB charge (500 mA output) does not work in charge only mode.
[Defy Android Development] TJKV:
+1

Even on CM10 etc if the battery is drained completely and we use a computer usb slot, it charges a little bit and starts to boot up, then loses the charge halfway through the boot and shuts down, and this repeats endlessly.

But with a wall charger, it boots up to the big battery charging animation and continues charging till we press and hold power button to continue booting.
[Defy Android Development] :
I use stock charger from motorola. It says OUTPUT: 5.1V = 850 mA

the other user with the same problem, did you change anything with root explorer or any other app that change system files?

I just changed the keylayout to be able to lock the phone with the search button, can it be the reason?
[Defy Android Development] walter79:
Try with a fresh install. Did you used original moto charger?
[Defy Android Development] :
I have tried this in cm7 and cm10 (letting discharge to 0% then charge it with wall charger) and it works perfectly as you say it boots to a big battery charging animation, but in the case of this rom, it just tries to boot and goes on a bootloop, if the file in charge of this is the charge only mode file, could someone upload it and I try replacing it to see what happens? I would really like to have this rom working as I want to stay with it for the rest of the defy life and a friends too!

I've tried with different downloads and checked md5sums which are correct so this is not the problem!

---------- Post added at 03:48 PM ---------- Previous post was at 03:44 PM ----------

yes it is original moto charger, and as I've said it doesn't happen in cm7 or cm10 neither it happened on Msginger v4 maybe i can try with my nexus 7 charger to see if it works? Will try fresh install this night again I will report only fresh install and not touching anything not even the search button lock feature I usually change with root explorer
[Defy Android Development] walter79:
I never changed charge only binary. cm7, old cm10 and MS2Ginger 4.0 use stock gb kernel this roms boots via 2nd-int. MS2Ginger 5.0 , CM10.1 and newer CM10 use custom kernel based on dht25 moto gb kernel. Custom kernel roms boots via 2nd-boot.
[Defy Android Development] :
so, I don't know what it can be, since I've used the custom kernel in several roms (booting via 2nd boot red led) and this is the only rom where I can find the problem,
[Defy Android Development] avi_tandel:
If possible Pls PORT cm7 theme chooser / manager to MS2 V-5

Dear Walter,

MS2 Ginger V-5 is at present most stable rom for defy as far as 2nd boot rom/s are concerned...

The only thing I would like to suggest to make its view more better by porting CM7 theme chooser, because current look seems to be as good as stock rom. Nice & Latest Laucher would add crown in this rom...:laugh:

By the way for those who dont want CM Settings any more in this rom pls flash below mentioned MS2 Ginger V-4 theme via CWM , which will remove / delete CM Settings completely from MS2 Ginger V-5 Rom..:fingers-crossed::fingers-crossed: ( as few cm settings are giving FC's )

https://dl.dropbox.com/u/96160245/BlueTheme_4MS2G.zip

Walter, Once again thank you for this lovely rom!!:highfive:

Avi Tandel >> MB-525 >> Green Lense >> BL7
[Defy Android Development] :
should I upgrade my BL to BL7? Maybe this way I wouldn't get the no charging but while 0% or off
[Defy Android Development] Fight4Music:
Has anyone tried "winterboard" to apply CM7 Themes ?

(It should work without the cm theme chooser, cydia is required)

(Yes for all who don't know it, it's for Android :D)

It's working for me with CM10.1, maybe someone could give a try :)

Gesendet von meinem MB526 mit Tapatalk 2
[Defy Android Development] TJKV:
No no, first try a few different BL4 SBF's if you haven't already. Maybe use the one Walter uses...
[Defy Android Development] :
I see there is a kind of recovery BL4 is that working?

Walter I have news for you, after doing a fresh install (I get installation aborted) (Status 0) It installs correctly, and after booting for first time and then shutting down the phone I put it to charge it with wall charger original motorola one, It rebooted around 9-12 times doing moto logo, blue led, red led for 30 seconds or so then reboot this 10 times or so, then the battery image charging (charge mode only) appeared, after this I turned it on and then tried again just to make sure it works, now it has been like 20 minutes of bootloops but the big battery image charging doesn't appear now, how is this possible? why it takes 10 reboots to say hey, they want me to charge me up? and then after trying it again with 20 reboots it still doesn't appear HOW?
[Defy Android Development] walter79:
Can you post last kmesg from /proc folder after you got bootloop? Enable adb in bootmenu or in stable recovery. I used german froyo as may last sbf flash.
[Defy Android Development] :
I don't really know how to (I know how to enable adb in bootmenu but then?)

If its too complicated don't worry, I have tried with 3 different sbf base fresh install, nordic inbetween them and I haven't install any apps so I guess is a hardware issue only with your ROM?? This is quite wierd but I can't think of other causes because the other roms with custom kernel can go in charge mode only
[Defy Android Development] lexer98:
Walter, is possible customise long press buttons in MSG5 ? CM Settings don't work :confused:
[Defy Android Development] pradeeppk:
Walter

I am thinking another possibility.

If you reduced low voltage cutof (shutdown) value to a lower one ( ex 3.2 v to 3 or so) to get more juice ( normaly 10% battery capacity remain after shutdown due to low power) it is tough for the battery to switch on to charge only mode. That may be the reason behind bootloop.
[Defy Android Development] erdnuesse:
confirmed working, with working cam on bl7 defy green lens

My steps were as followed: (a little too much, but just to make sure)

coming from rooted bl7 like in my sig.

0. boot to bootmenu, set default boot to bootmenu, reboot, but directly into CWM

1. follow the steps above in CWM, reboot, wait a bit - bootup!

2. realize, that you have still all of the blur apps - as well as the previously installed apps.

3. boot to CWM

4. wipe data/cache

5. install from zip - again

6. reboot

I know that there are some steps that may have been unneccessary, like setting default boot, but that were my steps.
[Defy Android Development] :
so you can't charge only mode when the defy is off? I have to say that out of 10 bootloops I got 1 charge only mode, then I tried again and even after 20 bootloops I didnt enter charge only mode ever again!
[Defy Android Development] walter79:
Can people with charge only mode problems post the age of the battery? Is it original motorola battery?
[Defy Android Development] walter79:
how can i set lower voltage?
[Defy Android Development] :
yes, original battery 1 year old or so, maybe its about the electricity standard power we have in each country and people from Spain have this problem while people of other country don't.. (Im from Spain thats why I say so)

This is maybe caused by the min. voltage thing they mentioned about, today I tried out last Quarx build and cm7 and both work with the charge only mode, can you tell us how to change the voltage of charge mode only stuff?

Thank you!
[Defy Android Development] avi_tandel:
Winterboard doesnt work here with MS2- V5

I installed Winterboard alongwith other app required..

After applying any theme (mostly CM7) I found that only few Icons have been changed ( contact , Settings & Calculator) and the overall look / view was unchanged...:crying: On some other themes I found few FC's, was not able to boot the phone till I format it...

Avadhut Tandel
[Defy Android Development] hotdog125:
Original battery, 6 months old. Luckily had a spare, so I could use the phone.
[Defy Android Development] walter79:
MS2Ginger kernel runs on CM9.
[Defy Android Development] vedhasd:
[MENTION=382340]walter79[/MENTION] ms2g5.0+smartass+anticipatory scheduler = awesome stock experience

just replacing zImage will work on cm9 or any othr things?

can you put up a .zip of kernel for cm9? if possible can your ms2g5.0 kernel be used in other gb roms?
[Defy Android Development] walter79:
New ramdisk is needed. User with bootloop in charge only mode do you use a charger with a usb cable that you can plug to pc?
[Defy Android Development] walter79:
MS2Ginger can work on moto gb roms via 2nd-boot. CM7 need different ramdisk.
[Defy Android Development] vedhasd:
Yes I use usb that I plug in to pc, how can we edit ramdisk to make it work on all gb roms?
[Defy Android Development] walter79:
unpack ramdisk and replace init files. (2nd-init files from cm7) Maybe you need to edit mount points.
[Defy Android Development] :
Yes, I do have a charger with a usb cable. The original charger from moto can be separated so it is a usb cable ^^
[Defy Android Development] vedhasd:
Yea but then ill have to replace the hboot and 2nd boot files from ms2g5 also?
[Defy Android Development] avi_tandel:
Ramdisk for CM7 Rom/s

Dear Walter,

I will be thankful to you if u spend some of your valuable time on creating Ramdisk / Custom kernel for CM7 Rom/s.:good:

I had tried to edit ramdisk as stated by you but didn't get success.:crying:

My Defy (mb-525-Green Lense ) was not booting with edited ramdisk. Red Light > Blue Light then Continuous boot loop.

Tried above trick on Quarks Stable CM7 20120921 and Fuzz's Cyan Update Rom...

Thank you in Advance..:highfive:

Avi Tandel >> Defy MB 525 >> BL7 >>Green Lense ** Current Rom : MS2 Ginger V5 with 2nd boot
[Defy Android Development] kye04:
Subscribe...
[Defy Android Development] :
what is actually the ramdisk for?
[Defy Android Development] vedhasd:
To boot up the hardware
[Defy Android Development] [BRA] Giovani:
The MS2Ginger 5.0 is compatible with Milestone 2 (Brazil) ?
[Defy Android Development] walter79:
not yet. It needs some changes in ramdisk, bootmenu and recovery. Milestone 2 use a different /data partition.
[Defy Android Development] lexer98:
i have the same problem of "mariosanoguera", battery go to 0 and no boot (for unknow reason deepsleep stop working and drain my battery)

the only way i found to fix is :

>Charge the battery with the "MacGyver" metod

>Wipe cache with recovery stock if no boot

I've been using this rom for 2 weeks and more than once when I restart or turn off the phone don't boot (red led>bootloop), wiping the cache starts but if I restart or turn off the same thing happens again.:confused:

P.D: I have a SOC Defy, my battery and charger is O.K :laugh:
[Defy Android Development] Pason:
same problem like [MENTION=4813273]lexer98[/MENTION].it look like kernels problem.because I use your cm9.1（I post it at cm9.1 that you can see）.must wipe cache if I want to boot.couldn't charge phone when phone shutdown.

MB525-Red Lens-Chinese 2.3.6 Rom
[Defy Android Development] :
im glad more people got it and not just me! walter replacing charge mode olpy from cm 10.1 would. solve the problem? or if its a kernel problem it is more difficult to fix it?
[Defy Android Development] walter79:
you can try to replace charge only binary.
[Defy Android Development] vedhasd:
Can we know where is its location?
[Defy Android Development] :
please, if someone manages to solve this charge_only_mode problem make a flasheable zip for the rest of us or simply the file we have to substitute and where!

I have tested the msginger 4.0 and it did charge correctly while shutdown and also it charged up when reached to 0% so its a msginger 5.0 problem or a kernel (but if its a kernel shouldn't the cm10.1 and other roms with custom kernel have the same problems?)
[Defy Android Development] nedywest71:
Walter, can we have update for CM10.1 Second Boot files, to the Quarx latest, please!

Thanks, in advance!
[Defy Android Development] walter79:
/system/bin/
[Defy Android Development] walter79:
check this folder /system/bootmenu/2nd-boot. do not replace zimage (kernel) or ramdisk.
[Defy Android Development] nedywest71:
Sorry, but I don`t get it!

What shall I check in this folder?

I am not so tech.I can flash a zip if you share it in your mirrors as you previously did, but zimage and ramdisk says nothing to me.

Don`t mind! I am thinking of switching permanently to CM10.1 as I see it as stable enough for everyday use. Just wanted to keep MS2G v5 because of the Cam and Camcorder as ones in CM10.1 still got the audio bug.

Thanks anyway!
[Defy Android Development] :
hello walter, I have tried replacing charge_only_mode with root explorer and setting up the right permissions and rebooting..

it didnt work from maniac last cm7 build, neither with cm10.1 quarx and cm10..

maybe its the mot_boot_mode? and it has to do with this file?

or maybe all of us having the problem have something in common which cause it

in my case I used to modify the search button for lock in msginger, but after doing a fresh install and not doing it the annoying bug persists

Can someone not having the non charging bug could upload a nandroid backup? maybe if we install the same everything as you walter the problem won't appear during installation? I hope It can get solved I can't do much more from my knowledge.. but msginger has always been the rom I most stayed in for stability performance and battery life and I would love to have the latest msginger!

PLEASE! :)
[Defy Android Development] avi_tandel:
Anybody succeeded in porting walters kernel to cm7 Rom/s

Does anybody get success in porting walters kernel (GB) to CM 7 Roms or on BL7 Rooted sbf ??

If yes then please share the steps/ methods to port..

@ Walter :- Can u pls guide us stepwise as how to port the kernel to CM7 Roms or BL7 Rooted SBF.

Thanks in Advance

Avi Tandel // MB 525 // BL7 //
[Defy Android Development] :
Hello walter, Im thinking to stick with the version of msginger 4.0, are there many changes? can I use the 5.0 version with gb kernel? would I loose too much comparing to the v5 build?
[Defy Android Development] walter79:
Can someone with charge only problems test attached ramdisk?

I enabled adb on boot and some small changes in init.rc

rename it to ramdisk and replace it here /system/bootmenu/2nd-boot (permissions rw r r = 644)