yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] smokin1337:
This mod will backup your apps and auto update the backup on your sdcard at every boot.

Backup apps and data

Flash zip

Open terminal and type su

Then type bak

Follow onscreen instructions

After you do a restore you must reboot or do a hot restart before the apps will show in the menu.

Before installing a new rom just reboot one time to update your backup or do it manually with the script, then after you install your new rom flash this again and restore.

This uses init.d

Now it syncs files instead of using 7zip using rsync. Thanks to dodava for the info and download of rsync it's a much more efficient way to do it.

It also syncs data and settings now but some settings cannot be restored so it excludes those. It keeps your system settings but not accounts like google you have to make those again if you change roms. It does keep app data for installed apps.

Backups are located at /sdcard/appsbak

Please post question/comments/problems here.

If you use this in your rom please leave the creds in the files, Thank You.
[HTC EVO 3D] balistc:
Very nice!
[HTC EVO 3D] Scott:
I want to know what the script does. I want specific details, I want to see the schematics, I want to know the....

Just kidding!

Thanks for doing this. It may be very useful!!!!
[HTC EVO 3D] Mrdiaz09:
LOL. I see where you went with that.

Thanks for this, trying this out now.
[HTC EVO 3D] smokin1337:
LMAO, just flash it and see what happens.
[HTC EVO 3D] Mrdiaz09:
Did I do something wrong? I tried it and it said line 29 not found and backed up nothing.
[HTC EVO 3D] smokin1337:
Hmm im using the one in my rom. Give me a minute i'll flash this one and see.
[HTC EVO 3D] Mrdiaz09:
Ok I posted a screenshot now maybe that helps
[HTC EVO 3D] smokin1337:
Fixed download now and flash again. I forgot to add a file, i'm runnin on 2 hours of sleep sorry.
[HTC EVO 3D] smw6180:
Very nice program. Simple and effective. Nice job. :)

Doesn't look like it'll get app settings, but it'll definitely save a bunch of time after doing a wipe/rom install. Excellent work. :)
[HTC EVO 3D] smokin1337:
I can include the settings, i will work it out and post it when i get it.
[HTC EVO 3D] Mrdiaz09:
Worked great thanks again this is going to save me so much time. And much easier than any other backup restore program on the market.
[HTC EVO 3D] jayharper08:
Ohhh. This is nice. :) Good job!

Sent from the CMheaven powered 3d
[HTC EVO 3D] smokin1337:
I can include user setting but it will be all setting for system apps and installed apps
[HTC EVO 3D] smw6180:
Yep. There's not really a way to pick and choose that I know of. You'd have to write (basically) a backup/recovery app. I think this is slick enough as it is. Restoring the programs is what takes the most times, and decent backup software will let you restore JUST the app data, so if settings are that critical you can do it in no time after you restore from a wipe.
[HTC EVO 3D] MFD00M:
Cool thanks...great idea
[HTC EVO 3D] wilderckw:
This is the best script ever for flashers.

Hey smoke you think this would work on my old evo? I test out stuff on it for dev's. .

Thank you again.

My 3D Shooter not yours!!
[HTC EVO 3D] smokin1337:
Yea it should work all the dirs are the same. Just have to add an updater-script for the old evo to the zip. Or push the files.

Grab the attachment now and flash the auto backup wasn't working properly. So if you got it before this post was made get the new one.
[HTC EVO 3D] evilvoice:
Is there a way to get this to tie into market also...or how exactly does that work? I thought anything you installed from sdcard, that was not from the market, market would never update the app again. Am I wrong in that thinking? If I am right, is there a possibility to backup the apps and also tie them to the market so we can be sure they are updated?
[HTC EVO 3D] steal25:
nice downloading now!!
[HTC EVO 3D] smarcin:
Quick question...does this back up each app's data? Thanks.
[HTC EVO 3D] mattfmartin:
anybody try this with cm7?

Edit: just tried it. It does work in cm7. Great job Smokin
[HTC EVO 3D] wilderckw:
Hey smoke after I flash the new one do I have to back then all up again?

My 3D Shooter not yours!!
[HTC EVO 3D] smokin1337:
I found a flaw in my coding it was running the auto updater on boot but the sdcard wasn't mounted yet so it was not updating the backup. I made a workaround for this and it works great now. It updates the backup on each boot, update to v1.1 in the attachment in post #1.
[HTC EVO 3D] dodava:
One issue and a couple of suggestions.

Copying the backup to /data/app to update and restore causes my internal memory to be full. You may want to use a tmp directory on the sdcard instead.

