There was an older thread started by johnnylicious and I am going to be starting a new one that has the new files to skin/theme the lockscreen, phone, htccontacts, and Rosie. for the lockscreen the credits go to goldenarmz.
He created the batch file, I just edited the apk and the png files in there to make it work on the new roms.
BEFORE GOING ANY FARTHER, YOU NEED ADB OR YOU NEED TO KNOW HOW TO DROP INTO RECOVERY CONSOLE OR RUN COMMANDS IN TERMINAL. If you do not have it, stop, go to the stickies, get it going and then come back here. do not junk this up with questions that you can search for.
"what is adb" - part of the SDK. it is a huge help, check out the stickies to get it.
"how do i get adb" - go to the stickies
"can i run this without root" - no
"can i run this on cyanogen" - no, this is for hero roms
"will you make this for non-rooted phones" - no, not possible.
Before doing any modifications to anything on ANY rom do a switchrom save or a nandroid backup.
-INSTALL INSTRUCTIONS-
Transparent Rosie.apk with wallpapers
adb remount
adb shell rm -r /system/sd/app_s/Rosie.apk
adb push directory\Rosie.apk /system/sd/app_s/
Click to expand...
Click to collapse
Ophone Dialer.apk
adb remount
adb push directory\Phone.apk /system/sd/app_s/
Click to expand...
Click to collapse
HtcContacts.apk
adb remount
adb push directory\HtcContacts.apk /system/sd/app_s/
Click to expand...
Click to collapse
ANOTHER OPTION FOR OPHONE DIALER AND HTCCONTACTS
Launcher Themed to look like Hero
adb remount
adb push directory\Launcher.apk /system/sd/app_s/
Click to expand...
Click to collapse
you can either adb shell reboot after each file is pushed or you can wait after all three are pushed to shell reboot
adb shell reboot
Click to expand...
Click to collapse
transparent lockscreen
for the lockscreen- unzip and run the .bat file, follow the instructions.
-FOR THOSE NOT USING ADB FOLLOW THESE INSTRUCTIONS-
COURTESY OF NOLIMIT78CHOOSE WHICH OPTION YOU ARE DOING, EITHER TERMINAL OR RECOVERY CONSOLE, AND THEN FOLLOW THE INSTRUCTIONS "FOR BOTH"
This is to move the Rosie.apk
This is for terminal
Code:
su
This is for Console
Code:
mount /system/sd
mount /sdcard (if you put the Rosie.apk on the root of your SD Card)
This is for both
Code:
rm -r /system/sd/app_s/Rosie.apk #cp (which will copy) or mv (which will move)
cp sdcard/Rosie.apk /system/sd/app_s/
This is to move the Phone.apk
This is for terminal
Code:
su
This is for Console
Code:
mount /system/sd
mount /sdcard (if you put the Phone.apk on the root of your SD Card)
This is for both
Code:
#cp (which will copy) or mv (which will move)
cp /sdcard/Phone.apk /system/sd/app_s/
This is to move the HtcContact.apk
This is for terminal
Code:
su
This is for Console
Code:
mount /system/sd
mount /sdcard (if you put the HtcContacts.apk on the root of your SD Card)
This is for both.
Code:
#cp (which will copy) or mv (which will move)
cp /sdcard/HtcContacts.apk /system/sd/app_s/
This is for Hero CleanUp
This is for terminal
Code:
su
This is for console
Code:
mount /system/sd
This is for both
Code:
rm -r /system/sd/app_s/BizCardReader.apk
rm -r /system/sd/app_s/com.htc.MusicWidget.apk
rm -r /system/sd/app_s/com.htc.WeatherWidget.apk
rm -r /system/sd/app_s/FlashPlayer.apk
rm -r /system/sd/app_s/HtcClockWidget.apk
rm -r /system/sd/app_s/htccontactwidgets.apk
rm -r /system/sd/app_s/htcmailwidgets.apk
rm -r /system/sd/app_s/htcmsgwidgets.apk
rm -r /system/sd/app_s/HtcPhotoWidget.apk
rm -r /system/sd/app_s/HTCSetupWizard.apk <-dont remove this one until you set up your phone!
rm -r /system/sd/app_s/Jbed.apk
rm -r /system/sd/app_s/Launcher.apk <- only delete this if you dont use it! This is what the secondary program looks like on Hero, basically cupcake looks.
rm -r /system/sd/app_s/PDFViewer.apk
rm -r /system/sd/app_s/Quickoffice_HTC_1.0.1.apk
rm -r /system/sd/app_s/teeter.apk
DISCLAIMER- I take no responsibility for what happens to your phone, as the screenshots show, it works for me but that does not mean it will work for you. I will be glad to help if you run into problems.
These files have been tested are on working on the newest jacxhero builds from 1.8 on up so far. they should work on most of the other roms as well since they are all using jacxski newest kernel. enjoy.
credits to go goldenarmz for the lockscreen .bat file. if you seek credits just ask, i will be glad to give credit where necessary
-Clean up Hero-
Before doing any modifications to anything on ANY rom do a switchrom save or a nandroid backup.
Since I started running hero roms, i have come to realize that most of the stuff is junk and is not needed. Thus, I have removed many widgets, and many extra .apks that i do not use such as quickoffice, pdfviewer, java, flash, photo album widget, weather widget, music widget, contacts widget, messages widget, mail widgets. I am going to post the commands you can run in ADB to remove these items and speed up hero a little bit. rather than just do a .bat file, i will post them here so the n00bs can just copy and paste into ADB.
TO COPY AND PASTE INTO ADB, HIGHLIGHT THE LINE OF THE ITEM YOU WANT TO REMOVE, PRESS CTRL+C, GO TO THE CMD WINDOW RUNNING ADB AND CLICK IN THE WINDOW AND NOW PRESS ALT+SPACE ADN NOW "E" "P" (WITHOUT THE QUOTES) AND THE LINE SHOULD PASTE OVER. NOW PRESS ENTER AND IT SHOULD RUN.
COMMANDS TO REMOVE FILES
THESE COMMANDS ARE CASE SENSITIVE
adb remount
adb shell rm -r /system/sd/app_s/BizCardReader.apk
adb shell rm -r /system/sd/app_s/com.htc.MusicWidget.apk
adb shell rm -r /system/sd/app_s/com.htc.WeatherWidget.apk
adb shell rm -r /system/sd/app_s/FlashPlayer.apk
adb shell rm -r /system/sd/app_s/HtcClockWidget.apk
adb shell rm -r /system/sd/app_s/htccontactwidgets.apk
adb shell rm -r /system/sd/app_s/htcmailwidgets.apk
adb shell rm -r /system/sd/app_s/htcmsgwidgets.apk
adb shell rm -r /system/sd/app_s/HtcPhotoWidget.apk
adb shell rm -r /system/sd/app_s/HTCSetupWizard.apk <-dont remove this one until you set up your phone!
adb shell rm -r /system/sd/app_s/Jbed.apk
adb shell rm -r /system/sd/app_s/Launcher.apk <- only delete this if you dont use it! This is what the secondary program looks like on Hero, basically cupcake looks.
adb shell rm -r /system/sd/app_s/PDFViewer.apk
adb shell rm -r /system/sd/app_s/Quickoffice_HTC_1.0.1.apk
adb shell rm -r /system/sd/app_s/teeter.apk
Click to expand...
Click to collapse
When removing widgets and some applications, the screen may flash and do the loading screen, this is normal.
Hope this helps you guys running hero roms get things going a little speedier, once again any questions, just let me know, I am working on removing other things here and there to pick up speed, if I find things that can be removed I will post them here.
here is a video of my g1 running my phone as is with all these edits
Console/terminal?
Is it possible to run commands from recovery/terminal? if so, could you please post them in this thread as well? Looks very nice, and i would love to give this a try!
Im gonna try using terminal when i get a minute. Im sure it should work.
Thanks palosjr
akycia said:
Is it possible to run commands from recovery/terminal? if so, could you please post them in this thread as well? Looks very nice, and i would love to give this a try!
Click to expand...
Click to collapse
I'm at work right now, I will post terminal commands when I get home.
Docavelli said:
Im gonna try using terminal when i get a minute. Im sure it should work.
Thanks palosjr
Click to expand...
Click to collapse
Sounds good. If you get to it before I do feel free to post the command here.i will then add them to the OP.
palosjr said:
Sounds good. If you get to it before I do feel free to post the command here.i will then add them to the OP.
Click to expand...
Click to collapse
Not trying to be rude or butt in.. but I had some time and typed it up
EDIT: And I like what you're doing here. Looking good!
EDIT:2 Did that lockscreen come from goldenarmZ? If it did you may want to give a shoutout. Alot of people have been getting all up in arms about stuff like that. Not being a ***** just keeping an eye out
Code:
su
mount /system/sd
mount /sdcard (if you put the HtcContacts.apk on the root of your SD Card)
#cp (which will copy) or mv (which will move)
cp /sdcard/HtcContacts.apk /system/sd/app_s/
Code:
su
mount /system/sd
mount /sdcard (if you put the Phone.apk on the root of your SD Card)
#cp (which will copy) or mv (which will move)
cp /sdcard/Phone.apk /system/sd/app_s/
Code:
su
mount /system/sd
mount /sdcard (if you put the Rosie.apk on the root of your SD Card)
rm -r /system/sd/app_s/Rosie.apk
#cp (which will copy) or mv (which will move)
cp sdcard/Rosie.apk /system/sd/app_s/
Code:
su
mount /system/sd
rm -r /system/sd/app_s/BizCardReader.apk
rm -r /system/sd/app_s/com.htc.MusicWidget.apk
rm -r /system/sd/app_s/com.htc.WeatherWidget.apk
rm -r /system/sd/app_s/FlashPlayer.apk
rm -r /system/sd/app_s/HtcClockWidget.apk
rm -r /system/sd/app_s/htccontactwidgets.apk
rm -r /system/sd/app_s/htcmailwidgets.apk
rm -r /system/sd/app_s/htcmsgwidgets.apk
rm -r /system/sd/app_s/HtcPhotoWidget.apk
rm -r /system/sd/app_s/Jbed.apk
rm -r /system/sd/app_s/PDFViewer.apk
rm -r /system/sd/app_s/Quickoffice_HTC_1.0.1.apk
rm -r /system/sd/app_s/teeter.apk
nolimit78 said:
Not trying to be rude or butt in.. but I had some time and typed it up
EDIT: And I like what you're doing here. Looking good!
EDIT:2 Did that lockscreen come from goldenarmZ? If it did you may want to give a shoutout. Alot of people have been getting all up in arms about stuff like that. Not being a ***** just keeping an eye out
Code:
su
mount /system/sd
mount /sdcard (if you put the HtcContacts.apk on the root of your SD Card)
#cp (which will copy) or mv (which will move)
cp /sdcard/HtcContacts.apk /system/sd/app_s/
Code:
su
mount /system/sd
mount /sdcard (if you put the Phone.apk on the root of your SD Card)
#cp (which will copy) or mv (which will move)
cp /sdcard/Phone.apk /system/sd/app_s/
Code:
su
mount /system/sd
mount /sdcard (if you put the Rosie.apk on the root of your SD Card)
rm -r /system/sd/app_s/Rosie.apk
#cp (which will copy) or mv (which will move)
cp sdcard/Rosie.apk /system/sd/app_s/
Code:
su
mount /system/sd
rm -r /system/sd/app_s/BizCardReader.apk
rm -r /system/sd/app_s/com.htc.MusicWidget.apk
rm -r /system/sd/app_s/com.htc.WeatherWidget.apk
rm -r /system/sd/app_s/FlashPlayer.apk
rm -r /system/sd/app_s/HtcClockWidget.apk
rm -r /system/sd/app_s/htccontactwidgets.apk
rm -r /system/sd/app_s/htcmailwidgets.apk
rm -r /system/sd/app_s/htcmsgwidgets.apk
rm -r /system/sd/app_s/HtcPhotoWidget.apk
rm -r /system/sd/app_s/Jbed.apk
rm -r /system/sd/app_s/PDFViewer.apk
rm -r /system/sd/app_s/Quickoffice_HTC_1.0.1.apk
rm -r /system/sd/app_s/teeter.apk
Click to expand...
Click to collapse
thanks for butting in. im home now. about to to add rosie and lock screen. i love the transparent look.
I actually like the lockscreen from Drizzy's 1.4r1 rom. If you want that, just grab the com.htc.resources.apk from his build, push it to yours and...no more arc .
The Phone.apk does not change the theme of the phone app on the 1.5.1 rom(link in sig).
nolimit78 said:
Not trying to be rude or butt in.. but I had some time and typed it up
EDIT: And I like what you're doing here. Looking good!
EDIT:2 Did that lockscreen come from goldenarmZ? If it did you may want to give a shoutout. Alot of people have been getting all up in arms about stuff like that. Not being a ***** just keeping an eye out
Code:
su
mount /system/sd
mount /sdcard (if you put the HtcContacts.apk on the root of your SD Card)
#cp (which will copy) or mv (which will move)
cp /sdcard/HtcContacts.apk /system/sd/app_s/
Code:
su
mount /system/sd
mount /sdcard (if you put the Phone.apk on the root of your SD Card)
#cp (which will copy) or mv (which will move)
cp /sdcard/Phone.apk /system/sd/app_s/
Code:
su
mount /system/sd
mount /sdcard (if you put the Rosie.apk on the root of your SD Card)
rm -r /system/sd/app_s/Rosie.apk
#cp (which will copy) or mv (which will move)
cp sdcard/Rosie.apk /system/sd/app_s/
Code:
su
mount /system/sd
rm -r /system/sd/app_s/BizCardReader.apk
rm -r /system/sd/app_s/com.htc.MusicWidget.apk
rm -r /system/sd/app_s/com.htc.WeatherWidget.apk
rm -r /system/sd/app_s/FlashPlayer.apk
rm -r /system/sd/app_s/HtcClockWidget.apk
rm -r /system/sd/app_s/htccontactwidgets.apk
rm -r /system/sd/app_s/htcmailwidgets.apk
rm -r /system/sd/app_s/htcmsgwidgets.apk
rm -r /system/sd/app_s/HtcPhotoWidget.apk
rm -r /system/sd/app_s/Jbed.apk
rm -r /system/sd/app_s/PDFViewer.apk
rm -r /system/sd/app_s/Quickoffice_HTC_1.0.1.apk
rm -r /system/sd/app_s/teeter.apk
Click to expand...
Click to collapse
Thanks for loading those commands on here! Ill add them to the OP and give you the credit! Also the lockscreen did come from goldenarmZ, credit has been given both at the beginning and the end of the OP. I will edit it and make more obvious.
What else would you guys like to see skinned/themed? I am going to work with market and peep. Anything else in particular?
palosjr said:
Thanks for loading those commands on here! Ill add them to the OP and give you the credit! Also the lockscreen did come from goldenarmZ, credit has been given both at the beginning and the end of the OP. I will edit it and make more obvious.
What else would you guys like to see skinned/themed? I am going to work with market and peep. Anything else in particular?
Click to expand...
Click to collapse
What a difficult question! Because cupcake wants to be hero.. but since we're on hero.. hmmmmmm
..for the lockscreen the credits go to goldenarmz.
Click to expand...
Click to collapse
well sir, thats just me not reading! lol
harpreet1988 said:
I actually like the lockscreen from Drizzy's 1.4r1 rom. If you want that, just grab the com.htc.resources.apk from his build, push it to yours and...no more arc .
The Phone.apk does not change the theme of the phone app on the 1.5.1 rom(link in sig).
Click to expand...
Click to collapse
Did you get this to work on jacxheroski 2.1??
bigchi2000 said:
Did you get this to work on jacxheroski 2.1??
Click to expand...
Click to collapse
Gotten what to work? Phone.apk?
I've used 2.1 for a day, but then flashed back to 1.5.1. 1.5.1 is faster, at least in my experience it has been. But pushing Phone.apk to 1.5.1 ROM doesn't work.
Though pushing com.htc.resources.apk from Drizzy's 1.4r1 to 1.5.1 ROM got rid of the ARC in the lockscreen.
bigchi2000 said:
Did you get this to work on jacxheroski 2.1??
Click to expand...
Click to collapse
As far as I know it should work. The thing that was keeping these mods from working before was the kernel changes. I am going to keep up with these and when the kernels change i will edit the files accordingly. If you want to be safe, just do this
adb remount
adb pull /system/framework/com.htc.resources.apk
Click to expand...
Click to collapse
This will pull your stock lockscreen, now run the .bat file and let your phone reboot. If it reboots and you cant get past the htc screen do this
adb remount
Adb push (the com.htc.resources.apk file you pulled\com.htc.resources /system/sd/app_s/
Click to expand...
Click to collapse
This will get you back to where you were before. Hope this helps, but like i said it should work just fine.
harpreet1988 said:
I actually like the lockscreen from Drizzy's 1.4r1 rom. If you want that, just grab the com.htc.resources.apk from his build, push it to yours and...no more arc .
The Phone.apk does not change the theme of the phone app on the 1.5.1 rom(link in sig).
Click to expand...
Click to collapse
I will make a different phone.apk and htccontacts.apk when i get home that will work with those builds. Its drizzys 1.5.1 right? Sorry im at work still and am trying to keep up with you guys on the fly. For a quicker response hit me up on gtalk - [email protected]
palosjr said:
I will make a different phone.apk and htccontacts.apk when i get home that will work with those builds. Its drizzys 1.5.1 right? Sorry im at work still and am trying to keep up with you guys on the fly. For a quicker response hit me up on gtalk - [email protected]
Click to expand...
Click to collapse
nope it's the MoDaCo 1.5.1 but Drizzy's 1.4
harpreet1988 said:
Gotten what to work? Phone.apk?
I've used 2.1 for a day, but then flashed back to 1.5.1. 1.5.1 is faster, at least in my experience it has been. But pushing Phone.apk to 1.5.1 ROM doesn't work.
Though pushing com.htc.resources.apk from Drizzy's 1.4r1 to 1.5.1 ROM got rid of the ARC in the lockscreen.
Click to expand...
Click to collapse
try this file for phone.apk ... i took the Phone.apk directly from that build and edited it. If it works i will do the HtcContacts.apk as well. follow same instructions as in the OP
1.5.1 Phone.apk
before pushing, rename the file to Phone.apk
ok guys so after messing with peep.apk i got it to be white and transparent, but for some reason, as soon as the app actually starts and shows the tweets, it goes back to normal, i know it has something to do with .9.png and thats fine, i can mess with them, its just going to take more time. so in the meantime, what else would you guys like to see?
palosjr said:
ok guys so after messing with peep.apk i got it to be white and transparent, but for some reason, as soon as the app actually starts and shows the tweets, it goes back to normal, i know it has something to do with .9.png and thats fine, i can mess with them, its just going to take more time. so in the meantime, what else would you guys like to see?
Click to expand...
Click to collapse
Just pushed the edits thru on jacxheroskiv2.1, everything but the lockscreen worked perfectly, did everything exactly as mentioned, don't know where I could've went wrong... the arc is still there, and when i personalize my phone it gives me the option of the transparent theme, i chose it and and my lockscreen is now a solid black picture with an arc over it...
pushed everything else first,
pulled my lockscreen to C:\
extracted zip to my sdcard, ran bat file...
files were copied and then i get the above mentioned.
Wassup palos? Nice to see you getting your hero theming on. Awesome work
bigchi2000 said:
Just pushed the edits thru on jacxheroskiv2.1, everything but the lockscreen worked perfectly, did everything exactly as mentioned, don't know where I could've went wrong... the arc is still there, and when i personalize my phone it gives me the option of the transparent theme, i chose it and and my lockscreen is now a solid black picture with an arc over it...
pushed everything else first,
pulled my lockscreen to C:\
extracted zip to my sdcard, ran bat file...
files were copied and then i get the above mentioned.
Click to expand...
Click to collapse
dont zip the files to the sdcard, just zip them to the directory you downloaded them from, and then run the .bat, i think maybe when you put it on your sd it isnt finding the new files. also, if you push everything and then pull the lockscreen, there arent going to be any new images there because you pulled them off the phone.
Wassup palos? Nice to see you getting your hero theming on. Awesome work
Click to expand...
Click to collapse
whats going on bro, yea its nice to be able to know enough to give back now
Is there a clockwork3 in an update.zip? When I do it manually, the screen locks on the Samsung screen.
I used oden with d18 and d28. Also do the CM7 nightlies work as well as they do on the evo!
Thanks so much.
Sent from my PC36100 using XDA App
Sent from my PC36100 using XDA App
Do you have root and a terminal app?
Yes sir
Sent from my PC36100 using XDA App
The first thing you need is the OneClickRootCWM3.zip. You need a few files out of it.
Below is a copy of the code from the run.bat that does all the clockwork stuff. We're going to be translating this into something you can do without a computer.
Code:
:Redirector
echo Installing clockworkmod redirector
adb push recovery /system/bin/recovery
adb push recoveryfiles /system/bin/recoveryfiles/
adb push recoveryres /system/bin/recoveryres/
adb shell busybox chmod -R 0755 /system/bin/recoveryfiles/*
adb shell busybox chmod -R 0755 /system/bin/recoveryres/*
adb shell chmod 0755 /system/bin/recovery
adb shell sync
goto:Clockwork
:Clockwork
echo Installing clockworkmod recovery...
adb push redbend_ua /data/local
adb shell chmod 755 /data/local/redbend_ua
adb push zImage /data/local/tmp/zImage
adb shell /data/local/redbend_ua restore /data/local/tmp/zImage /dev/block/bml8
If you paid attention to the code, you probably noticed which files we want. They are:
recovery
recoveryfiles/* (the whole folder)
recoveryres/* (the whole folder again)
redbend_ua
zImage
Put these files somewhere easy to find on your sdcard, such as a folder named cwm.
Now, open a terminal on your phone. We'll start with the redirect, just like the one-click does. If you put the files in a folder called cwm, then enter the lines below one at a time into the terminal.
Code:
remount rw
cp /sdcard/cwm/recovery /system/bin/
cp /sdcard/cwm/recoveryfiles /system/bin/
cp /sdcard/cwm/recoveryres /system/bin/
##Then you *may* have to copy the subfolder in recovery res by doing the following
cp /sdcard/cwm/recoveryres/* cp/system/bin/recoveryres/
busybox
chmod -R 0755 /system/bin/recoveryfiles/*
chmod -R 0755 /system/bin/recoveryres/*
exit (to exit busybox and drop back to toolbox)
chmod 0775 /system/bin/recovery
sync
I don't remember for sure, but your phone may reboot now. If it does, then enter "remount rw" again so that you have write access to the system. Now to finish installing cwm.
Code:
cp /sdcard/cwm/redbend_ua /data/local/
chmod 755 /data/local/redbend_ua
cp /sdcard/cwm/zImage /data/local/tmp/zImage
/data/local/redbend_ua restore /data/local/tmp/zImage /dev/block/bml8
That last line calls redbend_ua with the "restore" flag and puts "/data/local/tmp/zImage" into the place where the recovery belongs, or "/dev/block/bml8" The phone should reboot now and you will have your new recovery.
Then if you want to clean up the left over stuff
Code:
rm /data/local/redbend_ua
rm /data/local/tmp/zImage
Have fun.
Hey!
I am trying to replace the files in /system/app and /system/framework/ to make the deodexed...
but I can't do it, I've added the folders to SD card and I have followed the guide:
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
but when I type to CMD this command then it doesn't do nothing: cp /sdcard/done_app/* /system/app/
It says only;
[email protected]:/ # cp /sdcard/done_app/* /system/app/
cp /sdcard/done_app/* /system/app/
sh: cp: not found
127|[email protected]:/ #
What I can do, can I replace them by making flashabe .zip for CWM?
and how even can do the CWM flash script thing?
Please help, Thanks!
Is busybox installed on your device?
Unlawful said:
Is busybox installed on your device?
Click to expand...
Click to collapse
I added it to /system/xbin/ and my Nexus is also rooted!
manumanfred said:
I added it to /system/xbin/ and my Nexus is also rooted!
Click to expand...
Click to collapse
Hmm, because it says it can't find cp which is a pretty common linux command that is unless Android (with busybox I should add) doesn't support it. You could give adb push and pull a try rather than cp. 'rm' should most definitely work in adb shell.
manumanfred said:
I added it to /system/xbin/ and my Nexus is also rooted!
Click to expand...
Click to collapse
Then there is something wrong with you busybox. cp is not supported natively in Android - you need busybox.
Sent from my Galaxy Nexus using Tapatalk 2
Okay! I can download from play store the busybox installers to install busybox but right now I don't need it because I did all manually..
Note to moderation team: I wanted to post my contribution directly into the author's thread but I'm not allowed to do so.
If my post is right, maybe you could merge my post with the original discussion.
Hi everyone,
I'd like to to provide my feedback regarding the following tool written by Bin4ry.
Tool is available here:
http://forum.xda-developers.com/showthread.php?t=1886460
First of all, I'd like to thank Bin4ry for his job, because with the help of his tool, I have successfully rooted my noname (*) tablet, running ICS 4.0.4.
However, it did not work out at the very first try: the tool said everything went fine but after reboot, my tablet was still not rooted.
Actually, I entered the guts of Bin4ry's script, and find out this trick.
The original script contains this section:
Code:
:NORMAL
IF %ric% == 1 GOTO RICSTUFF
echo Going to copy files to it's place
stuff\adb.exe shell "/data/local/tmp/busybox mount -o remount,rw /system && /data/local/tmp/busybox mv /data/local/tmp/su /system/xbin/su && /data/local/tmp/busybox mv /data/local/tmp/Superuser.apk /system/app/Superuser.apk && /data/local/tmp/busybox cp /data/local/tmp/busybox /system/xbin/busybox && chown 0.0 /system/xbin/su && chmod 06755 /system/xbin/su && chmod 655 /system/app/Superuser.apk && chmod 755 /system/xbin/busybox && rm /data/local.prop && reboot"
GOTO FINISH
Actually, I think that the command "/data/local/tmp/busybox" is missing at some locations.
So I rewrote the script as follows and got my tablet rooted !!
Code:
:NORMAL
IF %ric% == 1 GOTO RICSTUFF
echo Going to copy files to it's place
stuff\adb.exe shell "/data/local/tmp/busybox mount -o remount,rw /system"
stuff\adb.exe shell "/data/local/tmp/busybox mv /data/local/tmp/su /system/xbin/su"
stuff\adb.exe shell "/data/local/tmp/busybox mv /data/local/tmp/Superuser.apk /system/app/Superuser.apk"
stuff\adb.exe shell "/data/local/tmp/busybox cp /data/local/tmp/busybox /system/xbin/busybox"
stuff\adb.exe shell "/data/local/tmp/busybox chown 0.0 /system/xbin/su"
stuff\adb.exe shell "/data/local/tmp/busybox chmod 06755 /system/xbin/su"
stuff\adb.exe shell "/data/local/tmp/busybox chmod 655 /system/app/Superuser.apk"
stuff\adb.exe shell "/data/local/tmp/busybox chmod 755 /system/xbin/busybox"
stuff\adb.exe shell "/data/local/tmp/busybox rm /data/local.prop"
stuff\adb.exe shell "/data/local/tmp/busybox reboot"
GOTO FINISH
Note: I'm typing from memory because sadly, I erased my own modified file hope I'm not typing too much stupid things because my memory might play me some tricks. But the general idea is here.
Said differently, I simply added the command "busybox" before "chmod" and "chown" commands.
Don't ask me why but it did work. Actually, I discovered this trick by typing the aformentionned commands one a time and find out that simply chmoding a file did not actually change its properties.
I did not rewritte the entire script, but it might be necessary to add the "busybox" command prior to any other "chmod" or "chown" commands (in the ":RICSTUFF" for instance. My tablet did not require to enter this section so I did not bother modify it).
Hope this trick will help someone. If someone finds out it solves its issue, it might be useful to modify Bin4ry's script in a next version of the tool.
(*) more precisely, my tablet is a Finetech by Akor, model TG166.
Want to try to use this method to root Docomo P-02E but something concern.
If rooting is not success, it must be kept unrooted. But will it brick the phone?
Thank you and regards,