[DEV] PSFreedom(PSJailbreak) Android Port - Motorola Droid Android Development

I think all of you PS3 owners here already know about the Jailbreak tool that allows you too execute unsigned code on the PS3. That opens the console for a lot of homebrew possibilities(mplayer port maybe?). The source code for the exploit leaked and a dev called KaKaRoTo managed to get it to be executed from a N900. Yesterday KaKaRoTo released his souce code and today someone already ported it to the Palm Pre. This quick port was possible because the N900 and Palm Pre both share the same USB controller(mUSB) which happens to be the controller used by the Droid/Milestone.
Here is some info from KaKaRoTo's blog:
Q: How hard is it to port it to a new device ?
A: Well, I’ve just separated my code from the N900 specific stuff, so it’s quite easy, there are mainly two functions to write, one to get and one to set the USB address.. two other functions that only return some static result depending on the configuration of the controller (the name of the endpoints, and whether the controller supports high speed or full speed mode).
Read the README file provided with PSFreedom, and check the psfreedom_machine.c file for specifics on what to implement.
Q: How can I port it to a new device.
A: Well, first, you need to figure out what controller your device uses, in the case of the N900, it’s ‘musb’..
Then go to the driver code for that controller (probably in drivers/usb/gadget) and look for ‘SET_ADDRESS’. In the case of musb, it was in drivers/usb/musb/musb_gadget_ep0.c. In there it was setting the address to the USB device, so just copy that code into the psfreedom_machine.c to allow setting the address, and add a similar function to be able to retreive the address.
Then add a function to return 0 or 1 depending on whether the controller supports HIGH, FULL or LOW speed mode (go to usb_gadget_register_driver for your controller, and in the first lines, it should validate the speed argument, it will tell you which ones are acceptable), set LOW speed mode to return TRUE only if FULL speed isn’t available .
Finally, add a function to return the endpoint names.. it will usually be something like ‘epXin’ and ‘epXout’ (where X is the endpoint number), or “epXin-bulk”, etc.. look at how the driver initializes its endpoints or grep for “->name” in the file to find where it sets it…
That should be enough!
Ok this is it for now with the FAQ. Next time, I’ll tell you all about my experience, what problems I encountered and how I fixed them, maybe it will help others!
Click to expand...
Click to collapse
http://kakaroto.homelinux.net/
Some people over the HTC Desire boards are already working on a port but Desire's controller is a different one(MSM72K) so they might take some time and it will be of no use for us
http://forum.xda-developers.com/showthread.php?t=772795
So, any dev here willing to give it a try?

according to zzg in the desire forum, this is what you need to do. no source changes.
Well you don't really need any changes to get it compiled against Droid's kernel, a quick and dirty way by looking at psfreedom's make file:
make -C /path/to/droid/kernel/source M=/path/to/psfreedom/source ARCH=arm CROSS_COMPILE=/path/to/android_ndk/tree/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi- EXTRA_CFLAGS=-DENABLE_MUSB_CONTROLLER modules
Click to expand...
Click to collapse
You can get the source from motorola.

Has anyone been successful with the exploit?
On the wiki it shows that it's in progress, but no info on who is working on it
hxxp://psfreedom.com/wiki/index.php?title=Device_compatibility_list

The guys over in the Milestone thread are beginning to get somewhere it seems, and someone in the desire thread said they've almost got the Milestone version working.
Not sure it means anything to the droid-ers though

Ahhhh I want a Droid version! I wish I could code!

Patiently waiting for the Motorola Droid Port....

Anybody know who is working on milestone/droid port?

desolateone1 said:
according to zzg in the desire forum, this is what you need to do. no source changes.
You can get the source from motorola.
Click to expand...
Click to collapse
Tried that. It didn't work, though I'm not familiar with configuring kernels. I have a compsci degree, but I just haven't ever played with them. Didn't figure it'd be as simple as this but thought I'd give it a go for the community... anyone want to give me a new clue?
Edit: I configured the kernel with 'make defconfig'

Where did you get the motorola source kernel?

https://opensource.motorola.com/sf/projects/droid
http://tinyurl.com/droid-ks-ese81
http://android.git.kernel.org/?p=ke...1;hb=34485287cb92a298eb6110926b729bf40bf3ba69
The third link is to the kernel space tree and I took the "snapshot" from there.
Got the NDK from here...
http://developer.android.com/sdk/ndk/index.html

Confirmed working!!!
place linked files on root of sdcard
First do nandroid backup!
Then reboot into recovery fire up adb and
"adb shell"
"#cd /sdcard"
"#flash_image boot boot.img"
reboot into ROM normally
open a terminal
"$su"
"#mount -o remount,rw /system"
"#mv psfreedom.ko /data/psfreedom.ko"
"#insmod /data/psfreedom.ko"
Then do the normal Jailbreak/PSgroove/PSFreedom power off on and quickly hit eject
It will take a little longer to boot (this is good)
Then under the "Game" tab it will show two new icons "/app_home/PS3/Game" and "Install Package Files"
Done using Cyanogenmod 6
Excellent job devs!
Links: hxxp://dl.dropbox.com/u/8949251/psfreedom.ko
hxxp://dl.dropbox.com/u/8949251/boot.img

freehood4all said:
Confirmed working!!!
place linked files on root of sdcard
First do nandroid backup!
Then reboot into recovery fire up adb and
"adb shell"
"#cd /sdcard"
"#flash_image boot boot.img"
reboot into ROM normally
open a terminal
"$su"
"#mount -o remount,rw /system"
"#mv psfreedom.ko /data/psfreedom.ko"
"#insmod /data/psfreedom.ko"
Then do the normal Jailbreak/PSgroove/PSFreedom power off on and quickly hit eject
It will take a little longer to boot (this is good)
Then under the "Game" tab it will show two new icons "/app_home/PS3/Game" and "Install Package Files"
Done using Cyanogenmod 6
Excellent job devs!
Links: hxxp://dl.dropbox.com/u/8949251/psfreedom.ko
hxxp://dl.dropbox.com/u/8949251/boot.img
Click to expand...
Click to collapse
So just to make sure I am understanding correctly you are saying that this method is confirmed working for the droid? If so where did the work come from? Was this recompiled from another platform and if so what is the source?
-Z

zerosignal0 said:
So just to make sure I am understanding correctly you are saying that this method is confirmed working for the droid? If so where did the work come from? Was this recompiled from another platform and if so what is the source?
-Z
Click to expand...
Click to collapse
Yes I have tested and it works, I have already backed up a game, and used the ftp server.
The work came from several people in #PSFreedom on irc.freenode.net
I think you are asking how was the module compiled, afaik it was from a 2.6.32 droid kernel.
Also you should note that when you flash the modded boot image Charging does NOT work you should have adequate battery BEFORE trying and you should flash back to your old boot image with an advanced nandroid restoring the boot image.

