[REL: 02/08][APP] xCharge Reboot Options [a.k.a. Xperia Reboot Options] now in Market - XPERIA X8 Android Development

DooMLoRD & MrHassell proudly present to u...
xCharge Reboot Options [a.k.a. Xperia Reboot Options]
firstly i would like to thank Bin4ry & Androxyde for the FlashTool and the option to "reboot into xrecovery from flashtool" as this APP is based on that..
and to my good friend MrHassell for doing the xcharge base coding, teaching & guiding me to develop android apps....
thanks to everyone who has done the testing and provided invaluable feedback/comments
we are finally ready with a new version and its directly released to market!!!
get it here:
xCharge Reboot Options
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
its a paid app for 2$
new features include:
cleaner layout
new UI
working themes!
and u will be entitled to future upgrades
Screenshots:
On X10:
On Xperia 2011 / Other Androids:
if u like the app please buy the paid app to support our work
P.S.: Older versions are available in 2nd post and will be kept for XDA users...
Requirements:
Any of the following supported devices
Phone needs to be rooted with Busybox installed
Any Working Version of Recovery
[Xperia Arc/Play/Neo ONLY] For "Reboot into FASTBOOT mode" u need to connect device (via USB) to PC and have fastboot drivers installed
Supported Devices:
Xperia X10
Xperia X8
Xperia X10 Mini
Xperia X10 Mini Pro
Xperia Arc
Xperia Play
Xperia Neo
Lots of other non Xperia devices too!!! check this post for all supported devices

DooMLoRD said:
hey guys i already have a script to Reboot into xRecovery from within OS... but currently it is only for the big X10...
one of the users (Zocker Tko) posted here & here that the some of the scripts/changes mentioned in that thread also works on x8/x10mini/x10minipro...
since i dont personally have an x8/x10mini/x10minipro... i dont know the current scene of available vanilla roms (base custom roms on which the other chefs have added functionality) for this device forum and i need the following file (/system/bin/chargemon) from them...
and finally i wanted to know if u guys are willing to test out some scripts for rebooting into xRecovery from within OS...
we are actually planning to make an app based on this script and also trying to make it universal for all Xperia, android devices... HERE are some of the things we have thought of... so ur testing will help us for creating such a universal app...
Click to expand...
Click to collapse
Sure ill help. I saw your script in x10 forum and was going to try but didn't have time.
Sent from my E15i using XDA Premium App

I hope that you will start developing for 2.2+ directly

my script already works for all roms (stock/custom) 2.1/2.2/2.3, atleast on the big X10

DooMLoRD said:
my script already works for all roms (stock/custom) 2.1/2.2/2.3, atleast on the big X10
Click to expand...
Click to collapse
Just flashed your universal .zip and it works on 2.1.1.a.0.6 stock se Rom. Thanks great work, will test on other roms later this afternoon quite busy atm
Sent from my E15i using XDA Premium App

Well, I installed latest xRecovery on my miniCM via flashtool and it seems to crush my ROM - reinstallation of miniCM update.zip (which contains some xRecovery but I'm oblivious about a version) solves the issue, but then I'm uncertain about installing your universal update...

Well, I flashed clean update.zip (with its stock xRecovery) and tried your universal zip and I'm stuck at SE logo again, like when I simply installed xRecovery through flasher.
Therefore I pronounce it NOT working on miniCM beta 2.1
Edit: Uh, and it seems that I'm gonna have to use SEUS... great.

Graveir said:
Well, I installed latest xRecovery on my miniCM via flashtool and it seems to crush my ROM - reinstallation of miniCM update.zip (which contains some xRecovery but I'm oblivious about a version) solves the issue, but then I'm uncertain about installing your universal update...
Click to expand...
Click to collapse
Graveir said:
Well, I flashed clean update.zip (with its stock xRecovery) and tried your universal zip and I'm stuck at SE logo again, like when I simply installed xRecovery through flasher.
Therefore I pronounce it NOT working on miniCM beta 2.1
Edit: Uh, and it seems that I'm gonna have to use SEUS... great.
Click to expand...
Click to collapse
guys the update.zip files i posted on that thread are not for ur devices... they are for the X10... please do not use those on ur devices... thats why i started the threads in other Xperia device forums to create update.zips for u guys...

N
DooMLoRD said:
guys the update.zip files i posted on that thread are not for ur devices... they are for the X10... please do not use those on ur devices... thats why i started the threads in other Xperia device forums to create update.zips for u guys...
Click to expand...
Click to collapse
But the universal zip works on latest x8 se firmware... With latest xrecovery
Sent from my E15i using XDA Premium App

furrabbit.nh said:
N
But the universal zip works on latest x8 se firmware... With latest xrecovery
Sent from my E15i using XDA Premium App
Click to expand...
Click to collapse
it will work if u have installed recovery using Flashtool beta v0.2.9

DooMLoRD said:
it will work if u have installed recovery using Flashtool beta v0.2.9
Click to expand...
Click to collapse
Oh ok if you need me to test anything I will got 2 x8s what are barred use them as dummy/test phones.
Sent from my E15i using XDA Premium App

Well, as I already said, it does not work for miniCM beta 2.1. xRecovery installation through flasher -> xRecovery -> flashing your zip -> stuck on SE logo. At least with that new xrecovery I was able to flash update.zip for miniCM and it was working all again, but when I flashed your zip on stock miniCM xRecovery, the xrecovery does not start anymore, so the phone is bricked anyway
And damn SEUS cannot complete updating on two computers I have, downloading russian ROM

Graveir said:
Well, as I already said, it does not work for miniCM beta 2.1. xRecovery installation through flasher -> xRecovery -> flashing your zip -> stuck on SE logo. At least with that new xrecovery I was able to flash update.zip for miniCM and it was working all again, but when I flashed your zip on stock miniCM xRecovery, the xrecovery does not start anymore, so the phone is bricked anyway
And damn SEUS cannot complete updating on two computers I have, downloading russian ROM
Click to expand...
Click to collapse
I have already put up a warning for not using those files for other Xperia android devices... those files are only for X10...
did u read the full post HERE???
use the file in that post ONLY if the existing chargemon file in /system/bin/ on ur device is as follows:
Code:
#!/system/recovery/sh
/system/bin/charger
DEVICE=`cat /system/recovery/model`
case $DEVICE in
X10*)
cat /dev/input/event2 > /dev/keycheck& ;;
E10*)
cat /dev/input/event1 > /dev/keycheck& ;;
U20*)
cat /dev/input/event0 > /dev/keycheck& ;;
E15*)
cat /dev/input/event1 > /dev/keycheck& ;;
esac
sleep 3
kill -9 $!
if [ -s /dev/keycheck -o -f /data/local/tmp/flashtool ]
then
rm -r /data/local/tmp/flashtool
# remount rootfs rw
mount -o remount,rw rootfs /
# Umount MTDs
umount -l /cache
umount -l /data
# Mount recovery partition
rm -r /sbin
rm -r /etc
(cd /;tar -xjf /system/recovery/recovery.tar.bz2)
# Umount /system
umount -l /system
# chroot
chroot / /init
else
if test -f /system/bin/ramdisk.tar
then
# remount rw
mount -o remount,rw rootfs /
cd /
rm -r /sdcard
rm init*
rm logo.rle
rm default.prop
tar -xf /system/bin/ramdisk.tar
/system/bin/chroot / /init
fi
fi
# Continue booting
exit

