Why my X10 Mini Pro won't stay off while charging??
It's rooted & JIT enabled, with 2.1.1.A.0.6 firmware............
Yesterday was fine, but this afternoon I rooted my phone and installed xrecovery then JIT.
Everything was okay [looks okay], but the time I charging my phone [2 hours ago] it won't stay off.
Everytime I turn it off, it always turn back on.....Please someone help me!! It's so annoying.
Should I uninstall xrecovery, JIT and unroot it? Or should re-flash my firmware? [hope not]
PS: I always turn off my u20i while charging.
Problem is modified "chargemon" file, installed with xrecovery.
a few features from oem "chargemon" are missing on it.
There is a solution for (big) X10i, but it must be adapted for mini/mini pro.
genyt said:
Problem is modified "chargemon" file, installed with xrecovery.
a few features from oem "chargemon" are missing on it.
There is a solution for (big) X10i, but it must be adapted for mini/mini pro.
Click to expand...
Click to collapse
Can I just fix it by restore the original chargemon file??
Yes, but you will not be able to use xrecovery if you do that.
Sent from my E10a using XDA App
you can get both features: xrecovery, and charge batt staying off.
I think I've found a solution at BIG X10 thread, (look for xrecovery_charge_offline).
I'm neither a developer nor an expert user, and I don't know how to write in English, but I am going to try.
I'm using 2.1.1.A.0.6 firm in U20i and you'll need ROOT in your phone.
First of all, make a backup of chargemon files, both, "SE" one and "xrecovery" one.
then, look at SE chargemon file, its a illegible coded file.
rename it as "charger", (without quotes).
copy it at /system/bin
look at xrecovery chargemon file: you'll see many commands separated by TABS.
insert a command calling charger file as following
#!/system/bin/busybox sh
/system/bin/charger
cat /dev/input/event0 > /dev/keycheck&
sleep 3
kill -9 $!
if [ -s /dev/keycheck ]
then
# remount rootfs rw
mount -o remount,rw rootfs /
# Umount MTDs
umount -l /dev/block/mtdblock1
umount -l /dev/block/mtdblock2
umount -l /dev/block/mtdblock3
# Mount recovery partition
rm -r /sbin
rm -f etc
tar -xf /system/bin/xrecovery.tar
# Umount /system
umount -l /dev/block/mtdblock0
chroot / /init
fi
# Continue booting
exit
Click to expand...
Click to collapse
I've just added "/system/bin/charger" line.
Save file as "chargemon", and copy it to /system/bin
Finally, Test it!!
note: if you edit xrec chargemon file with windows notepad, you'll see commands separated by TABS, not in different lines, so be sure there is a TAB space before AND after "/system/bin/charger" text
Credits:
This fix is adapted (copied really) from xRecovery-charge-offline.zip by zdzihu,
using chargemon from xrec for U20 instead of big X10 one.
More info at:
http://forum.xda-developers.com/showthread.php?t=859571
Try at your own risk!!
Here, you have original and fixed files.
of course, charger file and se original chargemon are the same file.
Thank you genyt.
I've overwritten my original chargemon file.
Can you please provide us a zipd file with all 4 files needed?
And if this works can you please mention it in the xrecovery-Thread http://forum.xda-developers.com/showthread.php?t=878426 ?
Thanks a lot.
Sent from my E10i using XDA App
weissgold said:
Thank you genyt.
I've overwritten my original chargemon file.
Can you please provide us a zipd file with all 4 files needed?
And if this works can you please mention it in the xrecovery-Thread http://forum.xda-developers.com/showthread.php?t=878426 ?
Click to expand...
Click to collapse
done.
Please report if it works... with e10, different firmware versions..
TODO: create an update.zip file installable with xrecovery
in chargemon it should be
cat /dev/input/event1
we had this little bug before.
I changed this and it works fine.
Sorry I'm not familiar with making an update.zip
Maybe the next days I have some time to have a look at it
In the meanwhile here are the corrected files:
http://rapidshare.com/files/4493385...h_genyt_s_fix_for_charge_batt_staying_off.zip
I think this is not an error, but lets see:
if you take a look to BIG x10 files (link in previous post) you can see it has "event2".
but my original file has "event0".
My phone is a mini pro, will mini be "event1"?
What kind of error have you got?
I'm sorry my internet is so sloooooow today.
I have read somewhere here that ist should be 1 to trigger the keystroke.
And in original thread here http://forum.xda-developers.com/showthread.php?t=878426
in the download it is 1 too.
With 0 no reaction while booting.
With 1 everything all right. (Xperia X10 mini)
... have to go to bed now - good night everybody.
verified, x10 mini pro works with "event0".
In conclusion, this method works with x10 mini too, changing event0 to event1.
but using x10 mini version of xrecovery, it comes with event1 "as is".
wow! i followed the guide with changing the SE-chargemon to 'charger' and adding the line in xrec chargemon, and it actually solved my dilema with the xrecovery!
thanks a lot!
now i can charge my U20i offline anytime
Can anyone post the original SE chargemon file for X10 mini 2.1.1.A.0.6?
Thank you!
Sorry I've been busy all day long......
@genyt
TQ for your willingness to help me out.....really appreciate that
So all I have to do now is copy "xrecovery charge fix for u20.zip" file to system/bin??
no, you must extract files in zip file, then, copy 2 unpacked files to system/bin.
Only for U20: X10 mini PRO.
if you have a X10 MINI, you must use weissgold files.
genyt said:
no, you must extract files in zip file, then, copy 2 unpacked files to system/bin.
Only for U20: X10 mini PRO.
if you have a X10 MINI, you must use weissgold files.
Click to expand...
Click to collapse
LOL yeah I know that......! My phone is u20i.
Sorry for my bad english, it's confusing and misleading
Then, we have TWO bad englishes...mine and yours.. LOL
Sent from my U20i using XDA App
from zeroize
Charging off line works for the x10 mini, but when you press the on/off button while charging offlline, It loads the xrecovery menu directly. Is is normal, shouldn't it boot the original menu?
see here http://forum.xda-developers.com/showthread.php?p=11583047#post11583047
Should be the same with PRO.
Maybe it helps to move the call to charger to the end in chargemon.
I tried it, but I didn' got it working.
Here's the fix for
Charging off line works for the x10 mini, but when you press the on/off button while charging offlline, It loads the xrecovery menu directly. Is is normal, shouldn't it boot the original menu?
http://rapidshare.com/files/4496539...t_staying_off-and_weissgolds_fix_for_loading_
On my mini it's working, can you confirm?
Oh sorry --> filename too long --> it's .rar
Related
Hey guys modification to x10 mini/mini pro continues. this time added Custom animation Transitions to x10 mini/mini pro...
Please Look @ video ....
Ported from EVO
Requirement:
Android 2.1
Installation:
extract the file in your Sd Card
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
busybox cp /sdcard/framework-res.apk /system/framework/framework-res.apk
Credits:
[email protected]
MagnusRagnarok
**Guys If u like this Mod thank me by donating me .**
Great! Will try it!
Sent from my E10i using Tapatalk
Thanks alot shivenjuneja
Great theme with animations plus reboot and nice icons .
i noticed the other themes makers like draco etc also upload a zip file with system apps. So everything is black.
i have in ADB
Microsoft Windows [Wersja 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. Wszelkie prawa zastrzeżone.
C:\Users\Mikołaj>adb devices
List of devices attached
43423531314C4E544332 device
C:\Users\Mikołaj>adb shell
$ su
su
mount -oPermission denied
$ su
mount -o su
Usage: mount [-r] [-w] [-o options] [-t type] device directory
$ su
su
mount o- remount,rw -t Permission denied
$
my x10 mini is rooted by z4root
@ minuello bro when you write su look @ ur phone and there super user would b asking for permission press allow and tick remember and if u c # then u have been granted permissions.... Happy modding;-)
Do not understand very well the steps I could specify more?
hmm i have problem, because phone after change framework stayin on logo sony erricson.
guys dont use adb. replace framework from root explorer its the easy way and 100% safe.
Minuello said:
hmm i have problem, because phone after change framework stayin on logo sony erricson.
Click to expand...
Click to collapse
After u replace the framework you need to wait for 5mins or more after boot animation.this waiting only takes place the first reboot after replaceing framwork.
i must waiting to mini power off (battery gone die) and repair sys via Seus because this http://forum.xda-developers.com/showthread.php?t=749438 option don't work in my x10 mini ;/
Seus Helped at this problem.
great theme+animation........
Before coping fw to its folder change its permissions to 644, then copy it to fw folder.
ys u r right man.....
how can i change the permissions ?
i tried ..root explorer but it did nothing to the file
plz help me ...
May I ask for black with no blue theme plus the custom animation?
Thanks in advance
download my theme @ this post here
shivenjuneja said:
download my theme @ this post here
Click to expand...
Click to collapse
Thanks shivenjuneja
Good job Guys Keep up.these themes Rock .
how long does it normally take to boot? my phone is stuck on the sony ericsson screen. 3rd time of trying! tried the method in first post, tried using something called droid explorer, and even tried it from phone using root explorer.
projectsome said:
how long does it normally take to boot? my phone is stuck on the sony ericsson screen. 3rd time of trying! tried the method in first post, tried using something called droid explorer, and even tried it from phone using root explorer.
Click to expand...
Click to collapse
Make sure you set the proper permissions before moving the file into the framework folder.
Sent from my U20i using XDA App
Thanks to J & Z for creating such a wonderful rom (Free X10 Froyo 2.2.1) and the wonderful utility xRecovery for us to play with. xRecovery is a must have if you want to play with different roms. The thing is that Free X10 & xRecovery can't coexist.
On close study, I found that the difference is only the chargemon. Both share the same busybox file. So I write these 2 little scripts to make the switching easier.
I would assume that you have already installed both Free X10 & xRecovery before. Your SD Card should have the folders: FreeX10 and xrecovery.
Preparation:
1. Copy chargemon for Free X10 to FreeX10 folder in the SD Card (it should already be there)
2. Copy chargemon for xRecovery to xrecovery folder in the SD Card
3. Copy freex10.sh and xrec.sh to root folder of the SD Card
To Switch to Free X10:
Start adb shell or use terminal emulator from your phone, then type:
su
sh freex10.sh
the phone will reboot and you can boot into Free X10 by pressing the back key when the Sony Ericsson logo appears
To Switch to xRecovery (boot into 2.1 rom first):
Start adb shell or use terminal emulator phone, then type:
su
sh xrec.sh
the phone will reboot and you can boot into xRecovery by pressing the back key when the Sony Ericsson logo appears
Notes:
1. I am not a coder, so I use cut & paste to write my scripts. There maybe easier way to do this
2. You may take out these 2 lines:
busybox cp -f /sdcard/FreeX10/e2fsck /system/bin/e2fsck
busybox cp -f /sdcard/FreeX10/ramdisk.tar /system/bin/ramdisk.tar
In freex10.sh if you already have the 2 files e2fsck & ramdisk.tar copied to /system/bin folder
Bricked g tab
I am locked into a loop hell with a fc of android.process.acore has stopped. I cannot get past this error or FC. any ides???
djohncline said:
I am locked into a loop hell with a fc of android.process.acore has stopped. I cannot get past this error or FC. any ides???
Click to expand...
Click to collapse
No idea. You may want to check out this thread for solution:
http://forum.xda-developers.com/showthread.php?t=851443
Hello,
I do not have enough messages to start discussion in http://forum.xda-developers.com/showthread.php?t=859571, so, I am doing it here.
After updating my x10 mini to 2.1.1.A.0.6 (with full wipe) and reinstallation of xrecovery it stopped working. It just does not appear if I press back button several times during start.
I tried both .apk and manual method, checked permissions, changed it to 777, but xrecovery still does not appear.
Is something wrong with bootloader in this version, or is there any other reason? How to handle the issue?
Thank you in advance, having xrecovery is crucial for me.
Xrecovery works fine on 2.1.1.A.0.6. (I am using it right now to backup my 2.1.1.A.0.6 system)
double check your busybox install and make sure you are using the old xrecovery 0.1 for mini (the new versions of Xrecovery don't support mini or pro)
Kiwi
Could you please attach busybox, changemon and xrecovery.tar in the post?
illi4 said:
Hello,
I do not have enough messages to start discussion in http://forum.xda-developers.com/showthread.php?t=859571, so, I am doing it here.
After updating my x10 mini to 2.1.1.A.0.6 (with full wipe) and reinstallation of xrecovery it stopped working. It just does not appear if I press back button several times during start.
I tried both .apk and manual method, checked permissions, changed it to 777, but xrecovery still does not appear.
Is something wrong with bootloader in this version, or is there any other reason? How to handle the issue?
Thank you in advance, having xrecovery is crucial for me.
Click to expand...
Click to collapse
Do you have the right busybox version? I think its this one http://db.tt/pkNQiaV
Put it in /system/bin folder
Sent from my U20i using XDA App
HerrKuk said:
Do you have the right busybox version? I think its this one
Put it in /system/bin folder
Click to expand...
Click to collapse
Did it!
Thank you
Yeah, it was the same here. xrecovery 0.3 doesn't work on e10i with 2.1.1.A.0.6.
Installed xrecovery 0.1 again and it works well.
Thx for this thread!
With the xrecovery.tar and chargemon from this thread: http://forum.xda-developers.com/showthread.php?t=878426 and the busybox from http://db.tt/pkNQiaV I'm now currently running xRecovery on 2.1.1.A.0.6. Perfect!
Thank you man! This worked like a charm on my x10 mini FW:2.1.1.A.0.6!
yeah ok so i downloarded the xrecorery 0.1 and unzipped it on my pc and got this
(folder) etc
(folder) res
(folder) sbin
(folder) temp
busybox
chargemon
default.prop
init
init.rc
and a recovery rar
but no apk??????
plzzzz help me i am getting really crazy now
freebordjunky said:
yeah ok so i downloarded the xrecorery 0.1 and unzipped it on my pc and got this
(folder) etc
(folder) res
(folder) sbin
(folder) temp
busybox
chargemon
default.prop
init
init.rc
and a recovery rar
but no apk??????
plzzzz help me i am getting really crazy now
Click to expand...
Click to collapse
this might help
http://forum.xda-developers.com/showthread.php?t=878426
plus, you only need the modified chargemon, busybox and xrecover.tar, and have them moved to /system/bin
if it doesnt work, i think you need to edit chargemon. look into the original thread for further instructions.
Now Working
Got this apk here and now it´s working.
xrecovery on x10mini pro 2.1.1.A.0.6
http://forum.xda-developers.com/showthread.php?p=13791318
it was driving me crazy.
The thing wont recognize my phone and wont show the options to do xrecovery or any of the other options except for Flash...please help im desperate for a rom
You need to root first.
Here: http://forum.xda-developers.com/showthread.php?t=1196421
Then in flashtool click 'ask root permissions' and have your phone unlocked and accept superuser permissions w/the prompt on your phone. Then you're good to go.
*edit- make sure it is the fixed xrec for 2.3.3. I use a Rom w xrec included so I didn't have to install it & I dont remember if that's the one in flashtool now.
Which firmware version are you on?
I have done that already...i am rooted because I have superuser on my phone. Where do I check firmware?
Sent from my X10i using XDA App
zm4 said:
I have done that already...i am rooted because I have superuser on my phone. Where do I check firmware?
Sent from my X10i using XDA App
Click to expand...
Click to collapse
unzip xrecovery file and copy all files manually to the right places using root explorer then check all boxes on permitions.
reboot and try
How do i do that?
zm4 said:
How do i do that?
Click to expand...
Click to collapse
a very old guide written by me HERE
read "2nd mode" but use xrecovery v3 instead the one linked there
will this work for 2.3.3?
zm4 said:
will this work for 2.3.3?
Click to expand...
Click to collapse
these commands still the same you just need to change (eventually) to the right path.
check the zip structure to see that
HTML:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
dd if=/sdcard/busybox of=/system/bin/busybox
dd if=/sdcard/chargemon of=/system/bin/chargemon
dd if=/sdcard/xrecovery.tar of=/system/bin/xrecovery.tar
reboot
chargemon to \system\bin
charger to \system\bin
sh to \system\xbin
xrecovery.tar to \system\xbin
i dont see any busybox file or anything like that...please help i dun think busybox has been installed...
zm4 said:
i dont see any busybox file or anything like that...please help i dun think busybox has been installed...
Click to expand...
Click to collapse
ok...you have a reading problem kiddin´
Crowds said:
these commands still the same you just need to change (eventually) to the right path.
check the zip structure to see that
Click to expand...
Click to collapse
type this:
HTML:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
dd if=/sdcard/chargemon of=/system/bin/chargemon
dd if=/sdcard/charger of=/system/bin/charger
dd if=/sdcard/sh of=/system/xbin/sh
dd if=/sdcard/xrecovery.tar of=/system/xbin/xrecovery.tar
reboot
this should do it
cheers
where do i get this adb thing?
zm4 said:
where do i get this adb thing?
Click to expand...
Click to collapse
forguet it...
copy all files to sdcard then copy/paste to the right places after that use root explorer and do this ON EVERY FILE YOU COPIED:
HTML:
- Press and hold on each file;
- Check all Permitions on the drop down menu;
- After changes were made save and exit;
- Reboot.
try enter on xrec
*Cannot open for read: No such or directory* wth?
where does meta go?
zm4 said:
where does meta go?
Click to expand...
Click to collapse
Anywhere. Just copy the files I told you to. I didn't referred anything about that, did I?
Sent from my X10 Erenz MIUI 1.9.2 using Tapatalk
Just start all over with flashtool it will work then.
Go to settings then applications, then development, check debug mode.
Start flash tool on your pc and connect the phone
IF the phone is rooted, it should be recognized by flash tool
On flash tool click ask root perm, look at your phone screen, superuser should pop up asking if to give permission, simply choose allow.
Then click recovery on flash tool and wait a sec....
should pop up asking which gingerbread version to use. choose 0.3GB, since its gb version you have.
when you're ready to use xrecovery, restart the phone
as soon as the phone comes on and the first sony ericsson name comes up, keep pressing the back button, xrecovery will come up.
i did both kernel things...but the thing is it won't recognize my device as a rooted device...i have superuser and I have used apps that require root...so i guess the problem is well idk...and thats what i need help with sorting out.
1. Install busybox from market (xrec needs busybox)
2. Give root explorer root acces and mount /system writeable (look in settings of your file explorer)
3. Copy files to right place:
chargemon to /system/bin
charger to /system/bin
sh to /system/xbin
xrecovery.tar to /system/xbin
4. Give above files the right permissions (long touch on file and choose property option):
user > read, write, execute
other > read, execute
group > read, execute
Hi...
This is my first post in the forum (but have been a extensive crawler! in the forums).. please excuse me if I have posted this in the wrong place.
I am a budding developer in Android platform..while I have developed some small tools on Android, the project which I am on now demands a unique requirement.. I want to keep the phone running my application always on and must boot up automatically when a charger cable is plugged in. I know this question has been asked many times and there are many threads for this. But to no real answers..
I had managed to do the auto boot on power insert by editing a script called "battery-charging" in /system/bin in a version of Android I used earlier.
I managed to get the same effect in another device (a Samsung phone) by editing /system/bin/chargemon
Forum rule says I cannot post the external link ... this is how I did achieve what I wanted earlier...
Code:
echo "echo skipping chargemon" > chargemon.script
adb pull /system/bin/chargemon chargemon.backup
adb push chargemon.script /sqlite_stmt_journals
adb shell
$ cd /sqlite_stmt_journals
$ su
# mount -o remount,rw /dev/block/mtdblock0 /system
# cat chargemon.script > /system/bin/chargemon
# chmod 755 /system/bin/chargemon
# reboot -p
'
But I have been handed over a phone running Android 2.2.1 where I could not find both "chargemon" or any file regarding battery charging status in the /system/bin or in any other path.
I just have to edit the script which executes the battery charging animation graphics when the phone is switched off but is powered up to allow the phone to reboot.
Can anyone please guide me on which file to edit to make the phone reboot instead of just showing battery being charged..
Thanks and Regards,
Sen
Xperia Mini Pro does not start
I replaced the chargemon file and put my version with only one line(with 755 permissions):
echo startting...
but now, mi xperia mini does not start only shows the screen "sony ericcson"
any way to recover my phone, please ??
chargemon
antraxa said:
I replaced the chargemon file and put my version with only one line(with 755 permissions):
echo startting...
but now, mi xperia mini does not start only shows the screen "sony ericcson"
any way to recover my phone, please ??
Click to expand...
Click to collapse
I went in the /system/bin folder and deleted the chargemon file, this works for me (xperia ray).
The phone now boots when I plug in the charger.
(Make sure to backup the chargemon file before deleting it, in case this doesn't work.)
---------- Post added at 05:56 PM ---------- Previous post was at 05:51 PM ----------
antraxa said:
I replaced the chargemon file and put my version with only one line(with 755 permissions):
echo startting...
but now, mi xperia mini does not start only shows the screen "sony ericcson"
any way to recover my phone, please ??
Click to expand...
Click to collapse
I'm kind of a noob, but I think you can use flashtool to flash a new ROM and maybe you also need to reflash Kernel, maybe you need to unlock your bootloader first, this can also be done with flashtool.
sendil77 said:
I had managed to do the auto boot on power insert by editing a script called "battery-charging" in /system/bin in a version of Android I used earlier.
Code:
Hi! What changes did you make to the battery_charging script? I'm trying to do exactly this on a Xperia Tipo which has the same script.
Click to expand...
Click to collapse
Check apps which use boot_completed they all start at boot
Sent from my One V using Tapatalk
Sony Xperia XZ1 Devices
Aeneas1998 said:
I went in the /system/bin folder and deleted the chargemon file, this works for me (xperia ray).
The phone now boots when I plug in the charger.
(Make sure to backup the chargemon file before deleting it, in case this doesn't work.)
Click to expand...
Click to collapse
Thank you!! For my Sony Xperia XZ1 device it worked, but the file was in /vendor/bin folder instead of /system/bin
Hi Good Day!
Can you help me with my problem. I need to do exactly the same but my problem is I have different device and can't find any of files like playlpm, lpm, chargemon, and battery_charging. Btw, my device is Huawei Mate 8 running on nougat (NXT-AL10C00B592).