Instead of using the default you may want to use the -mx=0 arguement to use a lower level of compression. On my phone the time for backup was reduced from 5 to 1 minute at the cost of 18% more space. Using -mx=0 reduced the time to 4 minutes and used very close to the same space as the default.

You may want to check the result of the 7z command to make sure it completed sucessfully before overwriting the old backup.

You may want to add a test of the archive before doing a restore.

If I had scripting skills I'd make these changes myself.

Overall a great mod. Thank you very much for your efforts.
[HTC EVO 3D] smokin1337:
The problem is the .zip has to be in data/app to update it cause 7zip can't use full path for an update. Which is ****ty imo but it is what it is. The other ideas i could implement though. I didnt think about people with alot of apps i guess, i only have like 10. Not sure how to fix that. You can just do a manual update by remaking the backup. I'll try to find a workaround for the copying part will post my findings.

EDIT:

Problem solved in the attachment in first post. Now it dosent copy to /data at all. It remakes the archive at boot.
[HTC EVO 3D] dodava:
Another idea you may want to consider is to use rsync instead of 7z. If you install rsync and run the command "rsync -ru --delete /data/app/ /sdcard/App-Backup" it will sync the contents of /data/app to a directory named /sdcard/App-Backup. Running it subsequently will update any changed files and delete any files that have been deleted in /data/app.

Recovery just involves copying the contents of /sdcard/App-Backup to /data/app, running chown to set the owner to root, and chmod to set the proper permissions.

A copy of rsync for android can be downloaded at http://db.tt/61AGpiqr.
[HTC EVO 3D] smokin1337:
I'll check it out, look interesting.

EDIT:

Using it now it works great thanks for the advice. Now it will back up app data and some settings too. I added it to the op.
[HTC EVO 3D] PMGRANDS:
What's the Difference with the 3 zips?
[HTC EVO 3D] Neo3D:
Doesn't Google backup everything for you? I know everytime I switch ROMs, Google will re install all downloaded apps from the Market.

I wish the same thing worked with Amazon apps tho.
[HTC EVO 3D] mwalt2:
Do you have to manually do a backup before it auto-backs up at boot? After I installed it, I just had an empty appsbak directory on my sdcard.

edit - nevermind, I guess it helps not to mount the storage card while it's backing up :)

Sure, but this saves time and bandwidth (plus data for some apps get's backed up, so you don't have to re-do things).
[Eee Pad Transformer Q&A, Help & Troubleshooting] yalkowni:
The instructions for installing ubuntu are not that clear. so what is the ROOTFS and whad do i do with it. also i am trying to make it dual boot with android as the default opearating system. So what kernel do i need and what else do i need to get the touchpad working and wifi working
[Eee Pad Transformer Q&A, Help & Troubleshooting] goodintentions:
I'm trying to figure this out myself. I really don't have much time on my hands to figure out all the 1337 lingo surrounding the installation process of the dual boot ability. For once, I'd like someone who's technically literate enough to write down all these instructions in a dummies language... much like my gtab for dummies website in my siggy.

Just remember. If you're going to ask questions here. Make sure you apologize a lot of times. 1337s don't like questions.
[Eee Pad Transformer Q&A, Help & Troubleshooting] CaNsA:
What lingo? an example would be good.

And what "1337"?
[Eee Pad Transformer Q&A, Help & Troubleshooting] mb02:
"Before using this pack back up any data that you may have on your device, this method is destructive to data, and will wipe everything. If you plan on dual-booting with android you will need to download a full system like prime and put the images (system.img boot.img recovery.img) in images/

This package does not include the ubuntu rootfs. You should have already downloaded this from the link located on this forum post located http://rootzwiki.com/showthread.php?...he-transformer or http://xdaforums.com/show...p?p=16097869if you haven't downloaded it yet it is 950MB so start it downloading and grab a coffee. Decompress the gzipped tar to images/

With that taken care of, here are the instructions for use:

1) select whether you want to dual boot, and which OS you want as your default.

2) make absolutely sure that you have backed up your data, everything past this point is going to destroy your data.

3) run the appropriate sh for the choice you have made in step 1

flash-purelinux.sh for a pure ubuntu setup, this is no android recovery is ubuntu single user mode.

flash-linux-android.sh for installing android and linux dual boot with android as the default OS. To boot into linux hold power+vol-down until prompted on screen to press vol-up.

flash-linux.sh for installing android and linux in dual boot with android and linux, linux is the default OS, to boot into android hold power+vol-down until prompted on screen to press vol-up"