Yeah, I've definately forgot to check it But, hey, nobody's perfect
Just crossing fingers for flasher now, 'coz if it doesn't work I'm gonna have to annoy neighbours tomorrow
And, once it's restored, I'll check the compatibility.
EDIT: Yeah, that's probably it...
#!/system/bin/busybox sh
/system/bin/charger
cat /dev/input/event1 > /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
cd /
rm -r /sbin
rm -f etc
tar -xf /system/bin/xrecovery.tar
# Umount /system
umount -l /dev/block/mtdblock0
# chroot
chroot / /init
fi
# remount rootfs rw
mount -o remount,rw rootfs /
chmod 0777 /dev -R
chown 0.2000 /dev/oncrpc -R
cd /
rm init*
rm logo.rle
rm default.prop
tar -xf /system/bin/ramdisk.tar
sync
chroot / /init
Click to expand...
Click to collapse
Different as hell...

guys i have just finished creating a script which will do all the modifications to the chargemon file (without replacing the whole file with a preconfigured one)... (its a text search & replace script)... so we are approaching an easier way to install/uninstall this 'reboot into recovery from OS' add-on... also it will be compatible with all Xperia android phones (X10, X8, X10 mini, X10 mini pro)...
i will release it tonight (its afternoon here)...
additionally MrHassell is hard at work with creating the app for this and let me tell u he has put in a lot of time and effort into it... we hope to release it soon for testing...

Universal flashable update.zip for ALL ROMs / ALL Xperia Android devices with ANY Rec
as promised here is the Universal flashable update.zip for ALL ROMs / ALL Xperia Android devices with ANY Recovery
Difficulty level: Medium
please test it and post back ur results on this thread!!!
Upcoming >>> Xperia Reboot Options APP (with widget) <<<

Tested with racht's 2.3.3 CM7 RC3 and it works

That's cool but IMO doesn't really add anything new.Only for those that are too bored using the back button?!
N.
Sent by me!

Come of it Blitzkri3g, modding is about adding new, non-standard features, isn't it?
And now the script is implemented into miniCM RC1, so I cannot say if the install script work, but the feature definately gets the job done!
Thumbs up!

tested on Racht's Floyo 0.15 and works
one thing is I use no frill cpu control, it don't run on boot after reboot from xrecovery ,tried twice - it says unclean shutdown , while using reboot dialog (power button-reboot) -> xrecovery -> reboot , it works.
maybe it's because no frill feature "- Added safety valves on boot: if unclean shutdown is detected or /data/.nocpu or /sd-ext/.nocpu exist, the frequencies will not be updated."
maybe it's just me using both , but it's nice to see both works
thanks for your effort.
edit : can't go into xrecovery using normal way anymore (press back or menu while rebooting)
*using freexperia recovery from flashtool 2.9.1*

Related

Black theme + original android emotions

Finally updated the black theme with original android emotions , check out the screenshot , [file uploaded]
Instructions-
I found out a way hw not to brick your phone during this process , go to settings>applications>development>Stay awake (click) , once you screen is on -
*** adb shell
*** su
*** mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
*** busybox cp /sdcard/framework-res.apk /system/framework/framework-res.apk
as soon as you type this your phone reboots without a brick!!
yaaay ive wanted those emoticons for ages!!
Hello,
Thanx for your effort but i couldn't install the theme.when i type down ;
busybox cp /sdcard/framework-res.apk /system/framework/framework-res.apk
and hit the enter key it says "busybox : not found."
I ve already installed titanium backup and busybox together.
What am i doing wrong?
Waiting for your help...
Best Regards.
Erdem
erdemd said:
Hello,
Thanx for your effort but i couldn't install the theme.when i type down ;
busybox cp /sdcard/framework-res.apk /system/framework/framework-res.apk
and hit the enter key it says "busybox : not found."
I ve already installed titanium backup and busybox together.
What am i doing wrong?
Waiting for your help...
Best Regards.
Erdem
Click to expand...
Click to collapse
You have to root your device using 'Exploid' method in the android development thread and install busybox ... busybox via titanium backup doesn't work!
Yeah, you have to copy the "busybox" file from the exploid package to /system/bin, and the busybox from titanium backup wont work...
how to copy busybox to /system/bin ?
i've copy it with
cat /sdcard/busybox > /system/bin/busybox
now i get
"busybox: permission denied"
what am i missing?
Root .......
Sent from my x10 Mini
thanks
great job, it works perfectly on my x10 mini pro with the last firmware.
Lovelly!
Is this done over the last framework-res draco made?
If not, do you mind to update? I think it would be just wonderfull to see them both together!
Thanks in advance,
Regards
Passaralho said:
Lovelly!
Is this done over the last framework-res draco made?
If not, do you mind to update? I think it would be just wonderfull to see them both together!
Thanks in advance,
Regards
Click to expand...
Click to collapse
Added android icons in project evolved by me:
http://forum.xda-developers.com/showthread.php?t=821790
Hello Guyz,
is this theme gonna work on 2.1?
Not sure. Probably will need to be ported into new files grom 2.1 firmware
Sent from my E10i
came here to ask the same question re: 2.1. wouldn't want to brick my fone!
Wont work , will post a new thread with black theme.
Sent from my E10i using Tapatalk

[Alpha Release] xWildFireMini 2.1 v0.2b

