[android-porting] Removing SDCard Folders?

2017-07-31 Thread Joey Troy
I am porting android to a no Audio device and trying to figure out how to remove the Alarms, Movies, Music, Notifications, Podcasts, and Ringtones folders from the SDCard. I have tried to edit the sdcard.c file in system/core/sdcard but no dice. -- -- unsubscribe:

Re: [android-porting] Re: Question on fastboot oem unlock

2017-07-28 Thread Joey Troy
jzh...@gmail.com> wrote: > Device side's codes are bootloader/lk > > 2017年7月15日 21:41,"Joey Troy" <joey.t...@gmail.com>写道: > > So far no luck. Would you have an idea on how I would implement this on > 5.1.1? > > On Thursday, July 13, 2017 at 10:48:31 AM UTC

[android-porting] Re: Question on fastboot oem unlock

2017-07-13 Thread Joey Troy
tion? > > Standard implementations wipe the data partition. If you want to modify > the code to wipe more partitions, see #1 above. > > On Wednesday, July 12, 2017 at 11:35:34 AM UTC-7, Joey Troy wrote: >> >> I have two questions and was wondering if anyone c

[android-porting] Question on fastboot oem unlock

2017-07-12 Thread Joey Troy
I have two questions and was wondering if anyone could assist 1. Is it possible to rename the unlock command to say 'fastboot oem secret_word'? 2. Is is possible if some one unlocks the device that it also formats the /system partition? Thanks, Joey -- -- unsubscribe:

[android-porting] Re: how to hide navigation bar

2017-07-12 Thread Joey Troy
You will need to edit the code in frameworks/base/packages/SystemUI/src/com/android/systemui/ . I did this for Lollipop, I am not sure it's the same code in JB, but that may help. Basically the slider bar still comes down but all the tiles have been removed except for brightness. Good luck!

[android-porting] Re: Question on fastboot oem unlock

2017-07-15 Thread Joey Troy
So far no luck. Would you have an idea on how I would implement this on 5.1.1? On Thursday, July 13, 2017 at 10:48:31 AM UTC-6, Joey Troy wrote: > > Thanks Glen, I have been building for Lollipop and the .cpp files are not > in that branch. I will see what I can do to merge them in

[android-porting] Re: How to add kernel source code to aosp build image

2017-07-12 Thread Joey Troy
There was an article some time ago by JB and he said AOSP was not designed to have the kernel built with the code. I would recommend building your kernel and then create a folder structure like the following android/devices/htc/device_name (your device files)

Re: [android-porting] Is it possible to write bootloader from recovery ?

2017-08-01 Thread Joey Troy
Oleksandr, Actually the bootloader is it's own partition and has nothing to do with the boot.img. The bootloader is normally aboot.img and the boot.img is the kernel which then boots the OS. This may help http://newandroidbook.com/Articles/aboot.html In terms of your question when you are doing

Re: [android-porting] Removing SDCard Folders?

2017-07-31 Thread Joey Troy
! http://androidxref.com/7.1.1_r6/xref/packages/providers/MediaProvider/src/com/android/providers/media/MediaProvider.java#547 On Mon, Jul 31, 2017 at 10:43 AM Joey Troy <joey.t...@gmail.com> wrote: > Thanks Satish. I will give that a try and update the post. > > On Mon, Jul 31, 2

[android-porting] How to disable hardware?

2017-08-17 Thread Joey Troy
So I am trying to disable hardware through the device files for the mako. I have found how to disable the radio and also the accelerometer. Is there a feature like this to disable Audio, Bluetooth, and GPS? #android_device_lge_mako / device.mk # Disbale Radio PRODUCT_PROPERTY_OVERRIDES += \

Re: [android-porting] Android bootloader requirements

2017-09-20 Thread Joey Troy
Sebastian, Are you writing your own bootloader? If not each bootloader has a set of commands that the OEM writes. From Samsung to HTC to vendor X each does it different. Most boootloaders are based on the little Kernel https://www.codeaurora.org/blogs/little-kernel-based-android-bootloader To

Re: [android-porting] Android bootloader requirements

2017-09-22 Thread Joey Troy
U-Boot, > but there are many things missing. > Especially we want to use the Android A/B update schema that has no > support in U-Boot yet. > > > Am Mittwoch, 20. September 2017 20:30:54 UTC+2 schrieb Joey Troy: > >> Sebastian, >> >> Are you writing your o

Re: [android-porting] Adding a custom (800x480) resolution to an Android port?

2017-08-23 Thread Joey Troy
Chris, I was digging around in the media_profiles.xml in the device files. Hope this works for you. https://android.googlesource.com/device/htc/flounder/+/android-7.1.1_r50/media_profiles.xml On Tue, Aug 22, 2017 at 10:24 AM wrote: > Hi, I'm trying to support a

Re: [android-porting] Porting to a no modem tablet

2017-10-11 Thread Joey Troy
Jacob, Looks good so far, you will also want to add this in the device.mk # Disbale Sim CardPRODUCT_PROPERTY_OVERRIDES += \ ro.radio.noril=yes Also in the build/target/product folder you will want to look at the *.mk files and make some edits to remove packages you do not want. You will

Re: [android-porting] Deleting Folder on Boot

2017-11-13 Thread Joey Troy
Thanks sir, I was able to resolve it in the application! On Fri, Nov 10, 2017 at 11:56 AM kamal kumar wrote: > Hi, > > I believe you have added this changes in boot section. You can try in > post-fs-data section. If still you are facing issues then you may need to > look for

[android-porting] Deleting Folder on Boot

2017-10-27 Thread Joey Troy
I have been trying to delete a folder on boot and writing it into the init.rc https://android.googlesource.com/platform/system/core/+/master/rootdir/init.rc however nothing seems to work, I have tried the following rm -rf /sdcard/Android rm -r /sdcard/Android/* exec -- rm -rf /sdcard/Android

Re: [android-porting] Removing packages from AOSP build

2018-02-05 Thread Joey Troy
Best place to edit is in the build folder to remove all the extra apps https://android.googlesource.com/platform/build/+/master/target/product/core.mk On Sun, Feb 4, 2018, 7:25 PM Will Newton wrote: > Hi, > > I'm trying to avoid including some packages in the build of my

Re: [android-porting] Removing packages from AOSP build

2018-02-05 Thread Joey Troy
, 2018, 2:40 AM Will Newton <will.new...@gmail.com> wrote: > On Mon, Feb 5, 2018 at 3:10 AM, Joey Troy <j...@joeytroy.com> wrote: > > Best place to edit is in the build folder to remove all the extra apps > > > > > https://android.googlesource.com/platform/build/+