freehood4all said:
Yes I have tested and it works, I have already backed up a game, and used the ftp server.
The work came from several people in #PSFreedom on irc.freenode.net
I think you are asking how was the module compiled, afaik it was from a 2.6.32 droid kernel.
Also you should note that when you flash the modded boot image Charging does NOT work you should have adequate battery BEFORE trying and you should flash back to your old boot image with an advanced nandroid restoring the boot image.
Click to expand...
Click to collapse
Awesome! Thanks for the info, I was just wondering where the dev work was coming from. Also thanks a bunch for the boot_image heads up because I was just about to flash it over but wouldnt have been able to test it for a few hours.
-Z

So this may seem like a dumb question but I have the backup manager files and such but am not sure where on the sdcard to place it. Also what is the path you are supposed to use on the hdd (both internal and external) to place backups and write backups?

zerosignal0 said:
So this may seem like a dumb question but I have the backup manager files and such but am not sure where on the sdcard to place it. Also what is the path you are supposed to use on the hdd (both internal and external) to place backups and write backups?
Click to expand...
Click to collapse
Place any .pkg files on the root of a thumb drive thats formated to FAT32
As for backups you can put backups under /dev_hdd0/game/LAUN12345/GAMEZ "This is the path if you are using the original backupmanager.pkg and not some stealth backupmanger"
For games on an external I believe you put a folder named "GAMEZ" on the root of HDD. I haven't tried with external yet, so correct me if I'm wrong.

I will let you know when I get out of work. I have setup and saved my rom with the kernel changes so I can quick change when necessary. Thanks for the update on the file paths as well.
-Z

I'm totally lost right now can someone walk me through on how to do this? I have cm6 on my droid

You essentially are kinda following the same steps for flashing the boot image for getting manual root and some older roms. The instructions are pretty straightforward but make sure that you take a nandroid backup before making any changes.

I am running chevys SS 4.7 rom but I believe the kernel versions should be the same. As soon as I get out of here Ill update with the results.
-Z

Related

[ROM - 32B] ZeroXd 5.2r4 / JACHeroSki-v2.0 [09/11/2009 - 11:47AM EST]