Hello,
This is the my port of the Wildfire 2.1 Eclair Rom for the Mini.
I chose Eclair because the drivers will probably be easier to find like this, you can expect a 2.2 Sense rom to come once the 2.2 AOSP is done.
[Download v0.2a Here]
[Download v0.2b Update]
Flash them is this order.
The Work's
Apps2SD
ADB
Booting
Display
xRecovery
Touch
SD-Card
OpenGL
Ext4 for Apps2SD
OMX (proper video playback)
Sound
The Won't 's
Charging [It says it's charging but it's not!]
GSM/3G
WiFi
USB mounting
Bluetooth
LED Flash & Light
Camera
YouTube Video showing installation.
YouTube Video in high quality by maxaan
Developer Notes:
Developer Notes:
Any Dev interested for testing all my future releases for the mini?
I ask developers for help to try out finding how to get the drivers for the non-working hardware parts to work. Simply said, you need to copy drivers from the SE 2.1 build to this build and report if it worked and which files were used.
Changelog:
v0.2a is up! Prepared the system for future drivers, little faster, ext4 support for apps2sd. Also for the mini fixed xrecovery thanks to peetr_
v0.2 Alpha is up! Fixed a lot: SD, Touchscreen, xRecovery, OpenGL
v0.1 Technical Preview / Pre-Alpha released for developers.
dang you are using same device..
i did try same thing but with clean wildfire [didn't get very far tho] [becouse work on kitchen] ... will download this too and see...
Problems on boot.
Or better no boot at all.
I made a full wipe, flashed the .zip and then these commands:
PHP:
adb shell
cd /system/bin
/system/bin/chmod 755 busybox
./busybox --install -s /system/xbin
./busybox --install -s /system/bin
After that reboot and stuck on Sony Ericsson white letters.
tried the mount command too but still no luck
PS: Something weird though. Xrecovery still working on me!
DaRk_dOg said:
Problems on boot.
Or better no boot at all.
I made a full wipe, flashed the .zip and then these commands:
PHP:
adb shell
cd /system/bin
/system/bin/chmod 755 busybox
./busybox --install -s /system/xbin
./busybox --install -s /system/bin
After that reboot and stuck on Sony Ericsson white letters.
tried the mount command too but still no luck
PS: Something weird though. Xrecovery still working on me!
Click to expand...
Click to collapse
Thanks for the info! This means I have to rebuild the ramdisk to have it work on the x10 mini. Oh one thing I forgot to state is that this NEEDS an ext2 partition on the sdcard (apps2sd not removed yet) and that the first boot will take ages stuck on the bootscreen since it's copying all apps over.
Could you adb pull system/bin/chargemon, open the file in notepad and send the content to me? Of the installed rom, that is.
In the update.zip package there is both an chargemon and chargemon~ file left over from text editing it with Ubuntu. Problem is that I can't acces the file through Nautilus (Ubuntu's version of Windows Explorer)
Hi, i also tried your work and i have the the same state as DarkDog with xRecovery working.
Tried the "logcat" :
sh-3.2# /system/bin/chmod 755 /system/bin/busybox
/system/bin/chmod 755 /system/bin/busybox
Unable to chmod /system/bin/busybox: Read-only file system
sh-3.2# mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
sh-3.2# cd /system/bin
cd /system/bin
sh-3.2# /system/bin/chmod 755 busybox
/system/bin/chmod 755 busybox
sh-3.2# ./busybox --install -s /system/xbin
./busybox --install -s /system/xbin
sh-3.2# ./busybox --install -s /system/bin
./busybox --install -s /system/bin
sh-3.2# logcat
logcat
I/checkabortedflash( 1065): [110] Latest flash seems OK.
E/logwrapper( 1499): executing /system/xbin/busybox failed: Permission denied
I/logwrapper( 1493): /system/xbin/busybox terminated by exit(255)
Click to expand...
Click to collapse
Seems like something goes really wrong here....
Mby because the wrong ramdisk or something.
@peetr try to give the "mount" and "ls /system/xbin" commands, mby found something..
peetr_ said:
Hi, i also tried your work and i have the the same state as DarkDog with xRecovery working.
Tried the "logcat" :
Click to expand...
Click to collapse
Ah yes.. I'll update the commands, you need to
PHP:
adb shell
cd /system/xbin
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
/system/bin/chmod 755 busybox
cd /system/bin
/system/bin/chmod 755 busybox
./busybox --install -s /system/xbin
./busybox --install -s /system/bin
Can you see if that works?
Good job ! Up and running
Linpack - 2,3 MFLOPS
But looks nice.
peetr_ said:
Good job ! Up and running
Linpack - 2,3 MFLOPS
But looks nice.
Click to expand...
Click to collapse
Huh? You mean touchscreen works on the mini?!
Yes it works.
peetr_ said:
Yes it works.
Click to expand...
Click to collapse
That's odd, it doesn't on the Pro
u10a init.rc
Mikevhl
attached is the init.rc you requested, it is from u10a USA version. hope it helps. Thank you for for effort.
strykme said:
Mikevhl
attached is the init.rc you requested, it is from u10a USA version. hope it helps. Thank you for for effort.
Click to expand...
Click to collapse
Thanks, but I understand that it's booting now on the mini?
The commands that you have to run after installing are updated, would you mind giving it a try?
I think you can write in the first post, that its working on mini. And that we have to install busybox before leaving xrecovery.
But i must say again, it is too slow in this alpha version. Hope it can be faster in later versions.
peetr_ said:
I think you can write in the first post, that its working on mini. And that we have to install busybox before leaving xrecovery.
But i must say again, it is too slow in this alpha version. Hope it can be faster in later versions.
Click to expand...
Click to collapse
Try out the Alpha please, should be a tad faster since I've fixed openGL
Well i wait for some updates, then I'm gonna try it
Nice work tho, keep it up !
can you please remove the app2sd so i am able to test it because right now i have an ext3 on my sd card and i am missing my adapter!!! Or at least someone provide a method convert to ext2 mounted from the device e.g. from ubuntu?? Can i do it this way???
First thing, you have to change chargemon to event1 for mini

DEVELOPMENT : Ubuntu Lucid CHROOT: updated scripts

