Hi,
I have been told that toybox is replacing or has replaced busybox. Does anyone know if this is true and how to install or if there is an actual apk installer file anywhere?
Thanks.
May you try to merge them.
Take a look: https://forum.xda-developers.com/an...tool-flashable-busybox-toybox-merger-t3313199
Related
I've looked through the update.zip and it seems only a few changes are needed to -keep- root.
* Flash the recovery image from http://forum.xda-developers.com/showthread.php?t=443041
* Unzip the FULL rc30
* Replace the system/recovery.img with the one from the above url.
* Copy system/bin/sh to system/bin/rootshell, and make the following changes to META-INF/com/google/android/update-script (or download a modified copy from a trusted source)
Add this to the end of the first line, which should start with: assert getprop("ro.build.finger.......
|| getprop("ro.build.fingerprint") == "generic/htc_dream/dream/trout:1.0/TC3/eng.jesusfreke.20081105.164210:eng/test-keys"
After
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
add
set_perm 0 2000 04755 SYSTEM:bin/rootshell
BACKUP anything from /system as it will be formatted. Do -not- use the 4 meg rc30 patch, as it bricks systems.
Resign with the utility provided in the above link, copy to sdcard, enter recovery, and pray. If it works, you can run the following from the terminal app (not pterminal)
/system/bin/rootshell
I've sucessfully done this on my machine.
That looks right, but just in case, I would also try to add a couple back doors, and close a few of Google's:
Add a test cert to the list of accepted OTA certs.
Remove Google's OTA cert.
Include a setuid shell somewhere in the patch.
has ne1 tryed this? does it work...
im not sure wat changes to make to the script...its kind of confusing..can sum1 post an changed script?
Koush said:
That looks right, but just in case, I would also try to add a couple back doors, and close a few of Google's:
Add a test cert to the list of accepted OTA certs.
Remove Google's OTA cert.
Include a setuid shell somewhere in the patch.
Click to expand...
Click to collapse
The setuid shell is added by means of chmodding /system/bin/sh. I'm not clear on the syntax for the 'concat' function that's apparently in the updater, so for safety's sake I won't try to make a copy. Regarding the other stuff....
Warning - Several people have bricked phones because a file that the updater intends to patch is either modified or missing. This includes otacerts.zip, so it would be a good idea to look through META-INF/com/google/android/update-script and make sure that none of the files listed have been tampered with.
Fnorder said:
The setuid shell is added by means of chmodding /system/bin/sh. I'm not clear on the syntax for the 'concat' function that's apparently in the updater, so for safety's sake I won't try to make a copy. Regarding the other stuff....
Warning - Several people have bricked phones because a file that the updater intends to patch is either modified or missing. This includes otacerts.zip, so it would be a good idea to look through META-INF/com/google/android/update-script and make sure that none of the files listed have been tampered with.
Click to expand...
Click to collapse
You are right, otacerts.zip is one of the files they are patching. So we'd need to remove that applypatch line and leave our own copy on the file system. Or just leave it as is...
Koush said:
You are right, otacerts.zip is one of the files they are patching. So we'd need to remove that applypatch line and leave our own copy on the file system. Or just leave it as is...
Click to expand...
Click to collapse
Or rename otacerts back to what it was, yeah.
So, if we want the modified rc30 update, we absolutely have to have the modded recovery and boot imgs at the link you provided? Can we not have the option to simply resign the modified update and install it?
stephen.n.nikki said:
So, if we want the modified rc30 update, we absolutely have to have the modded recovery and boot imgs at the link you provided? Can we not have the option to simply resign the modified update and install it?
Click to expand...
Click to collapse
Just the modified recovery.img, and yes it's required to install any modified update - since you don't have google's private key, you can't put google's signature on the update, and google's recovery only allows updates signed with that.
So has anyone had success with, or even tried, your fix?
stephen.n.nikki said:
So has anyone had success with, or even tried, your fix?
Click to expand...
Click to collapse
I'll know in a few minutes!
Squareup.com's app will not show-up in the market on some androids which are rooted.
I acquired the APK, but the installer ends with "Application not installed"
This is really sad. Windows and many other OSes have insecure features and may be used as a POS system.. BUT A ROOTED ANDROID PHONE CANNOT BE A POS??
Is there a way to manually extract the files within the APK, and do a manual install?
Link to Squareup APK: http://db.tt/TlcrKji
Tried pushing it to /data/app or /system/app with terminal emulator?
minus30 said:
Tried pushing it to /data/app or /system/app with terminal emulator?
Click to expand...
Click to collapse
Thanks for the response.
Can you clarify these steps?
Are you suggesting that I extract all the contents and place all of them into one or both of the folders you listed?
I'm savvy with term emulator, but would root explorer do the same?
Again, thanks.
Hello,
I started experimenting with my Android yesterday when I found out about metamorph which requires rooted phone and busybox..
I managed to root the phone but couldnt install the busybox with the application from the market - it says that busybox was not found..
Then I installed the SDK platform, and wanted to do it with adb
I downloaded busybox ... tar.bz2 file and unrared it into SDK/tools and tried pushing it to my android to /system/local by doing:
adb push /Users/../android/platform-tools/busybox /data/local
but adb pushed the subfolders (children) to the /data/local folder instead of the folder with childen folders itself.
Now I wonder:
1. how to remove all those junk files?
2. am I doing the right thing? should I copy the tar.bz2 without unraring it? what is the right procedure?
is there any easier way to accomplish this?
Thanks for help
One way to get busybox is with titanium backup. Install the app open then menu*problems*Yes, do it.
jerrycycle said:
One way to get busybox is with titanium backup. Install the app open then menu*problems*Yes, do it.
Click to expand...
Click to collapse
This wont work with my telephone - HTC Desire
Hi,
I have a few apps and would like to add into custom rom. I read and google but no help.
Using winrar and open custom rom, i create a folder /data/app and place all apk in "app" folder. non of the apps in that folder installed. Do i need to do more then just add the apk?
I read here http://forum.xda-developers.com/showthread.php?t=1198035 and no use. maybe OP not don't with the guide yet.
thx
cat2115 said:
Hi,
I have a few apps and would like to add into custom rom. I read and google but no help.
Using winrar and open custom rom, i create a folder /data/app and place all apk in "app" folder. non of the apps in that folder installed. Do i need to do more then just add the apk?
I read here http://forum.xda-developers.com/showthread.php?t=1198035 and no use. maybe OP not don't with the guide yet.
thx
Click to expand...
Click to collapse
Reread that thread. The answer is in there.
Hint: ROM flash packages never put anything in /data
you can preinstall apps to /data/app but it takes update script modding. if you havent figured it out it is a lot easier to add them as system apps in /system/app
@Dani897: I try adding apk to /system/app or /data/app but none are working. When I add apk to /system/app; after the rom flashed and reboot, Samsung kept on flashing forever.
cat2115 said:
@Dani897: I try adding apk to /system/app or /data/app but none are working. When I add apk to /system/app; after the rom flashed and reboot, Samsung kept on flashing forever.
Click to expand...
Click to collapse
check your permissions!
the data/app way need adition work in the update script. im not gonna get into that.
Dani897 said:
check your permissions!
the data/app way need adition work in the update script. im not gonna get into that.
Click to expand...
Click to collapse
Thanks. How do i check permission? in CWM? In cwm (red) v2.5.1.3 -->Install zip from sdcard --> toggle signature verification-->disable'
In advance, all i see is fix permissions.
cat2115 said:
Thanks. How do i check permission? in CWM? In cwm (red) v2.5.1.3 -->Install zip from sdcard --> toggle signature verification-->disable'
In advance, all i see is fix permissions.
Click to expand...
Click to collapse
no in a terminal emulator or in linux. they get screwy sometimes if you do editing in windows. i cant even seem to get ownership of one of my flash drives on my linux machine after i formatted it with windows.
if you are on a mac you can do it by clicking and choosing "get info" from the context menu apparently but i dont own a mac so i dont know.
i never used it but check out cygwin and do some googling on permissions in terminal/console. it might be best if you are not ready to install a new os. but you can also install ubuntu with the wubi installer inside windows of use a vm with osx or the linux distro of your choice pretty easily. please dont ask for support questions on doing those things.
you can find permissions of files in a directory with ls -l
you can change them with chmod an ususally one of the numbers below but there are others, google is your friend
666 is rw-rw-rw
644 is rw-r--r-
777 is rwxrwxrwx
755 is rwxr-xr-x
644 or 755 are the most likely that they should be.
Here everyone working Busybox for HTC 820
Download it and Flash it through Custom Recovery. (TWRP or CWM)
Credit Goes to [email protected]
will it run on rooted htc d820u lillipop device?
Now in marshmallow after rooting you can use Busybox from Play Store. SuperSU in version 2.65 is enabling file system overlay and you can modify /system/xbin dir.
Wysłano z Tapatalk / Sent with Tapatalk
QkiZMR said:
Now in marshmallow after rooting you can use Busybox from Play Store. SuperSU in version 2.65 is enabling file system overlay and you can modify /system/xbin dir.
Wysłano z Tapatalk / Sent with Tapatalk
Click to expand...
Click to collapse
Latest SuperSU uses system-less root and I don't think you can write to /system/xbin from MM (in 820).
Install busybox from recovery...
Read what I wrote earlier. SuperSU creates layer on /system/xbin path. You can write files in this path but changes really is saved in /su/xbin_bind. System path /system/xbin is not really modified. Read >> http://forum.xda-developers.com/showpost.php?p=64161125
chainfire said:
A poor man's overlay is used on /system/xbin. We are creating a copy of /system/xbin in /su/xbin_bind, adding a symlink to /su/bin/su there, then mounting the entire thing on top of the original /system/xbin. This is likely to fix some compatibility issues with some apps, without actually modifying /system
Click to expand...
Click to collapse
QkiZMR said:
... SuperSU creates layer on /system/xbin path. You can write files in this path but changes really is saved in /su/xbin_bind ....
Click to expand...
Click to collapse
My friend, I suppose there is a misinterpretation of chainfire's concept. The idea is, transparently placing files in /system BUT without modifying the actual partition. Pls take a look once again...
"We are creating a copy of /system/xbin in /su/xbin_bind, adding a symlink to /su/bin/su there, then mounting the entire thing on top of the original /system/xbin"
That I was said I think that you misinterpretation my words. Word 'layer' makes big diffrence
newer/alternate versions (flashable) can be found here and here. they both work well for me.
I have rooted my htc 820pi kitkat. Now I want to install custom recovery. But, not finding any way. Can you please help me.
Xposed for HTC 820pi
I Dragon said:
Here everyone working Busybox for HTC 820
Download it and Flash it through Custom Recovery. (TWRP or CWM)
Credit Goes to [email protected]
Click to expand...
Click to collapse
Hello dear, I am a HTC 820pi user running in Android 4.4.2. I have rooted my phone but couldn't install any custom recovery. Is it possible to install xposed framework in my rooted phone? Mind it, no custom recovery is installed in my phone!!!!