From the ubuntu thread's OP, instructions for doing this. Says put rootfs in the /images folder of the flash kit along with the nvflash imgs from the android rom you want to dualboot with. Even shows you the options for which dualboot method you want and how to use it. If you consider this l33tspeak, I'm wondering what you consider basic English. If you can't even understand basic instructions, then don't use it. Too many people come into somewhat advanced technical methods for enhancing tech products and expect people to hold their hands through the methods. Of you want to understand these things, start googling and take some college courses. Xda isn't the place for learning technology.

Sent from my creaky Thunderbolt
[Eee Pad Transformer Q&A, Help & Troubleshooting] yalkowni:
i tried to download the rootfs and when i unzip the file all that comes out is ubuntu.img is this normal and if i want to dualboot with android where do i put the files and what kernel is required
[Eee Pad Transformer Q&A, Help & Troubleshooting] Gibeon:
Yes that's normal. And gosh, is reading that hard? "If you plan on dual-booting with android you will need to download a full system like prime and put the images (system.img boot.img recovery.img) in images/"
[Eee Pad Transformer Q&A, Help & Troubleshooting] sonami:
i thought you couldnt load recovery with the ubuntu dual boot, can you now? thats pretty much all ive been waiting for to dual load ubuntu. i want to use revolver 3.2 and clemy's kernel with theme x, but without recovery, or at least the revolver 3.2 nvflash files, it wasnt worth it for me to switch over.
[Eee Pad Transformer Q&A, Help & Troubleshooting] thebadfrog:
You still cant dual boot in the manner in which you are thinking
[Eee Pad Transformer Q&A, Help & Troubleshooting] sonami:
word, thats what i thought, thanks. guess il have to hunt down the revolver nvflash files or bite the bullet and use prime (not that prime is a bad rom at all, im just used to revolver). im sick of decompiline and editing xml's in windows, i get errors all the time., and id rather not use my laptop at all, it shuts off randomly all the time. dual booting ubuntu onto my tf would eliminate my need to use my laptop or windows all together.
[Eee Pad Transformer Q&A, Help & Troubleshooting] yalkowni:
well when i tried to start it it said failed didnt find bootloader
[Eee Pad Transformer Q&A, Help & Troubleshooting] maq0007:
I used cuckoopt's windows kit's dual boot option, and it seems to have worked, but it then just booted into android.

How to get ubuntu to boot?
[Eee Pad Transformer Q&A, Help & Troubleshooting] yalkowni:
Flash the Linux.zip
[Eee Pad Transformer Q&A, Help & Troubleshooting] Lunchbox115:
Is there anywhere a detailed guide on how to install Ubuntu beside Android I haven't found yet?

What I did:

- I downloaded Ubuntu (950MB) and the linux-flashkit.tar.gz on my PC (my PC is already running Ubuntu)

- Data-backup

- ?

How to move on? Boot Transformer into APX-mode and execute the flash-linux-android.sh?

Thx for the APX-tip in the other thread! :)

---------- Post added at 08:40 PM ---------- Previous post was at 08:11 PM ----------

So, I executed the *.sh-file, but after some seconds, in termial there is this:

file not found: ./images/system.img
failed executing command 2147483647 NvError 0x4
command failure: create failed

Where do I get this file from?

---------- Post added at 09:33 PM ---------- Previous post was at 08:40 PM ----------

Ok, I've found the system.img, but where do I get the boot.img? In the first post of the Ubuntu-thread I only find 'abootimg'. Is this the right file?
[Eee Pad Transformer Q&A, Help & Troubleshooting] rickatnight11:
The system.img, boot.img, and recovery.img are all from the Android ROM you want to dual-boot Ubuntu with, so either you download them (some ROMs aren't released in nvflash img format, so you'd need to install it and back it up with nvflash first) or you use the images you generated from running your backup.

Source:
[Eee Pad Transformer Q&A, Help & Troubleshooting] Lunchbox115:
Sh*t, I read the first post three times and I didn't see that. Time for me to go to bed! :D

Thank you very much! Now it MUST work. :)