*********************************************************
For LXDE : check Update 12 April 2011
For netbook launcher : Check update 13 April 2011
for Dropbox Links : check Below. : UPDATE : DROPBOX LINKS MIGHT BE BLOCKED
Screenshots : POST no 5
*********************************************************
Hi All
I am a linux user and have been trying to get my phone to run linux too... so finally after a lot of messing around i got Ubuntu 10.04 aka Lucid runing on my phone.
I used a stack image provided by https://code.google.com/p/android-cruft/ This image is a stripped down version of the Ubuntu img file and hence a good setup for customization.
However the problems i had with this as well as other images so far was following.
1) 2GB is very small when you want and LXDE to run : good for showoff not good for actual working conditions.
2) bootubuntu or bootdebian scripts won't let me keep the system mounted.. as soon as i exit the shell my ubuntu gets unmounted.
3) All the scripts wont play well with APP2SD or simmilar applications.
REQUIRED:
Rooted and busybox installed phone.
Android terminal software would be needed for commands.
Android VNC Viewer.
Alternate Download link (mirror provided by husseinb )
LXDE.7z.001 http://glycogen.net/download/3/
LXDE.7z.002 http://glycogen.net/download/4/
NETBOOK_parts.7z.001 http://glycogen.net/download/5/
NETBOOK_parts.7z.002 http://glycogen.net/download/6/
NETBOOK_parts.7z.003 http://glycogen.net/download/7/
NETBOOK_parts.7z.004 http://glycogen.net/download/8/
DROPBOX Links as alternate download option
NOTE : please use them for alternate download only I have already got one warning for excessive usage.
LXDE
LXDE part 1 : MD5 : 82af57faf360b3f1921b6def4acfe466
LXDE part 2 : MD5 : a59025db138780db79d69f417c4e9f91
NETBOOK
NETBOOK part 1 : MD5 : 08818edcb1b3fff293557d8e56a65bc4
NETBOOK part 2 : MD5 : 58f0561ed74f0f815f045b9014895313
NETBOOK part 3 : MD5 : 4dd9da548d04d7dece03468959a6993a
NETBOOK part 4 : MD5 : 345804d086054bd446397384245ac2db
UPDATE : 13 April 2011
first Post cleared with all old data and only new updated images kept now.
NETBOOK LAUNCHER PRECONFIGURED IMAGES : http://www.megaupload.com/?d=I3V10B4I
UPDATE : 12 April 2011
LXDE preinstalled package : http://www.megaupload.com/?d=657SPCB5
These file contains all the stuff you need.
GUIDE FOLLOWS BELOW
************* USER PORTION START HERE ******************
******STEPS TO FOLLOW ****************
1) extract the content and copy then to /sdcard/ubuntu
2) run 'sh ubuntu.sh' only once.
3) run 'starttux' (is now made to work without userinput so if needed you can place it is startup using gscripts.)
4) run 'tuxcmd'
a) 'ui' inside tuxcmd to start vnc server
to use GUI use any vncviwer and connect to localhost:5901
NOTE : VNCPASSWORD : 12345678
b) to kill vnc server : use 'killui'
5) when you want to stop ubuntu 'stoptux'
********** STEPS END HERE ************
********** THINGS TO KNOW ************
The whole script portion visible is divided into 4 scripts.
Ubuntu.sh <- setup script required to be run once in whole lifecycle.
starttux <- chroot setup script required to be run after every reboot.
tuxcmd <- script to get console based access to ubuntu
stoptux <- script to stop linux.
Besides these 4 files two important commands are available when you login to tuxcmd.
`ui` <- used to start the vnc server
`killui` <- used to stop the vnc server
once you have the image inside tuxcmd you can run vncpasswd to change password.
to use GUI use any vncviwer available in android market.
point it to localhost:5901.
NOTE : VNC PASSWORD : 12345678
******************* USER PORTION END HERE ***************
******************* DEVELOPER SECTION ********************
below i have provided code for all the files mentioned above
Note : I will keep updating the code as and when i do the updation.
UBUNTU.SH
Code:
echo " "
echo "Ubuntu Chroot v0.2-anant-netbook"
echo "This process does NOT damage Android OS!"
echo " "
echo "Original Script by Charan Singh"
echo "Modified for Ubuntu Chroot by Max Lee at NexusOneHacks.net"
echo "Xperia Customized by Anant shrivastava http://anantshri.info "
echo " "
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
echo "Cleaning up old Chunks . . ."
rm /system/bin/tuxcmd
rm /system/bin/starttux
rm /system/bin/stoptux
echo "Creating necessary directories"
if [ ! -d /data/local/mnt ]
then
mkdir /data/local/mnt
fi
#copy the files to places
echo "Setting up files"
cp -f starttux /system/bin
cp -f stoptux /system/bin
cp -f tuxcmd /system/bin
echo "Ubuntu is now configure!"
echo " "
echo "to Start ubuntu type 'starttux'"
echo "once ubuntu started use tuxcmd to gain shell"
echo "when you want to shutdown type 'stoptux'"
STARTTUX
Code:
#Mount SYSTEM RW
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
#exporting useful variables
export kit=/sdcard/ubuntu
export bin=/system/bin
export mnt=/data/local/mnt
export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH
export TERM=linux
export HOME=/root
# Mounting Image to the farthest loop point
# FIXME : check if mount sucessfull otherwise abort whole process.
mknod /dev/block/loop255 b 7 255
busybox losetup /dev/block/loop255 $kit/ubuntu.img
busybox mount -t ext2 /dev/block/loop255 $mnt
mount -t devpts devpts $mnt/dev/pts
mount -t proc proc $mnt/proc
mount -t sysfs sysfs $mnt/sys
# Mounting SD Card inside the CHROOT
busybox mount -o bind /sdcard /data/local/mnt/sdcard
#seting environment
sysctl -w net.ipv4.ip_forward=1
echo "Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4"
echo "nameserver 8.8.8.8" > $mnt/etc/resolv.conf
echo "nameserver 8.8.4.4" >> $mnt/etc/resolv.conf
echo "Setting localhost on /etc/hosts "
echo "127.0.0.1 localhost" > $mnt/etc/hosts
echo "Brought to you by NexusOneHacks.net and the open source community! "
echo "Customized by Anant shrivastava http://anantshri.info"
echo "Ubuntu configured to use it just type 'tuxcmd'"
TUXCMD
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
export kit=/sdcard/ubuntu
export bin=/system/bin
export mnt=/data/local/mnt
export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH
export TERM=linux
export HOME=/root
echo "Brought to you by NexusOneHacks.net and the open source community! "
echo "Customized by Anant shrivastava http://anantshri.info"
echo " "
busybox chroot $mnt /bin/bash
STOPTUX
Code:
#Cleanup
#After exit command is executed clear it all up
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
export kit=/sdcard/ubuntu
export bin=/system/bin
export mnt=/data/local/mnt
export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH
export TERM=linux
export HOME=/root
echo "Cleaning the Ubuntu leftover and returning back the memory to Android."
echo "by Anant Shrivastava http://anantshri.info "
echo "Shutting down Ubuntu"
sync
busybox umount -l $mnt/sdcard
busybox umount -l $mnt/dev/pts
busybox umount -l $mnt/proc
busybox umount -l $mnt/sys
busybox umount -l $mnt
busybox losetup -d /dev/block/loop255
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
echo " "
echo "Please reboot to properly unmount Ubuntu"
echo "Specially If you recieved an error before this line"
UI <- available inside chroot
Code:
if [ `pgrep Xtightvnc` ]
then
echo "VNC SERVER Already running"
else
vncserver -geometry 850x480
fi
KILLUI
Code:
kill -KILL `pidof Xtightvnc`
rm /tmp/.X11-unix/X1
rm -rf /tmp/.X1-lock
These launcher Settings are obtained using VNC xstartup file
so posting some sample xstartup files
for default GNOME UI
Code:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
"$VNCDESKTOP Desktop" &
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession
for LXDE same startup file becomes
Code:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
icewm &
lxsession
for netbook i am using this xstartup
Code:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
"$VNCDESKTOP Desktop" &
x-window-manager &
export XKL_XMODMAP_DISABLE=1
maximus &
netbook-launcher-efl &
**************** DEVELOPER SECTION END *****************
nice done mate
would love to see a video
or maybe screenshots,
this sounds very well
PlayGunsta said:
nice done mate
Click to expand...
Click to collapse
Thanks
fiscidtox said:
would love to see a video
Click to expand...
Click to collapse
I am weak at video's so that might take some time.
tremendouz said:
or maybe screenshots,
this sounds very well
Click to expand...
Click to collapse
Screenshots I will keep adding here
Standard Command prompt
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LXDE running
a bonus which i am working on right now
Metasploit unleashed on Xperia
Netbook Launcher
Cool!
How's it running... smooth ?
kozxmartt said:
Cool!
How's it running... smooth ?
Click to expand...
Click to collapse
Running Smothly.
However i prefer using console more then gui so for me CLI is smooth.
anantshri said:
a bonus which i am working on right now
Metasploit unleashed on Xperia
Click to expand...
Click to collapse
Thats all what we need
Great work mate....
pretty cool, well done mate
however, the X10's screen is 854x480, not 850x480 (in the UI script)
Adolf1994 said:
pretty cool, well done mate
however, the X10's screen is 854x480, not 850x480 (in the UI script)
Click to expand...
Click to collapse
Thanks
I did tried 854x480 however the VNC Server every time was showing me resolution as 856x480 and 2 pixels where floating off the screen
that's why i prefered 850 and fixed value.
try running them before the OS boots...
u can test this by adding the commands to the file /system/bin/chargemon
*** this is a major system modification and can break recovery/OS booting ***
this looks awesome so i dont completely follow your guide ... is this stuff dual bootable?
DooMLoRD said:
try running them before the OS boots...
u can test this by adding the commands to the file /system/bin/chargemon
*** this is a major system modification and can break recovery/OS booting ***
Click to expand...
Click to collapse
I have tried on my mini pro with the debian port, but dont work because the linux cannt use the screen or any other device on the phone. We must port the drivers first and then try this...
KingCifer said:
this looks awesome so i dont completely follow your guide ... is this stuff dual bootable?
Click to expand...
Click to collapse
Sorry not yet a dual boot ... would love to do that though.
the GUI you see is a VNC view of the machine.
DooMLoRD said:
try running them before the OS boots...
u can test this by adding the commands to the file /system/bin/chargemon
*** this is a major system modification and can break recovery/OS booting ***
Click to expand...
Click to collapse
Right now Xperia is my one and only handset so playing a bit safe..
also right now trying to understand the whole bootloader bypassing concept and then only will try dual booting also..
Yperion said:
I have tried on my mini pro with the debian port, but dont work because the linux cannt use the screen or any other device on the phone. We must port the drivers first and then try this...
Click to expand...
Click to collapse
I read some discussion somewhere about the meego or meamo porting to xperia those code base do have all such support.
can any one make a scarpit for all this ? ?
thanx
anantshri , nice one sir
anantshri said:
....
Right now Xperia is my one and only handset so playing a bit safe..
also right now trying to understand the whole bootloader bypassing concept and then only will try dual booting also..
...
Click to expand...
Click to collapse
luckily the Xperia androids are pretty much un-brickable...
u can always use SEUS to repair device OR flashtool to flash stock ROM...
DooMLoRD said:
luckily the Xperia androids are pretty much un-brickable...
u can always use SEUS to repair device OR flashtool to flash stock ROM...
Click to expand...
Click to collapse
this is the only good thing on x10's locked bootloader and bypassing method
Ahmed radi said:
can any one make a scarpit for all this ? ?
thanx
anantshri , nice one sir
Click to expand...
Click to collapse
Working on exactly that point
creating set of scripts which can automate most of these task's....
will upload and update all with the details soon.
Now that we can bypass the bootloader, would the following thing be possible: http://forum.xda-developers.com/showthread.php?t=889433??
Meikrekel said:
Now that we can bypass the bootloader, would the following thing be possible: http://forum.xda-developers.com/showthread.php?t=889433??
Click to expand...
Click to collapse
This seems like a good start, Let me read all the detail's.
also as suggested by DoomLord, Would try the chargemon script hook for dual booting.
not very soon... i am expecting to do this by next weekend.