I will be accepting donations if you like my work. After contacting HTC, they informed me that my device is not under warranty, as a technician determined it to be "user related" damage and that all repairs will be at owner expense.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8141983
If you follow my twitter, you know I bricked my G1. I am trying to get it repaired, but due to the long response time I had to buy a mytouch (no point having two G1s IF the other one gets repaired). Using this bad luck to my advantage, I scripted a way for hero to run on both with two simple commands.
How I rooted a brand new "perfected SPL" MT3G and installed Hero in 15 min:
http://forum.xda-developers.com/show...&postcount=154
Link to original thread: http://forum.xda-developers.com/showthread.php?p=4365404#post4365404
Updated, but still feeling slow? Back up. Try rm system/sd/app_s then reboot to recovery and wipe data. then install fresh. Before restoring your data, open the backup folder on your sd card and remove the subfolders for programs you no longer have or need to have backed up.
I noticed a 10% increase in speed and my phone was far from lagging to begin with.
Losing messages? Make sure that system/sd/app/com.android.mms.apk does NOT exist, as this was an old release. Go into settings for messaging (from the conversation list panel) and set priority to "High"
Most Recent:
G1 / MT3G: http://twistedumbrella.slackdev.com/ZeroXd-6.0.zip
Now includes dynamic swap. Rewrote the method of apps to sd for myTouch.
Build will move system apps, user apps, and dalvik to sd on a g1 device.
Build will ONLY move user apps to the sd when using a myTouch.
This will allow the system apps and dalvik to remain on internal device.
This is a completely new method of doing a merge build so bear with me.
I am going to be rewriting things for users without a lot of user apps, like myself.
This will allow the entire build to be placed onto internal for mytouch users.
Once you have updated and are ready to use the phone, execute Terminal and enter the following commands:
su
magic
This configures the system to the specific device. This is until I finish automation.
LEDs have been restored to 93%
Bluetooth restored in MT3G
Porting my own boots for MT3G
Based on the System Image from Haykuro
Using the Kernel and Boot.img from JAC
Extensive system script edits were done
SwitchROM installs itself to system/sd/
LEDs are at about 90-100% brightness
CPU Optimization turned off by default
Enhanced Terminal included
Fixed My Account included
G1 / MT3G: http://twistedumbrella.slackdev.com/ZeroXd-5.2r5.zip
http://twistedumbrella.slackdev.com/Resources.zip
twistedumbrella said:
MultiTouch for MT3G being patched NOW
Click to expand...
Click to collapse
Does that mean multitouch doesn't work and one more unanswered questio IS it from the latest release that modaco did, i asked it since 5.0 so please answer
White Rosie doesn't work i tried it but i doesn't show up and it doesn't even install shows parse error, can you do something about that. Really appreciate your work. Will donate as soon i finish with my exams, I came to US for a holiday for 3 months and as i came back i have exams, only 3 left, have to finish 6 books per subject (thats f*****ng 3 months syllabus) and i have exams after 2 day holidays , thats why i have been a bit inactive in the community, will be active on 24 and will provide a special version of HERO based on my favourite ZEROXD.
Installed JACHeroSki 2.0 and i get stuck on a boot loop. i've tried wiping and re-flashing and same thing.
mgorman said:
Installed JACHeroSki 2.0 and i get stuck on a boot loop. i've tried wiping and re-flashing and same thing.
Click to expand...
Click to collapse
For me 2.0 working fine,but cannot install ZeroXd-5.2r4-installation aborted:/
In v2.0 cannot run wifi:/somebody else?
Had to fix scripts. Check the link on original thread for download. They are the same files. The verification fail happens when your downloading as I upload. It was a last minute fix on the way to work. Sorry for the issues.
hey twisted...great work on the roms...
couple issues with me...
auto-rotate doesn't work...
auto correct and dictionary doesn't work also...
is there any way we can correct this?
tq745 said:
hey twisted...great work on the roms...
couple issues with me...
auto-rotate doesn't work...
auto correct and dictionary doesn't work also...
is there any way we can correct this?
Click to expand...
Click to collapse
What device are you using? MyTouch? Did you run the terminal command?
BTW, for everyone else: http://twistedumbrella.slackdev.com/user.conf
Did some testing, seems to run a little smoother
tq745 said:
hey twisted...great work on the roms...
couple issues with me...
auto-rotate doesn't work...
auto correct and dictionary doesn't work also...
is there any way we can correct this?
Click to expand...
Click to collapse
Thank you... h.nocturna for the fix, and nacron for the heads up...
Here is the fix for auto-complete... Worked for me on 5.1r2
Everything in
open dos prompt.
adb remount
(***back up the original***)
adb pull /system/sd/app_s/HTC_IME.apk c:\(*your directory*)\HTC_IME.apk
(***install the new one***)
adb push c:\(*your directory*)\HTC_IME.apk /system/sd/app_s/HTC_IME.apk
start your Messaging it will crash the first time you want to use the keyboard... restart Messaging and it should work...
HTC_IME.apk here: http://www.mediafire.com/?te0symyx4yz
Mms auto-rotate works for me in 5.1r2 so I dont know. But possibly you still have the old Mms.apk. Try pushing the new one from 5.0 or later rom...
Twisted are you using BFS in your new builds??? Post 5.1 that is....
twistedumbrella said:
What device are you using? MyTouch? Did you run the terminal command?
BTW, for everyone else: http://twistedumbrella.slackdev.com/user.conf
Did some testing, seems to run a little smoother
Click to expand...
Click to collapse
so i opened up better terminal and when i entered su it says
/system/xbin/su: not found
help?
in the meantime i'll try zambesey's way
twistedumbrella said:
What device are you using? MyTouch? Did you run the terminal command?
BTW, for everyone else: http://twistedumbrella.slackdev.com/user.conf
Did some testing, seems to run a little smoother
Click to expand...
Click to collapse
so i opened up better terminal and when i entered su it says
/system/xbin/su: not found
help?
in the meantime i'll try zambezy's way
same issue as above :-(
1.8 is running pretty awesome.
i guess its safe to assume that i shouldn't try 2.0 yet? lol
zeroxd 5.2r4 seems to be faster than jacs 2.0 but i cant get auto rotate to work or multitouch and when i try the commands in first post i get "/system/xbin/su: not found''
did you try running the commands via adb ?
im not familiar with doing it that way i dnt even know wat adb is
just connect your phone to the pc
install the drivers from android SDK
start > run > cmd
cd to the android tools directory
and adb shell
that's how i did with my phone and works perfectly
im not gona risk any damage ill deal without the rotate for a day till its fixed
tq745 said:
so i opened up better terminal and when i entered su it says
/system/xbin/su: not found
help?
in the meantime i'll try zambezy's way
Click to expand...
Click to collapse
should be under /system/bin not xbin

[ROM] Custom Stock Samsung Conquer 4G FC17 Rooted With Tweaks

Since people continue to only download part 1, even though I've explained fully that you MUST download BOTH parts before extracting, I have now added this at the beginning of the post, so hopefully people will actually follow the directions properly. DOWNLOAD BOTH PARTS BEFORE EXTRACTING, IT WILL NOT EXTRACT PROPERLY ONLY DOWNLOADING ONE PART!!!
This is a custom stock ROM for the Samsung Conquer 4G that has many advantages over a completely stock image. It was developed by me, Brien Johnson of XHPCreations aka brienj.
The link to the files for the ROM are at the very end of this post, but I recommend you read the FULL post while downloading the files.
- Your phone will be rooted.
- The complete FC17 update that shouldn't nag you to update to FE16. (may help to delete the FE16 update in the cache if you already had it pushed to your phone)
- Clockword Mod Recovery for making easy backups and restores.
- Completely Deodexed and ZipAligned for better performance or being able to hack further.
- All bloatware removed, i.e. SprintID
- Stock Launcher replaced by ADWLauncher. (the stock Launcher could not be deodexed, but ADWLauncher is much better and more robust)
- Debuggable.
- Custom power menu that includes, reboot, reboot into recovery, and reboot into download. (Currently the reboot into download does not work, will try to get it to work if possible in the future)
- Custom battery icons that show the actual percentage of battery power left.
- ICS Fonts for better appearance of text in phone's menus.
- Memory and network tweaks for best performance and battery savings.
- Support for running scripts on boot in init.d folder. I've included one script to help sdcard performance, feel free to add any more that you want.
- Support for standard bootanimation.zip files.
Along with these tweaks I will give instructions on improving the network performance further and changing the boot sound, as well as give links to useful programs and hacks that can be added on this phone.
I suggest only using this ROM if you have not successfully applied the FE16 OTA Update to your phone. If you have a stock FE16 phone, it MAY still work however. I can not guarantee this ROM will work for you, and I am not liable for any damage to your phone if you try to install this ...
Here are the instructions to install the custom stock ROM on a Samsung Conquer 4G with the FC17 update. It is installed in two parts, the first is if you do not already have Clockwork Mod Recovery installed, in which case follow the Odin instructions. If you have installed the CWMR already from my instructions here - http://forum.xda-developers.com/showthread.php?t=1610534 then go ahead and follow the CWMR instructions.
Odin installation instructions (Use if you do not have CWMR already installed):
To enter Download Mode on the phone, make sure the phone is turned off and plugged into the wall charging. You should also make sure the phone has a good charge on it. Then turn the phone on by pressing the volume down and camera button and holding them while pressing the power button for a few seconds.
Unzip all the files on your computer and follow these steps.
1) Enter download mode on the phone and plug it into your computer.
2) Open up the Odin program in Windows, run as administrator if on a version of Windows that has such a feature, such as Windows 7. Sorry, there is no Odin for Linux based systems that I know about.
3) Press the OPS button and select the SPH-D600_FC17_CWM_XHP1.ops file.
4) Press the PDA button and select the SPH-D600_FC17_CWM_XHP1.tar.md5 file.
5) Press the Start button, the images should install and the phone reboot.
Congrats, your phone now has my Custom FC17 ROM with a CWM Recovery.
CWMR installation instructions (Use if you have CWMR installed):
Unzip all the files on your computer and follow these steps.
1) Copy the clockworkmod folder and merge it with the folder already on your SD Card. If you do not already have that folder on the SD Card, you may not have CWMR already installed, or you've never made a backup before with it.
2) Boot into CWMR by holding the volume down button and the power button while pugged into the wall charger, or by using the adb command "reboot recovery".
3) Select the menu item "backup and restore".
4) Select the menu item "restore".
5) Select the restore named "SPH-D600_FC17_CWM_XHP1".
6) Select the menu item "reboot now".
Congrats, your phone now has my Custom FC17 ROM with a CWM Recovery.
Now that the phone has the custom ROM, here are some things you can add or do to further improve performance on the phone if you wish.
First of all I recommend installing AdFree, Terminal Emulator, Titanium Backup, and if you wish ScriptManager, which can all be found on the Google Play Store. I can help you find them if needed.
For better 3G follow these steps (enter commands into Terminal Emulator or use the adb shell):
Type this command: getprop ril.MSL
It should show your MSL. Write it down.
Open the dialer and dial ##3282##
Enter your MSL
Click on "Others"
Click on "Multimedia"
Change the settings as follows:
RTSP Proxy Address: 0.0.0.0
RTSP Proxy Port: 0
HTTPPD Proxy Address: 0.0.0.0
HTTPPD Proxy Port: 0
The stock settings are:
RTSP Proxy Address: rtsp.vog.sprintpcs.com
RTSP Proxy Port: 554
HTTPPD Proxy Address: pd.vog.sprintpcs.com
HTTPPD Proxy Port: 8085
Here is how to change the boot sound:
First of all get the "poweron.snd" file from the /system/etc/ folder. It is a raw sound file which can be opened in any audio editor, such as Cool Edit Pro.
Here are the settings to select when opening it up in Cool Edit Pro for example:
Sampling Rate: 441000
Channels: Stereo
Resolution: 16-bit
Data Formatted As: 16-bit Intel PCM
Offset Input Data By: 0
Now you can listen to the boot sound in the audio editor. You can change it to your liking and save it in the same format. Remember to keep it a RAW audio file with the settings above. Replace the "poweron.snd" file with your edited audio file, retaining the same filename.
To replace the boot animation, you can find the "bootanimation.zip" file in the /system/media/ folder. Replace it with a bootanimation file of your liking. I've included a custom bootanimation that was modified to match the custom boot logo I made. I made all of it from a popular bootanimation of which I can not remember where I found it. I am not taking any credit for the original bootanimation, I just modified it to say Samsung Conquer 4G at the top and to speed up and spin faster at the end. If anyone remembers the original creator, I will add a link to it.
A great cpu tuning program that works on the phone (although won't save settings on boot for some reason), is this - http://forum.xda-developers.com/showthread.php?t=1584508. From the screenshots below you can see that the phone will last almost 3 days without this program, although the other screenshot was using the program setting of PowerSave and after 20 1/2 hours it was still at 70%, but I also didn't use the phone, I just had it locked. However, when running in PowerSave mode, the phone will be very sluggish, so is only to use if you are just waiting for phone calls or just texting.
These are all the tweaks I have for now. I hope you enjoy the ROM.
I hate to bring this up, but if you like this ROM, please consider making a donation. I don't do this just for donations, I enjoy helping everyone out, but I was in a near fatal accident over two years ago and can no longer work. If you find yourself enjoying this ROM, please click on the Donate button under my name, I would really appreciate it. I can try to improve the ROM over time, but please remember that this ROM is strictly made for performance and battery life and to give you more control over your phone. I don't plan on doing any theming, and most people do ICS themes and such. Personally I hate the look of the ICS themes and the only thing I've taken from ICS, is the fonts, which I do like and look much better than the original. If you want some fancy theme, or mods like Beats Audio, I'd suggest looking for another ROM. If you want performance and longer battery life, I think you'll enjoy mine.
Take care and thank you for trying my ROM.
You must download BOTH of these files before you can extract them. After downloading them, put them both in the same folder, and open the part1.rar file up, and you can then extract the files properly. If you only download one of the two files, the files will be corrupted or not work:
Here is the link to the first file of the ROM - SPH-D600_FC17_CWM_XHP1.part1.rar
Here is the link to the second file of the ROM - SPH-D600_FC17_CWM_XHP1.part2.rar
I apologize for having to split it into two files, but I have a maximum of 200MB I can upload, as I don't have a premium account at MediaFire.
Dude, your awesome.
So glad to see this!
bring on the flock of desperate Conquer users.
This is John Smith from Ting forums by the way.
Good job man. Gonna download asap.
DiehlC said:
Dude, your awesome.
So glad to see this!
bring on the flock of desperate Conquer users.
This is John Smith from Ting forums by the way.
Good job man. Gonna download asap.
Click to expand...
Click to collapse
Cool. I hope it works great for you.
You were able to install my other one, so you have CWMR already, right? If so, I recommend just updating that way as it's of course much easier.
Thanks for your hard work, looks great...
brienj said:
Cool. I hope it works great for you.
You were able to install my other one, so you have CWMR already, right? If so, I recommend just updating that way as it's of course much easier.
Click to expand...
Click to collapse
Sure do, so yup thats my plan.
What do you think about "Mobile Odin" Would it also work for flashing this? for information sake atleast.
DiehlC said:
Sure do, so yup thats my plan.
What do you think about "Mobile Odin" Would it also work for flashing this? for information sake atleast.
Click to expand...
Click to collapse
It probably would. Perhaps it uses the flash_image binary to flash the images properly, but I don't know for sure. You'd have to make sure you give it the correct names of the mtd partitions though, or it would know the correct names for them, but that's if it uses the flash_image binary. You can always flash these yourself with the flash_image binary using the mtd table I listed. If you have CWMR though, I'd just do it that way.
It doesn't list our phone in the compatible phones, which leads me to believe it only knows the partition tables for the phones listed. Perhaps if you gave them our partition table, they could make it work though.
john9 said:
Thanks for your hard work, looks great...
Click to expand...
Click to collapse
You're welcome. Hard work is an understatement though. When I had my accident, my head was split wide open from being struck. As a result, I have serious brain damage, although I have retained most of the smarts I had before the accident, which helps. However, it takes me months to do something like this, whereas before it would have taken maybe a week or two at the most, heck, probably a couple of days to be honest. I can not concentrate, I have to do one thing at a time, and I always forget things, even something that happened a few minutes ago. This is why I can not even work, as I can not be in a competitive work environment. Heck, even posting a post will take me close to 5 or 10 minutes, from fixing all the transposed letters, double-printing of letters, grammar, etc. The first post of the thread took me about 3 hours to finish and completely type up. It may appear from my posts, that I am smart, which I don't want to brag, but I believe I am, but because of my TBI, it's not what it appears to be, as you only see the final result after all my editing. I used to hide my problem, but I am not ashamed to admit it any more.
Thanks man this is really fast. I did a test and left my phone locked and it started out at 64 than 2 hours later it was 61!! Really good battery life.
Sent from my SPH-D600 using xda premium
Came here from the Ting forums. I just had to remember my username I created way back when I still had an XV6800. Those were the days!
Anyway, I tried downloading part 2 a few times, and every time I extract the files, it tells me the md5 file is broken. Anyone else having this issue?
bradyarz said:
Came here from the Ting forums. I just had to remember my username I created way back when I still had an XV6800. Those were the days!
Anyway, I tried downloading part 2 a few times, and every time I extract the files, it tells me the md5 file is broken. Anyone else having this issue?
Click to expand...
Click to collapse
You have to have part 1 and part 2 in the same folder, then open part1. It is a two part rar file, so uses both files. By opening just the second file, it won't all be there. But both files contain the whole package, you just need to open part 1, as long as you have part 2 as well.
I had to split the rar file up because Mediafire only allows me to upload a maximum filesize of 200MB, since I don't have a premium account. I've updated this info right before the download links.
itzdarockz said:
Thanks man this is really fast. I did a test and left my phone locked and it started out at 64 than 2 hours later it was 61!! Really good battery life.
Sent from my SPH-D600 using xda premium
Click to expand...
Click to collapse
Well that's great to hear it works ok for you and yes, the battery life, even without the cpu tuner program is FAR better than original. At least it has been for me. I can run an intensive program with WiFi and the phone would still last close to 10 - 12 hours. That was the whole goal of my ROM, was for longer battery life, since it sucks when stock, and I think I succeeded at it.
brienj said:
You have to have part 1 and part 2 in the same folder, then open part1. It is a two part rar file, so uses both files. By opening just the second file, it won't all be there. But both files contain the whole package, you just need to open part 1, as long as you have part 2 as well.
I had to split the rar file up because Mediafire only allows me to upload a maximum filesize of 200MB, since I don't have a premium account. I've updated this info right before the download links.
Click to expand...
Click to collapse
Ok, thanks. I was just a little worried because part 1 extracted fine, and part 2 always gave me an error, giving me the part 2 md5 as a 0 byte file.
I've never rooted through android before, so I want to make sure I've got everything squared away before I begin.
brienj said:
You have to have part 1 and part 2 in the same folder, then open part1. It is a two part rar file, so uses both files. By opening just the second file, it won't all be there. But both files contain the whole package, you just need to open part 1, as long as you have part 2 as well.
I had to split the rar file up because Mediafire only allows me to upload a maximum filesize of 200MB, since I don't have a premium account. I've updated this info right before the download links.
Well that's great to hear it works ok for you and yes, the battery life, even without the cpu tuner program is FAR better than original. At least it has been for me. I can run an intensive program with WiFi and the phone would still last close to 10 - 12 hours. That was the whole goal of my ROM, was for longer battery life, since it sucks when stock, and I think I succeeded at it.
Click to expand...
Click to collapse
Good to hear you are no longer ashamed, plus theres no reason to be. Especially since you can whip up great stuff like this. among other things youve done.
I havent flashed it yet, as I am backing up a lot of stuff, and trying to backup all the linux stuff I installed via opkg package manager using "BotBrew", which is getting a bit complicated. Plus I have to make a nand too beforehand.
So I should be able to get to it soon. Im excited.
But by the way, now that you have the Partitioning table layout mapped out, I wonder what we could do to further expand our internal memory/storage? I wonder if we could double partition our SD cards like some others do on other devices? They basically just format their SD with FAT32 in the first (which will be the extended internal), and the next being Ext4 for SD card storage. Seems like we should be able to do the same like anyone else, especially since you got that nice bit of info through your troubles, on the partitioning.
What do you think on this position?
Take care Brien.
DiehlC said:
Good to hear you are no longer ashamed, plus theres no reason to be. Especially since you can whip up great stuff like this. among other things youve done.
I havent flashed it yet, as I am backing up a lot of stuff, and trying to backup all the linux stuff I installed via opkg package manager using "BotBrew", which is getting a bit complicated. Plus I have to make a nand too beforehand.
So I should be able to get to it soon. Im excited.
But by the way, now that you have the Partitioning table layout mapped out, I wonder what we could do to further expand our internal memory/storage? I wonder if we could double partition our SD cards like some others do on other devices? They basically just format their SD with FAT32 in the first (which will be the extended internal), and the next being Ext4 for SD card storage. Seems like we should be able to do the same like anyone else, especially since you got that nice bit of info through your troubles, on the partitioning.
What do you think on this position?
Take care Brien.
Click to expand...
Click to collapse
I am "new" to doing all of this type of work. I used to strictly do game hacking/modding, not stuff to cheat, but to make the games better and more fun. Late last year I started getting into the Android systems and seeing what I could do. I'm sure if I looked into this stuff I could figure something out eventually, but not sure how long it would really take me. This seems like something that is similar between all phones, so maybe you should see what can be done already. If it's a phone specific thing, then one of us will have to do the dirty work. I just don't know.
i got an md5 mismatch error when trying to do the restore
New2ThaDroid said:
i got an md5 mismatch error when trying to do the restore
Click to expand...
Click to collapse
I've had that happen before. Here is the solution, but I'd try recopying it to your sdcard another time to make sure it was copied correctly - http://forum.xda-developers.com/showthread.php?t=714114
Also, are you sure you downloaded BOTH of the rar files as I said in the OP, and it did not give you any errors when extracting the files?
Also, try renaming the name of the folder to only include alphanumeric symbols.
I got an error when extracting the files too. I extracted both the files to the same folder so I don't know what the problem is and I extracted the first part first and the the second. I don't know what it is
I got it to work and the Rom on my phone. Looks good! Good job. I would like to add some themes if anyone has some or knows how I could do it myself.
Sent from my SPH-D600 using xda premium
how long
brien how long does it take the your rom to install itself using odin approximately? i ask because it took me over 40 minutes to install it and its at time of this still going
I'm going to do some themeing using UOT Kitchen
Sent from my SPH-D600 using xda premium
New2ThaDroid said:
I'm going to do some themeing using UOT Kitchen
Sent from my SPH-D600 using xda premium
Click to expand...
Click to collapse
Sure, if that's what you want. Like I said in my original post, this ROM was made to be practical, not to be fancy. It does have the ICS fonts in it, which look a bit nicer though.

[TOOL][SCRIPT] AndSync - Synchronize Backup and Restore Android Devices

AndSync v1.3
About AndSync
This script helps you to:
- Synchronize applications if you have multiple android devices.
- Backup and Restore applications in batch.
- Un-install applications in batch.
- Backup and Restore application data on rooted and non-rooted (only for ICS and above) devices.
- Use your PC or Laptop to perform full backups. There is no need to first backup on SD card and then copy to your PC.
Why did I develop this?
1. I own multiple android phones with about 200 apps installed (I have no idea why ) and it has become difficult to manage application updates from Play Store on these devices.
2. I needed a quick and easy way to backup applications directly to my computer and restore them after I do a full re-flash.
What are the prerequisites for this script?
Android SDK (ADB shell)
Perl v5.10.1 (Any latest version of Perl would also be fine)
Note: I used these versions, it may work on older versions as well but I have not tested those.
Installing prerequisites
- Install Perl from here
- Install Zip for Perl (Ubuntu Users) - sudo apt-get install libarchive-zip-perl
- Install adb using instructions from here
On which Desktop/Laptop OSes will this tool work?
It is a Perl script and so it should work on all OSes that can run Perl. Of course Android SDK port (at-least for adb) should exist.
For which versions of Android will this tool work?
I have come across 'adb backup' and 'restore' commands but that is not available for older/all devices. Using this tool you can perform backup and restore of devices with Android Gingerbread and above. (I have only tested using GB and JB). Froyo devices are not supported in the current version.
Where can you find this tool?
Here is the link [AndSync]. You can just download the Perl script 'AndSync.pl' and execute it if you have Perl installed.
From AndSync v1.3 the script can be updated automatically from Settings->'Update this script'.
Known Issues
- Some operations spit out too much information on console.
- Does not support Froyo devices at the moment.
If you have issues with market links try:
Settings->Applications->Manage Applications->All->Google Play Store->Force Stop & Clear Data
Please share your thoughts and suggestions for improvement. Please open issues on Github so that it can be tracked.
Enjoy Android !!
Feature Requests:
DONE
1. Warn before over writing old backups. (Done)
2. Restore market links? (Please try the solution in the main post)
PENDING
1. Selective Backup and Restore.
Updated to AndSync v1.1
Updated to AndSync v1.2
Great tool, thanks!
Looks interesting, will try it out over the weekend.
Thanks
Sent from my Xoom using Tapatalk 2
do you think i can restore a system app with it....will try this week end on huawei honor u8660...thx
can you upload Perl v5.10.1 please....
Trying this out. I wonder how the speed compares to Titanium in terms of speed.
EDIT: As of right now, it doesn't recognize my 3VO running Gangnam Style CM10. Will test again after flashing Sense 4.1.
orb3000 said:
Great tool, thanks!
Click to expand...
Click to collapse
Thank you for your review!
desalesouche said:
do you think i can restore a system app with it....will try this week end on huawei honor u8660...thx
can you upload Perl v5.10.1 please....
Click to expand...
Click to collapse
You can restore system apps if your phone is rooted. Currently all operation are done in batch there is no option to restore only a selected app (you can delete all unwanted apps (keep the only one you want to restore) from the Backup directory and get it done).
thebeastglasser said:
Trying this out. I wonder how the speed compares to Titanium in terms of speed.
EDIT: As of right now, it doesn't recognize my 3VO running Gangnam Style CM10. Will test again after flashing Sense 4.1.
Click to expand...
Click to collapse
Thank you for trying out this tool. I have not done any comparisons yet. I had tested it on Motorola Defy with CM10. For ICS and up there is an alternate backup restore support as well.
Please post your suggestions for improvement.
awesome... multiple devices? very nice... my brother in law was just wanting me to reset his phone to factory so he can take the latest update... and with my gnex... can't wait to give try this out
[
cant get it work
1)downloaded perl 5.16.1 and extracted to d:
2)downloaded andsync files and copied to a folder in d:
3)adb already in d:
tried your command from all the places. din't work. please some more guidance i'm sure there are more ppl like me
thanks for your help. i'm on win7 and One X already connected through usb debuging
jacktackle said:
[
cant get it work
1)downloaded perl 5.16.1 and extracted to d:
2)downloaded andsync files and copied to a folder in d:
3)adb already in d:
tried your command from all the places. din't work. please some more guidance i'm sure there are more ppl like me
thanks for your help. i'm on win7 and One X already connected through usb debuging
Click to expand...
Click to collapse
You need to add adb and/or perl to your path variable:
Find the directory you installed perl and/or adb to, and add it to your path variable using this guide:
http://www.computerhope.com/issues/ch000549.htm
to check if its working properly (optional):
open up cmd (press win+r, then type cmd and press enter)
type adb
if it outputs info, then adb is working
type perl -v
if it outputs info, then perl is working
if you get
Code:
'<command>' is not recognized as an internal or external command,
operable program or batch file.
Then andsync script wont be able to find the needed programs
if this is in place, you should be able to double click the file or type perl <path>\AndSync.pl from within cmd prompt :highfive:
Great work
Wizwin, great script! :good:
I would like to request that the script gives a warning, or even the choice to make multiple backups when backing up for a second time
i did it twice in a row to test, and it just overwrote the first backup without warning - this could result in very unfortunate things for some people
Also, handling of multiple backups would be neat
paccer said:
Wizwin, great script! :good:
I would like to request that the script gives a warning, or even the choice to make multiple backups when backing up for a second time
i did it twice in a row to test, and it just overwrote the first backup without warning - this could result in very unfortunate things for some people
Also, handling of multiple backups would be neat
Click to expand...
Click to collapse
Thank you. Sure I will add that as an enhancement in the next release. I was waiting for requirements to come up.
Just tried it out, works well - thank you.
On a Le Pan TC970 tablet, running CM7 Beta 6.1 Gingerbread.
Please note: This apparently currently breaks android market links
I used titanium backup pro to restore them
Without, i guess there's no updates etc. for the restored applications (someone confirm?)
"recover android market links" would be a nice feature
hy!how can I use in windows 7 32 bit??
im sort of a newbie when it comes o scripts like this. I am running OSX Lion 10.7,5 and i have adb setup. Can i use this? Shiiiid how do i use this??
NVM: Too much work
paccer said:
Please note: This apparently currently breaks android market links
I used titanium backup pro to restore them
Without, i guess there's no updates etc. for the restored applications (someone confirm?)
"recover android market links" would be a nice feature
Click to expand...
Click to collapse
I have seen/used this feature in TB, let me check if something needs to be done to provide this feature.
acultr said:
hy!how can I use in windows 7 32 bit??
Click to expand...
Click to collapse
Yes! you can run it on any Desktop OS with Perl installed.
treyweez11 said:
im sort of a newbie when it comes o scripts like this. I am running OSX Lion 10.7,5 and i have adb setup. Can i use this? Shiiiid how do i use this??
NVM: Too much work
Click to expand...
Click to collapse
Open a Terminal on Mac, change the directory to the path where you placed the 'AndSync.pl' script and type in 'perl AndSync.pl'. I have executed it on a Mac but not tested it completely but I guess it would work fine if you have setup Perl and adb.