Another question: is there any chance to hard-brick the TF so that it can't be 'rescued'? Once I read that it's nearly unbrickable cause of NVFLASH. Is that true?
[Eee Pad Transformer Q&A, Help & Troubleshooting] rickatnight11:
If you have an nvflash-able TF (which you do, or else you wouldn't have been able to perform the backup), you can't brick it. Even if you wipe the entire internal flash, you can still boot into APX mode, which has complete write access to the internal flash.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Lunchbox115:
That's good to hear! I just asked cause the Galaxy S is brickable if you flash a wrong kernel or something like that. So it's nice to have a unbrickable tab.
[Eee Pad Transformer Q&A, Help & Troubleshooting] rickatnight11:
It comes down to what hardware the phone has and what the community has figured out how to access. Most phones and devices have a hardware-based development interface (like APX mode for the Transformer or whatever RSDLite uses on older Motorola phones). These interfaces are generally burned onto read-only ROMs for the sole purpose of making the device un-brickable.

If the device doesn't have one of these interfaces, or the community hasn't figured out how to access it, you run the risk of bricking.

---------- Post added at 04:46 PM ---------- Previous post was at 04:11 PM ----------

I just made a thread explaining the Transformer boot process:

http://xdaforums.com/showthread.php?p=17888843

I'll expend further on it, but this should help everyone understand where custom ROMs and Ubuntu fit into it.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Lunchbox115:
Thanks a lot! I finally got the dualboot working. Android boots without any problems, in Ubuntu I have to configure the keyboard layout and nothing goes on, so I have to wait...

Thank you for helping me!
[Eee Pad Transformer Q&A, Help & Troubleshooting] rickatnight11:
Excellent news! What do you mean about the keyboard? Do you mean that you type and nothing appears on the screen?
[Eee Pad Transformer Q&A, Help & Troubleshooting] Lunchbox115:
Nope. There's this window where you have to configure the keyboard layout (QWERTY, QWERTZ,...) so you have to choose your country and so on. And where I should choose the keyboard layout, the mouse coursor shows this loading animation if you know what I mean.

Picture I found on the internet: http://www.rasyid.net/wp-content/uploads/2008/06/dual4.png

Mouse looks like this (but only for Ubuntu ;)): http://farm4.static.flickr.com/3527/3822666927_7c3d1c724a_o.gif

PS: I'd like to press the [THANKS]-button, but I've reached my today's limit of 5 [THANKS]... :(
[Eee Pad Transformer Q&A, Help & Troubleshooting] rickatnight11:
Interesting. Since the dock's keyboard should work automatically (not the touchpad, though), that sounds more like something is locked up instead of the keyboard not working.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Lunchbox115:
Hm, the dock is working (I can press all keys and they work, but I can't skip the setting of the keyboard layout)...
[Eee Pad Transformer Q&A, Help & Troubleshooting] rickatnight11:
Is the touchscreen working?
[Eee Pad Transformer Q&A, Help & Troubleshooting] Lunchbox115:
Yes, everthing else is working (except for the touchpad and WLAN, but I know/read this before).

EDIT: Reboot doesn't change anything -> problem continues...
[Eee Pad Transformer Q&A, Help & Troubleshooting] rickatnight11:
So what happens when you just tap Next?
[Eee Pad Transformer Q&A, Help & Troubleshooting] Lunchbox115:
Only the loading animation of the mouse, nothing else. :(

But I can touch, write into the text field to auto-detect the keyboard layout,... But I can't go forward...
[Eee Pad Transformer Q&A, Help & Troubleshooting] rickatnight11:
Sounds like a UI bug. Try rebooting.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Lunchbox115:
Ok, I booted Android and then booted Ubuntu, but this time, I didn't change anything (location, time,...) and it works!!! :D

Thank you so much!!
[Eee Pad Transformer Q&A, Help & Troubleshooting] rickatnight11:
Have fun! If you run into any other issues, post in a thread specific to that issue or create a new thread. That'll make it easier for future users to find useful info about the same problems.
[Epic 4G Q&A, Help & Troubleshooting] dtruth313:
i am running baseband eh17and build eg22. but my epic 4g is having a problem using the gps. it is always searching.
[Epic 4G Q&A, Help & Troubleshooting] KennyG123:
Get your MSL number and then dial ##gpsclrx#

See if that gets your gps working again.
[Epic 4G Q&A, Help & Troubleshooting] dtruth313:
what is the msl number?
[Epic 4G Q&A, Help & Troubleshooting] ac16313:
Are you root?

Sent from my SPH-D700
[Epic 4G Q&A, Help & Troubleshooting] KennyG123:
It is the 6 digit number that identifies your phone and is used to activate it and reprogram it. I assume you are rooted. Download connectbot from the market. Choose Samsung Epic and local then type this exactly with MSL in caps with the hardware keyboard

getprop ril.MSL

Your 6 digit number will appear on the screen.
[Epic 4G Q&A, Help & Troubleshooting] dtruth313:
ok thanks. my profile and prl both cant update now.what should i do?
[Epic 4G Q&A, Help & Troubleshooting] KennyG123:
Try this, it may fix all your problems with the phone:

http://xdaforums.com/showthread.php?t=1226074&highlight=clear+modem
[Epic 4G Q&A, Help & Troubleshooting] jeffro18:
Have you tried using the gps status app to clear the a-gps state and download the assistance data? In the app press menu>tools>manage a-gps state>reset. Then menu>tools>manage a-gps state>download.

Did you happen to run the pm disable com.samsung script? If so you will have to re-enable it in order to update prl by typing pm enable com.samsung in root explorer after typing su.

Glad to find this thread, i haven't seen some of these other suggestions yet.
[Epic 4G Q&A, Help & Troubleshooting] dtruth313:
thanks to everybody. it is running ok now. but it is heating up when i put it on the charger. any ideas why?
[Epic 4G Q&A, Help & Troubleshooting] KennyG123:
That happens to me when I use the car charger. Rapid chargers will cause this.
[Epic 4G Q&A, Help & Troubleshooting] dtruth313:
ok but it happens when i have it on the home charger
[Epic 4G Q&A, Help & Troubleshooting] KennyG123:
Is it the one that came with the phone? Do you have any syncs enabled? Low signal? Which ROM and modem?
[myTouch 4G Q&A, Help & Troubleshooting] tylerwatt12:
I was downgrading my friends phone to stock OTA so he could root it. I got the PD15IMG.zip image and proceed to flash it. It seemed as it flashed fine. after a restart, the phone would freeze at the boot animation.

How can i fix this?

I dont have a microSDcard reader
[myTouch 4G Q&A, Help & Troubleshooting] febycv:
Is your phone detecting on adb? Do you have a good eMMC?

Which method did you use to downgrade? Did you just put PD15IMG.zip on the sd & flash via hboot?

Explain what you have done in detail.......
[Optimus One, P500, V General] dtwpurple:
i am running miui cm7 and i still have touch screen lag.. is there any gingerbread roms for the optimus t that will get rid of that?
[Optimus One, P500, V General] Feeshie:
It will never be 100% gone, but use Franco or Fserve's kernel which will minimize it.
[Optimus One, P500, V General] dtwpurple:
i am using francos but phone is still laggy
[Optimus One, P500, V General] Feeshie:
Where are you seeing lag? I only experience lag when I play high end games and I use the same setup.
[Optimus One, P500, V General] dtwpurple:
i fixed it.. i just reflashed everything and it works fine now.. but im using miks cm7
[Atrix 4G Q&A, Help & Troubleshooting] ac7brier:
I've tried just about every rom. I usually use cm7, but came into a lapdock for 100$, so I've downloaded and installed just about every rom, except the ones that say no webtop files included, or no download link to webtop. I'm trying to use it, but the most I've been able to do is get the screen to mirror.

On the aura rom, I got it to go to entertainment mode, then went to use my phone as a PC, and it just mirrored my screen. I'm about to give up. Can any hook me up with direct links to the rom, and what needs done to get webtop to work. Thank you.

CM7 Drugged
[Atrix 4G Q&A, Help & Troubleshooting] ac7brier:
Got it working with Homebase fully Blurred out. Now that I do have this working, I am pretty disappointed. Probably going to be on the marketplace soon, or eBay.
[Atrix 4G Q&A, Help & Troubleshooting] Clienterror:
Yea it's kinda like your first donkey show, everyone talks it up and you finally get to see one you're kinda let down....and nauseous. :)
[Atrix 4G Q&A, Help & Troubleshooting] barry99705:
So's the donkey...
[Samsung Galaxy S (4G Model)] macfan74318:
I am trying to give my phone a AOSP look, is there a way that I can have the Nexus One Boot Animation for the SGS4G (Using Valhalla v1.1) and is there a way that I could disable the shutdown boot animation?

Thanks in advance,

macfan74318
[T-Mobile LG G2x] swoleface:
I just flashed to the eagleblood rom and my battery seems to run out very fast and im barely using it. What would be the best kernel to use?
[Windows Phone 7 Q&A, Help & Troubleshooting] ShotSkydiver:
I just finished getting an unlocked upgrade to Mango, which I've been on previously with this phone, but re-flashed so I could keep the unlock. I'm trying to remember if 3G worked when I first flashed it a couple days ago.... I think it did, meaning it only stopped working on this build a day ago. What caused this, I don't know... if it helps, I just sideloaded all the OEM HTC apps, and the Advanced Config Mango beta which is all kinds of broken. The point is, now I'm on this build which would be perfect if the 3G would work. I've tried restarting, airplane mode on/off, SIM card in and out, etc. Is there some sort of APN setting I need to change? Please help!

Also, side question, just curious, where does the Music + Videos app pull the background artist images from? 99% of the time they're just horrible quality; I was wondering how the app pulls them and where from.
[Windows Phone 7 Q&A, Help & Troubleshooting] ShotSkydiver:
I feel stupid; all I had to do was put in the correct APN settings.