[W-I-P][DEVELOPMENT] Dual / Multi Boot Project: Devs Only

{ LONG POST WARNING }
{ NOT FULLY WORKING YET}
{ NEEDS A LOT OF FURTHER DEVELOPMENT }
Hey everyone I had thought of making this Dual Booting system work along side recovery… because initially (with FreeX10-alpha) it was not possible to have both recovery & dual boot...
Thank you zdzihu & jerpelea for your great work on FreeX10-alpha, which booted off SDCARD… I got inspiration to try and make this work for FreeX10-beta4 based on the amazing work that u guys did! Thank you jerpelea for all your feedback on my repeated messages when I was testing this a few months back (hope I didn’t bother u too much with questions )...
zdzihu & jerpelea u are truly LEGENDS!!!
[This is just my personal opinion] Really hoping that some devs can take interest in this to provide compatible files (ramdisks, system files) for this to work… may be as an add-on to their main roms… please don’t keep bothering devs to create ramdisks for booting off SDCARD… they are already very busy trying to make our X10 better with faster and stable ROMS/MODS/etc… this is just an additional feature…
The basic idea was to use the chargemon booting scripts provided in FreeX10-alpha and to try and make FreeX10-beta4 to boot off SDCARD…
Initially I used the img files which came with FreeX10-alpha and wiped the image to then put FreeX10-beta4 on it… while doing so I realized that all of the symbolic links were not getting copied correctly (obviously)… so I started from scratch with blank ext2fs images…
Later I thought of using clean/base nandroid/recovery backups as they are already working/preconfigured system of FreeX10-beta4…
Following is a small How-To on converting NANDROID/RECOVERY images (with yaffs fs) to ext2 fs images keeping the symlinks intact!!
I have used Ubuntu for these steps.
I have attached blank_files.7z which contains precompiled ext2fs images:
system.img [size: 256 MB]
data.img [size: 512 MB]
cache.img [size: 128 MB]
To resize or create newer ext2fs images:
[APP] Windows: Create Your Own Data.img Maker Application, +/- From Existing data.img
U can use the commands provided there even in linux to create/resize these images...
We will keep the NANDROID images at:
Code:
/home/user/nandroid_imgs/test1/
and EXT2 FS images at:
Code:
/home/user/ext2fs_imgs/test1/
while temporary mounts points will be made at:
Code:
/home/user/mntpts/
We will be using unyaffs from here:
[How-To] Extracting/Accessing Recovery/Nandroid backup (.img) files
Extracting files from the nandroid/recovery backups:
Code:
cd /home/user/nandroid_imgs/test1
mv system.img /home/user/nandroid_imgs/test1/system/
cd /home/user/nandroid_imgs/test1/system/
sudo unyaffs system.img
mv system.img ../.
mv data.img /home/user/nandroid_imgs/test1/data/.
cd /home/user/nandroid_imgs/test1/data/
sudo unyaffs data.img
mv data.img ../.
mv cache.img /home/user/nandroid_imgs/test1/cache/
cd /home/user/nandroid_imgs/test1/cache/
sudo unyaffs cache.img
mv cache.img ../.
Loop mounting ext2 fs files:
Code:
sudo mount -t ext2 -o loop,rw,noatime,nodiratime /home/user/ext2fs_imgs/test1/system.img /home/user/mntpts/system/
sudo mount -t ext2 -o loop,rw,noatime,nodiratime,nosuid,nodev /home/user/ext2fs_imgs/test1/data.img /home/user/mntpts/data/
sudo mount -t ext2 -o loop,rw,noatime,nodiratime,nosuid,nodev /home/user/ext2fs_imgs/test1/cache.img /home/user/mntpts/cache/
Recursively copy all files (preserving symlinks) from extracted yaffs images to mount points
Code:
sudo cp -r -p /home/user/nandroid_imgs/test1/system/* /home/user/mntpts/system/.
sudo cp -r -p /home/user/nandroid_imgs/test1/data/* /home/user/mntpts/data/.
sudo cp -r -p /home/user/nandroid_imgs/test1/cache/* /home/user/mntpts/cache/.
Unmount the mounts:
Code:
sudo umount /home/user/mntpts/system/
sudo umount /home/user/mntpts/data/
sudo umount /home/user/mntpts/cache/
Ok now that the ext2fs iamges are populated with working files copy them onto SDCARD…
I have placed it at:
Code:
/sdcard/FreeX10
lets move on to the chargemon script...
This is, as of now, based off xRecovery chargemon (modified from FreeX10-alpha)
Code:
#!/system/bin/busybox sh
# modified chargemon for recovery + dual boot from NAND/SDCARD
/system/bin/charger
cat /dev/input/event2 > /dev/keycheck&
sleep 3
kill -9 $!
# intact recovery
if [ -s /dev/keycheck ]
then
# remount rootfs rw
mount -o remount,rw rootfs /
# Umount MTDs
umount -l /data
umount -l /cache
# Extract recovery
cd /
rm -r /sbin
rm -f etc
tar -xf /system/bin/xrecovery.tar
# Umount system
umount -l /system
chroot / /init
fi
echo "check if reboot into SDCARD OS was called"
if [ -e /data/local/tmp/rebootsdcardos ]
then
echo "Booting from SDCARD!"
# FreeX10-alpha code follows with slight modifications!!!
# remount rootfs rw
mount -o remount,rw rootfs /
busybox chmod 0777 /dev -R
busybox chown 0.2000 /dev/oncrpc -R
rm -r /sdcard
cd /
mkdir sd
chmod 777 sd
rm init*
rm logo.rle
rm default.prop
tar -xf /system/bin/sdcardos_ramdisk.tar
# Umount system,data,cache
umount -l /system
umount -l /data
umount -l /cache
# Check and mount SD Card
dosfsck -y /dev/block/mmcblk0p1
sleep 5
mount -t vfat -o rw,noatime,nodiratime /dev/block/mmcblk0p1 /sd
sleep 5
# Mount system and data ext2 images
losetup /dev/block/loop1 /sd/FreeX10/system.img
sleep 5
losetup /dev/block/loop2 /sd/FreeX10/data.img
sleep 5
losetup /dev/block/loop3 /sd/FreeX10/cache.img
sleep 5
e2fsck -y /dev/block/loop1
e2fsck -y /dev/block/loop2
e2fsck -y /dev/block/loop3
mount -t ext2 -o rw,noatime,nodiratime /dev/block/loop1 /system
sleep 5
mount -t ext2 -o rw,noatime,nodiratime,nosuid,nodev /dev/block/loop2 /data
sleep 5
mount -t ext2 -o rw,noatime,nodiratime,nosuid,nodev /dev/block/loop3 /cache
sleep 5
# zdzihu: hack-fix
if [ -e /data/data/com.android.providers.telephony/databases/telephony.db ]; then
/system/bin/chroot / /init
exit
fi
# Chroot :)
chroot / /init
# jump out of chargemon to skip NAND booting
exit
fi
echo "Booting from NAND!"
# remount rw
mount -o remount,rw rootfs /
cd /
rm -r /sdcard
rm init*
rm logo.rle
rm default.prop
tar -xf /system/bin/ramdisk.tar
# zdzihu: hack-fix
if [ -e /data/data/com.android.providers.telephony/databases/telephony.db ]; then
/system/bin/chroot / /init
exit
fi
chroot / /init
Recovery is intact so u can get into recovery the normal way… (press/tap back key after seeing SE text logo)
OS on NAND (normal system on MTD) will boot by default…
To reboot into OS on SDCARD issue the following commands in terminal emulator/adb shell:
Code:
touch /data/local/tmp/rebootsdcardos
reboot
NOW the OS should start booting off the SDCARD…
It completes commands in chargemon and then BootAnimation can be seen…
BUT HERE IS THE PROBLEM!
Check LOGCAT here: http://www.mediafire.com/?phxm3uqzp0dzzhb
here is wht J had to say:
jerpelea said:
as you can see in logcat
1.your prelink is not ok
2.you don't have something ok in initrd
3.you dont have all permisions ok on data
Click to expand...
Click to collapse
From my limited understanding we yet have to make a proper ramdisk (sdcardos_ramdisk.tar)… I feel the init.rc file has to be changed especially the following line (based off FreeX10-beta4 ramdisk):
Code:
mount yaffs2 [email protected] /system rw remount
mount yaffs2 [email protected] /data nosuid nodev
mount yaffs2 [email protected] /cache nosuid nodev
As for Multi-Booting:
We can keep adding different sections to chargmeon:
Code:
/data/local/tmp/rebootsdcardos1
/data/local/tmp/rebootsdcardos2
etc…
OR
possible solution for having both recovery and dual boot
and similarly keep adding ramdisks in NAND /system:
Code:
sdcardos1_ramdisk.tar
sdcardos2_ramdisk.tar
etc
So we can have as many OS/ROMs on SDCARD as u have free space… though we need to make specific ramdisks for each…
Hope this was slightly useful… and waiting for feedback from advance users on how we can get this working....
Lol, you're working very hard Doom! Keep going!
Doom! You are making enormous progress and helping a lot with Other Devs.
A Combination of a good rom and one of these additional Dual Boot would make x10 better than any Android mobile SE could deliver.
Thank you and I really pray to give SE a run for their money!
for someone thats always saying hes not a developer you sure as hell seem to know what your doing!
Keep up the great work, i hope to see this working flawlessly that would be awesome to be able to dual boot.
Whats the next steps in the project?
BULL3TPR00F said:
for someone thats always saying hes not a developer you sure as hell seem to know what your doing!
Keep up the great work, i hope to see this working flawlessly that would be awesome to be able to dual boot.
Whats the next steps in the project?
Click to expand...
Click to collapse
well i am not exactly a ROM developer and dont know much about how to compile libs/sources/etc...
next step is that we need to make compatible system files & ramdisk (init.rc) for dual booting
DooMLoRD said:
well i am not exactly a ROM developer and dont know much about how to compile libs/sources/etc...
next step is that we need to make compatible system files & ramdisk (init.rc) for dual booting
Click to expand...
Click to collapse
You may not be a rom developer but your an amazing commited x10 modder
Sent from my X10i TripNMiUI using XDA App
DooMLoRD said:
well i am not exactly a ROM developer and dont know much about how to compile libs/sources/etc...
next step is that we need to make compatible system files & ramdisk (init.rc) for dual booting
Click to expand...
Click to collapse
I am also excited buddy..... Once i get through my experiments i will surely like to focus on this as this will allow us to have more then one version of ROM on one machine.
Based on your first post
all i can get is we are getting the boot animation but not going after that.
i would suggest following things based on my experiments with ubuntu work.
use loops above 10 coz i suspect some loops are already in use during my ubuntu boot i am watching that loop7 is already created so i would suggest avoiding it.
also as we have been adding debug "we have reached here" style code can we do the same here that might help us.
also can we find any debug-able place i mean place where we can track the progress to get the position inside the rom so that we can understand except logcat where we are.
any progress or hurdles buddy.....
i am eager to test this .....
anantshri said:
any progress or hurdles buddy.....
i am eager to test this .....
Click to expand...
Click to collapse
sorry man havent had time to do any further testing for this... have been very busy with some personal work and kernel manager scripts...
DooMLoRD said:
sorry man havent had time to do any further testing for this... have been very busy with some personal work and kernel manager scripts...
Click to expand...
Click to collapse
Keep up the good Work Doom. ! and thx for your work
Sorry if its no help but there's a thread in the x10 mini pro section
http://forum.xda-developers.com/showthread.php?t=1084555
Sent from my SEX10 using XDA App
These are great news, keep on developing!
sent from my x10i with wolfbreaks CM 6.1.3 v006 undervolted, bb67
rtblittlebrown said:
Sorry if its no help but there's a thread in the x10 mini pro section
http://forum.xda-developers.com/showthread.php?t=1084555
Sent from my SEX10 using XDA App
Click to expand...
Click to collapse
they have posted exactly the same thing!
read my 1st post in this thread and then read the first few posts there
Ohk so since we now have one more option in Xrecovery i am back to my old suggestion.
however this time i will post my thought out in open so that if someone has required skills and time then they can work on .
I have an idea of using xrecovery as a boot menu.
process would be
1) Xrecovery to start everytime. (this needs some consideration.)
2) To have a timeout value if any key pressed before that then remain in menu otherwise boot to the os.
3) inside menu we should have options of all O.S. / ROM (os coz my intention are to run linux off dualboot) available with selection options.
4) ON selection it will just be the same procedure as already using in xrecovery 1.0 to handover the command to a script. and let it load.
5) boot menu if possible could be controlled by an outside file which we can edit just like grub.conf in linux.
Note : This will requires good understanding of booting process of X10i and c skills as xrecovery is written in complete c.
anantshri said:
Ohk so since we now have one more option in Xrecovery i am back to my old suggestion.
however this time i will post my thought out in open so that if someone has required skills and time then they can work on .
I have an idea of using xrecovery as a boot menu.
process would be
1) Xrecovery to start everytime. (this needs some consideration.)
2) To have a timeout value if any key pressed before that then remain in menu otherwise boot to the os.
3) inside menu we should have options of all O.S. / ROM (os coz my intention are to run linux off dualboot) available with selection options.
4) ON selection it will just be the same procedure as already using in xrecovery 1.0 to handover the command to a script. and let it load.
5) boot menu if possible could be controlled by an outside file which we can edit just like grub.conf in linux.
Note : This will requires good understanding of booting process of X10i and c skills as xrecovery is written in complete c.
Click to expand...
Click to collapse
point no.1 is easy... not an issue..
abt point 2 i think that too would be possible... a while loop with sleep function & wait for input/keppress
pt3 the newer xrecovery v1.0.0 already has something similar may be we can look into it to add "Boot NAND system" as first option
point no. 5 if possible WILL BE BRILLIANT!!!
@anantshri
dude may be these guys can help us:
http://forum.xda-developers.com/showpost.php?p=14354231&postcount=49
DooMLoRD said:
they have posted exactly the same thing!
read my 1st post in this thread and then read the first few posts there
Click to expand...
Click to collapse
Oops sorry..
Sent from my SEX10 using XDA App
rtblittlebrown said:
Oops sorry..
Sent from my SEX10 using XDA App
Click to expand...
Click to collapse
no dude thanks for the info... i have already contacted those guys for help... lets see may be they can help us out to get this working!!!
dual boot hint by Z
http://forum.xda-developers.com/showthread.php?t=1107111
something related

[ROOT][6.0.A.3.73][LT26] Xperia S (2.3.7) - (1257-8821) Norway Generic

**WARNING** this requires an unlocked bootloader. Unlocking the boot loader will result in voiding your warranty.
6.0.A.3.73
2.3.7
Cust: 1257-8821 Norway Generic
1007.9Mb Partition Size:
Download:
http://www.mediafire.com/?y3n9yp3822yykct
http://www.mediafire.com/?ez079pa982pd1h4
http://www.mediafire.com/?xtata7rea3l93ja
Please perform a full Norway ftf flash before you flash this preroot into your device.
Code:
fastboot flash system system_new.img
This will give you root for the device.
Details:
6.0.A.3.073 Norway ROM (2010-Apr-11 00:33HKT GMT+8:00)
[root]
/system/app/SuperUser.apk 3.0.7 (41)
/system/bin/su 3.0.3.2
/system/xbin/busybox 1.19
/system/xbin/busybox symlinks
[enhancements]
/system/app/SystemUI.apk (Notifications Widget)
/system/app/QuickPanelSettings.apk (Notifications Widget)
/system/framework/framework-res.apk (Percentage + Blue battery mod)
--
[next release]
/system/app/Home.apk updated to 11 screen 5row x 4col configuration + landscape support
/bin/sysrw (to mount system as rw so you can write files in adb shell)
Ant Radio Service 2.8
Gmail 2.3.6
Google Play Store 3.5.16
LiveWare manager 3.2.8
OfficeSuite 6.0.815
Street View 1.7.2.0
TrackID 3.60.42
Xperia SmartTags 1.0.16
Have fun XPSing!
Thank you so much
kazuni said:
**WARNING** this requires an unlocked bootloader. Unlocking the boot loader will result in voiding your warranty.
6.0.A.3.73
2.3.7
Cust: 1257-8821 Norway Generic
1007.9Mb Partition Size:
Download:
http://www.mediafire.com/?y3n9yp3822yykct
http://www.mediafire.com/?ez079pa982pd1h4
http://www.mediafire.com/?xtata7rea3l93ja
Please perform a full Norway ftf flash before you flash this preroot into your device.
Code:
fastboot flash system system_new.img
This will give you root for the device.
Details:
6.0.A.3.073 Norway ROM (2010-Apr-11 00:33HKT GMT+8:00)
[root]
/system/app/SuperUser.apk 3.0.7 (41)
/system/bin/su 3.0.3.2
/system/xbin/busybox 1.19
/system/xbin/busybox symlinks
[enhancements]
/system/app/SystemUI.apk (Notifications Widget)
/system/app/QuickPanelSettings.apk (Notifications Widget)
/system/framework/framework-res.apk (Percentage + Blue battery mod)
--
[next release]
/system/app/Home.apk updated to 11 screen 5row x 4col configuration + landscape support
/bin/sysrw (to mount system as rw so you can write files in adb shell)
Ant Radio Service 2.8
Gmail 2.3.6
Google Play Store 3.5.16
LiveWare manager 3.2.8
OfficeSuite 6.0.815
Street View 1.7.2.0
TrackID 3.60.42
Xperia SmartTags 1.0.16
Have fun XPSing!
Click to expand...
Click to collapse
Wops! you are faster than me XD
Yakandu said:
Wops! you are faster than me XD
Click to expand...
Click to collapse
Haha, slightly faster.
A tip for you : if you want to create a fast root image, you can create a tarball of an existing rooted image in adb shell and extract that to your working-system image (the one to be rooted):
Code:
tar -cpvzf preroot-pack.tgz /system/app/Superuser.apk /system/app/su /system/xbin/
(including the /system/xbin if you have busybox, so that you don't have to do the tedious flash+repack method)
kazuni said:
Haha, slightly faster.
A tip for you : if you want to create a fast root image, you can create a tarball of an existing rooted image in adb shell and extract that to your working-system image (the one to be rooted):
Code:
tar -cpvzf preroot-pack.tgz /system/app/Superuser.apk /system/app/su /system/xbin/
(including the /system/xbin if you have busybox, so that you don't have to do the tedious flash+repack method)
Click to expand...
Click to collapse
Excelent, im using a self-made script to:
auto sin to img
mount
push Superuser, su, busybox and check permissions
delete 'custom apps' (if wanted) from:
etc/customization/applications
etc/product/applications​make the new rooted system.img
delete temporal/old system.img system.sin and system folder.
all done in debian on Virtualbox ~5min aprox
Yakandu said:
Excelent, im using a self-made script to:
auto sin to img
mount
push Superuser, su, busybox and check permissions
delete 'custom apps' (if wanted) from: etc/customization/applications
etc/product/applications​make the new rooted system.img
delete temporal/old system.img system.sin and system folder.
all done in debian on Virtualbox ~5min aprox
Click to expand...
Click to collapse
Sounds great! Thanks for the sharing
also check out make_ext4fs (if you haven't started using sparse image yet)
kazuni said:
Sounds great! Thanks for the sharing
also check out make_ext4fs (if you haven't started using sparse image yet)
Click to expand...
Click to collapse
well, here is the script, now making prerooted system.img on 55secs with a virtual machine XD
Code:
#!/bin/bash
echo Creando imagen...
./sin2img.py system.sin system.img
echo Montando imagen...
mkdir system; mount -o loop system.img system
echo Borrando apps...
rm -r system/etc/customization/applications
rm -r system/etc/product/applications
echo Creando root...
cp Superuser.apk system/app/
cp su system/bin/
cp busybox system/xbin/
chmod 644 system/app/Superuser.apk
chmod 06755 system/bin/su
chmod 06755 system/xbin/busybox
echo Creando imagen...
./mkuserimg.sh -s /home/adrian/android/system ./system2.img ext4 ./temp 1024M
echo Desmontando imagen original...
umount system
echo Borrando archivos temporales...
rm -r system
rm system.img
echo Finalizado.
Echoes are in shpanish but i think they are easy to understand XD
If something is unclear feel free to ask, im nooby on linux but some hours of lots of guides can make you fly.
And of course, if anyone can contribute.. feel fry
The right file of .73 Norwegian Firmaware is uploaded now in this thread: http://forum.xda-developers.com/showpost.php?p=24717260&postcount=33
Can someone of you make root .img of it, please? Thanks for your hard work!
Mano1982 said:
The right file of .73 Norwegian Firmaware is uploaded now in this thread: http://forum.xda-developers.com/showpost.php?p=24717260&postcount=33
Can someone of you make root .img of it, please? Thanks for your hard work!
Click to expand...
Click to collapse
incoming
Yakandu said:
incoming
Click to expand...
Click to collapse
Thanks a lot.. You are wonderful
Yakandu said:
well, here is the script, now making prerooted system.img on 55secs with a virtual machine XD
Code:
#!/bin/bash
echo Creando imagen...
./sin2img.py system.sin system.img
echo Montando imagen...
mkdir system; mount -o loop system.img system
echo Borrando apps...
rm -r system/etc/customization/applications
rm -r system/etc/product/applications
echo Creando root...
cp Superuser.apk system/app/
cp su system/bin/
cp busybox system/xbin/
chmod 644 system/app/Superuser.apk
chmod 06755 system/bin/su
chmod 06755 system/xbin/busybox
echo Creando imagen...
./mkuserimg.sh -s /home/adrian/android/system ./system2.img ext4 ./temp 1024M
echo Desmontando imagen original...
umount system
echo Borrando archivos temporales...
rm -r system
rm system.img
echo Finalizado.
Echoes are in shpanish but i think they are easy to understand XD
If something is unclear feel free to ask, im nooby on linux but some hours of lots of guides can make you fly.
And of course, if anyone can contribute.. feel fry
Click to expand...
Click to collapse
Hi Yakandu,
Thanks a lot for this piece of code, it helps me understant how to customize firmware
I have a question about that. When the script finishes, how do you use the system2.img created ? Is Flashtool able to use it or do you have a way to get a system2.sin back ?
Cheers.
How to root my xperia s?
Here you go
http://forum.xda-developers.com/showthread.php?p=23868276
Next time try to use search..
Sent from my LT26i using XDA
Please, to root this firmware, i use the same method on this topic?
http://forum.xda-developers.com/showthread.php?p=23868276 (Connect device in fastboot mode (blue LED).
Open Command prompt and type: fastboot flash system system_xps_prerooted_63fw.img - This will give you root immediatly after reboot!)
Or, i need flash stock rom and flash preroot image with Flash tools ? (If yes, with flash tools, the sistem image i place in folder "firmware" ?)
I am asking for help because I am new to this device and did not understand that part.
Already unlocked my bootloader.
Thanks.
joaonds said:
Please, to root this firmware, i use the same method on this topic?
http://forum.xda-developers.com/showthread.php?p=23868276 (Connect device in fastboot mode (blue LED).
Open Command prompt and type: fastboot flash system system_xps_prerooted_63fw.img - This will give you root immediatly after reboot!)
Or, i need flash stock rom and flash preroot image with Flash tools ? (If yes, with flash tools, the sistem image i place in folder "firmware" ?)
I am asking for help because I am new to this device and did not understand that part.
Already unlocked my bootloader.
Thanks.
Click to expand...
Click to collapse
To root just flash this http://forum.xda-developers.com/showthread.php?t=1635582
Sent from my LT26i using Tapatalk 2
gm007 said:
To root just flash this http://forum.xda-developers.com/showthread.php?t=1635582
Sent from my LT26i using Tapatalk 2
Click to expand...
Click to collapse
Thanks for the help.
But I want to make root without changing the kernel (DoomKernel), because I've been reading that has some minor bugs.
The methods I mentioned just above, are correct?
The script given here quite help alot but I'm still blur about root the firmware...
haih...

Categories

Resources