Related
First of all, all credits for this tutorial go to wolfilein and batemann
wolfilein's original app2sd thread - http://forum.xda-developers.com/showthread.php?t=804574
Since the other "how to" thread is a bit cluttered, I decided to tell the community how I got app2sd running on my phone flawlessly, in details.
I'm assuming that you have already rooted your x10 mini/pro and you are familiar with partitioning your SDcard, running ADB tool and root explorer.
If not, then please refer to these threads
For rooting your phone -
http://forum.xda-developers.com/showthread.php?t=739874
How to use ADB -
http://forum.xda-developers.com/showthread.php?t=502010
So lets get going -
Step 1) Create 2 partitions on your SDcard, a) Fat32 b) ext2. I used Mini Tool Partition Wizard to create partitions. Remember if you are a windows user, you need to create first partition as Fat32 and second as ext2 other wise windows will not recognize your SD card when you will connect your phone/card reader.
A detailed tutorial on how to partition your card can be found here-
http://forum.xda-developers.com/wiki/index.php?title=SD_card_partitioning
Step 2) Download attached rar file and extract them on your SDcard root (not inside any folder)
Step 3) Open ADB Shell and type - busybox. If you see the list of busybox commands you can move to Step 5. Otherwise refer to Step 4
Step 4) If you do not have busybox installed or recognized on your system, you need to install it. I found that best way to install busybox is the manual one, so even if you mess up with busybox installation, your phone is not bricked, yet.
So to install Busybox please enter the adb shell and type su, prompt should change to # sign, confirming that you have entered rootshell successfully.
Now type :
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
Code:
cat /sdcard/busybox > /system/xbin/busybox
Code:
chmod 755 /system/xbin/busybox
Code:
/system/xbin/busybox --install -s /system/xbin/
Once you finished the installation, typing busybox from rootshell should list busybox commands. If you can not get the list of busybox commands, or get message like permission denied, or busybox not found, please confirm that you can see busybox in /system/xbin/ and the permission is set to 755. you can use root explorer for this.
Step 5) Now its time to run App2sd.sh
So from rootshell, type:
Code:
sh /sdcard/app2sd.sh
and PRAY.. Its very important to pray, because anything goes wrong here, you will end up with a PROPER bricked phone. Nah, just kidding.
Your phone should reboot itself upon finishing. and when it comes back online, app2sd should be running on your phone..
good luck.
Disclaimer: I'm not responsible for anything that happens to your phone. You take the sole responsibility of your phone, if it gets bricked, vanished or turned into cheese in the proccess.
great .. and PRAY.. LOL
I tried this procedure last week. And it went wrong cause my transcend sdhc (class 2) was faulty OMG!!!
So I bricked my phone, repaired it, and now I'm waiting another 16Gb (class10) card ... so I can brick again my phone.. ROTFL.. no no.. I'm sure this procedure is going to be ok
Thanks to titanium backup I have not lost one bit
Mate seems like a great tut, I'm just flashing my phone to follow this properly =]
P.S. what is rootshell?
Manny- said:
Mate seems like a great tut, I'm just flashing my phone to follow this properly =]
P.S. what is rootshell?
Click to expand...
Click to collapse
You enter into rootshell When you type su on adb shell. the prompt in rootshell is #.
Thanks, I thought so just making sure so anyways I'm about to try this way now will report back soon
PS. lil mistake, should be 'sh /sdcard/app2sd.sh'
PS.2 check your inbox please
IF rooted using universal androot app
1. Does this work if phone is rooted with universal and root??
2. I don't have a card reader to format the sdcard.
I formatted using the Phone itself (through usb cable), but the card didn't mount, and prompting to format it
sridharrn said:
1. Does this work if phone is rooted with universal and root??
2. I don't have a card reader to format the sdcard.
I formatted using the Phone itself (through usb cable), but the card didn't mount, and prompting to format it
Click to expand...
Click to collapse
1. Yes it will work regardless of the rooting method.
2 .Make sure that first partition of your SD card is fat32.
Thanks for a great guide!
Finally got it working on my mini pro.
Don´t know if it´s your script or my phone but it didn´t want to run for me.
When I hit "sh /sdcard/app2sd.sh" the command-window just turns to # again without doing anything.
So I ended up running all commands manually instead and that worked nicely.
Same happened with me... how did you run the commands manually?
Manny- said:
Same happened with me... how did you run the commands manually?
Click to expand...
Click to collapse
Opened the app2sd.sh-file in an text-editor, then I can see all commands listed.
Then I just Copy-And-Paste the commands line by line (Not all at once) in the command-window.
@OP
please delte this
i and batman are already working on an picture howto
i've invested many time and this and now..... yes you scribe on you post that all credist go to us but why we must have 2 threads if you so interestet to help you easy can send me an pm or write an post
@other
I woukd making a howto on monday but batman has no time so i will do it whit him tommorow
and you script doen't work if you have an sdcard malfunction
yes you made a failsafebut you don't use it in ln.sh
if you run this script without an sdcard you will brick your phone !!
and by the way please ask before you edit/use my script
you coukld write a pm
wolfilein said:
@OP
please delte this
i and batman are already working on an picture howto
i've invested many time and this and now..... yes you scribe on you post that all credist go to us but why we must have 2 threads if you so interestet to help you easy can send me an pm or write an post
@other
I woukd making a howto on monday but batman has no time so i will do it whit him tommorow
and you script doen't work if you have an sdcard malfunction
yes you made a failsafebut you don't use it in ln.sh
if you run this script without an sdcard you will brick your phone !!
and by the way please ask before you edit/use my script
you coukld write a pm
Click to expand...
Click to collapse
Mate, I only made this thread to help the community. Since this is the method I used to get a2sd running on my phone. And I did not edit/changed your script, I wrote it down, which involved my own corrections and researchs (which I contributed to your thread as well). True that ln.sh was provided by batemann, that's why I gave you two full credit.
I can not delete the thread as there are posts there, however if you claim all the rights on the method, I'll pm the moderators and ask them to merge this thread with yours.
As for helping with picture how to, I would be more than happy to help the community.
Sent from my U20i using XDA App
Manny- said:
Thanks, I thought so just making sure so anyways I'm about to try this way now will report back soon
PS. lil mistake, should be 'sh /sdcard/app2sd.sh'
PS.2 check your inbox please
Click to expand...
Click to collapse
Replied to your pm. Manny, mate tell me do you have a mini or mini pro?
Sent from my U20i using XDA App
Ive got a Mini, btw I sent you some msgs on MSN but you went offline it should still be there, I wrote the output there too.
and wolfilein, I cant get it to work from looking at your thread this just makes things easier in my eyes, and hes right it is too cluttered that thread
@OP
i don't say don't do this i only ask why you hadn't write me an pn or some other info about this ?
and btw i and batman are aktually working on the picture howto please let us time
/system/bin/shcd: not found
Everything is OK, but when I run the script returns # so i run commands manually but first command returns "not found this command"
can somebody help me please ?
thanks
SOLVED, thanks anyway
Manny- said:
Ive got a Mini, btw I sent you some msgs on MSN but you went offline it should still be there, I wrote the output there too.
and wolfilein, I cant get it to work from looking at your thread this just makes things easier in my eyes, and hes right it is too cluttered that thread
Click to expand...
Click to collapse
Mate, I checked msn, but I did not get your msg there.. I'm online now, try sending it again..
Sent from my U20i using XDA App
so I've made a picture howto so now it's verry easy even with my howto
With app2sd, can i pick where i want to install an app?
on Main memory or SD?
and what would happen if i removed my SD card when its on?
or when i plug it in to the PC to add files?
thanks!
if you use this your phone won't not boot after reoving the sdcard
but if you use the orginal howto (my) my script makes a failsafe by installing app2sd and use that,
Well this is a easy tool for editing /system/etc/hw_config.sh directly on your PC, and add things like multitouch, etc, without needed to edit on your phone (bored)
Attached some screenshots.
Requirements:
Windows OS (For vista & 7 please run as admin, for xp users, don't needed that), or Linux OS (only tested on Ubuntu, but tecnically should work on any linux OS)
Device Drivers
Java
On linux, chmod +x hw_editor.jar
You
Features:
Easy Editing Hw_config.sh
Automatic Backups
Easy Pull & Push, you just need to press a Button
Please be sure of connecting your device first to pc, and turn on USB debugging, otherwise the software will give you a lot of errors
.rar for linux, .zip for windows
Stop making awesome ****!
s0ftcorn said:
Stop making awesome ****!
Click to expand...
Click to collapse
Lol
Uploaded a new bug fixed version ( now it returns the RO state at end of pushing )
wooow great think nice working
only suggest could it be added for build.prop to?
it will be easier for newbies.
Great work buddy, thanks alot for your time making this
Eyama said:
wooow great think nice working
only suggest could it be added for build.prop to?
it will be easier for newbies.
Click to expand...
Click to collapse
I will see if i do it tomorrow
Kennnn said:
Great work buddy, thanks alot for your time making this
Click to expand...
Click to collapse
Im glad you like it
@ All : Uploaded new version, now sets chmod 755 for hw_config.sh, and uses a sh script to mount and unmount rw, seems to be better this way , also need testers from other devices
i have problems :/ i press pull and sucessfully pulled then i press edit and i got message java.io.FileNotFoundException: C:\temp.sh and then opens empty editor. backup map is empty. do i have to unzip to a particular place?
EDIT: i have it on desktop
Eyama said:
i have problems :/ i press pull and sucessfully pulled then i press edit and i got message java.io.FileNotFoundException: C:\temp.sh and then opens empty editor. backup map is empty. do i have to unzip to a particular place?
EDIT: i have it on desktop
Click to expand...
Click to collapse
Wait some time after pressing pull, and before pressing edit , also after you press pull please be sure if on C:\ are 2 files, one mountScript.sh and the another one temp.sh, please notify me
EDIT: Uploaded a new version with more sleep time (3sec after pressing pull)
no i dont get those files in C:\
Eyama said:
no i dont get those files in C:\
Click to expand...
Click to collapse
Did you press pull first right ?, so it's really weird, try with the new one, and be sure that your device it's connected with debugging mode on, try open adb, and write adb start-server
yes i did.i have debugging mode on and usb storage on.i tried the new one with sleep 3. just one think where do i need to unzip those files? in Android SDK/tools or i can have it on my desktop.
Eyama said:
yes i did.i have debugging mode on and usb storage on.i tried the new one with sleep 3. just one think where do i need to unzip those files? in Android SDK/tools or i can have it on my desktop.
Click to expand...
Click to collapse
You dont need to have USB storage on, but anyway i dont think that's the problem, it should work on any folder, for me works on any folder
EDIT: Wait what's your OS?
ok i tried with usb storage off, unzipet on desktop in xxxx folder. i start the Hw_Config Editor.jar press pull wait for message press ok. check in C:\ for those 2 files and they arent there. then press edit en same message for mising file. i dont know what is wrong maybe im too dumy for this hehe
Eyama said:
ok i tried with usb storage off, unzipet on desktop in xxxx folder. i start the Hw_Config Editor.jar press pull wait for message press ok. check in C:\ for those 2 files and they arent there. then press edit en same message for mising file. i dont know what is wrong maybe im too dumy for this hehe
Click to expand...
Click to collapse
Please say me what's your Operative System, if you're on windows vista or windows 7 you need to run as admin the .jar
yes im on win 7 im going to try with adimn run
Edit: i dont have an option for run as adnim this is strange :/
Eyama said:
yes im on win 7 im going to try with adimn run
Edit: i dont have an option for run as adnim this is strange :/
Click to expand...
Click to collapse
chumby_666 confirmed that works running as admin
EDIT: Download the last one and run .bat as admin , thanks to chumby for the bat
EDIT: Packed all in a .exe and run on background the .bat, also added a NICE icon
thanks to you both it is working now
o just for those who have antivirus protection turn it off before unpack zip an using the program.
D4rKn3sSyS, you really are making things easier for us.
BTW, downloaded this, got a virus warning message:
Trojan:Win32/Delfsnif.DX
Category: Trojan
Description: This program is dangerous and executes commands from an attacker.
Click to expand...
Click to collapse
I ignored it and allowed your awesome program to run. You might want to edit the first post to say that antivirus may give a false positive.
EDIT: For the extremely paranoid out there (D4rKn3sSyS is the man! Why doubt his program?), I ran the program through VirusTotal. RESULT: 5/ 42 (11.9%) returned "infected".
Works fine on mine, win 7 x64/x10 mini pro, using Avast free, no virus warning.
thx
Uploaded Linux version, tested on ubuntu, need testers on fedora and other linux OS
For linux, only will work on the root of your user Folder for ex: d4rk/files here
I know how annoying it is trying to set up ADB, open a terminal, export logs to local files, copy, paste, etc just to submit a bug report or help a developer diagnose an issue.
That is why I put together this little app to do all of that for you!
This app runs the following commands:
dmesg
logcat -v time -d
logcat -v time -b radio -d
getprop
uname -a
ps
It puts these together into a single document and uploads it to Pastebin, so you can just put a link in a forum thread or IRC or in the bug tracker.
To run these, sadly it needs root. It also requires permissions to read phone identity so that it can automatically mask your ESN/MDN/etc in the logs before it uploads them. It also requires permissions to read account information so that it can mask all of your accounts in the logcat.
EVEN WITH ALL OF THOSE THINGS BLOCKED AUTOMATICALLY PLEASE LOOK OVER YOUR LOG BEFORE GIVING OUT THE URL. IT IS A PRIVATE PASTEBIN AND IF YOU FIND SOMETHING PRIVATE YOU CAN REMOVE IT.
Usage:
Install the app on your phone.
Run the app.
Add any information that should be masked (keep in mind private phone ids and accounts will be masked automatically).
Hit PasteBin! and wait for the upload to finish.
Note the url at the bottom of the screen and give it to whoever requested your logs.
This is just a simple app to help get logs, but if you have any suggestion of how it might be better, do let me know by posting in this thread.
Known Issues:
If you add too many mask strings the app doesn't scroll so you lose the PasteBin! button and/or the resulting URL.
Google Code Project: http://code.google.com/p/getlogs/
Version History:
Version 1.2
Added filtering to "just a file" output
Limited dmesg and both logcats to only 1000 lines each to prevent OutOfMemory Exceptions.
Version 1.1
Added ability to just save the file, no upload. (/sdcard/Android/apps/com.GetLogs/data/)
App now remembers the last message, in case you forget to write down your pastebin address.
Added ps to the list of processes run.
Version 1.0
Initial Version
Upgrade Instructions:
Uninstall current version if installed.
Install new version.
good work, thanks button pushed
Ok so, update - application not installed error, yes I have unknown sources selected, just doesn't install. Any ideas?
Sent from my MSM using XDA App
VistroDistro said:
Ok so, update - application not installed error, yes I have unknown sources selected, just doesn't install. Any ideas?
Sent from my MSM using XDA App
Click to expand...
Click to collapse
Hm, I get the same thing, I've never published an android app before and I chose not to sign it, maybe I need to do that...
EDIT: Ok I signed it and it installs now, sorry about that.
worked like a charm : )
again, good work
Hi,
Is there any way for the file to be dumped on the phone instead of uploading it to pastebin. The user can then pick his way of displaying the file to the world.
This is awesome, gonna install it when I get home so I can get highlandsun some logs of radio failures that occur when I'm at my desk at work. (I never have time to get the logs from the terminal when working, and I can't ADB at work.)
New version in first post, see the Version History for the updates.
Awesome work!
Nice work rpierce99. This should help get us a flood of logs .
Awesome! Will have a try.
I'm running this but it's not giving me a url and I can't see to find the file that it's supposed to create.
Demonic240 said:
I'm running this but it's not giving me a url and I can't see to find the file that it's supposed to create.
Click to expand...
Click to collapse
If you hit the pastebin button the url gets spit out just below the button. If you want the file it is in /sdcard/Android/apps/com.GetLogs/data/
Deleted...
Demonic240 said:
I posted the data file in another thread but I don't think anyone was able to look at it. Here is the logs for my tilt2. The issue I'm running into is that wifi loses the data connection immediately when the phone goes to sleep. The wifi signal does not drop, and in fact still says I'm connected, so the only way to regain data is to turn off the wifi then back on. Would someone be able to look at these logs and help me out here?
Click to expand...
Click to collapse
Hrm...
No offense, but this really doesn't belong here. IIRC, you posted the logs in the FRX06 thread - which is good, but don't you remember me mentioning opening a bug on the tracker? Obviously if there's already a bug open, just add your comments/logs to it... if there isn't already a bug on it, open a new bug with your comments/logs .
Seriously, this has absolutely nothing to do with this thread.
arrrghhh said:
Hrm...
No offense, but this really doesn't belong here. IIRC, you posted the logs in the FRX06 thread - which is good, but don't you remember me mentioning opening a bug on the tracker? Obviously if there's already a bug open, just add your comments/logs to it... if there isn't already a bug on it, open a new bug with your comments/logs .
Seriously, this has absolutely nothing to do with this thread.
Click to expand...
Click to collapse
Ah, I'll remove it then. Sorry about that.
Better dmesg binary
In the interest of having more readable kernel logs...
Delete your current /bin/dmesg and put this one in there instead. Make sure you chmod it 755.
highlandsun said:
In the interest of having more readable kernel logs...
Delete your current /bin/dmesg and put this one in there instead. Make sure you chmod it 755.
Click to expand...
Click to collapse
At work without adb. Using terminal on Rhod.
What am I missing?
Code:
$ $ su
# mount -o remount,rw /
# rm /bin/dmesg
# cp /sdcard/dropbox/dmesg /bin
cp: write error: No space left on device
# ls -l /bin/dm*
-rwxrwxrwx 1 0 0 0 Jun 29 10:10 /bin/dmesg
It does remove dmesg, it does copy the new, but filesize=0
Your rootfs is full. You can install it in /system/bin or /system/xbin instead. There's already one in there too, which is a symlink to toolbox. You should delete the symlink first, of course.
@HYC: Oh yes, sweet. Thanks.
@rpierce99: "Just a file" gives me..... just a file ... and crashes. However, the file is good. Thanks.
Hey, i am now reading this topic about dual touch
http://forum.xda-developers.com/showthread.php?t=1064558
and i didnt found how to perform this part
"goto any shell
type: "insmod /sdcard/cy8ctma300_ser.ko"
what is ment by go to any shell? what is that shell?
Either use adb to basically get a cli onto the phone from your PC or use an app like Terminal Emulator on the phone.
To be honest I would say that using an app on your phone is easier.
Android Market Link - https://market.android.com/details?id=jackpal.androidterm
thanks
well i have tried to work to make dual touch...for some reason i think its because i did something wrong, can anyone explain in "simplier language" how to make dual touch on Mini pro ?
http://forum.xda-developers.com/showthread.php?t=1064558
seems this was quite simple explaination:
http://forum.xda-developers.com/showpost.php?p=13506153&postcount=78
but i did everything it said but didnt worked, and while insmoding, i got message "not found"
If you got message not found are you sure that you copied the cy8ctma300_ser.ko to the /system/lib/modules/ folder?
yes i am 100% sure i did
btw i used different Shell app, than Terminal emulator, because on it i cant see properly screen and i cant use symbols...
newestuser said:
type: "insmod /sdcard/cy8ctma300_ser.ko
Click to expand...
Click to collapse
newestuser said:
but i did everything it said but didnt worked, and while insmoding, i got message "not found"
Click to expand...
Click to collapse
rect2409 said:
If you got message not found are you sure that you copied the cy8ctma300_ser.ko to the /system/lib/modules/ folder?
Click to expand...
Click to collapse
Shouldn't really make a difference what shell app you use as they all follow the same basic's really.
I know you said you are 100% sure but one of the posts you followed told you to put the .ko file into your sdcard and one says to put it into the system modules directory. If it is in the system modules directory you are calling the command
Code:
insmod /system/lib/modules/cy8ctma300_ser.ko
and not
Code:
insmod /sdcard/cy8ctma300_ser.ko
But then tbh if it is in the system modules directory then a simple reboot of the phone should work as long as you have everything else done correctly.
ok it seems i made mistake with insmoding, i didnt put a space after insmod
now i insmoded as it should be but...i get this:
insmod: init_module "/sdcard/cy8ctma300_ser.ko failed"(Operation not permitted)
same when doing insmod where file in modules copied.
finaly, made it working
Cool Glad you got it working
Hello,
I have a question to you. Does anybody know how to change the default GUI that gets loaded on startup?
If I'd know it I could install GNOME Shell on my Nexus 7 on top of Ubuntu Touch.
We could do so much with UT if somebody could help me with this...
Could someone start hacking with me this?
I've install 'gnome' and 'xorg' and if I type 'startx' it tells me that I have no permission because there is no file .Xauthority. How do I get those files?? Please help! I want to get it working...
To98 said:
Could someone start hacking with me this?
I've install 'gnome' and 'xorg' and if I type 'startx' it tells me that I have no permission because there is no file .Xauthority. How do I get those files?? Please help! I want to get it working...
Click to expand...
Click to collapse
try chmod 777 xorg or gnome (don't know wich one you want)in terminal or xterminal(my advice:xterminal because it starts with root acces)
robertlinke said:
try chmod 777 xorg or gnome (don't know wich one you want)in terminal or xterminal(my advice:xterminal because it starts with root acces)
Click to expand...
Click to collapse
Thanks! But that was not the problem. Please look at my thread with the Ubuntu Touch apps in the general section because I can't remember it (it's night here so I should better sleep now than writing this down ).
Maybe you can help me with the last problems (I hope) to get xorg working.
Ubuntu Touch has no xorg drivers, only SurfaceFlinger from Android, so xorg will not run.