[Tool]Noob proof(ish) android helper

Hello people who are interested, I created a program!!!! This program is mainly for beginners since they don't know adb commands (including fastboot), but I use this program just to make it easier on me, especially as an easier way to do backups. How it works is that once you hit the execute (or similar) button it just puts the properly formatted command into the command prompt.
I have to put this part in so that someone doesn't sue me or something because they accidentally bricked their phone or tablet from my program and I'm pretty sure that it isn't my program's, but I'd be more than glad to help, but back to the subject: I am not responsible for any and all damages done to your phone due directly because of my program or whatever you've used my program for. I'd be glad to help you with any problems, but I only have limited knowledge of Android, so I'll probably end up just telling you somewhere you could go to maybe find the answer, if I can.
One of the last things I want to do is thank Hashcode because without him I wouldn't have gotten into android as much because he's basically the only person who will work with Kindle as he's made numerous advances with it, making it a tablet I actually like. THANKS HASHCODE.
PLEEEEZ pm me, post a reply, or thank me if you use this at all and like it, if you don't I'll probably end up destroying any evidence of it (except my own copy) and plus it'll make me feel happy that I'm actually helping people by making this. If you tell me any suggestions you have, I will try to work it in if at all possible, but no guarantees.
Download for v2.0 attached. Download link (dropbox) for v1.1 at bottom.
Features of v1.1:
FireFlash installer (with necessary files)
easy adb connect
restore with boot, recovery, and system .img's
moving of .zips
moving of files
Unlock device walk through for HTC phones
Flash .zips with adb sideload
Flash file into a partition using fastboot
Install .apks
Root with Restore
Install Drivers
Able to set colors of the command prompt window
Features of v3.1
fixed adb sideload not working at all
Improved backup (Now it's checkboxes not radio buttons and asks if you want to overwrite if the custom named backup already exists)
Features of the future (features that may appear in future versions):
Root with Restore in program form (will need permission from Bin4ry)
Driver installer (will just link to the program that's already packaged in the program)
HTC unlock walkthrough
ability to save configuration in fastboot (saves variables and maybe partition)
remember last session (text boxes will already be filled in with previous info)
An installer (only if its requested by people, since I'd have to learn how to make the installer)
if you'd like to see other features added, I'm open to suggestions (pm me or post right here on the thread)
Dropbox Links for v1.1:
.zip download
.exe (self extracting 7z) download No uncompression program needed!:victory:
Note: Sorry about not updating in a while, I'm actually having a life this summer so I might actually update this LESS until school gets back in, unless people tell me to update it more (Pleeez tell me, I realllllllly would like to know if I'm helping people, it would make my day!)
Beta!
This area is for BETA!!
Current features in beta:
NONE! No beta right now, but v4.0 beta will be coming soon
Click to expand...
Click to collapse
Soon updating will become more regular as school is letting out this week. If you want to see my source code, I'd be glad to post my vb solution, but at this point it would just take up time I don't have much of.

New Builder Question

This should probably go in some general Q&A forum, but this is by far the most helpful community I've come across so I wanted to try here first. I've finally got my Ubuntu box up and running again (upgrading to 14.04 wasn't pretty) and was able to build for both my 700t and my n5 without error, but I'm afraid to pull the trigger and flash it. I'm building straight CM for the tablet and AOSP for the phone, so what is the worst that could happen? I haven't gotten either of them to run in the emulator, but I'm not completely sure that is even possible. Any insight you may have would be most appreciated.
Thanks in advance!
Just thought of this, since I'm running Crombi ROM2SD, could I just install my zip on external, and then refresh the right kernel?
Sent from my ASUS Transformer Pad TF700T using Tapatalk
psudeke said:
but I'm afraid to pull the trigger and flash it. I'm building straight CM for the tablet and AOSP for the phone, so what is the worst that could happen?
Click to expand...
Click to collapse
The worst thing that can happen is that you brick your device, but you must do something sufficiently stupid for that to happen. I can't say anything about your phone, but for the TF700T, as long as you have a working recovery, flashing a ROM won't brick it. You may want to create the nvflash blobs if you want to have another safety net - it is possible to brick the TF700T if you force it to boot to the recovery and the recovery is broken.
psudeke said:
I haven't gotten either of them to run in the emulator, but I'm not completely sure that is even possible.
Click to expand...
Click to collapse
That's normal - ARM devices are just too different, and the emulator is just another different device.
psudeke said:
Just thought of this, since I'm running Crombi ROM2SD, could I just install my zip on external, and then refresh the right kernel?
Click to expand...
Click to collapse
See my Android dual-booting thread in the dev subforum. I originally developed ROM2SD to be able to test my self-built ROMs without breaking my working installation.
_that said:
The worst thing that can happen is that you brick your device, but you must do something sufficiently stupid for that to happen. I can't say anything about your phone, but for the TF700T, as long as you have a working recovery, flashing a ROM won't brick it. You may want to create the nvflash blobs if you want to have another safety net - it is possible to brick the TF700T if you force it to boot to the recovery and the recovery is broken.
That's normal - ARM devices are just too different, and the emulator is just another different device.
See my Android dual-booting thread in the dev subforum. I originally developed ROM2SD to be able to test my self-built ROMs without breaking my working installation.
Click to expand...
Click to collapse
Thanks _That, I appreciate your help! After reading your post and the f2fs post, i thought i was in the clear, but i still managed to screw something up. i'm unable to get the tablet to boot off of external, regardless of whether its my ROM or CROMBi. I see a "segmentation error" listed in the output from the the preinit, and then it always boots to internal. I thought maybe i got the mount points reversed in recovered, so i reflashed recovery, but no luck. i also tried deleting the preinit script and then reinstalling CROMBi, but i still get the same error. any thoughts?
psudeke said:
I see a "segmentation error" listed in the output from the the preinit
Click to expand...
Click to collapse
For some unknown reason, dynamically linked executables don't work for preinit in KitKat. So if your *internal* ROM is not stock 4.2-based (I have no data about 4.3), the only way to run a preinit script is to use a statically linked busybox.
You still get that fault with a static busybox but it seems to copy files fine.
@psudeke you can compile the static busybox yourself simply with make static-busybox in your build folder - or just steal mine from /system/boot
sbdags said:
You still get that fault with a static busybox but it seems to copy files fine.
Click to expand...
Click to collapse
Your fault may come from one of the programs that you call in your script (did you forget to prefix some line with "busybox"?).
_that said:
Your fault may come from one of the programs that you call in your script (did you forget to prefix some line with "busybox"?).
Click to expand...
Click to collapse
it comes from the ls -l /init* which indeed doesn't have the busybox prefix but if I do it gives some other error I forget now
Anyway it doesn't harm the boot process - just an error message
_that said:
For some unknown reason, dynamically linked executables don't work for preinit in KitKat. So if your *internal* ROM is not stock 4.2-based (I have no data about 4.3), the only way to run a preinit script is to use a statically linked busybox.
Click to expand...
Click to collapse
_that said:
Your fault may come from one of the programs that you call in your script (did you forget to prefix some line with "busybox"?).
Click to expand...
Click to collapse
Internal is the 5/17 build of Crombi, and its a brand new install. with a full format of the data partition (which in my haste to get this working yesterday, i wiped out my nandroid from right before i tried this).
is there any connection between when the internal is flashed compared to the external? in other words, if i reflash the internal rom, it should still recognize an existing external rom? hope that makes sense, i'm still shaking off the effects of a little too much whiskey last night.:laugh:
psudeke said:
Internal is the 5/17 build of Crombi, and its a brand new install. with a full format of the data partition (which in my haste to get this working yesterday, i wiped out my nandroid from right before i tried this).
is there any connection between when the internal is flashed compared to the external? in other words, if i reflash the internal rom, it should still recognize an existing external rom? hope that makes sense, i'm still shaking off the effects of a little too much whiskey last night.:laugh:
Click to expand...
Click to collapse
No currently if you reflash internal it will only see internal. You need to reflash external for that to work.
sbdags said:
No currently if you reflash internal it will only see internal. You need to reflash external for that to work.
Click to expand...
Click to collapse
Ahh, thanks sbdags! that fixed the issue with ROM2SD. i got that impression when i pulled the preinit and saw it only had an entry for internal. but, i'm still very much in a learning phase so i didn't want to jump to a conclusion.
and after getting crombi to boot on external, i swapped sd cards and my build of CM11 actually booted! now the real learning process begins as i figure out how to customize it.
Thanks again to both you and @_that, you guys are the best:good:
@sbdags and @_that
Just wanted to thank you both again for your help. After much trial and error, i was able to build the 5/27 version of CM and merge in that's 9 f2fs kernel, its running well so far. not a bad quadrant score for someone who doesn't know what they're doing!
https://www.dropbox.com/s/khq17h04b715eyd/C11%20Benchmark%20ART.png
Hats off to both of you! :good:
--- Guess I can't insert an image directly from my DropBox, link is to a screenshot of my score ---
psudeke said:
After much trial and error, i was able to build the 5/27 version of CM and merge in that's 9 f2fs kernel, its running well so far. not a bad quadrant score for someone who doesn't know what they're doing!
Click to expand...
Click to collapse
Congratulations! If you can build a working ROM from source, you're already in the top 1% of people here who know what they're doing.
_that said:
Congratulations! If you can build a working ROM from source, you're already in the top 1% of people here who know what they're doing.
Click to expand...
Click to collapse
Good to finally be a "One Percenter" in something! :laugh:
Thanks again for your help, I'm sure that was the first of many questions I can't figure out.
psudeke said:
Good to finally be a "One Percenter" in something! :laugh:
Thanks again for your help, I'm sure that was the first of many questions I can't figure out.
Click to expand...
Click to collapse
Just ask away and congrats! :good:
sbdags said:
Just ask away and congrats! :good:
Click to expand...
Click to collapse
Be careful what you wish for, I've got a laundry list of questions ranging from basic Linux commands to the nature of the multiverse, lol.
I do have one question out of the gate about the update-binary file. I'm trying to add a couple apps to either the system or data folders, but I'm not sure what commands are available from the stock CM file. I think for the most part by looking at your updater-script file I can figure out the commands to do what I want, but given the little I know about this and the size difference of the binary file between CM and the one i was looking at of yours, I'm curious. Is the best way to see what's available CM's git? I basically just want to install a different Launcher and Viper instead of DSP manager for sound. Do I need to study up on edify to look at the binary or is there an easier way?
Thanks again!
Sent from my ASUS Transformer Pad TF700T using Tapatalk
psudeke said:
Be careful what you wish for, I've got a laundry list of questions ranging from basic Linux commands to the nature of the multiverse, lol.
I do have one question out of the gate about the update-binary file. I'm trying to add a couple apps to either the system or data folders, but I'm not sure what commands are available from the stock CM file. I think for the most part by looking at your updater-script file I can figure out the commands to do what I want, but given the little I know about this and the size difference of the binary file between CM and the one i was looking at of yours, I'm curious. Is the best way to see what's available CM's git? I basically just want to install a different Launcher and Viper instead of DSP manager for sound. Do I need to study up on edify to look at the binary or is there an easier way?
Thanks again!
Sent from my ASUS Transformer Pad TF700T using Tapatalk
Click to expand...
Click to collapse
yes the easiest way to do it is just make 2 folders with your extra apps in it say /extras/app
then add the following to the updater-script (you don't need to touch the update-binary unless you start using aroma)
package_extract_dir("extras", "/system");
delete("/system/app/DSPManager.apk");
delete("/system/priv-app/Trebuchet.apk");
What that does is copies the extras/app folder into system and deletes your unwanted apps
note apps can be installed into 2 folders /system/app or /system/priv-app
similarly you can install your user apps into /data/app but this is dangerous with launchers as if the user manually uninstalls it you can't do anything on the tab
sbdags said:
yes the easiest way to do it is just make 2 folders with your extra apps in it say /extras/app
then add the following to the updater-script (you don't need to touch the update-binary unless you start using aroma)
package_extract_dir("extras", "/system");
delete("/system/app/DSPManager.apk");
delete("/system/priv-app/Trebuchet.apk");
What that does is copies the extras/app folder into system and deletes you unwanted apps
note apps can be installed into 2 folders /system/app or /systempriv-app
similar you can install your user apps into /data/app but this is dangerous with launchers as if the user manually uninstalls it you can't do anything on the tab
Click to expand...
Click to collapse
Thanks again! i can see how this becomes addicting fast :fingers-crossed:
@sbdags do I need to mount data before installing anything to the /data/app folder? I saw in your updater-script this line, and i'm assuming i need the same:
Code:
mount("f2fs", "EMMC", "/dev/block/mmcblk0p8", "/data");
one other quick question (hopefully), I saw in the XDA WIKI that i can possibly test the script using the update-binary, do i have to do this on the tablet itself? i spent all afternoon trying to fix a problem that amounted to an errant quotation mark in my script (and i knew it was something like that too. too many years of non-terminated string errors to not look there first:laugh, but the only way i could find to test it was to rezip the file and flash. any suggestions?
thank you good sir! :highfive:
psudeke said:
@sbdags do I need to mount data before installing anything to the /data/app folder? I saw in your updater-script this line, and i'm assuming i need the same:
Code:
mount("f2fs", "EMMC", "/dev/block/mmcblk0p8", "/data");
one other quick question (hopefully), I saw in the XDA WIKI that i can possibly test the script using the update-binary, do i have to do this on the tablet itself? i spent all afternoon trying to fix a problem that amounted to an errant quotation mark in my script (and i knew it was something like that too. too many years of non-terminated string errors to not look there first:laugh, but the only way i could find to test it was to rezip the file and flash. any suggestions?
thank you good sir! :highfive:
Click to expand...
Click to collapse
just zip the /meta-inf folder, and flash that to test. obviously comment out any format commands as they will fail. That is what I do.
Hey @psudeke you ever need any help with anything to do with source or git let me know
I am also willing to help out
and just a FYI be careful of @sbdags :cyclops: LOL
Just kidding....
Let me know thx Josh

Categories

Resources