[Q] How to Reboot instead of Battery Animation - Android Q&A, Help & Troubleshooting

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).

Related

[Mod]x10 mini/mini pro Custom animation Transition

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

HOW to reach 2.1 system files from 2.2 ROM

Hello all
I need help
Unfortunately I have managed to damage my 2.1 rom. (i have replaced 2.1 framework-res.apk)
Now I cannot boot into it , problem is that I do not have a backup, so I cannot just easily "reburn" the firmware.
I have 2.2 ROM implemented. but I do not -know how to reach 2.1 system files from it. There is some chroot done in boot process imho .
Can anybody help me how to reach the files
I have a backup of framework-res.apk
thermoska said:
Hello all
I need help
Unfortunately I have managed to damage my 2.1 rom. (i have replaced 2.1 framework-res.apk)
Now I cannot boot into it , problem is that I do not have a backup, so I cannot just easily "reburn" the firmware.
I have 2.2 ROM implemented. but I do not -know how to reach 2.1 system files from it. There is some chroot done in boot process imho .
Can anybody help me how to reach the files
I have a backup of framework-res.apk
Click to expand...
Click to collapse
Code:
adb shell
mkdir 21system
mount -o rw /dev/block/mtdblock2 /21system
If you're lucky it will mount your 2.1 system partition as /21system
Most likely it will say "Device or resource busy"... But worth trying anyway.
Cheers
Thanks
I had to think about remount
Going to try now ..
EDIT:
You are absolutelly right : Device or resource busy .
What should I try now ?
I found out that I can reach 2.1 system in adb , but my root do not work. so I cannot do anything to the system partition . Any ideas how to achieve root in this state ? On phone display there is still only firts sony ericsson logo ..
thermoska said:
Hello all
I need help
Unfortunately I have managed to damage my 2.1 rom. (i have replaced 2.1 framework-res.apk)
Now I cannot boot into it , problem is that I do not have a backup, so I cannot just easily "reburn" the firmware.
I have 2.2 ROM implemented. but I do not -know how to reach 2.1 system files from it. There is some chroot done in boot process imho .
Can anybody help me how to reach the files
I have a backup of framework-res.apk
Click to expand...
Click to collapse
I did the same thing at least twice. I was able to save it without restoring by replacing my framework-res.apk before it rebooted or froze.
Basically, try to adb into it while it is still at the Sony logo or if you get the blackscreen after the logo.
One weird thing I did notice was that I was able to replace the framework-res.apk file apparently without using 'su'. After I killed it when I was doing adb at/after the logo I tried to 'su' but it gave some error and remained at the '$' prompt. I then did the 'dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk' command and it completed. Rebooted and it worked again.
Think my whole thing was tested second time with a script.
Try making a frameworkfix.cmd file and putting this in it.
@echo off
@echo.
@echo Installing Framework
@echo.
@adb shell su
@adb push framework-res.apk /sdcard/framework-res.apk
@adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
The keep trying to run it while at the Sony logo. Give it a few runs before you give up, I swear it worked for me.
thermoska said:
I found out that I can reach 2.1 system in adb , but my root do not work. so I cannot do anything to the system partition . Any ideas how to achieve root in this state ? On phone display there is still only firts sony ericsson logo ..
Click to expand...
Click to collapse
Heck just try the following from folder with your original framework.
adb push framework-res.apk /sdcard/framework-res.apk
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
or
adb push framework-res.apk /sdcard/framework-res.apk
adb shell
su
dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
thanks guys , but I do not need commands,
I know them already , I had permissions problem.
Instructions mentioned above did not worked for me
I've got permission denied
anyway thanks
thermoska said:
Thanks
I had to think about remount
Going to try now ..
EDIT:
You are absolutelly right : Device or resource busy .
What should I try now ?
I found out that I can reach 2.1 system in adb , but my root do not work. so I cannot do anything to the system partition . Any ideas how to achieve root in this state ? On phone display there is still only firts sony ericsson logo ..
Click to expand...
Click to collapse
You can access the 2.1 /system partition through 2.2 with adb.
Use this to unmount 2.2 /system
Code:
su
busybox umount /dev/block/loop1
You can check if all worked well this way:
Code:
busybox ls -1d /system/* | grep xbin
If it gives you anything, it's 2.1 -- if not, try
Code:
busybox umount -l /dev/block/loop1
Now, you should have the old 2.1 /system structure available. Ignore all errors appearing *on the phone* it'll be screwed up, unusable. Until a restart.
Now through adb you can overwrite your 2.1 framework apk with dd
(assuming you already have it on the sdcard, else, well, push it there (adb push framework.apk /mnt/sdcard/ )
Code:
dd if=/mnt/sdcard/framework.apk of=/system/framework/framework.apk
for remount system, just do
Code:
busybox mount -o remount,rw /system
after you have the 2.1 system available.
I installed 2.2 to my nand (almost fully working) at one point this way =3
Or...
You can flash again just using system.bin and everything you had would be there.
;-)
You also will need loader.sin
I did this a couple of times and work for me; I only need to root again
Good luck!
PS: In the firmware folder, you need to leave ONLY this 2 files: System.sin and loader.sin. Backup and delete all other files like amss.sin, cache.sin, etc.
well thank you
This a good idea ..
Unfortunatelly I already reflashed the phone
Hope it will help to somebody in the future
ttxdragon said:
I installed 2.2 to my nand (almost fully working) at one point this way =3
Click to expand...
Click to collapse
Thought that would work, was going to do it with .003, but I guess the recovery tool will do that for us - now we see what Z has been working on - excellent news
Just curios. Any speed improvements when extracting the img files to nand and mount/run it from there ?
Even running from sdcard img files is a perfect backup solution by just copy the img files away from time to time. But of course r/w cycles of the card are increased --> less lifetime.
But otherwise running from images is nice, as you're able to mount them. (diskinternals linux reader but R-only)
Anyone knows a win32 prog to mount the img files r/w ?

[Q] Charging Problem...need help!

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

Easy way to install CWM or xRecovery

Here is what I believe is a simple way of rooting and installing CWM for Windows.
I have bricked my phone many times now and used SEUS to get it back to 2.1.1.A.0.6 and had to go through the process of rooting and installing CWM again. Here is what I have found.
Download SuperOneClick to a folder, e.g. C:\SuperOneClick
Create a sub-folder under this folder, e.g. C:\SuperOneClick\CWM
Download your preferred version of CWM or xRecovery (should be the 3 files "busybox", "chargemon", "recovery.tar")
Copy these 3 files into the sub-folder you created, e.g. C:\SuperOneClick\CWM
Copy the code snippet below and save as INSTALL.BAT in the sub-folder
Reflash your phone with SEUS to get back to plain 2.1.1.A.0.6
Reboot and set USB debugging mode
Run SuperOneClick and click Root - do not reboot
Once Root has finished click Shell Root - do not reboot
Open a command window and enter CD C:\SuperOneClick\CWM
Run INSTALL.BAT - this will reboot the phone at the end
Press BACK key on the phone at the Sony Ericcson text - you should get into CWM
The benefit of the above is that if you keep the files in the folder above you can repeat from step 6 very easily.
Code:
@echo off
echo.
echo.1) Run SuperOneClick
echo. a) Click Root - do not reboot
echo. b) Click Shell Root - do not reboot
echo.2) Press any key in this window to install CWM - phone will reboot
echo.
pause
..\adb devices
..\adb remount
..\adb push busybox /system/bin
..\adb push chargemon /system/bin
..\adb push recovery.tar /system/bin
..\adb shell chmod 755 /system/bin/busybox
..\adb shell chmod 755 /system/bin/chargemon
..\adb shell chmod 755 /system/bin/recovery.tar
..\adb reboot
This technique does not require installing BusyBox from the Market, setting permissions via Root Explorer or anything like that. It just uses SuperOneClick and a small script using the ADB program in the SuperOneClick folder.
I got SuperOneClick from here http://forum.xda-developers.com/attachment.php?attachmentid=515017&d=1297434892 (from thread http://forum.xda-developers.com/showthread.php?t=950324)
I got 2 files for CWM "chargemon" and "recovery.tar" from the ZIP file here http://forum.xda-developers.com/attachment.php?attachmentid=627115&d=1308237137 (from thread http://forum.xda-developers.com/showthread.php?t=1106146)
I got busybox from the ZIP file here http://forum.xda-developers.com/attachment.php?attachmentid=515016&d=1297434832 (from thread http://forum.xda-developers.com/showthread.php?t=950324)
I hope some people find this useful and that I haven't offended the guys where I got the files from (I did list your threads as well as link to your files so others can see all the useful posts in your threads).
Darren
DarrenNewsgroup said:
Here is what I believe is a simple way of rooting and installing CWM for Windows.
I have bricked my phone many times now and used SEUS to get it back to 2.1.1.A.0.6 and had to go through the process of rooting and installing CWM again. Here is what I have found.
Download SuperOneClick to a folder, e.g. C:\SuperOneClick
Create a sub-folder under this folder, e.g. C:\SuperOneClick\CWM
Download your preferred version of CWM or xRecovery (should be the 3 files "busybox", "chargemon", "recovery.tar")
Copy these 3 files into the sub-folder you created, e.g. C:\SuperOneClick\CWM
Copy the code snippet below and save as INSTALL.BAT in the sub-folder
Reflash your phone with SEUS to get back to plain 2.1.1.A.0.6
Reboot and set USB debugging mode
Run SuperOneClick and click Root - do not reboot
Once Root has finished click Shell Root - do not reboot
Open a command window and enter CD C:\SuperOneClick\CWM
Run INSTALL.BAT - this will reboot the phone at the end
Press BACK key on the phone at the Sony Ericcson text - you should get into CWM
The benefit of the above is that if you keep the files in the folder above you can repeat from step 6 very easily.
Code:
@echo off
echo.
echo.1) Run SuperOneClick
echo. a) Click Root - do not reboot
echo. b) Click Shell Root - do not reboot
echo.2) Press any key in this window to install CWM - phone will reboot
echo.
pause
..\adb devices
..\adb remount
..\adb push busybox /system/bin
..\adb push chargemon /system/bin
..\adb push recovery.tar /system/bin
..\adb shell chmod 755 /system/bin/busybox
..\adb shell chmod 755 /system/bin/chargemon
..\adb shell chmod 755 /system/bin/recovery.tar
..\adb reboot
This technique does not require installing BusyBox from the Market, setting permissions via Root Explorer or anything like that. It just uses SuperOneClick and a small script using the ADB program in the SuperOneClick folder.
I got SuperOneClick from here http://forum.xda-developers.com/attachment.php?attachmentid=515017&d=1297434892 (from thread http://forum.xda-developers.com/showthread.php?t=950324)
I got 2 files for CWM "chargemon" and "recovery.tar" from the ZIP file here http://forum.xda-developers.com/attachment.php?attachmentid=627115&d=1308237137 (from thread http://forum.xda-developers.com/showthread.php?t=1106146)
I got busybox from the ZIP file here http://forum.xda-developers.com/attachment.php?attachmentid=515016&d=1297434832 (from thread http://forum.xda-developers.com/showthread.php?t=950324)
I hope some people find this useful and that I haven't offended the guys where I got the files from (I did list your threads as well as link to your files so others can see all the useful posts in your threads).
Darren
Click to expand...
Click to collapse
Very useful, thank you. I usually spend a couple of minutes re-installing CWMR via a root explorer and it annoys me. This saves 10-20 minutes per restore
It doesn't work..
I bricked my phone 3 timies..
easyyu said:
It doesn't work..
I bricked my phone 3 timies..
Click to expand...
Click to collapse
are you using the same busybox/chargemon and recovery tar that you usually manually install?
svyr said:
are you using the same busybox/chargemon and recovery tar that you usually manually install?
Click to expand...
Click to collapse
I'm used files from first post!
@easyyu
I am sorry that your phone got bricked. Unfortunately you will need to reflash your phone via SEUS. After that check your phone settings are the same as mine below. The 3 files work with my phone settings.
My X10 Mini Pro has the following Settings->About Phone
Model number U20i
Firmware version 2.1-update1
Baseband version M76XX-TSNCJOLYM-53404015
Kernel version 2.6.29 [email protected] #1
Build number 2.1.1.A.0.6​
@svyr
Can you confirm that the above settings are the same as in your phone. This would confirm that the 3 files work for my phone settings.
Darren
DarrenNewsgroup said:
@easyyu
I am sorry that your phone got bricked. Unfortunately you will need to reflash your phone via SEUS. After that check your phone settings are the same as mine below. The 3 files work with my phone settings.
My X10 Mini Pro has the following Settings->About Phone
Model number U20i
Firmware version 2.1-update1
Baseband version M76XX-TSNCJOLYM-53404015
Kernel version 2.6.29 [email protected] #1
Build number 2.1.1.A.0.6​
@svyr
Can you confirm that the above settings are the same as in your phone. This would confirm that the 3 files work for my phone settings.
Darren
Click to expand...
Click to collapse
yes, the above settings from about are the same on my phone.
Hmmm, just reflashed again, ran it and forgot to include busybox/rebooted.
Now it says it can't copy the files/files are read-only and system
Any ideas?
Aside from following the 'do not reboot' (edit: ran superoneclick again and it's all good (re-run the script))
Can't vouch for the busybox/etc set above, but the on I always used still works when installed this way instead of manually.
DarrenNewsgroup said:
@easyyu
I am sorry that your phone got bricked. Unfortunately you will need to reflash your phone via SEUS. After that check your phone settings are the same as mine below. The 3 files work with my phone settings.
My X10 Mini Pro has the following Settings->About Phone
Model number U20i
Firmware version 2.1-update1
Baseband version M76XX-TSNCJOLYM-53404015
Kernel version 2.6.29 [email protected] #1
Build number 2.1.1.A.0.6​
@svyr
Can you confirm that the above settings are the same as in your phone. This would confirm that the 3 files work for my phone settings.
Darren
Click to expand...
Click to collapse
Yes this is the right parameters that you mentioned!
I know how to unbrick my phone..thats not problem!
svyr said:
yes, the above settings from about are the same on my phone.
Hmmm, just reflashed again, ran it and forgot to include busybox/rebooted.
Now it says it can't copy the files/files are read-only and system
Any ideas?
Aside from following the 'do not reboot' (edit: ran superoneclick again and it's all good (re-run the script))
Can't vouch for the busybox/etc set above, but the on I always used still works when installed this way instead of manually.
Click to expand...
Click to collapse
ps here's the one I use. Can't remember where the chargemon is from, but busybox is from xrec mini and CWM is 3.2.0 rc3
I made this, a lot of test give a lot of success, but it's only for mini pro.
CWM recovery by this script easily: http://www.multiupload.com/NDZB8HSIOV
Heres more easy way to install cwm or xrecovery or jit or apps2sd
this is basically quangnhut123's AAIS script, I modified it to add cwm support,
heres the link to download http://www.4shared.com/file/KQf9bym2/AAIS.html
heres the steps to follow
1) Download n extract the aais.zip to /sdcard
2)Open terminal emulator(available on market)
3) enter following commands
su
cd /sdcard/aais
Sh install.sh
Click to expand...
Click to collapse
4) choose ur option and enter the no.
plz note it requires pre rooted device! Only for mini pro! 2.1.1.A.0.6!
Why not try D4rK's recovery installer? It is a one-click installer which lets you choose from xrecovery or CWM...Google search D4 recovery installer
For recovery I made this: http://www.multiupload.com/QE60V6RORD
It works like a charm, thanks to the script xrecovery of mikevhl
Maybe someone could make a script like that for mini ?
D4rK's recovery installer ? I can't find it, even with the google's help...
JBSroid said:
Why not try D4rK's recovery installer? It is a one-click installer which lets you choose from xrecovery or CWM...Google search D4 recovery installer
Click to expand...
Click to collapse
when i tried it, it didn't work on sdk 7 or was it 8...
What do you mean by sdk 7 or sdk 8? Someone mentioned sdk numbers before. Is this something to do with downloading the complete android stuff onto my windows pc just to get the adb command? This is why I thought using the adb in SuperOneClick was so useful.
Darren
DarrenNewsgroup said:
What do you mean by sdk 7 or sdk 8? Someone mentioned sdk numbers before. Is this something to do with downloading the complete android stuff onto my windows pc just to get the adb command? This is why I thought using the adb in SuperOneClick was so useful.
Darren
Click to expand...
Click to collapse
no, I thought it was about downloading the SDK, but it's actually about the runtimes on the phone... I think (the only way to change them is pretty much by getting a rom with newer ones )

I want to install Xrecovery but...

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

Categories

Resources