For now all contributions removed.
chotu222 said:
Any Suggestions on Improving this tool / Adding features are welcome
Click to expand...
Click to collapse
Maybe allow users to customize a few lines of the updater.script such as "SuperduperMod by xdamember" and the last line "All done, thanks, etc".
I'd love to be able to edit my build.prop files through a nice GUI
Sent from my LG-E739 running PenberRom1 using Tapatalk 2
XperienceD said:
Maybe allow users to customize a few lines of the updater.script such as "SuperduperMod by xdamember" and the last line "All done, thanks, etc".
Click to expand...
Click to collapse
Hmm,great idea !!! I can make my batch script open the updater script in notepad++ and the user should edit it because if by editing inside the batch script may lead to fatal errors and status 7 may pop up(Due to EOL coversion)
leolawliet said:
I'd love to be able to edit my build.prop files through a nice GUI
Sent from my LG-E739 running PenberRom1 using Tapatalk 2
Click to expand...
Click to collapse
I will try this one ...It can be edited by GUI as there is no harm if anything goes wrong !
Will try apply both changes in the next update ! :fingers-crossed: Thanks for your suggestion guys :highfive:
chotu222 said:
Hmm,great idea !!! I can make my batch script open the updater script in notepad++ and the user should edit it because if by editing inside the batch script may lead to fatal errors and status 7 may pop up(Due to EOL coversion)
I will try this one ...It can be edited by GUI as there is no harm if anything goes wrong !
Will try apply both changes in the next update ! :fingers-crossed: Thanks for your suggestion guys :highfive:
Click to expand...
Click to collapse
Thank you for hearing me out and considering it, I would use this all the time
Sent from my LG-P769 using Tapatalk 2
Well done mate..
But don't forget to credit the creator(s) of signapk.jar, 7za.exe command line, and the one who wrote signer.bat file that you used here.
You can add support for the /preload partition too.
leolawliet said:
Thank you for hearing me out and considering it, I would use this all the time
Sent from my LG-P769 using Tapatalk 2
Click to expand...
Click to collapse
You are welcome
majdinj said:
Well done mate..
But don't forget to credit the creator(s) of signapk.jar, 7za.exe command line, and the one who wrote signer.bat file that you used here.
Click to expand...
Click to collapse
Yup , i certainly will give them credits just need some time to gather those names
ionescugeo9942 said:
You can add support for the /preload partition too.
Click to expand...
Click to collapse
Yup ,i clearly don't know if the preload partition is in the same blocks as others.
If you give me some info about devices in PM it would be great !
Sent from my GT-I9082 using xda app-developers app
chotu222 said:
You are welcome
Yup , i certainly will give them credits just need some time to gather those names
Yup ,i clearly don't know if the preload partition is in the same blocks as others.
If you give me some info about devices in PM it would be great !
Sent from my GT-I9082 using xda app-developers app
Click to expand...
Click to collapse
I don't really know very much.I know only that in Samsung Galaxy S Advance,the preload partition is dev/block/mmcblk0p9
Is this only for arm device as the razri has intel instead of arm would be.good to be able. To use this saves a lot of.time having to.edit scripts etc. Which I have to do at the moment to get any mods to flash. From other forum's on my device thanks
Sent from my XT890 using XDA Premium HD app
dog121 said:
Is this only for arm device as the razri has intel instead of arm would be.good to be able. To use this saves a lot of.time having to.edit scripts etc. Which I have to do at the moment to get any mods to flash. From other forum's on my device thanks
Sent from my XT890 using XDA Premium HD app
Click to expand...
Click to collapse
If
You have cwm and busybox then it'll work
Else
No
ionescugeo9942 said:
I don't really know very much.I know only that in Samsung Galaxy S Advance,the preload partition is dev/block/mmcblk0p9
Click to expand...
Click to collapse
Okay i will research on many devices preload partition and make device support in some releases
Sent from my GT-I9082 using xda app-developers app
chotu222 said:
If
You have cwm and busybox then it'll work
Else
No
Okay i will research on many devices preload partition and make device support in some releases
Sent from my GT-I9082 using xda app-developers app
Click to expand...
Click to collapse
Great thanks I'll give it a try over the weekend and see how we get on
Sent from my XT890 using XDA Premium HD app
Updated to v1.2 suggestion added
More ideas are welcomed
Sent from my GT-I9082 using xda app-developers app
Great job mate,,
Just a suggestion is to add standalone busybox binary to be on the root of the flashable zip file.
Why?
In your updater-script, you did well by using busybox command to mount system partition (no need to have the name of partition by doing so), but what if user didn't have busybox installed in his/her device?!!
So after adding busybox binary in the root of the flashable zip, just edit updater-script to be like this:
Code:
package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
run_program("/tmp/busybox");
Then the mounting point will be like this:
Code:
run_program("/tmp/busybox", "mount", "/system");
And after having all your codes, put these commands at the bottom:
Code:
run_program("/tmp/busybox", "umount", "/system");
delete("/tmp/busybox");
By doing this, you will be sure that your updater-script will work on any device, even if busybox was not installed on them.
I will attach busybox binary bellow for you if you like my suggestion.
chotu222 said:
Okay i will research on many devices preload partition and make device support in some releases
Click to expand...
Click to collapse
chotu222 said:
Yup ,i clearly don't know if the preload partition is in the same blocks as others.
If you give me some info about devices in PM it would be great !
Click to expand...
Click to collapse
preload is the hidden partition (at least for Samsung device I knew!!) and it is about 500 mb space (check cat /proc/partitions command in terminal),, you can actually access the preload partition by any root explorer.
During interdicting of new android platforms, the old devices has no enough storage space in system partition anymore, making the manufactures to use the hidden partition (preload) and do symlinks to system partition.
To use preload partition, you need to add extra folder in the root of your flashable zip file called preload. Inside preload folder you need to make several folders as shown (preload\symlink\system\app) inside this app folder, put your apk files.
Also you will need a script to symlink all apk in preload to system partition. There is one written by @dsixda (create_preload_symlinks) I will attach it bellow in the attachment.
Now returning back to the updater-script, you need to add the mounting command (I will assume you implemented the busybox suggestion):
Code:
run_program("/tmp/busybox", "mount", "/preload");
Add extracting command:
Code:
package_extract_dir("preload", "/preload");
Add command to run create_preload_symlinks:
Code:
package_extract_file("create_preload_symlinks", "/tmp/create_preload_symlinks");
set_perm(0, 0, 0777, "/tmp/create_preload_symlinks");
run_program("/tmp/create_preload_symlinks");
Add setting perm for preload partition app folder and apk files:
Code:
set_perm_recursive(0, 0, 0755, 0644, "/preload/symlink/system/app");
Add these lines at the end:
Code:
run_program("/tmp/busybox", "umount", "/preload");
delete("/tmp/create_preload_symlinks");
And anything you want to ask,, I will be more than welcoming,,
Cheers
.
Mac OS X Version
Hi, this is a Mac OS X translated version of this script.
Hi,
Is this tool in development? I use it to flash some apks for my GT-i9505 and worked!
Thanks a lot!
mafsi said:
Is this tool in development?
Click to expand...
Click to collapse
It seems that OP abandoned the project.
He announced in the title of the thread, the version 1.3 will be soon.
It's been three years and still does not.
ze7zez said:
It seems that OP abandoned the project.
He announced in the title of the thread, the version 1.3 will be soon.
It's been three years and still does not.
Click to expand...
Click to collapse
Pitty! I finally found a good flashing packages that worked... If you now a better one please point me to that direction. Thanks in advanced!
mafsi said:
If you now a better one please point me to that direction.
Click to expand...
Click to collapse
@codekidX was recently logged into the forum.
It can read these posts and take finally to work as promised.
ze7zez said:
@codekidX was recently logged into the forum.
It can read these posts and take finally to work as promised.
Click to expand...
Click to collapse
mafsi said:
Pitty! I finally found a good flashing packages that worked... If you now a better one please point me to that direction. Thanks in advanced!
Click to expand...
Click to collapse
ze7zez said:
It seems that OP abandoned the project.
He announced in the title of the thread, the version 1.3 will be soon.
It's been three years and still does not.
Click to expand...
Click to collapse
I actually did not abandon this project ... it was being coded into a GUI software and it was around 80% over. I did not release it because of the lack of time.
I will release the software and code by the end of this week. Although bug fixes will take time if there will be any.
Related
Welcome to the Droid Tools Project!
I made this for Noobs!
Well I got bored and made this on my phone when I got bored , it was written in a txt editor but has a easy to use UI! Its still basic and has more features to come so don't judge!
What the the tool includes in v1:-
- Sign APK's
- Release Keys
- Sign ROM's
More coming in V1.1
Instructions:-
1. Click the desired version download link.
2. Wait 5 seconds and click SKIP AD.
3. Download and extract.
4. Read the ReadMe and run the .bat.
Credits:-
In the folder the tool is contained within.
Downloads:-
Mod Edit: Link removed
Another thread?
apktool is still the best
and yes it is,
another thread
another thread to be closed? lol! kidding!
deathnotice01 said:
apktool is still the best
and yes it is,
another thread
Click to expand...
Click to collapse
Can you give me the apktool app???
Sent from my GT-S5360 using xda premium
jerryn70 said:
Can you give me the apktool app???
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
as you wish
http://forum.xda-developers.com/showthread.php?t=1310151
Featured!! :O
HOLY SH*T!! This thing got featured!!
EliTSamsunG said:
Another thread?
Click to expand...
Click to collapse
No its a potatoe
This app is very useful.
But you forgot to add the procedure to add 'PATH' environment variable for newbies in the Readme.
And the Zipalign function is not working for the people like me, who use portable version of Android SDK. It should also be mentioned in Readme.
Hope that you'll definitely fix it in next version.
Good Job !
[email protected]
Sent from my GT-S5360 using xda premium
And then???????
GREEEEEETZ!!!
download link dead..OP please replace a new working link..
thanks
here is the file!i think he never updates the post.
i used zip signer from market.. its very friendly.
Sent from my Android System using Busybox Command.
My work
========================
- AndroBot SGY tweaks
- Nandroid md5 Fixer
- Ext4 to RFS Converter
what is the use of this tool? sorry just a noob
Sent from my GT-S5360 using xda premium
markmellarpes said:
what is the use of this tool? sorry just a noob
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Mostly for 'signing' apps i.e after editing. Every app has to be 'signed' to be useful. If you editing app (i.e for localisation) you have to signing it afterwards. So one of this app function is signing app's. Custom ROM's has to be signed either.
For signing you have to use 'key'. There you can generate your own key for signing your own apps. Bear in mind - you can seamlessly upgrade app to new version only if it is signed with the same key as older version. Otherwise you have to uninstall older version and then install new one. This app can generate keys too.
Root IS required !!
This mod will add init.d support to any rom even stock roms without editing the ramdisk. Instead it uses the post_boot.sh file that is in most if not all roms. It should work on most devices, if it does not work on yours please look in /system/etc and post the name of the file that contains "post_boot.sh".
This mod has been tested on the OneX and OneS.
To use just flash in recovery and add your favorite scripts to init.d.
For devs:
To add this method to your rom simply edit the post_boot.sh file and add this line at the bottom:
Code:
/system/etc/init.d/*
Easy right ? Suprised it hasn't been done before, well at least that i know of.
All files in init.d will be executed at boot just like regular init.d. You can also manually add the line and make it whatever directory you want.
Download 1.1:
http://goo.im/devs/smokin1337/Mods/Easy_InitD_1.1.zip
Changelog:
1.1 fixed error in script
sweet! easy fixins
It works great, I've had the best battery response all day with this. I think it was funny that some people thought init.d couldn't be used on stock roms but here it is....
Anyways thanks for the hook up man, hopefully devs start to add it into their roms.
Thanks for your hard work, looks great..
Fyi I posted another method before here:
http://forum.xda-developers.com/showthread.php?t=1680052
So if this method doesn't work for you then you can try that method.
worked awesome the first try! thanks a ton dude!
this is cool. but ive always just created my own file in system/etc named init.d, and its always worked. so thanks 4 this, but i prefer my way. thanks again man.
Sorry if this sounds like a stupid question but what exactly does this do?
Sent from my HTC One X using XDA
Does anyone know where this file disappeared too, or where smokin moved his stuff? I would like to try this on the rooted 2.2
Sent from my HTC One X using xda premium
---------- Post added at 11:14 PM ---------- Previous post was at 10:41 PM ----------
Nevermind, I just did what zounduser said and it works. Thanks for that tip
Sent from my HTC One X using xda premium
tomekpl21 said:
Sorry if this sounds like a stupid question but what exactly does this do?
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
Have you ever wondered why so many custom roms?are they really different from each other?
Answer is no,not really,they are all the same with tiny tweaks.
The MAJOR difference is inside of init.d.Those scripts is 95% of the difference between "good" ROM,"bad" ROM,"BEST?" ROM,... lol
Shhhh,keep it a secret
vin255764 said:
Have you ever wondered why so many custom roms?are they really different from each other?
Answer is no,not really,they are all the same with tiny tweaks.
The MAJOR difference is inside of init.d.Those scripts is 95% of the difference between "good" ROM,"bad" ROM,"BEST?" ROM,... lol
Shhhh,keep it a secret
Click to expand...
Click to collapse
thats a slap in the face...
XsMagical said:
thats a slap in the face...
Click to expand...
Click to collapse
No,its just a fact..Collecting/testing fave scripts aint easy.Writing them impossible without knowledge.
vin255764 said:
No,its just a fact..Collecting/testing fave scripts aint easy.Writing them impossible without knowledge.
Click to expand...
Click to collapse
I'm talking about roms being the same
Sent from my Nocturnal'd ONE XL Running Sense 4.1
XsMagical said:
I'm talking about roms being the same
Sent from my Nocturnal'd ONE XL Running Sense 4.1
Click to expand...
Click to collapse
yes and no.... for vegeterian ribeye steak and t-bone steak=same anmal tissue.For non-smoker all cigarettes=same tobacco sticks lol
Heh,now Im hungry for a good juicy medium-rare Ribeye Steak.
vin255764 said:
yes and no.... for vegeterian ribeye steak and t-bone steak=same anmal tissue.For non-smoker all cigarettes=same tobacco sticks lol
Heh,now Im hungry for a good juicy medium-rare Ribeye Steak.
Click to expand...
Click to collapse
Well I got my steak imported if that's the case and my cigs are 100s lol
Sent from my Nocturnal'd ONE XL Running Sense 4.1
smokin1337 said:
Root IS required !!
This mod will add init.d support to any rom even stock roms without editing the ramdisk. Instead it uses the post_boot.sh file that is in most if not all roms. It should work on most devices, if it does not work on yours please look in /system/etc and post the name of the file that contains "post_boot.sh".
This mod has been tested on the OneX and OneS.
To use just flash in recovery and add your favorite scripts to init.d.
For devs:
To add this method to your rom simply edit the post_boot.sh file and add this line at the bottom:
Code:
/system/etc/init.d/*
Easy right ? Suprised it hasn't been done before, well at least that i know of.
All files in init.d will be executed at boot just like regular init.d. You can also manually add the line and make it whatever directory you want.
Download 1.1:
http://goo.im/devs/smokin1337/Mods/Easy_InitD_1.1.zip
Click to expand...
Click to collapse
download link broke, so I attached a copy posted from http://forum.xda-developers.com/showpost.php?p=28139860&postcount=23
added tester to installer and permissions in updater.script
system/etc/init.d/99test
set_perm(0, 0, 0777, "/system/etc/init.post_boot.sh");
Hi,
I've installed - Easy_InitD_1.1.zip, | file in system/etc - "init.post_boot.sh"
and it contains:
#! /system/bin/sh
/system/etc/init.d/*
seems script do nothing - R/W doesnt work (I delete some apps and after reboot they are still here)
Impo5sible said:
Hi,
I've installed - Easy_InitD_1.1.zip, | file in system/etc - "init.post_boot.sh"
and it contains:
#! /system/bin/sh
/system/etc/init.d/*
seems script do nothing - R/W doesnt work (I delete some apps and after reboot they are still here)
Click to expand...
Click to collapse
Easy_InitD_1.1.zip is original
try Easy_InitD_1.2.zip it has permission and a test script, look for /data/local/tmp/init.d_log_test.txt
if init.d_log_test.txt is there then init.d folder is working
AdamOutler said:
Warning:
Code:
if (youHaveSomethingToContribute) {
try {
toKeepMovingTheThreadForward();
} catch (noobsAndRandomComments) {
reportNoobsToModerators(quickly);
}
} else {
dontPost();
}
Click to expand...
Click to collapse
Okay so i have been looking through a couple of LGE devices framework and realised that the frameworks are pretty much the same with the exception of the RIL with that said the LU6200 is supported by miui patchrom I tried porting it before but i think something went wrong with the final Zip Maybe it will have to be repacked into .img formart i think bdadd34 and bernie have the patchrom repo synced i will try porting the usual miui wat from a LU6200. When done a kernel with debugable enabled will be required who's iN ?
If I can help anything I am in.
Sent from my LG-P920 using xda app-developers app
iodak said:
If I can help anything I am in.
Sent from my LG-P920 using xda app-developers app
Click to expand...
Click to collapse
On ICS Bootloader does package_extract_dir("system", "/system"); work or only system.img
defcomg said:
On ICS Bootloader does package_extract_dir("system", "/system"); work or only system.img
Click to expand...
Click to collapse
Img file is the easyest one but if needed i could try to make a zip flahing stock ics system using package extract dir
Sent from my LG-SU760 using xda app-developers app
I thing that .img is the way here. Never got script working.
Sent from my LG-P920 using xda app-developers app
defcomg said:
On ICS Bootloader does package_extract_dir("system", "/system"); work or only system.img
Click to expand...
Click to collapse
package_extract_file("system.img", "/dev/block/mmcblk0p7");
This can work for ICS bootloader, it's used on xbsa's last rom.
Pesach85 said:
package_extract_file("system.img", "/dev/block/mmcblk0p7");
This can work for ICS bootloader, it's used on xbsa's last rom.
Click to expand...
Click to collapse
I will build today
Edit:
Uploading............
MIUI_TesT.zip - 260.23 MBFlashable Contains .img file
defcomg said:
MIUI_TesT.zip - 260.23 MBFlashable Contains .img file
Click to expand...
Click to collapse
Tried it out, stuck on lg logo
rezzsha said:
Tried it out, stuck on lg logo
Click to expand...
Click to collapse
Info please. Moar
Sent from my LG-P920 using xda app-developers app
JunDavis said:
Info please. Moar
Sent from my LG-P920 using xda app-developers app
Click to expand...
Click to collapse
umm lights dont blink and just gets stuck on lg logo, i guess someone else could try and see if it works for them?
rezzsha said:
umm lights dont blink and just gets stuck on lg logo, i guess someone else could try and see if it works for them?
Click to expand...
Click to collapse
extract system2.img try via fastboot flash system2 its weird it should atleast bootloop
.
I will patch the Lg Framework Again the Last version was a port it could be the bootloader
rmaybe the img must be signed
Code:
./make_ext4fs -l 700m -a system system2.img system/
Creating filesystem with parameters:
Size: 734003200
Block size: 4096
Blocks per group: 32768
Inodes per group: 7472
Inode size: 256
Journal blocks: 2800
Label:
Blocks: 179200
Block groups: 6
Reserved block group size: 47
Created filesystem with 1437/44832 inodes and 102181/179200 blocks
/system/bin/morningcall could be what is messing up the booting up the Lu6200 patch rom replaces and also CM10 and other rom do not contain it
It install OK creates data and dalvik cache. This is what I can see from recovery, i don't have PC to see more.
Sent from my LG-SU760 using xda app-developers app
iodak said:
It install OK creates data and dalvik cache. This is what I can see from recovery, i don't have PC to see more.
Sent from my LG-SU760 using xda app-developers app
Click to expand...
Click to collapse
is it stuck @ LG Logo?
Yes it doesn't go to boot anim. We need to get adb to see what is going on.
Sent from my LG-SU760 using xda app-developers app
iodak said:
Yes it doesn't go to boot anim. We need to get adb to see what is going on.
Sent from my LG-SU760 using xda app-developers app
Click to expand...
Click to collapse
I Believe its morningcall in bin folder needs to be deleted and secureboot in early init needs to be hashed out also could be the reason it also does not boot on gb loader yes adb is needed to remove that file see if it boots
Done With Clean patch now we must work out how to sort out the secure B.S damn u LG
@defcomk
In micode tools repo is a script called target_update_from_phone that will get you a flash able stock ICS zip. Would upload mine but my upload speed is slow as hell
Sent from my LG-P920 using xda app-developers app
berni987654321 said:
@defcomk
In micode tools repo is a script called target_update_from_phone that will get you a flash able stock ICS zip. Would upload mine but my upload speed is slow as hell
Sent from my LG-P920 using xda app-developers app
Click to expand...
Click to collapse
system.img seems easier to work with i know my uploads also suck but i will upload a build i just made now this one is patched ICS the last was a port from the LU6200
if your on ics can remove morningcall and in early init remove the secure boot from ramdisk the patching went smoothly if it works i might just go back to ICS_StocK_MIUI-Hybrid
there are to .sh files one in bin and the other in xbin there to generate symlinks but the scripts are not active there there incase there needed then we can use adb shell
defcomg said:
system.img seems easier to work with i know my uploads also suck but i will upload a build i just made now this one is patched ICS the last was a port from the LU6200
if your on ics can remove morningcall and in early init remove the secure boot from ramdisk the patching went smoothly if it works i might just go back to ICS_StocK_MIUI-Hybrid
Click to expand...
Click to collapse
OK gonna try it when its uploaded
Sent from my LG-P920 using xda app-developers app
Hello there Xperia PLAY forum!
So, after an entire week of work, I can release my first android application here:
it is an utility to enable touchpads on any rom that is supported (if you want me to support your rom, please post here) .
Description:
It is composed by 2 main apps (or code-talking by 2 main Activities):
A build.prop fixer
A flashable.zip extractor
The build.prop fixer basically modifies some of your build.prop values to match these values, in order to have a proper recognition of the device by games or apps.
The flashable.zip extractor extracts into your sdcard (into a path specified by the app itself) a flashable.zip which contains the fixed framework.jar and the Touchpads Activator app by farenheith for the rom you choose.
Sources
Here
APKs
Here
So here we are! If you find any bug just let me know.
Changes into v1.0.1:
updated a wrong string that I forgot to update lol
added credits to krisdee as well
Lol just saw a broken boolean: gonna fix this
Sent from my R800i using xda app-developers app
Changes into v1.0.2:
fixed a boolean value inside Fixer activity
would i be able to play the n64 emulator with the touch pads on gingerbread if i use this application?
|SavageD| said:
would i be able to play the n64 emulator with the touch pads on gingerbread if i use this application?
Click to expand...
Click to collapse
This app is meant to be used on Cyanogenmod (9 and 10) based roms, it won't fix touchpads on Gb :/
But there's a n64 emulator that allows u to use touchpads, i think it is called Mupen, unless you're using cm7
Sent from my R800i using xda app-developers app
Great work, why not run the cwm zip via exec after?
Sent from my Xperia Play using Tapatalk 4
fma965 said:
Great work, why not run the cwm zip via exec after?
Sent from my Xperia Play using Tapatalk 4
Click to expand...
Click to collapse
I thought of doing this way, but idk how to do it lol
Sent from my R800i using xda app-developers app
I did know but now I forgot xD
Sent from my Xperia Play using Tapatalk 4
fma965 said:
I did know but now I forgot xD
Sent from my Xperia Play using Tapatalk 4
Click to expand...
Click to collapse
LOL I'll search for a cmd that allows it
Sent from my R800i using xda app-developers app
CriGiu said:
LOL I'll search for a cmd that allows it
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
i have no idea if this works but
/cache/recovery/command --update_package=/sdcard/my-rom.zip
followed by
adb reboot recovery
EDIT: i am looking in to making a android app for my kitchen and the option to auto flash a zip file will be useful to me aswell as you hence why i took some time to search aswell
Since you seem to know stuff, Can you let me know how i can run adb/shell commands in a android app thanks
UPDATE: this may also help http://forum.xda-developers.com/showthread.php?t=2250555 as the source is avaliable
fma965 said:
i have no idea if this works but
/cache/recovery/command --update_package=/sdcard/my-rom.zip
followed by
adb reboot recovery
EDIT: i am looking in to making a android app for my kitchen and the option to auto flash a zip file will be useful to me aswell as you hence why i took some time to search aswell
Since you seem to know stuff, Can you let me know how i can run adb/shell commands in a android app thanks
UPDATE: this may also help http://forum.xda-developers.com/showthread.php?t=2250555 as the source is avaliable
Click to expand...
Click to collapse
Well it's quite simple, but you can't use adb since adb executable isn't available on android, but still, you can use busybox instead;
the way I use to execute a cmd via, for example, a press of a button, is to define a Process and a Runtime.
Then you can obtain su permissions (in the OnClick method) by using the Process you defined, like this:
Code:
Process process = Runtime.getRuntime().exec("su" );
Then I use a DataOutputStream to exec other cmds (like mv or cp...)
Example to mount /system (where "//" starts comments:
Code:
[COLOR="Lime"]//Defining a DataOutputStream[/COLOR]
DataOutputStream os = new DataOutputStream(process.getOutputStream());
[COLOR="Lime"]//Using the defined DataOutputStream (os) to exec the command[/COLOR]
os.writeBytes("mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system\n" );
I'm busy these days, but ask me if you need anything (I'm not a java developer though lol)
CriGiu said:
Well it's quite simple, but you can't use adb since adb executable isn't available on android, but still, you can use busybox instead;
the way I use to execute a cmd via, for example, a press of a button, is to define a Process and a Runtime.
Then you can obtain su permissions (in the OnClick method) by using the Process you defined, like this:
Code:
Process process = Runtime.getRuntime().exec("su" );
Then I use a DataOutputStream to exec other cmds (like mv or cp...)
Example to mount /system (where "//" starts comments:
Code:
[COLOR="Lime"]//Defining a DataOutputStream[/COLOR]
DataOutputStream os = new DataOutputStream(process.getOutputStream());
[COLOR="Lime"]//Using the defined DataOutputStream (os) to exec the command[/COLOR]
os.writeBytes("mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system\n" );
I'm busy these days, but ask me if you need anything (I'm not a java developer though lol)
Click to expand...
Click to collapse
Great thanks, Im also not a java developer but some of the stuff is simple, i am also not a jquery or php developer but i can make the odd thing now and then
Thanks.
fma965 said:
Great thanks, Im also not a java developer but some of the stuff is simple, i am also not a jquery or php developer but i can make the odd thing now and then
Thanks.
Click to expand...
Click to collapse
YW man
Feel free to ask me, or look at my sources for a quicker help
Sent from my R800i using xda app-developers app
Hay will this app work in slim bean?
sent from my Sony Ericsson xperia play ™ (r800x) using Tapatalk 4
crazymonkey05 said:
Hay will this app work in slim bean?
sent from my Sony Ericsson xperia play ™ (r800x) using Tapatalk 4
Click to expand...
Click to collapse
If slimbean is based on cm10 (fxp228 and up) then it'll work, but make a backup to be 100% sure
Sent from my R800i using xda app-developers app
Touchpads
CriGiu said:
If slimbean is based on cm10 (fxp228 and up) then it'll work, but make a backup to be 100% sure
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Hiya I hope that you are still around, I am still interested in the xperia play especialy as it looks like kitkat will come out for it any time soon. I am having trouble with the touchpads on my xperia play
I have a Jellybean rom, called SONYCM10 FINAL perfect in every way BUT a major issue that i was not expecting.
Touchpad Activator which is included in the build fails to work when pressing the (activate just for this app) button, it came back with
Error 1: android.view.ViewRoot, the touchpads failed to work in anything
I then installed your touchpad fixer, i have clicked the framework and buildprop buttons and restarted into recovery mode (lupus jb v13) and installed from zip file the framework (I gather that this is how you flash it?). When i restart the phone and test the touchpads there is still no recognition AND when i go back into your fixer app it still says text in red that i have still not fixed my buildprop. I also coppied the framework manually into my system folder and overwrote the original with the new one just incase the installer was not working.
What am I missing? am I not flashing it properly or what? Again I did not flash but just installed from recoverymode the framework zip...
The only thing I can think of that I have not tried is to extract your buildprop somehow and manually overwrite the one in my system directory?
Any Help would be most welcome...
Will this work with Xperia Overlay™ ROM (Android 4.4.4 KitKat)?
dj___ said:
Will this work with Xperia Overlay™ ROM (Android 4.4.4 KitKat)?
Click to expand...
Click to collapse
Make backup
Flash/Install it
See for yourself
Post result here
Have a nice day
Vortelf said:
Make backup
Flash/Install it
See for yourself
Post result here
Have a nice day
Click to expand...
Click to collapse
Okay, gonna definately tell about the result
The actual and tested persano-tweaks for the Tab3 8.0 wifi (T310) stock rom 4.2.2 are included in this post
! You need to be rooted !
BUSYBOX have to be installed!
The original instructions of how to apply the tweaks can be found HERE
1. Download PimpMyRom (I prefer the alpha-version) and enable init.d scripts (Tools/ Tweaks).
2. Extract persano's zip file and paste the files here:
- /system/etc/init.d for init.d tweaks in init.d folder
- /system/bin for bin files in bin folder
- /system for build.prop (delete the old one)
3. Set permissions (p.ex.with EsFileExplorer)
rwxr-xr-x to 01youtubefix in /init.d
rw-r--r-- to 94mediakill in /init.d
rwxrwxrwx to all other init.d scripts in /init.d
rw-r--r-- to build.prop in /system folder
rwxr-xr-x to fstrim in /bin folder
Before rebooting check that all files have the correct permission and all is in place.
If you have a txt file called "Test.log" in /data then init.d support is working correctly.
To get your boot animation back, go to build.prop in /system and delete this line: debug.sf.nobootanimation=1
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=256m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=8m
Click to expand...
Click to collapse
On the T211 (less RAM), I've been using the following lately:
dalvik.vm.heapstartsize=24m
dalvik.vm.heapgrowthlimit=72m
dalvik.vm.heapsize=288m
dalvik.vm.heaptargetutilization=0.75
Seems to be working well enough. Anybody really know what exactly these lines do? I think I kind of know and I kind of don't. I am particularly curious about the minfree and maxfree lines.
thref23 said:
On the T211 (less RAM), I've been using the following lately:
dalvik.vm.heapstartsize=24m
dalvik.vm.heapgrowthlimit=72m
dalvik.vm.heapsize=288m
dalvik.vm.heaptargetutilization=0.75
Seems to be working well enough. Anybody really know what exactly these lines do? I think I kind of know and I kind of don't. I am particularly curious about the minfree and maxfree lines.
Click to expand...
Click to collapse
I recommend not changing this values. Wait until sunday, i have to release a major realase for all my devices, that's why i m releasing it
Sent from my KFTT using XDA Premium 4 mobile app
Ok, here are persano´s tweaks (a little bit modded by me but all credit goes to persano!).
They are tested with success on my device (stock rom 4.2.2), you may try them, too!
The instructions of how to apply the files and permissions settings are found HERE
I m making them flashable, but i m too busy to do it now, maybe on sunday
Sent from my KFTT using XDA Premium 4 mobile app
Mistaz said:
Ok, here are persano´s tweaks (a little bit modded by me but all credit goes to persano!).
They are tested with success on my device (stock rom 4.2.2), you may try them, too!
The instructions of how to apply the files and permissions settings are found HERE
Click to expand...
Click to collapse
ok, i attacked a zip, with the updated version. i modified a bit the build.prop, removed some init.d tweaks (mine) and changed some values on others (mine too)
added two new tweaks
01youtubefix and 94mediakill
please, if you installed the old version, delete all init.d tweaks because there are some very old tweaks that were removed in the new version. and remeber to update your build.prop
Is this latest zip flashable?
poolguy said:
Is this latest zip flashable?
Click to expand...
Click to collapse
No, i got some problems with the flashable zip
Sent from my KFTT using XDA Premium 4 mobile app
persano said:
No, i got some problems with the flashable zip
Sent from my KFTT using XDA Premium 4 mobile app
Click to expand...
Click to collapse
when you got the flashable zip worked out and released...
will I have to be rooted to flash it??
Im bone stock right now....
T 315.. thanks....
jimmbomb said:
when you got the flashable zip worked out and released...
will I have to be rooted to flash it??
Im bone stock right now....
T 315.. thanks....
Click to expand...
Click to collapse
i think no, only recovery
I'm going to ask a dumb question. So after downloading the file, all I habe to do is flash it and the tweaks will be installed/applied or do I habe to apply them individually?
Thanks in advance!
-sr
Sent from my SM-T310
use
Can you tell us about the tweak?
The advantage and features of this tweak?
No flashable, you read ? I think you didnt read anything. No flashable and there is an explanation, read the link in the op
Sent from my KFTT using XDA Premium 4 mobile app
persano said:
I recommend not changing this values. Wait until sunday, i have to release a major realase for all my devices, that's why i m releasing it
Sent from my KFTT using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hi mate, you told him to wait, but will or can you release tweaked build.prop for T210/T211 as well?
Thanks in advance...
tempdroid said:
Hi mate, you told him to wait, but will or can you release tweaked build.prop for T210/T211 as well?
Thanks in advance...
Click to expand...
Click to collapse
i released my tweaks for the samsung galaxy tab 3 8.0. what models areT210 and T211
persano said:
i released my tweaks for the samsung galaxy tab 3 8.0. what models areT210 and T211
Click to expand...
Click to collapse
It's the Galaxy Tab 3 7.0. I was just asking because you were answering to someone about the T211 model to wait for the new release. No problem if you cannot help, I can extract relevant parts on my own.
Persano
Please dont snap. I read and reread the instructions for installing this on the t310, and I remain totally unclear on what to do, download, and install. You have to admit that the instructions are a bit convoluted and they keep referring to the kindle. Ok, I can ignore the device and move on, but it does get confusing.
Can we humbly ask you to maybe write bullet points or full sentences giving fairly clear instructions?
I thank you
Sent from my SM-T310 using xda app-developers app
nabril15 said:
Persano
Please dont snap. I read and reread the instructions for installing this on the t310, and I remain totally clear on what to do, download, and install. You have to admit that the instructions are a bit convoluted and they keep referring to the kindle. Ok, I can ignore the device and move on, but it does get confusing.
Can we humbly ask you to maybe write bullet points or full sentences giving fairly clear instructions?
I thank you
Sent from my SM-T310 using xda app-developers app
Click to expand...
Click to collapse
OP updated as requested