Related
Hi,
since a few days I have my first andriod mobile the HTC Hero. I have rooted it and everything works fine.
However, I found several interesting images for the G1 (JesusFreke or CyanogenMOD and so on). I suppose that they will not run on the HTC Hero :-( (yet). Sombody know if there is someone working on it? A google search is not that easy because the most roms are based on the HTC Hero sence and so you can easy find 100 hits with hero but all roms are not for the hero itself.
Does somebody have busybox running on the hero? I searched for a while but found nothing Hero specific. My first try to use a exiting manual for G1 did not work without problems. The most manuals are old and suggest to use a custom rom which include busybox.
Maybe someone has a hint for me
I want to test debian but the istaller use cp and so on. So busybox is a good starting point.
Cheers
Visios
download the attachment (busybox taken from cyanogen's rom), extract busybox and copy it to sdcard, then (if you have root):
Code:
adb shell
su
mount -o remount,rw /dev/block/mtdblock3 /system
dd if=/sdcard/busybox of=/system/bin/busybox
chmod 4755 /system/bin/busybox
mount -o remount,ro /dev/block/mtdblock3 /system
enlightener said:
download the attachment (busybox taken from cyanogen's rom), extract busybox and copy it to sdcard, then (if you have root):
Code:
adb shell
su
mount -o remount,rw /dev/block/mtdblock3 /system
dd if=/sdcard/busybox of=/system/bin/busybox
chmod 4755 /system/bin/busybox
mount -o remount,ro /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
tx for your info and the extracted busybox bin. It worked without any problem.
Do you have tried to use busybox install and export the path ?
enlightener said:
download the attachment (busybox taken from cyanogen's rom), extract busybox and copy it to sdcard, then (if you have root):
Code:
adb shell
su
mount -o remount,rw /dev/block/mtdblock3 /system
dd if=/sdcard/busybox of=/system/bin/busybox
chmod 4755 /system/bin/busybox
mount -o remount,ro /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
when i type adb shell it says
adb permission denied..
Help please
Yeah, I could google it but I'll just ask here instead, busybox - what's it good for?
It provides a lot of the standard Linux/Unix utilities - such as cp, rm, df, ls, ps, grep, etc. The toolbox program provided in the HTC ROM is a "crippled" replacement for busybox and doesn't have some of the functionality. For example, Market Enabler doesn't work with the stock ROM because toolbox doesn't provide the grep utility.
BlueHawk said:
It provides a lot of the standard Linux/Unix utilities - such as cp, rm, df, ls, ps, grep, etc. The toolbox program provided in the HTC ROM is a "crippled" replacement for busybox and doesn't have some of the functionality. For example, Market Enabler doesn't work with the stock ROM because toolbox doesn't provide the grep utility.
Click to expand...
Click to collapse
Oh, I see. Well explained, sir!
Busybox 1.15.3 for android for anyone interrested:
Code:
[URL="http://www.mediafire.com/?wcknmnhtin0"]http://www.mediafire.com/?wcknmnhtin0[/URL]
Does anybody know what version of Busybox is in the original post?
And if I want to upgrade, should I just follow the instructions over again with the newer version?
enlightener said:
download the attachment (busybox taken from cyanogen's rom), extract busybox and copy it to sdcard, then (if you have root):
Code:
adb shell
su
mount -o remount,rw /dev/block/mtdblock3 /system
dd if=/sdcard/busybox of=/system/bin/busybox
chmod 4755 /system/bin/busybox
mount -o remount,ro /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
Sorry for the newb question but... where do I type this stuff?
jpmi23 said:
Sorry for the newb question but... where do I type this stuff?
Click to expand...
Click to collapse
on a command line on your pc. this is not the right place to start for you, get a guide on how to setup adb on your pc first.
Wow. "abd". That's a new term now isn't it.
Ok. I'll skip it. Just looking to control my Samsung Moment on my PC like I was able to with my WM phones.
I'll keep looking around. Thanks for the help.
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
Hi,
I was wondering if OpenVPN is supported out of the box and if not, is there a possibility to make it work?
Searched the forum but couldn't find any specific info..
thanks in advance!
EDIT:
I created an update.zip which is posted in this thread
Not supported out of the box... it's baked into CM7 but obviously that's a custom rom! There's OpenVPN apps on the market but they require a rooted device. The one I've found to work the best was OpenVPN Settings (not the SGS2) but it requires the openvpn binary to be installed somehow first...
I'm using OpenVPN Settings on a CM based rom now (HTC Hero) From what I remember it needs tun.ko support in the kernel
Don't know if the default kernel has this..
Sent from my HTC Hero using Tapatalk
I had rooted my gs2 and installed openvpn binary, openvpn settings works.
but always see "FATAL: Linux ifconfig failed: could not execute external program".
Who can tell me why?
I remember I had the same issue a long time back before I was using CM based roms
Can't remember what but will try to look it up this weekend as I'm curious about the result
really need OpenVPN wheb I get my SGSII
Sent from my HTC Hero using Tapatalk
tux
Sent from my Nexus One
diesiren said:
ifconfig failed: could not execute external program
Click to expand...
Click to collapse
this seems to mean that OpenVPN is looking for ifconfig in the wrong place
you should connect your phone through usb and start adb shell
then type (change openvpn.conf to the conf file you are using)
Code:
openvpn --config /sdcard/openvpn/openvpn.conf
if you launch the command above there will some messages in the shell window
you should look for ifconfig
/system/xbin/bb/ifconfig tap0 192.168.1.40 netmask 255.255.255.0 mtu 1500 broadcast 192.168.1.255
Click to expand...
Click to collapse
now you know the path where OpenVPN is looking for ifconfig and where it can't find it (/system/xbin/bb/ifconfig)
now type the command below to locate where ifconfig is on your rom
Code:
which ifconfig
this could be for example
/system/xbin/ifconfig
Click to expand...
Click to collapse
now type the commands below in adb shell (ln -s <correct path> <incorrect path>)
Code:
cd /system/xbin
ln -s /system/xbin /system/xbin/bb
this will create a correct link for ifconfig and route commands
I have not tested it myself as I flashed a CM rom shortly after
but if you replace the values with your values it should work fine and not do any harm
if you get it to work could you please let me know?
thanks!
S2 is not in my hand right now. I'll try it tomorrow and thank you very much.
Sent from my Nexus One
OpenVPN works fine now and thx Gawis!!
This is my steps
1. Flashing Firmware with Odin (guide)
2. Root My S2, and busybox installed with SuperOneClick (guide)
3. Download OpenVPN File download and extract
4. Use adb tools
Code:
adb remount
adb push openvpn-static-2.1.1 /system/xbin/openvpn
adb shell
# chmod 775 /system/xbin/openvpn
# mkdir /system/xbin/bb
# ln -s /system/xbin/busybox /system/xbin/bb/ifconfig
# ln -s /system/xbin/busybox /system/xbin/bb/route
5. Download and install OpenVPN Settings From Android Market
6. Upload My config files to USBstorage.The path is /sdcard/openvpn/
7. Flashing StockKernel with Odin (guide)
over~
Sorry for my poor English~
Hi diesiren,
thanks for confirming and putting up the guide!
I'm really glad it works, hope to have my phone nex week or the week after and will try this one myself then!
diesiren said:
Code:
adb remount
adb push openvpn-static-2.1.1 /system/xbin/openvpn
adb shell
# chmod 775 /system/xbin/openvpn
# mkdir /system/xbin/bb
# ln -s /system/xbin/busybox /system/xbin/bb/ifconfig
# ln -s /system/xbin/busybox /system/xbin/bb/route
Click to expand...
Click to collapse
I just got my OpenVPN working on my SGSII!
I just rooted it with CF-Root 3.7 and then pushed the openvpn binary and executed the commands you posted
thanks for the guide!
I'm having problems getting openVPN to work.
I have adb pushed openvpn-static-2.1.1 to system/xbin already.
But when i adb shell, the result is "sh:applet not found"
I am 100% I am rooted. I am running root explorer, titanium backup, have busybox installed, and superuser.
Any advice would be extremely helpful.
Thanks!
Hmmm, haven't experienced any issues like that with adb yet so can't comment on that...
I created an update.zip for the whole thing a few days ago...
Are you running a custom rom? If so which one?
Am planning to post the update.zip here later...
I tested it with Cognition and CM7...
Sent from my GT-I9100 using Tapatalk
I just uploaded the update.zip in this thread
Gawis said:
Hmmm, haven't experienced any issues like that with adb yet so can't comment on that...
I created an update.zip for the whole thing a few days ago...
Are you running a custom rom? If so which one?
Am planning to post the update.zip here later...
I tested it with Cognition and CM7...
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
I'm on Exynos v3.6 ROM.
I saw your thread. Thanks for the zip, bro. Very much appreciated.
Thanks for the help! I found that I had to first remount in read/write mode the /system directory as mine was read-only.
Ran the code below to do this:
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Hey...
I have a similar issue. My SGS2 already is connected to the openVPN but i can't connect to an other client at the vpn. So no Ping, no tracerroute or (most important) telnet connection. I think it might be something about the routing but I don't find a hint on any forum.
Hi there, i installed a custom rom with dt a2sd and i still have problems installing apps from market that are too big. My cache partition is only 24mb and the market uses this partition to download apps... There's a way to increase or modify this partition?
Galaxy Ace 2.3.4 with Ginger Real 1.4
Thanks
Nope . Your only choice is to make a sd-ext partition and move all your apps and Dalvik-cache to it .
Forever living in my Galaxy Ace using XDA App
GingerReal did that for me, so i can install many apps now but not big apps?
Dante Smith said:
Hi there, i installed a custom rom with dt a2sd and i still have problems installing apps from market that are too big. My cache partition is only 24mb and the market uses this partition to download apps... There's a way to increase or modify this partition?
Galaxy Ace 2.3.4 with Ginger Real 1.4
Thanks
Click to expand...
Click to collapse
Just type these command in terminal emulator app
Code:
mkdir /mnt/sdcard/market-download
su
cd /cache
mv download download.bak
ln -s /mnt/sdcard/market-download download
ls -ahl
it should work for any rooted galaxy ace
Command
Code:
mv download download.bak
returns this
Code:
failed on 'download' - No such file or directory
And
Code:
ln -s /mnt/sdcard/market-download
Returns
Code:
ln [-s] <target> <name>
are you in /cache folder
type ls -ls in terminal and check for download folder if it is not there then just pass this command.
---------- Post added at 01:36 AM ---------- Previous post was at 01:33 AM ----------
Dante Smith said:
And
Code:
ln -s /mnt/sdcard/market-download
Returns
Code:
ln [-s] <target> <name>
Click to expand...
Click to collapse
my mistake it is
Code:
ln -s /mnt/sdcard/market-download download
mmmh...
i do this:
su
cd /cache
here i tried ls -ls and it says me:
-ls: No such file or directory
Where i'm wrong?
I'm using Terminal Emulator, not adb
same for
ls -ahl
Dante Smith said:
mmmh...
i do this:
su
cd /cache
here i tried ls -ls and it says me:
-ls: No such file or directory
Where i'm wrong?
I'm using Terminal Emulator, not adb
Click to expand...
Click to collapse
Don't know why it not working with you cause i already tried it on cm7 in terminal emulator app and it was working.
Anyway try this, rename the download folder to download.bak via root explorer and then type this
in cache folder
Code:
ln -s /mnt/sdcard/market-download download
/cache seems to be empty!
i can't find any file or directory there!
No now i see something...
I have:
lost+found
recovery
downloadfile-2.apk
downloadfile-3.apk
downloadfile.apk
EDIT: i suppose my download folder is directly /cache
Dante Smith said:
/cache seems to be empty!
i can't find any file or directory there!
Click to expand...
Click to collapse
ok then just type this command in emulator
Code:
su
cd /cache
mkdir /sdcard/market-download
ln -s /sdcard/market-download download
Check if this will work for you or not.
I had no error, i try do reboot and download something big
Dante Smith said:
No now i see something...
I have:
lost+found
recovery
downloadfile-2.apk
downloadfile-3.apk
downloadfile.apk
EDIT: i suppose my download folder is directly /cache
Click to expand...
Click to collapse
It's strange!!! I think your rom have some different folder structure. Are you using old market?
didn't work, i have new market
Dante Smith said:
didn't work, i have new market
Click to expand...
Click to collapse
What rom you are using?
Ginger Real 1.4
Android 2.3.4
S5830DDKQ5
SGA-GR-1.4 GINGERBREAD.DDKQ5
Dante Smith said:
Ginger Real 1.4
Android 2.3.4
S5830DDKQ5
SGA-GR-1.4 GINGERBREAD.DDKQ5
Click to expand...
Click to collapse
Maybe Ginger Real is using different folder structure but you can try these command with cache folder (Not guaranteed or may be a risk, don't know.).
I will google it again for some day, if i don't find what i'm looking for i will try your script again
Thank you for your help!!!
**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...