http://forum.xda-developers.com/showthread.php?t=2390162
hi sir .. how are you? I'm glad you are here
fendytrancers89 said:
hi sir .. how are you? I'm glad you are here
Click to expand...
Click to collapse
Fine, thanks and u?
Inviato dal mio GT-S5570
Soo question, can we install a ROM, then modify/theme the hell out of it and then codex with your tool without noticing difference?
Sent from my GT-I8160 using xda app-developers app
Needed to run it twice for odexed system. While script were at Phone.apk, phone just reboot and I needed to run it second time to finish rest of the apps what weren't odexed.
Msiiek said:
Needed to run it twice for odexed system. While script were at Phone.apk, phone just reboot and I needed to run it second time to finish rest of the apps what weren't odexed.
Click to expand...
Click to collapse
it dipends by smartphone... this isn't a bug of script. phone is going to protect system...
Inviato dal mio GT-S5570
I didn't think that was bug, but I'm only saying BTW Thanks!
MatrixDJ96 said:
Fine, thanks and u?
Inviato dal mio GT-S5570
Click to expand...
Click to collapse
Fine sir .. congratulations and success for you ..
thanks
i tryied on jelly bean... signature error ... why ?
b0g said:
i tryied on jelly bean... signature error ... why ?
Click to expand...
Click to collapse
signature error? can you make a screenshot?
my tablet this rooted, but no cwm. using the stock recovery tells me wrong. Is there any way to install your tool? thanks
Enviado desde mi B1-A71 usando Tapatalk 2
jordirpz said:
my tablet this rooted, but no cwm. using the stock recovery tells me wrong. Is there any way to install your tool? thanks
Enviado desde mi B1-A71 usando Tapatalk 2
Click to expand...
Click to collapse
1-unzip file zip in sdcard
2-copy dir system in /system with root explorer
3-set perm 644 of AndroidTerm.apk in system/app
4-set perm 777 of dexo in system/bin
5-set perm 777 of dexopt-wrapper in system/bin
6-set perm 644 of libjackpal-androidterm4.so in system/lib
7-set perm 777 of busyodex in system/xbin
8-set perm 777 of zip in system/xbin
9-set perm 777 of zipalign in system/xbin
10-reboot
Open terminal emulator and odex your rom!
(ps:stock rom are already odexed,around 80%)
Ok thanks.
But i dont know what is permission 644 and 777.
Can you help me please?
Enviado desde mi B1-A71 usando Tapatalk 2
jordirpz said:
Ok thanks.
But i dont know what is permission 644 and 777.
Can you help me please?
Enviado desde mi B1-A71 usando Tapatalk 2
Click to expand...
Click to collapse
sorry
permission 644 is rw-r--r--
permission 777 is rwxrwxrwx
jordirpz said:
Ok thanks.
But i dont know what is permission 644 and 777.
Can you help me please?
Enviado desde mi B1-A71 usando Tapatalk 2
Click to expand...
Click to collapse
Image 1 is for permission 644
Image 2 is for permission 777
hi, is necessary busybox installed?
---------- Post added at 08:52 PM ---------- Previous post was at 08:51 PM ----------
because i have bootlop
jordirpz said:
hi, is necessary busybox installed?
---------- Post added at 08:52 PM ---------- Previous post was at 08:51 PM ----------
because i have bootlop
Click to expand...
Click to collapse
it is necessary to odex the rom!
if you phone stuck in booloop you must reinstall the rom and try to odex only bootstrap (dexo -bs)
Update v4.2.3
Changelog:
Universal Odex Script Version 4.2.3
- Add Command dexo -dat To Odex App In Data
is it possible to call this tool from adb shell?
i unzipped your tool and copied all the binaries to either /system/bin or /system/xbin
i left terminal apk away because i'm doing it from adb shell.
i tried it, but i'm getting this:
adb shell
[email protected]:/ $ su
[email protected]:/ # dexo -all
/system/bin/dexo[587]: clear: not found
/system/bin/dexo[587]: grep: not found
Universal Odex
Version 4.2.3
/system/bin/dexo[587]: grep: not found
Unknown Rom
/system/bin/dexo[587]: grep: not found
Unknow Android Version
Mounting File System...
Setting Variable and Costant...
/system/bin/dexo[587]: sed: not found
/system/bin/dexo[587]: sed: not found
BOOTCLASSPATCH: /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/mediatek-common.jar:/system/framework/mediatek-framework.jar:/system/framework/mediatek-op.jar:/system/framework/secondary-framework.jar:/system/framework/CustomProperties.jar
BOOTSTRAP:
Grepping preloaded-classes...
/system/bin/dexo[587]: unzip: not found
Impossible unzip framework to grep preloaded-classes!
Exiting...
Click to expand...
Click to collapse
thanks in advance!
entonjackson said:
is it possible to call this tool from adb shell?
i unzipped your tool and copied all the binaries to either /system/bin or /system/xbin
i left terminal apk away because i'm doing it from adb shell.
i tried it, but i'm getting this:
thanks in advance!
Click to expand...
Click to collapse
You can call my script from adb i see that you have a problem...
Write this command on adb:
su
cd system/xbin
busybox cp -r busybox bb1
busybox cp -r busyodex busybox
busybox --help | busybox grep 'Currently defined functions:' -A300 | busybox grep -v 'Currently defined functions:' | busybox tr , '\n' | busybox xargs -n1 busybox ln -s busybox
cp -r bb1 busybox
rm bb1
Now you can type dexo -all
Sent from my GT-S5570 using xda app-developers app
Related
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
Get superuser whitelist. I pulled mine off a rooted Galaxy Tab:
Code:
linux$ adb pull /system/app/Superuser.apk
linux$ adb pull /system/bin/su
From a machine with ADB working, and communicating with your Nook:
Install Superuser.apk, and copy the su binary to /data/local:
Code:
linux$ adb install Superuser.apk
linux$ adb push su /data/local/
Shell into the Nook, remount the system partition read/write, and install the su utility to /system/bin:
Code:
linux$ adb shell
# cd /system/bin
# mount -o remount,rw /dev/block/mmcblk0p5 /system
# cat /data/local/su > su
# chmod 6755 su
# ls -l su
-rwsr-sr-x root root 26264 2010-12-01 10:27 su
#
reboot Nook Color to get Superuser to show up in "extras." Now, you can get root from inside the Better Terminal Emulator Pro shell.
Thanks for the info. Just a quick note that on Cyanogenmod 6.1 RC2 (Nexus One), the su binary is actualy at /system/xbin/su rather than /system/bin/su
hharte said:
Get superuser whitelist. I pulled mine off a rooted Galaxy Tab:
Code:
linux$ adb pull /system/app/Superuser.apk
linux$ adb pull /system/bin/su
From a machine with ADB working, and communicating with your Nook:
Install Superuser.apk, and copy the su binary to /data/local:
Code:
linux$ adb install Superuser.apk
linux$ adb push su /data/local/
Shell into the Nook, remount the system partition read/write, and install the su utility to /system/bin:
Code:
linux$ adb shell
# cd /system/bin
# mount -o remount,rw /dev/block/mmcblk0p5 /system
# cat /data/local/su > su
# chmod 6755 su
# ls -l su
-rwsr-sr-x root root 26264 2010-12-01 10:27 su
#
reboot Nook Color to get Superuser to show up in "extras." Now, you can get root from inside the Better Terminal Emulator Pro shell.
Click to expand...
Click to collapse
Thank you, very useful instruction!
Couple of questions though:
1. Any public repo where the working in NC Superuser.apk could be downloaded from? Not everyone out of NC owners owns Galaxy Tab.
2. More elaboration on "whitelist", please
3. If possible, show some example why someone might need this. I'd rather try to edit build.prop: pixel density, whatever, plus changing stock system Droid Sans into, say, much more beautifil Segoe WP. But it's just me though.
Thank you
aludal said:
Thank you, very useful instruction!
Couple of questions though:
1. Any public repo where the working in NC Superuser.apk could be downloaded from? Not everyone out of NC owners owns Galaxy Tab.
2. More elaboration on "whitelist", please
3. If possible, show some example why someone might need this. I'd rather try to edit build.prop: pixel density, whatever, plus changing stock system Droid Sans into, say, much more beautifil Segoe WP. But it's just me though.
Thank you
Click to expand...
Click to collapse
For #3, somebody may want to replace system fonts to support other languages than English. I have done that to Android 2.1 phones too.
aludal said:
Thank you, very useful instruction!
Couple of questions though:
1. Any public repo where the working in NC Superuser.apk could be downloaded from? Not everyone out of NC owners owns Galaxy Tab.
Thank you
Click to expand...
Click to collapse
Here you go: http://forum.xda-developers.com/showthread.php?t=665974
hharte said:
Get superuser whitelist. I pulled mine off a rooted Galaxy Tab:
linux$ adb pull /system/bin/su
Click to expand...
Click to collapse
Thanks Man, this was the part i didn't get and it's working now
PTzero said:
Here you go: http://forum.xda-developers.com/showthread.php?t=665974
Click to expand...
Click to collapse
So I installed this version of the Superuser apk but it seems to be an old version (2.0.3) with the ninja icon.
The latest version is 2.3.6.1 but I can't seem to get it to install (INSTALL_FAILED_UPDATE_INCOMPATIBLE).
Which is the latest version of Superuser apk that works with nC that has the 'Android Skull and Crossbones' icon and does anyone have the apk?
califrag said:
So I installed this version of the Superuser apk but it seems to be an old version (2.0.3) with the ninja icon.
The latest version is 2.3.6.1 but I can't seem to get it to install (INSTALL_FAILED_UPDATE_INCOMPATIBLE).
Which is the latest version of Superuser apk that works with nC that has the 'Android Skull and Crossbones' icon and does anyone have the apk?
Click to expand...
Click to collapse
That's odd. I was able to install 2.3.6.1 with no problem. I pulled it the apk off my Nexus One.
dark79 said:
That's odd. I was able to install 2.3.6.1 with no problem. I pulled it the apk off my Nexus One.
Click to expand...
Click to collapse
Could you pull and post your Superuser apk and your /system/bin/su file? I don't have a nexus one and when I tried using the Superuser apk and su file from the cyanogen 6.0 Nexus ROM it didn't seem to work either
EDIT:
Nevermind I got it working using the files attached (latest version 2.3.6.1)
(from here: http://forum.xda-developers.com/showthread.php?t=682828)
I also noticed that it had to grant itself Superuser permissions when I hit the "settings" tab. Under the settings tab I also noticed my 'su' version was 'original' and there was an update available which changed it to version '2.3.1-ef'. Not sure if this needs to be done for it to work right or not but thought I should mention it.
Will this work on just linux or windows?
You can do it on windows using ADB
califrag said:
Could you pull and post your Superuser apk and your /system/bin/su file? I don't have a nexus one and when I tried using the Superuser apk and su file from the cyanogen 6.0 Nexus ROM it didn't seem to work either
EDIT:
Nevermind I got it working using the files attached (latest version 2.3.6.1)
(from here: http://forum.xda-developers.com/showthread.php?t=682828)
I also noticed that it had to grant itself Superuser permissions when I hit the "settings" tab. Under the settings tab I also noticed my 'su' version was 'original' and there was an update available which changed it to version '2.3.1-ef'. Not sure if this needs to be done for it to work right or not but thought I should mention it.
Click to expand...
Click to collapse
What did you do to get this? I tried installing using ADB and Android Commander. I get the same error that says INCOMPATIBLE. This is the only program giving me issues.
sminker said:
What did you do to get this? I tried installing using ADB and Android Commander. I get the same error that says INCOMPATIBLE. This is the only program giving me issues.
Click to expand...
Click to collapse
Make sure to download the 'eclair\froyo' version.
this is the file im using
su-2.3.6.1-ef-signed
i did have it installed once and uninstalled, but now i cant reinstall it
sminker said:
this is the file im using
su-2.3.6.1-ef-signed
i did have it installed once and uninstalled, but now i cant reinstall it
Click to expand...
Click to collapse
use adb shell and go into /data/data and do an 'ls'
remove any directory there that looks like 'com.noshofou'
i was able to use z4root to get it installed
when I do:
cat /data/local/su > su
I get:
Cannot create su: remote access failed
Is there a Windows tutorial for how to install Super User on the NC or an apk that does the same thing?
Is there any advantage to put the binary into xbin versus bin
discourse said:
Is there a Windows tutorial for how to install Super User on the NC or an apk that does the same thing?
Click to expand...
Click to collapse
I would like a windows walkthrough also
Guys,
When I go into terminal and type 'SU' to use Imo's kernel speedtweaks, I get 'permission denied'...
Any help would be appreciated.
Thanks!
Check your superuser app to make sure it isn't set to deny su permissions to terminal emulator.
Sent from my ADR6400L using XDA App
jwterminator said:
Check your superuser app to make sure it isn't set to deny su permissions to terminal emulator.
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
All I have are allowed apps.... I am accessing terminal emulator thru the bamf toolkit which is set to allow.
check to see if su even exists (probably under /system/xbin, but maybe under /system/bin as well).
after you find it, see what the permissions are on it (ls -l -a su)
yareally said:
check to see if su even exists (probably under /system/xbin, but maybe under /system/bin as well).
after you find it, see what the permissions are on it (ls -l -a su)
Click to expand...
Click to collapse
Found it in system\xbin....how do I check permissions? Long press on it only gives me send,move,copy,rename or delete.
Thanks for your help!
tazman19 said:
Found it in system\xbin....how do I check permissions? Long press on it only gives me send,move,copy,rename or delete.
Thanks for your help!
Click to expand...
Click to collapse
open up the terminal emulator command line (if you dont have a terminal emulator, search for one in the market), then type:
ls -l /system/xbin/su
or
busybox -l /system/xbin/su
then paste the results
*just a note for your own reference, linux/unix use forward slashes (/) for directories, not backwards (\) like windows
yareally said:
open up the terminal emulator command line (if you dont have a terminal emulator, search for one in the market), then type:
ls -l /system/xbin/su
or
busybox -l /system/xbin/su
then paste the results
*just a note for your own reference, linux/unix use forward slashes (/) for directories, not backwards (\) like windows
Click to expand...
Click to collapse
Wierd...its saying no such file or directory...but in file manager, its there!
File size is 25.65KB
You are not typing it in all caps are you? Linux is case-sensitive.
if you did the later command, i meant:
busybox ls -l /system/xbin/su
had a typo
they should be the same, unless somehow linking is messed up on your system, so i mentioned doing it both ways, since android has a more stripped down version of ls built into the phone that isn't as great.
like the post before mentioned...no caps.
Beastclaw said:
You are not typing it in all caps are you? Linux is case-sensitive.
Click to expand...
Click to collapse
+1
Make sure your in lower case
Sent from a cellular telephone
Beastclaw said:
You are not typing it in all caps are you? Linux is case-sensitive.
Click to expand...
Click to collapse
+1000000
-rwsr -sr -x root root 26264 2008-08-01 08:00 su
tazman19 said:
+1000000
-rwsr -sr -x root root 26264 2008-08-01 08:00 su
Click to expand...
Click to collapse
Bumping message to front.
jwterminator said:
Check your superuser app to make sure it isn't set to deny su permissions to terminal emulator.
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
Thanks a lot! it worked
**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/applicationsmake 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/applicationsmake 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...
I think this should really be linked here.
http://forum.xda-developers.com/showthread.php?t=2320283
Just done it, after loosing root while accidentally updating to r5a i can confirm i gained root again with that!
I guess thats kind of cool and should be implemented in the all in one rooting stuff and everything
Here you can find a little zipfile with all the needed Files and a README which describes How-To do it:
https://d1sturbed.org/android/root-r5a-v3.zip
there is also a v4, which contains a new binary and a new script...on Linux you now can just unzip the v4 and then execute doit.sh (perhaps someone can pass me a doit.bat or something, i guess it could run as a batch file for windows, but since i'm to sleepy and lazy to reboot into windows it's untestet. but you can try by removing the first line and rename to .bat)
https://d1sturbed.org/android/root-r5a-v4.zip
Procedure
Expand where appropriate the android_run_root_shell-test.zip, to libdiagexploit of android_run_root_shell-test.zip within the deployment just the "Android.mk", "diag.c", "diag.h" of libdiagexploit-master.zip deployment.
Go to the folder where you extracted the android_run_root_shell-test.zip from the terminal,
> Ndk-build NDK_PROJECT_PATH =. APP_BUILD_SCRIPT =. / Android.mk
Type.
Run_root_shell is created in "android_run_root_shell-master/obj/local/armeabi" Then.
Expand to "android_run_root_shell-master/obj/local/armeabi" the su and Superuser.apk from UPDATE-SuperSU-v1.30.zip, busybox also be moved to the same folder.
From terminal
> Adb push run_root_shell / data / local / tmp
> Adb push su / data / local / tmp
> Adb push Superuser.apk / data / local / tmp
> Adb push busybox / data / local / tmp
> Adb shell
$ Cd / data / local / tmp
$ Chmod 777 run_root_shell
$ Chmod 755 busybox
$. / Run_root_shell
# / Data / local / tmp / busybox mount-o rw, remount / system
# / Data / local / tmp / busybox cp / data / local / tmp / su / system / xbin
# / Data / local / tmp / busybox cp / data / local / tmp / Superuser.apk / system / app
# Chown 0.0 / system / xbin / su
# Chmod 6755 / system / xbin / su
# / Data / local / tmp / busybox mount-o ro, remount / system
# Sync
# Exit
Is over. It would help to delete the ones that you push to / data / local / tmp afterward.
> Adb shell
$ Rm / data / local / tmp / run_root_shell
$ Rm / data / local / tmp / su
$ Rm / data / local / tmp / Superuser.apk
$ Rm / data / local / tmp / busybox
Sent from my Sony Tablet S using xda app-developers app
---------- Post added at 08:51 AM ---------- Previous post was at 08:44 AM ----------
Get files from here
fi01/android_root_shell at test https://github.com/fi01/android_run_root_shell/tree/test
hiikezeo/libdiagex ploit https://github.com/hiikezoe/libdiagexploit
Update-SuperSU-v1.3.zip http://forum.xda-developers.com/showthread.php?t=1538053
Busybox for android http://benno.id.au/blog/2007/11/14/android-busybox
Note: translation provided by google translate so there may be some mistakes
Sent from my Sony Tablet S using xda app-developers app
i've made a small archive with a little README and a root.sh script, so you can just push everything from the archive to /data/local/tmp/ and execute root.sh
hope that's okay, if not tell me and i delete!
[removed old file, added new one with another post]
http://forum.xda-developers.com/showthread.php?p=42485765
smokey_joe said:
i've made a small archive with a little README and a root.sh script, so you can just push everything from the archive to /data/local/tmp/ and execute root.sh
hope that's okay, if not tell me and i delete!
Click to expand...
Click to collapse
Its fine. Will give it a try soon
Edit 1: is this only for linux?
Sent from my GT-S5830 using xda app-developers app
jumper62 said:
Its fine. Will give it a try soon
Edit 1: is this only for linux?
Click to expand...
Click to collapse
no, it does not include adb or anything.
You need working adb for you OS and the zip file.
I just extracted the needed stuff from the linked projects (Superuser and busybox), added a little shell script that copies the apk and the binaries..
and while writing this post i've seen that i didn't install the busybox binary at all...so i fixed this with v2, added with this post... i also updated the README as i forgot to mention that run_root_shell and root.sh have to get executable bit
smokey_joe said:
no, it does not include adb or anything.
You need working adb for you OS and the zip file.
I just extracted the needed stuff from the linked projects (Superuser and busybox), added a little shell script that copies the apk and the binaries..
and while writing this post i've seen that i didn't install the busybox binary at all...so i fixed this with v2, added with this post... i also updated the README as i forgot to mention that run_root_shell and root.sh have to get executable bit
Click to expand...
Click to collapse
Thanks a lot - I try that when I'm at home in the evening. Greetings from Mannheim to Aachen.
tried both v1 and v2. neither work.
jumper62 said:
tried both v1 and v2. neither work.
Click to expand...
Click to collapse
yeah...i worked on this after my phone was rooted and i changes some permissions by hand etc...the busybox binary was chmodded to late...but i cannot see much on the small screenshot, tell me if there are other problems, attached v3
tried to look at your screenshot i saw you tried to execute the shellscript on the windows system? you really should read the README...you have to push the files to the device, everything from the zip file...and after that get a shell via adb shell and then you can execute the run_root_shell and after that the root.sh skript to finally install superuser.apk / busybox and su commands
smokey_joe said:
tried to look at your screenshot i saw you tried to execute the shellscript on the windows system? you really should read the README...you have to push the files to the device, everything from the zip file...and after that get a shell via adb shell and then you can execute the run_root_shell and after that the root.sh skript to finally install superuser.apk / busybox and su commands
Click to expand...
Click to collapse
How can you push files into data/local/tmp without root?
xenoisme said:
How can you push files into data/local/tmp without root?
Click to expand...
Click to collapse
you could always....as far as i know it's the only place in the system where you can put files and make them executable. This was used by every exploit (i used) on my TabletP.
xenoisme said:
How can you push files into data/local/tmp without root?
Click to expand...
Click to collapse
Exactly. All i got was permission denied. ADB drivers are installed. USB debugging is also enabled
Sent from my Sony Tablet S using xda app-developers app
jumper62 said:
Exactly. All i got was permission denied. ADB drivers are installed. USB debugging is also enabled
Sent from my Sony Tablet S using xda app-developers app
Click to expand...
Click to collapse
what's the step after ./run_root_shell
smokey_joe said:
tried to look at your screenshot i saw you tried to execute the shellscript on the windows system? you really should read the README...you have to push the files to the device, everything from the zip file...and after that get a shell via adb shell and then you can execute the run_root_shell and after that the root.sh skript to finally install superuser.apk / busybox and su commands
Click to expand...
Click to collapse
is it okay?
Done it! thank you very much
Sent from my Sony Tablet S using xda app-developers app
xenoisme said:
View attachment 2037095
is it okay?
Click to expand...
Click to collapse
Yh. I got that but just carry on and it will work
Sent from my Sony Tablet S using xda app-developers app
xenoisme said:
is it okay?
Click to expand...
Click to collapse
looks good, after that you could install Superuser.apk/su/busybox by yourself or use execute root.sh ./root.sh to do it automatically...you can verify that you are root by using the command "id" but the root.sh script checks if your user id is 0 (root)
smokey_joe said:
looks good, after that you could install Superuser.apk/su/busybox by yourself or use execute root.sh ./root.sh to do it automatically...you can verify that you are root by using the command "id" but the root.sh script checks if your user id is 0 (root)
Click to expand...
Click to collapse
it's okay now, thanks very much
rooted!
Android 4.0.3 R5A finally rooted!!! Thank you so much, smokey_joe! :good:
Maybe I can help others now also.
smokey_joe said:
yeah...i worked on this after my phone was rooted and i changes some permissions by hand etc...the busybox binary was chmodded to late...but i cannot see much on the small screenshot, tell me if there are other problems, attached v3
Click to expand...
Click to collapse
after i installed this driver package, it worked on the first try.
http://forum.xda-developers.com/showthread.php?t=1488822&highlight=drivers
thanks!