Related
Hello all,
I am trying to make an application that will detect what actual hardware a user is using and then go out to google and download the official update for the device extract the google apps and install on the device. Right now I was wondering if someone could point me to an ota link for the MT3G and G1 for T-Mobile just for a starting purpose. I already found away to get hardware id and match so I am good there. Any help would be really appreciated.
I don't have them handy but I recommend you contact @wesgarner on here or Twitter and if I recall @Haykuro has them too. If @wesgarner doesn't hook you up right away let me know and I will look them up.
TheArtiszan said:
Hello all,
I am trying to make an application that will detect what actual hardware a user is using and then go out to google and download the official update for the device extract the google apps and install on the device. Right now I was wondering if someone could point me to an ota link for the MT3G and G1 for T-Mobile just for a starting purpose. I already found away to get hardware id and match so I am good there. Any help would be really appreciated.
Click to expand...
Click to collapse
Hi TheArtiszan,
I can tell you that the "OTA" update links change and are (of course) specific to the carrier in question. So for G1 and MT3G, we're talking T-Mobile, in which case I can inform you that the links and locations of the OTA updates rotate and change. By any specific pattern ? That eludes me completely and I would suggest it could/would be hard to track.
Also (and possibly even more challenging to what you are trying to accomplish), the OTA updates typically provide "patch sets" instead of the full blown system image you seek to extract "pure" files.
I'm sure not the answer you wanted, but I hope it helps.
~enom~
yeh I am starting with just T-Mobile ones first since they are my carrier and go from there. even a basic one would be good. I already have an app that will extract files from a file downloaded from my site (minus progress bar still working on that part lol) and extracts files so i have a good start I think. Just stinks that is not in C# would be done already.
Didnt get a response yet from them for thefiles. got app semi working from a rom on a private server any one know about google hosted packages
TheArtiszan said:
Hello all,
I am trying to make an application that will detect what actual hardware a user is using and then go out to google and download the official update for the device extract the google apps and install on the device. Right now I was wondering if someone could point me to an ota link for the MT3G and G1 for T-Mobile just for a starting purpose. I already found away to get hardware id and match so I am good there. Any help would be really appreciated.
Click to expand...
Click to collapse
I think you are taking the hard way to accomplish your goal. Farmatito has already developed a backup script that backs up the necessary files from your phone <HERE>. And redmdc already has a script that will take a backup file and insert the files into an update.zip file <HERE>. There is no need to go out to the providers to get these files. We all already have them.
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
Hi guys, I have my set of mods for a few of the HTC phones and I want to create an updater-script that checks for a file before flashing the mod. If the file exists, continue. If not, abort. I have a really round-about way of doing it right now (I'm sure there is a better, more efficient way to do it) but I'm hoping for a little bit of direction, as I have been working on this for the better part of 8 hours and not getting very far.
I will attach what I have so far, the last thing last_log told me from recovery was error in line 8, col 21. Any help would be great, thanks!
Help bump
still need help?
Dude, this is all set, right? (Also, I need to post 10 items before I'm allowed to post in some forums... so this makes 2 down 8 to go!)
ekarelis said:
Dude, this is all set, right? (Also, I need to post 10 items before I'm allowed to post in some forums... so this makes 2 down 8 to go!)
Click to expand...
Click to collapse
You definitely helped me out with this, but I didn't include it because to check for the file I need can't be done without a ton more work since the file is located in /root, which isnt available in recovery.
Has a ROM been made for the device yet?
As soon as one is made I will be one happy user as this tab has soooo much potential to be great
BEST DAMN PHONE BECAUSE WE HAVE THE BEST DAMN DEVELOPERS!
Yeah i know i need one now lol
bkundert21 said:
Yeah i know i need one now lol
Click to expand...
Click to collapse
Why? What would you like a replacement firmware to do? Remove bloat? Do that with titanium backup (or anything else that can 'freeze' pre-installed crud.) Change the launcher? You can already do that (but it seems most of the replacement launchers are designed more for phones.)
What do you want different that you can't already change?
garyd9 said:
Why? What would you like a replacement firmware to do? Remove bloat? Do that with titanium backup (or anything else that can 'freeze' pre-installed crud.) Change the launcher? You can already do that (but it seems most of the replacement launchers are designed more for phones.)
What do you want different that you can't already change?
Click to expand...
Click to collapse
I gotta say I agree with Gary. Now that we have root and CWM (thanks to Gary) there's not much more I feel compelled to change I can already with root. Perhaps a custom kernel we can OC but this danged this flies now. Perhaps someone can come up with something that'll amaze us all (and that would be very cool!) and I'll be all over it. Right now with ICS looming it might be a better allocation of dev resources to just lay back and wait/see what that brings?
Now custom themes.....THAT would right now peek my interest. Learned a few things from hatman41 on the TF. This might be an excuse to dig back in.
Just an opinion.
skeeterpro said:
I gotta say I agree with Gary. Now that we have root and CWM (thanks to Gary) there's not much more I feel compelled to change I can already with root. Perhaps a custom kernel we can OC but this danged this flies now. Perhaps someone can come up with something that'll amaze us all (and that would be very cool!) and I'll be all over it. Right now with ICS looming it might be a better allocation of dev resources to just lay back and wait/see what that brings?
Now custom themes.....THAT would right now peek my interest. Learned a few things from hatman41 on the TF. This might be an excuse to dig back in.
Just an opinion.
Click to expand...
Click to collapse
I'd like to see a r/w external sd card. Having it be read-only is forcing me to change my process of working. But I do agree with the others, with root and cwm the tab is very very good.
otamctech said:
I'd like to see a r/w external sd card. Having it be read-only is forcing me to change my process of working. But I do agree with the others, with root and cwm the tab is very very good.
Click to expand...
Click to collapse
Really? I can change r/o to r/w and back again with Root Explorer in extStorages
skeeterpro said:
Really? I can change r/o to r/w and back again with Root Explorer in extStorages
Click to expand...
Click to collapse
yes i can do that also, but even when it is in r/w, i cant say, save an excel file to the card using quickoffice or any other app for that matter. It will only let me save to the built in storage
otamctech said:
yes i can do that also, but even when it is in r/w, i cant say, save an excel file to the card using quickoffice or any other app for that matter. It will only let me save to the built in storage
Click to expand...
Click to collapse
Interesting. I was just able to copy/paste from root to a folder on the exStorages and copy a file from the internal to the exStorages (an apk and an ePub)
Just re-read your post. From an app to exStorages. Hmmm...will try that.
Don't have quickoffice but polaris has very few options. Almost too few.
otamctech said:
I'd like to see a r/w external sd card.
Click to expand...
Click to collapse
I'd like to see that as well, but it'd probably be a kernel change, not what people here call a ROM change. Let's see, here's how it's currently mounted:
Code:
/dev/block/vold/179:17 /mnt/sdcard/extStorages/SdCard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
It's already mounted as read-write. The thing that's preventing normal user write access is the uid/gid combo with the fmask/dmask (not sure why samsung didn't just use a umask instead of both of the other masks.) Essentially, what that is doing is say that all the files and directories (including the root of the mount) are readable by anyone, but only writable to the "system" user, or a user in the "media_rw" group. I'm going to take a wild guess that the "camera" application, the "my files" application, and other samsung apps are in that "media_rw" group. (not sure how to check that...)
Interesting... I'm trying to remount it manually (mount -o remount,...) and while it's not giving any error, it's not working either.
I'm not sure how these "vold" mounts work, what options are valid for them, etc. It's an interesting issue, though...
All I want is a deodexed rom. Might have to break out android for dummies and learn how to.
Once we get that then let the theming begin.
Sent from my Insanity powered SGS2
Not to difficult i may give it a try soon.
deodex'ing honeycomb stuff isn't as easy as gingerbread and prior...
garyd9 said:
deodex'ing honeycomb stuff isn't as easy as gingerbread and prior...
Click to expand...
Click to collapse
I know, thats why I havent learned it yet lol.
However I am slowly figuring out theming while the rom is odexed. Got a few things going now
This device is powerful and awesome. Id love to be able to change themes and icons. The bloat ware doesn't get into the way and slow performance down. This devise will do me good for about 1 year to 1 1/2 years than ill upgrade to a new more powerful device.
this may help..
http://forum.xda-developers.com/showthread.php?t=1373131
I will likely wait for a clockwork recovery to start ripping stuff apart.
this is my first sammy product, wife has a cappy that I flash. nota huge fan of touchwiz but its easy on the eyes compared to my past 2 devices, dell streak 7 & 5.
Moving this to a proper forum.
chrisrotolo said:
I will likely wait for a clockwork recovery to start ripping stuff apart.
Click to expand...
Click to collapse
Which model do you have? GT-P6210 (wifi only), GT-P6200 (international 3G) or SGH-T869 (USA/TMobile 3G)?
There's no CWMR for the p6200 (yet), but I've already done them for the other two.
P6200 3G from malaysia. no rush, patiently waiting. Im more than willing to help with any info needed. Thank so much.
chrisrotolo said:
P6200 3G from malaysia. no rush, patiently waiting. Im more than willing to help with any info needed. Thank so much.
Click to expand...
Click to collapse
Are you fluent with a shell prompt? If so, in order to attempt a CWM recovery (based on what I've already done for the p6210 and t869), please run the following two commands as root via adb shell... (and copy the resulting information)
mount
cat /proc/partitions
.. that will give me a hint as to which partition is probably your recovery partition. Send me that info IN A PM. I'll respond via PM with some more commands (based on the info you send me, I'll need you to dump a partition or two and get the images to me.)
Once I have the proper information and images, I can PROBABLY make a successful CWM recovery image (but please understand that I'll have to recompile a kernel BLIND with no possible way to test myself.)
Take care
Gary
---------- Post added at 11:43 PM ---------- Previous post was at 11:40 PM ----------
I should also mention that I'm going to be VERY busy over the next 3 days, so even if I get the images and all works okay, the earliest I'd be able to have a recovery would be Thursday or so.
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