[TOOL] - Supercharger ICS 4.1.B.0.431 - services.odex - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

Hi,
I modified the official nordic ICS 4.1.B.0.431 services.odex to use the supercharger script.
The zip is not a CWM install zip !!
Extract, SAVE and replace the services.odex in : /system/framework and execute in terminal :
cd /system/framework
chown 0.0 services.odex
chmod 644 services.odex
reboot and Supercharge...

Didnt work.. went into bootloop...

I use it and 100 % supercharged !! and I don't have bootloop...
I use official Nordic ICS 4.0.4
Check the file permission, please !

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

[Q] Deodex framework folder

I'm using official MIUI ROM right now and it's odexed. I want to deodex the framework files so I can add something. Yesterday I tried to deodex all the files in /system/framework/ folder by using command like "baksmali -c my-bootclasspath -x blabla.odex" on all of the .odex files in the folder. After finish deodexing all of them, I adb push to my system/framework/ chmod to 644 and rm all .odex files. After that I rebooted my phone and ended stuck in boot logo.
My questions:
1. Do I have to deodex the entire folder or just deodex the .jar related to bootclasspath?
2. Do I have to use "-c bootclasspath" command to deodex .jar that doesn't depends on bootclasspath like com.android.location.provider.jar?
3. Can I just deodex only my framework.jar and android.policy.jar because I only want to edit those two files?
4. Or I need to deodex the entire ROM included my apps??
Please someone help me, I'm a newbie
Sent from my Galaxy Nexus using Tapatalk 2

[Q] Is it possible to deodex a framework.odex and odex it with baksmali/smali?

For some reason I need to deodex a framework.odex, that is the /system/framework/framework.odex.
Look at this, there are 2 files list in /system/framework/:
[email protected]:~/experiement# adb -d shell ls /system/framework/frame*
/system/framework/framework.odex
/system/framework/framework.jar
using baksmali, I need to specify -d <Dir>, where <DIR> is a dir containing framework.jar etc.
Obviously this is a recursive loop.
So Is it possible to deodex framework.odex?
BTW, below are my commands to deodex a framework.odex, and its output.
[email protected]:~/experiement# baksmali -a 15 -x framework.odex -d .
#make some changes to some file in out dir and smali it
[email protected]:~/experiement# smali -a 15 -x -o framework.odex.m out/
[email protected]:~/experiement# file framework.odex*
framework.odex: Dalvik dex file (optimized for host) version 036
framework.odex.m: Dalvik dex file version 036
It sound that framework.odex is an odex file while framework.odx.m is not an odex file.
So If I push framework.odex.m to /system/framework/framework.odex, the phone will not boot, I believe.
Is there a way to turn out dir to a new framework.odex file and push it to /system/framework/framework.odex, and the phone will boot OK?
whogiawho said:
It sound that framework.odex is an odex file while framework.odx.m is not an odex file.
So If I push framework.odex.m to /system/framework/framework.odex, the phone will not boot, I believe.
Click to expand...
Click to collapse
I bricked my phone that way.
The smali will not create an odex file, its a dex file.
(Yet, the baksmali will actually read an odex, strange enough.)
You should copy the dex as classes.dex one into the original jar (with 7zip).
If you want the odex you need to "dexopt-wrapper" this new jar (with the classes.dex inside).
I dont think you need the odex for your new jar to work, the classes.dex inside the new framework.jar should suffice. As long as you replace the original framework.jar with with your new jar and delete the original framework.odex. (which no longer fits your new framework.jar anyhow)
Creating the new ODEX on top is optional.
In fact I did all that and it still bricked my phone

How to install Busybox for deodexed zipaligned rom

If i deodexed and zipaligned a new rom. Then I copied the xbin folder, inside the folder is busybox, dexdump and su and copied the superuser.apk to the system/app folder and created a flashable zip. Does it mean when I flash the zip file I already have a rom with busybox and rooted with super user?

A Great Method to Deodex odex files Hope it works on 2011 xperia's

