Can someone help me!?!

This is a discussion on Can someone help me!?! within the Droid Development forums, part of the Droid Hacking category; I'm building a ROM for the OG Droid and I'm trying to put apps in the /data/app folder. Every time I flash the ROM, none ...

+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20

Thread: Can someone help me!?!

  1. Droid Ninja
    spc_hicks09's Avatar
    Member #
    134991
    Join Date
    Nov 2010
    Location
    Hawaii
    Posts
    1,000
    Liked
    10 times
    Twitter
    TIFFnGARY
    Phone
    Droid RAZR
    #1

    Can someone help me!?!

    I'm building a ROM for the OG Droid and I'm trying to put apps in the /data/app folder. Every time I flash the ROM, none of the apps from /data/app seem to install. Any thoughts!?!
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Developer Relations
    guidot's Avatar
    Member #
    36269
    Join Date
    Feb 2010
    Location
    Massachusetts
    Posts
    5,976
    Liked
    291 times
    Twitter
    guidot42
    Phone
    XT862/A855
    Premium Member
    #2
    I'll see if I can't someone in here for you.

    1.Need to Flash a ROM? - Flashing ROM - Best Practices
    2.Need to Install Safestrap on your D3? - Install Safestrap D3
    3.Need to Install a ROM using Safestrap on your D3? - Flashing a ROM using Safestrap
    4.Guidelines of Conduct on Droidforums.net - Guidelines of Conduct
  4. Developer
    13th angel's Avatar
    Member #
    161319
    Join Date
    Jan 2011
    Location
    Auburn, Alabama
    Posts
    2,082
    Liked
    24 times
    Twitter
    X13thAngelX
    Phone
    DX/D2G
    DroidForums.net Developer
    #3
    About to leave the house to go to class and dont have time to track down the exact line, if no ones helped you by the time I get home from class I'll find it for ya.
    CM9 builds for D2G, D2, and DX
  5. Developer
    woodyman's Avatar
    Member #
    31911
    Join Date
    Jan 2010
    Location
    Ohio
    Posts
    1,608
    Liked
    13 times
    Twitter
    @DroidConcepts
    Phone
    D1, D2, D3
    DroidForums.net Developer
    #4
    Hey man, welcome to the ROM game, I'll post some little hints for you for some stuff below, but if you need help with anything in the process of your ROM feel free to let me know, I'll do what I can to help you, and even if I can't help with your problem I'll know someone who can. Here is some contact info for me for future reference.

    ----------------------------------------------------------------------------------------------------------

    All info can be found at Droid Concepts then click on 'Meet The Team'
    Twitter: @DroidConcepts
    Email: Woodyman@droidconcepts.com

    ---------------------------------------------------------------------------------------------------------

    Code:
    # In order to write to the DATA  we have to first mount it
    mount("MTD", "userdata", "/data");
    package_extract_dir("data", "/data");
    unmount("/data");
    If you need anything else drop me a message and i'll help you out.

    -woody

    Quote Originally Posted by spc_hicks09 View Post
    I'm building a ROM for the OG Droid and I'm trying to put apps in the /data/app folder. Every time I flash the ROM, none of the apps from /data/app seem to install. Any thoughts!?!


    Done! lol.

    Quote Originally Posted by guidot View Post
    I'll see if I can't someone in here for you.
    Last edited by woodyman; 08-25-2011 at 08:19 AM.
    Click Here for the Droid Concepts Web Site

    Check out The Droid Concepts Roms By clicking the image below.!

    If you would enjoy what we do please support us with a small donation if possible, we need some new devices..
  6. Droid Ninja
    spc_hicks09's Avatar
    Member #
    134991
    Join Date
    Nov 2010
    Location
    Hawaii
    Posts
    1,000
    Liked
    10 times
    Twitter
    TIFFnGARY
    Phone
    Droid RAZR
    #5
    Small world, from Ohio myself! Marion, Ohio born and raised. In the Army for the last 4 years and stationed in Hawaii now!

    Anyway, here's my issue because I think I explained this wrong. In the process of building the ROM, at the Root of the build I have the following:

    Data Folder
    System Folder
    META Folder
    Boot.img (kernel)

    I already have all the apps in the data folder. (Trying to put apps in /data/app so users can easily uninstall if they don't want them)
    I finish the ROM, sign it, upload it to www.multiupload.com, download it, flash it. I reboot and notice that none of the apps from /data/app will show up. However, when I boot up, open Root Explorer, go to /data/app, all the apps are listed! LOL

    If needed, I can also include a link to the build for better analyzing. I really appreciate the help guys! This is why I love DF so much!

    Quote Originally Posted by woodyman View Post
    Hey man, welcome to the ROM game, I'll post some little hints for you for some stuff below, but if you need help with anything in the process of your ROM feel free to let me know, I'll do what I can to help you, and even if I can't help with your problem I'll know someone who can. Here is some contact info for me for future reference.

    ----------------------------------------------------------------------------------------------------------

    All info can be found at Droid Concepts then click on 'Meet The Team'
    Twitter: @DroidConcepts
    Email: Woodyman@droidconcepts.com

    ---------------------------------------------------------------------------------------------------------

    Code:
    # In order to write to the DATA  we have to first mount it
    mount("MTD", "userdata", "/data");
    package_extract_dir("data", "/data");
    unmount("/data");
    If you need anything else drop me a message and i'll help you out.

    -woody





    Done! lol.
    Last edited by spc_hicks09; 08-25-2011 at 09:52 AM.
  7. Super Moderator
    rck76's Avatar
    Member #
    195184
    Join Date
    May 2011
    Posts
    5,007
    Liked
    110 times
    Phone
    Droid Bionic
    Premium Member
    #6
    I don't know anything about making roms but did you include a file that will set your permissions for the apps while flashing the roms?

    Sent from my Droid using DroidForums

  8. Droid Ninja
    spc_hicks09's Avatar
    Member #
    134991
    Join Date
    Nov 2010
    Location
    Hawaii
    Posts
    1,000
    Liked
    10 times
    Twitter
    TIFFnGARY
    Phone
    Droid RAZR
    #7
    Quote Originally Posted by rck76 View Post
    I don't know anything about making roms but did you include a file that will set your permissions for the apps while flashing the roms?

    Sent from my Droid using DroidForums
    Lol if I have to do this, then this would probably be my problem. Just figured it was the same as putting apps in /system/app.
  9. Super Moderator
    rck76's Avatar
    Member #
    195184
    Join Date
    May 2011
    Posts
    5,007
    Liked
    110 times
    Phone
    Droid Bionic
    Premium Member
    #8
    Quote Originally Posted by spc_hicks09 View Post
    Lol if I have to do this, then this would probably be my problem. Just figured it was the same as putting apps in /system/app.
    Well, I noticed when flashing roms, part of it is setting permissions. I'm really not sure if this is done automatically or a command or file has to be included.

    Sent from my Droid using DroidForums

  10. Droid Ninja
    spc_hicks09's Avatar
    Member #
    134991
    Join Date
    Nov 2010
    Location
    Hawaii
    Posts
    1,000
    Liked
    10 times
    Twitter
    TIFFnGARY
    Phone
    Droid RAZR
    #9
    Quote Originally Posted by rck76 View Post
    Well, I noticed when flashing roms, part of it is setting permissions. I'm really not sure if this is done automatically or a command or file has to be included.

    Sent from my Droid using DroidForums
    When the ROM is installing it runs a "Setting Permissions" script but I think you're right, I don't think I have anything in there specific for /data/app. I'll have to check it out later and see. Thanks man!
  11. Super Moderator
    rck76's Avatar
    Member #
    195184
    Join Date
    May 2011
    Posts
    5,007
    Liked
    110 times
    Phone
    Droid Bionic
    Premium Member
    #10
    Quote Originally Posted by spc_hicks09 View Post
    When the ROM is installing it runs a "Setting Permissions" script but I think you're right, I don't think I have anything in there specific for /data/app. I'll have to check it out later and see. Thanks man!
    Hey, no problem, I just figured if you were still seeing your apps in /system/app or in /data/app and didn't show up in your installed app list, permissions probably weren't set correctly. I hope this is the problem and I wish you the best of luck in your rom development.

    Sent from my Droid using DroidForums

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts