G1/Dream Google Bits - General Questions and Answers

Ok, so I'm definitely no expert, and I've done a bit of searching seeing that people are trying to find ways to backup their proprietary google bits when it comes to the Cease and Desist order laid down upon Cyanogen. I was messing around in Terminal Emulator today and found a way to list all of the proprietary bits. I was wondering why it gives me this message, when I try to copy one of these files to the SD card?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Once I understand why it "omits" the directory, and fails to copy the file, I will continue working on getting these bits to backup, so we can keep our google apps. Me personally, I use Google Maps like it's going out of style, so losing it is not an option for me, but I love CyanogenMod Roms. Thanks for any help. I can post the rest of the code if need be.

RicFusion said:
Ok, so I'm definitely no expert, and I've done a bit of searching seeing that people are trying to find ways to backup their proprietary google bits when it comes to the Cease and Desist order laid down upon Cyanogen. I was messing around in Terminal Emulator today and found a way to list all of the proprietary bits. I was wondering why it gives me this message, when I try to copy one of these files to the SD card?
Once I understand why it "omits" the directory, and fails to copy the file, I will continue working on getting these bits to backup, so we can keep our google apps. Me personally, I use Google Maps like it's going out of style, so losing it is not an option for me, but I love CyanogenMod Roms. Thanks for any help. I can post the rest of the code if need be.
Click to expand...
Click to collapse
Nevermind. I messed around with it a bit more and found out how to do it. I can now copy the proprietary google apps, to the sd card. Here is the command I used in order to make it work.
$ su
cd /data/data
ls
(It will list all of the software on your device)
cp -r "insert app name here"
cd /sdcard
ls
Click to expand...
Click to collapse
If you look now, whatever named app you copied, will now be on your sd card!
So, is anyone up for helping me write a script, and or app that will allow this to run?

Related

So, you want to make a custom Bootscreen for froyo?

Check out what I found!!!!
http://www.gifexplode.com/
http://www.gifninja.com/SplitGif.aspx
I personally prefer the second site, because they give you the option to download all the images as a zip file.
This process is not for the impatient. Both of these programs (and every other program I have found, so far) saves the images as something other than .png's. This means you will have to convert each one. I tried using .jpg's, and it borked my phone for a bit. I actually got a forceclose during boot!!!! Another thing you have to remember is: boot no likey transparency. If your images have it, you gotta get rid of it, or else it'll come out all funny.
I did not intend for this to be a walkthough. If you need more info, the search button and experimentation are your best friends. That being said, pay attention to the text file. If you edit it, use notepad ++, as regular notepad will fvck up the syntax. The first line controls the image size. If you don't want a 2 part boot, erase the part2 folder and edit the text file, removing the reference to part2. I changed it to read p 0 0 part1
Here's my bootscreen:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
tejasrichard said:
Check out what I found!!!!
http://www.gifexplode.com/
http://www.gifninja.com/SplitGif.aspx
I personally prefer the second site, because they give you the option to download all the images as a zip file.
This process is not for the impatient. Both of these programs (and every other program I have found, so far) saves the images as something other than .png's. This means you will have to convert each one. I tried using .jpg's, and it borked my phone for a bit. I actually got a forceclose during boot!!!! Another thing you have to remember is: boot no likey transparency. If your images have it, you gotta get rid of it, or else it'll come out all funny.
I did not intend for this to be a walkthough. If you need more info, the search button and experimentation are your best friends. That being said, pay attention to the text file. If you edit it, use notepad ++, as regular notepad will fvck up the syntax. The first line controls the image size. If you don't want a 2 part boot, erase the part2 folder and edit the text file, removing the reference to part2. I changed it to read p 0 0 part1
Here's my bootscreen:
Click to expand...
Click to collapse
good find dude
thanks i was looking for something since gifworks doesnt work anymore

HtcLoggers.apk and other eavesdroppers

By now, some you have seen reports about the latest bit of under-the-covers eavesdropping, this time by HtcLoggers.apk. In case you haven't, this post on Android Police details the whole thing pretty well.
One thing that really caught my attention was the graphic showing all the different ways various bits of Android snoop on you:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Those of us not running HTC software don't have to worry about most of these. The one that remains for all of us, at least according to the research so far, is Google Checkin, part of GoogleServicesFramework.apk. You can see in the graphic what kind of information Checkin collects and where it puts it. I've seen /data/system/dropbox before, occasionally I clear it out because it collects a huge number of files. I hadn't really paid much attention to /data/system/usagestats.
Using Root Explorer, I see that the permissions on both these directories is rwx------. As an experiment, to see if I can block whatever Checkin is collecting, I deleted their contents and then removed all permissions on these directories (and rebooted for good measure). I did this about an hour ago. So far, the directories have remained empty.
My G2 (running ILWT CM7 build 216) appears to be functioning normally, including the Market. If anything malfunctions, I'll report here.
Update. More directories to block: /data/anr, /data/tombstones, /data/dontpanic. File to block: /data/system/userbehavior.db (I first used SQLite Editor to empty the file).
Do not attempt this procedure on /data/system/throttle -- this caused my phone to enter a boot loop, which I had to repair by booting into recovery and then reverting my permissions change through ADB.
Quick follow-up... Looks like removing all permissions on the two directories has no effect on the phone's behavior. I've seen no breakage and the directories remain empty. So if you want to thwart some data collection, this looks like a decent approach.
So now that some time has passed, what is veridict? Were there any averse affects on the phone? Does everything still work?
Still seeing no problems. I did the same thing to my Nook Color, and it's also behaving normally.
This is very interesting, I'll try changing the permissions too.
Updated original post: added a few more directories to block based on additional information reported by the Carrier IQ Logging Test App.
I also gave this a try...
And so far so good! Thanks!

De-Bloat list for stock rom

I don't know if there is a thread already for this. Can anyone list the apps and bloatware that are safe to freeze using titanium backup on the stock rom...
Sent from my Land Line using xda premium
Download Scott's clean Rom, much easier then doing it yourself. Completely stock, debloated, tweaked, and nice mods if you want them.
Sent from my Cocaine White S3.
http://forum.xda-developers.com/showthread.php?t=1856887
Check out that thread. I posted the same thing a lil while ago and got some decent feedback.
Brian Gove said:
http://forum.xda-developers.com/showthread.php?t=1856887
Check out that thread. I posted the same thing a lil while ago and got some decent feedback.
Click to expand...
Click to collapse
Thank you
Additional debloat!
A helpful tool I use to clear up space and make the system faster is an app called "DiskView", downloadable free from Play Store. It analyzes all partitions and lists directories/files and a percentage bar of how much space they're taking. With this I found a bunch of instructional how-to videos in the system/media/video/GuidedTour folder. Also, taking up some space are the hidden Voice Recognition language packs under /system/VODB. Delete all the language code folders you don't want. Also, this using like 10MB but also a privacy concern, there was a face recognition database under /system/lib. If you don't use the preloaded Swype keyboard, even after you uninstalled it, there's an extra database under /system/lib/libSwypeCore.so. Delete.
If you have a Galaxy Note, it might be worth noting that the S Note templates that you could never seem to delete can now be removed permanently. They actually use up a lot of space. First, delete the templates from your usual S Note folder on your SD card, obviously. Then navigate to /system/preload and /system/preloaddata and delete everything related to S Note in there. For me there was nothing other than S Note stuff. Should be the templates in one and a database in the other. Once you reboot, they'll never come back!
Enjoy!
<<< Please say thanks if I was of help! I am new to XDA! :good:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

How i can skip samsung installation wizard?

hello, i have a samsung young 2 (sm-g130m) and i created a custom rom without google apps, in the installation in one part it asks you for a google account, so when it reaches that part the app goes back and I can't skip it ( after end user licence)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi and welcome.
I don't know your specific device but by analogy to others I can answer you, because I did the same thing, un googling my dewice by modifying the flash package components.
So, if it doesn't let you skip it, it seems that its not possible to do that, as you have to go through this entire process.
This first "install" sequence, whatever it forces you to do, does also real mandatory configurations.
If you get through it once (with fake credentials or even with a real one if it insists to check it - which would be very unfair by the way) it won't come back and all you have to check is that if it effectively uses google service to connect (like playstore) or not.
On my device I could get rid of EVERY google app and online service, playstore, gmail, youtube and all facebook and tutti quanti. So no credential could be used for this anyway.
I don't know how you managed to make change into your rom. It would be good to tell.
(I mounted the filesystem on linux to delete those big-tech apps.)
Just tell a bit more how you proceeded.
FranckyGoesToHollywood said:
Hi and welcome.
I don't know your specific device but by analogy to others I can answer you, because I did the same thing, un googling my dewice by modifying the flash package components.
So, if it doesn't let you skip it, it seems that its not possible to do that, as you have to go through this entire process.
This first "install" sequence, whatever it forces you to do, does also real mandatory configurations.
If you get through it once (with fake credentials or even with a real one if it insists to check it - which would be very unfair by the way) it won't come back and all you have to check is that if it effectively uses google service to connect (like playstore) or not.
On my device I could get rid of EVERY google app and online service, playstore, gmail, youtube and all facebook and tutti quanti. So no credential could be used for this anyway.
I don't know how you managed to make change into your rom. It would be good to tell.
(I mounted the filesystem on linux to delete those big-tech apps.)
Just tell a bit more how you proceeded.
Click to expand...
Click to collapse
Hello Thanks for the response, i use the ASSAYYED_KITCHEN and the work folder for delete apps i think are useless ( i use assayyed kitchen because i follow a tutorial on youtube )
Hi. I din't know about this one. Will give a try !
Hello, I was trying to move apps and by removing some of these I was able to make the installer not appear, I can now use my rom and my device runs faster!

55GB space missing on SDCard after deleting file

I use Syncthing regularly to backup some things from the phone to my PC and it works rather nicely.
Syncthing - Wikipedia
en.wikipedia.org
However, it often chokes on big files, eg I wanted to copy some kiwix files (aka precompiled wiki) to my SDCard (the other way around which works also very well for small files).
Kiwix - Wikipedia
en.wikipedia.org
Welcome to Kiwix Server
library.kiwix.org
Well, that full wiki has some 99GB and it got stuck. So I stopped Syncthing and deleted the remnant incomplete file... took forever, I got impatient and rebooted my fon.
Ouch, no empty space was recovered - I am missing about 55GiB "emptiness". Remembering vaguely that exfat is windows, I thought to just check it quickly in Win10... except it didn't work (check via properties):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can anyone explain this? What would be the proper way to enforce a check and free up my space?
PS: The card is a 512GB from Kingston with read/write above 70MB/s.
AFAIK modern SD-cards support CMD38 ( AKA TRIM ) command.
Check whether the SD-card in question supports CMD38 command and if, then apply it.
More info here:
Quickly Wipe an SD Card with ESP8266
In a previous story, I have written about connecting an SD Card to an ESP8266. During my adventures, I have discovered some interesting…
pawitp.medium.com
jwoegerbauer said:
modern SD-cards support CMD38 ( AKA TRIM ) command
Click to expand...
Click to collapse
Thanks! I would have expected a 512GB card is modern enough but no luck so far:
fstrim: /media/xxx/[email protected]: the discard operation is not supported
So I searched and found two apps:
https://forum.xda-developers.com/t/...ol-of-your-device-nand-chip-trimming.3038240/
https://forum.xda-developers.com/t/...tility-for-android-no-root-necessary.4258765/
Feature set was limited (basically just on and off, cannot select mounts/devices). Tried to set trim at reboot, no luck. Next step was busybox:
~ $ sudo busybox fstrim -v /storage/8549-8438
fstrim: ioctl 0xc0185879 failed: Function not implemented
Yeah, unless there is another idea... I think I just reformat it today (and won't reboot my fon next time so quickly if it occurs again).
PS: When moving all my files from sdcard to pc, something did get triggered and a lost-folder popped up. Unfortunately it was only half of it, instead of 55GB now "only" 34 were missing

Categories

Resources