For all Dev's,
After days of searching for a way to deodex my stock XMP stock ics to flash the nice MOD's
didn't find any way easyer and better than this one aimd to galaxy samsungs
so i've download the attached file and checked it and found nothing says its for galaxy only so i ask the great Dev's here to take alook at it and find or even
test it so if it worked for us would be an easy pr to do this long lines and commands for us new users
and in the tut its like this
"For ICS Roms, the process is quite easy. (Thanks and Credits to jaydvn.)
Download the attached zip file.
Extract it on your windows PC.
Copy your /system/app to _app folder
Copy your /system/framework to _framework folder.
Run AutoDEOToolMain.bat
Follow the instructions.
deodexed jars and apks will be found in deodexed_APK and deodexed_JAR.
Push deodexed app and framework to device:
Connect your device to PC in USB debugging mode.
Copy deodexed_APK and deodexed_JAR folders to root of sdcard (/sdcard).
Open Windows command prompt and type the below commands.
Code:
adb shell
su
stop
mount -o remount,rw /dev/block/mmcblk0p9 /system
rm /system/app/*.odex
rm /system/framework/*.odex
busybox cp /sdcard/deodexed_APK/* /system/app/
busybox cp /sdcard/deodexed_JAR/* /system/framework/
chmod 644 /system/app/*
chmod 644 /system/framework/*
mount -o remount,ro /dev/block/mmcblk0p9 /system
sync
reboot recovery
In Recovery, Wipe Cache and Wipe Data/Factory reset.
Reboot.
Done. "
endof"ing.
caution
: the above tut, is for some galaxy it might not work on our devices
and took from the fowloing linked thread by: superatmos thanks for Him
http://forum.xda-developers.com/showthread.php?t=1587482
again our dev's PLZ make it work for us
and I'm willing to try it my self on my phone
just waiting for the green light
big thanks in advance for all of you.
and the credit goes to the creater of this great MOD.
Forgive my lame inglish and be easy on me this is my 1st real thread.
and if the post doesn't look good that is because I'm blind and using a screen reader and can't realy look at it..
chears.
dark4m said:
and I'm willing to try it my self on my phone
Click to expand...
Click to collapse
Great, let us know how you get on. deodex stock rom
dark4m said:
For all Dev's,
After days of searching for a way to deodex my stock XMP stock ics to flash the nice MOD's
didn't find any way easyer and better than this one aimd to galaxy samsungs
so i've download the attached file and checked it and found nothing says its for galaxy only so i ask the great Dev's here to take alook at it and find or even
test it so if it worked for us would be an easy pr to do this long lines and commands for us new users
and in the tut its like this
"For ICS Roms, the process is quite easy. (Thanks and Credits to jaydvn.)
Download the attached zip file.
Extract it on your windows PC.
Copy your /system/app to _app folder
Copy your /system/framework to _framework folder.
Run AutoDEOToolMain.bat
Follow the instructions.
deodexed jars and apks will be found in deodexed_APK and deodexed_JAR.
Push deodexed app and framework to device:
Connect your device to PC in USB debugging mode.
Copy deodexed_APK and deodexed_JAR folders to root of sdcard (/sdcard).
Open Windows command prompt and type the below commands.
Code:
adb shell
su
stop
mount -o remount,rw /dev/block/mmcblk0p9 /system
rm /system/app/*.odex
rm /system/framework/*.odex
busybox cp /sdcard/deodexed_APK/* /system/app/
busybox cp /sdcard/deodexed_JAR/* /system/framework/
chmod 644 /system/app/*
chmod 644 /system/framework/*
mount -o remount,ro /dev/block/mmcblk0p9 /system
sync
reboot recovery
In Recovery, Wipe Cache and Wipe Data/Factory reset.
Reboot.
Done. "
endof"ing.
caution
: the above tut, is for some galaxy it might not work on our devices
and took from the fowloing linked thread by: superatmos thanks for Him
http://forum.xda-developers.com/showthread.php?t=1587482
again our dev's PLZ make it work for us
and I'm willing to try it my self on my phone
just waiting for the green light
big thanks in advance for all of you.
and the credit goes to the creater of this great MOD.
Forgive my lame inglish and be easy on me this is my 1st real thread.
and if the post doesn't look good that is because I'm blind and using a screen reader and can't realy look at it..
chears.
Click to expand...
Click to collapse
This is actually not that bad looking a post. Well done!
Wouldn't you still need to delete the odex files from your rom?
Sent from my SK17i using xda premium
1st,
Thanks alot for replying
& yes I'll see how to delete them odex files in other tut or thread or if did'nt find it will ask how to
but the way the galaxy devs did it looks good and easy to use for me
since it needs sited help and i like to do such things my self if possible.

Categories

Resources