[Q] int2ext and read-only filesystem - HTC Wildfire S

Hello,
I was using Marvellous Sense 3.5 ROM with increased internal memory by int2extv2.
But I like CyanogenMod on other phone, where many more things could be customized so I have installed this ROM: [rom][unofficial][4.2.2][cm10.1] with Gapps, which is working fine. However after installing int2extv2 nothing happens.
Using RootBrowser I found that autorun file (/etc/init.d/40int2ext) is empty. I tried to remove that file and copy/paste from SD card. But the result is the same (file is created with 0 size). Then I connected to phone with adb shell where I found that the filesystem is read-only, so I decided to make the same things in recovery.
In recovery using adb shell I mounted system blokdevice (read-write), but I was not able to create 40int2ext file (not enough space). I deleted one ringtone and finally 40int2ext script was created (This probably is not the right method, because right now adb shows "unauthorized" device).
After reboot my device shows more internal memory, but I am not able to install any app (no more space). What is the reason? Read-only system? I tried some other 4.2 android ROM, but I was not able to enable int2ext scritp. Does Android 4.2 is compatible with int2ext script?
Sorry about this long post. Tried to post under ROM thread, but I have no enough post written

krogon said:
Hello,
I was using Marvellous Sense 3.5 ROM with increased internal memory by int2extv2.
But I like CyanogenMod on other phone, where many more things could be customized so I have installed this ROM: [rom][unofficial][4.2.2][cm10.1] with Gapps, which is working fine. However after installing int2extv2 nothing happens.
Using RootBrowser I found that autorun file (/etc/init.d/40int2ext) is empty. I tried to remove that file and copy/paste from SD card. But the result is the same (file is created with 0 size). Then I connected to phone with adb shell where I found that the filesystem is read-only, so I decided to make the same things in recovery.
In recovery using adb shell I mounted system blokdevice (read-write), but I was not able to create 40int2ext file (not enough space). I deleted one ringtone and finally 40int2ext script was created (This probably is not the right method, because right now adb shows "unauthorized" device).
After reboot my device shows more internal memory, but I am not able to install any app (no more space). What is the reason? Read-only system? I tried some other 4.2 android ROM, but I was not able to enable int2ext scritp. Does Android 4.2 is compatible with int2ext script?
Sorry about this long post. Tried to post under ROM thread, but I have no enough post written
Click to expand...
Click to collapse
which Gapps did you flash??

csoulr666 said:
which Gapps did you flash??
Click to expand...
Click to collapse
Firstly sorry for wrong link. Name of ROM is correct, but LINK is redirecting to another one. I have installed this ROM: [rom][unofficial][4.2.2][cm10.1] (25.10.2013)
About Gapps version: 20130812 (from http://goo.im/gapps it is correct for CM10.1 and Android 4.2)

krogon said:
Firstly sorry for wrong link. Name of ROM is correct, but LINK is redirecting to another one. I have installed this ROM: [rom][unofficial][4.2.2][cm10.1] (25.10.2013)
About Gapps version: 20130812 (from http://goo.im/gapps it is correct for CM10.1 and Android 4.2)
Click to expand...
Click to collapse
That's what you did wrong...... Internal storage of our phones isn't big enough for the complete gapps package for Android 4.1 and above, use a stripped down version of them found in the thread

You are right, I missed that thing. Now it is working. Thanks.
BTW. Do you know what is the difference between gapps-jb-20130301-lite.zip (34,5MB) and gapps-jb-20130301-light.zip (8.26MB)?

krogon said:
You are right, I missed that thing. Now it is working. Thanks.
BTW. Do you know what is the difference between gapps-jb-20130301-lite.zip (34,5MB) and gapps-jb-20130301-light.zip (8.26MB)?
Click to expand...
Click to collapse
Just a few apps added and removed here and there, see which one you require by trying them

Related

Installation Failures for Insanely Large Apps

(I posted this in general, but I think there's too much technical info for any user to be able to assist. I realize this isn't development related, but delete the post if it's too off-topic please.)
Over the past few months since 'Grocery iQ' has been out, I have been trying to install it. Despite trying it on several different ROMs on my old G1 and now several different ROMs on my Slide (including now Froyo) it seems that it doesn't like to install. From my experience it is the biggest direct-download from the Market that I have come across weighing in at 8.01MB - by 'direct-download' I mean that the application itself is downloaded entirely from the Market and the size I reference isn't from 'additional' files downloaded to the SD card after running the program.
Everytime I try to install it the system just says 'Installation Unsuccessful' and one time I got an error code: -18 (on Eugene's Froyo Kanged RC1). Fortunately I'm fluent enough with the device to have my SDK setup and I grabbed a logcat from the adb server. Using what debugging mind-set I've had from coding I was able to find the problem is:
Code:
D/VoldCmdListener( 122): asec list
I/PackageHelper( 1703): Size of container 10 MB 8401843 bytes
D/VoldCmdListener( 122): asec create smdl2tmp1 10 fat {} 10010
E/Vold ( 122): ASEC file '/mnt/secure/asec/smdl2tmp1.asec' currently exists - destroy it first! (No such file or directory)
W/Vold ( 122): Returning OperationFailed - no handler for errno 98
E/PackageHelper( 1703): Failed to create secure container smdl2tmp1
E/DefContainer( 1703): Failed to create container smdl2tmp1
What exactly is happening here? It almost looks like it's trying to create a secure environment for the install or the program uses copy-protection. Can someone please elaborate on this - hopefully a dev?
Thanks!
That's odd, it installed fine for me on SlideM4
How much free space do you have? Are you doing the install over WiFi?
After doing some research I believe that ASEC is part of the copy protection scheme used in a2sd on Froyo.
r0man said:
How much free space do you have? Are you doing the install over WiFi?
Click to expand...
Click to collapse
I have 95.51MB free >.> And I'm not sure why WiFi or 3G would matter, but I've tried both ways (unintentionally).
r0man said:
After doing some research I believe that ASEC is part of the copy protection scheme used in a2sd on Froyo.
Click to expand...
Click to collapse
Interesting. I'm not using A2SD though since my SD card is formatted entirely FAT32 (Froyo didn't like my card being FAT32+EXT3+Swap), but I wonder if Froyo A2SD runs entirely on FAT32? It would be complicated for Google to require people to partition their SD cards now that Froyo has A2SD built-in.
nbetcher said:
I have 95.51MB free >.> And I'm not sure why WiFi or 3G would matter, but I've tried both ways (unintentionally).
Interesting. I'm not using A2SD though since my SD card is formatted entirely FAT32 (Froyo didn't like my card being FAT32+EXT3+Swap), but I wonder if Froyo A2SD runs entirely on FAT32? It would be complicated for Google to require people to partition their SD cards now that Froyo has A2SD built-in.
Click to expand...
Click to collapse
Downloads over networks that aren't stable like 3G can cause bad downloads.
Froyo runs a2sd entirely on the SD card, if the app doesn't have the proper line of code specifying whether to go to SD card or internal memory I think that it won't install properly on Froyo, not sure though.
r0man said:
Froyo runs a2sd entirely on the SD card, if the app doesn't have the proper line of code specifying whether to go to SD card or internal memory I think that it won't install properly on Froyo, not sure though.
Click to expand...
Click to collapse
I'm still not sure whether it tries to use the FAT32 partition for A2SD (which I doubt since it cannot do symlinks among other stuff) or EXT2/3 on the SD card if present.
Anyways, I was fiddling with the settings more on the phone and there's a new option in the "Settings" that is "Cyanogenmod Settings." In there you can tell it whether to install to your SD card or not (it's not like the old checkbox for A2SD). I told it internal storage and the program still failed to install for the same reason.
nbetcher said:
I'm still not sure whether it tries to use the FAT32 partition for A2SD (which I doubt since it cannot do symlinks among other stuff) or EXT2/3 on the SD card if present.
Anyways, I was fiddling with the settings more on the phone and there's a new option in the "Settings" that is "Cyanogenmod Settings." In there you can tell it whether to install to your SD card or not (it's not like the old checkbox for A2SD). I told it internal storage and the program still failed to install for the same reason.
Click to expand...
Click to collapse
That is weird because I was gooing to tell you to go into CM settings and make sure to select internal. Maybe it is just the app???
sultan.of.swing said:
That is weird because I was gooing to tell you to go into CM settings and make sure to select internal. Maybe it is just the app???
Click to expand...
Click to collapse
No - no one on the market has made any comment regarding the problem. In fact everyone is saying how they love the program (minus the occasional moron).
I've had this same problem with my G1 and on a couple other ROMs on the Slide. R0man said it installed for him though on SlideMR4
Installed on my MR1V4-Remix over 3G fine. Did you try an ADB install through the SDK?
I can post for u if u wanna try that.
Sent from my MR1 V4 Remix 3G using Tapatalk
Fordude said:
I can post for u if u wanna try that.
Click to expand...
Click to collapse
Post the APK? That would be great. Thanks!
nbetcher, Froyo doesn't put the full app on SD card, just the majority of the files.
GroceryIQ
Really basic:
1. download
2. copy/move to SDK tools directory
3. From SDK tools directory (where file is downloaded) type this:
adb install com.coupons.GroceryIQ.apk
Hope this helps!
Fordude said:
GroceryIQ
Really basic:
1. download
2. copy/move to SDK tools directory
3. From SDK tools directory (where file is downloaded) type this:
adb install com.coupons.GroceryIQ.apk
Hope this helps!
Click to expand...
Click to collapse
Thanks for the upload. I already have an ADB environment setup, but unfortunately this method did not change the error. ADB returned:
Code:
pkg: /data/local/tmp/com.coupons.GroceryIQ.apk
Failure [INSTALL_FAILED_CONTAINER_ERROR]
ADB's logcat shows the same error as before (when installed using Market).
Slightly off topic, but you do ask about it, and I don't think I've seen it answered here, but in one of Eugene's thread, they do state that Froyo's inherent a2sd is all handled on FAT32 partitions. And I think on Eugene's Froyo release, it specifically runs into issues if you have an EXT partition... Just some anecdotal info.
froyo has apps2sd built in so no partitioning of the card is required. Just straight fat32 which is what it should be by default. This makes sense because the mainstream user isn't going to have a clue on how to partition an SD card and that just wouldn't be very user friendly...
And yes the froyo CM rom will have issues if your card has an ext but Eugene said apps2sd doesn't even work on the rom anyways. It's there but it does nothing.
nbetcher said:
Thanks for the upload. I already have an ADB environment setup, but unfortunately this method did not change the error. ADB returned:
Code:
pkg: /data/local/tmp/com.coupons.GroceryIQ.apk
Failure [INSTALL_FAILED_CONTAINER_ERROR]
ADB's logcat shows the same error as before (when installed using Market).
Click to expand...
Click to collapse
The apk is corrupted, apparently.
r0man said:
The apk is corrupted, apparently.
Click to expand...
Click to collapse
Nope. I used the same APK as Fordude (whom was able to install the program) provided through a reliable channel. If we took MD5Sums of both files I'd bet $10 that they're both the same.
After researching this extensively I'm coming to the conclusion that:
* This is a protected app; and
* Protected apps are broken on CM6/Espresso at the moment; OR
* There is some mis-configuration with Eugene's ROM; OR
* The kernel that is being used doesn't support a new(er) version of the dm_crypt api/module and/or the usage there-in with Froyo.
The last one in that list is the most likely, in my opinion. Many things like the camera are the first things to break in these major system upgrades since the software is using different APIs than the kernel module supports. (Remember that the kernel being used is still from the ORIGINAL shipment of this phone - 2.6.29, which is now over a year old and was specifically compiled for Espresso-stock.)
While I don't expect his ROM to be finished, I don't think this is something that anyone is even specifically aware of yet. It would be nice to know what Eugene thinks of this though.
Thanks for the help guys. Hopefully this will provide the community with some more information to make Froyo come to us quicker.
If we took MD5Sums of both files I'd bet $10 that they're both the same.
Click to expand...
Click to collapse
MD5Sum of the file I provided 38bef197bcd5133a20abf845e241ff18

[Script][A2SD]Darktremor 2.7.5.3 Beta 04 [DesireZ] (01/29/2011)

Introducing...
Darktremor Apps2SD 2.7.5.3 Beta 04
Date of Release: January 29, 2011
Download Current Version
Instructions - Change Log - Commands - ROM List - Developer's Guide
Darktremor Apps2SD Fan Page ----
Darktremor Apps2SD Development Group
Are you installing Darktremor Apps2SD on your phone? Here are the instructions to help you: Facebook
Are you a developer wanting to include Darktremor Apps2SD in your latest ROM? Here is the Developer Guide: Facebook
Click to expand...
Click to collapse
Update on Beta 4
It seems I'm getting mixed results with these betas. I'm not sure why this is occurring, some people have been able to get this working right while others have had a hard time with it.
Currently, I'm rebuilding the entire program. This takes a while because I have to figure out how to pack all these options into the program but make it small enough to where it will run correctly.
I will say that some of the beta features are coming back out...one of them is the search for a partition code. I suspect that code may be leading me into issues with certain platforms, so I'm going back to the 2.7.5.2 method of mounting (mmcblk0p2 or mmcblk1p2).
Also, parts of the code will use Busybox Ash (the only code that won't will be starta2sd, which will still use Bash for the time being). The startup code will definitely use Busybox Ash.
Until then, here are the links to the the last two betas and the last official release:
Version 2.7.5.3 Beta 04 - http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.3-beta04-signed.zip
Version 2.7.5.3 Beta 03 - http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.3-beta03-signed.zip
Version 2.7.5.2-1 - http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.2-1-signed.zip
And, if you want past versions, you can view the repository: ftp://dtuser:[email protected] (ignore the smiley face...that's XDA doing that.)
Click to expand...
Click to collapse
Beta 04 took longer than I expected to release. I have done major changes to the code:
1. New commands: convert-ext4 - This will convert your EXT3 partition into EXT4. Just a friendly reminder on this command: Not every rom supports EXT4, so it is possible to go into a boot loop if you switch roms. Use with caution.
2. Reworked convert-ext3 (convert-ext4 gets similar code)...now a flag file is set before the reboot (no conversion is done before the reboot). At load time, the conversion is performed. This takes longer in the reboot process and you may think your phone has locked up...wait about five minutes before doing anything with the phone.
3. Repair is rebuilt...now it uses existing commands to repair the setup (reinstall, remove, cachesd, cachepart, nocache, datasd, nodata). Definitely shrinks the code.
4. Added fix_permissions program to the package. This may help with Superuser issues when using the datasd feature. It is used in reinstall, remove, datasd and nodata.
5. a2sd install is back!!! Both a2sd install and a2sd reinstall do the exact same thing.
6. Dalvik heap code has been shrunk and now creates a file called dalvikheap. Actually, the code has been doing this all along (since about 2.7.5.2, I think), but I never put the code in to use the file.
7. Low Memory Killer code has also been shrunk and uses a file caled dtset_lowmem to set the low memory killer parameter.
8. Replaced Busybox PS function with Toolbox PS. The issue with Busybox PS is that it gives a false reading when I look for android.process.acore (which is the main program when the GUI starts up). If that is present, the program thinks you are trying to run Darktremor without any command line parameters. This was because Busybox would report the process was there when, in reality, it wasn't (validated this when my phone was boot looping.) Toolbox's PS reports the correct setting. This should fix the bootlooping issues some people are experiencing.
9. New commands: usedtbusybox and usedefaultbusybox - these commands may help in diagnosing issues that is may be related to the native Busybox on your rom. a2sd usedtbusybox will use the Busybox that is packaged with Darktremor. a2sd usedefaultbusybox will turn back on the scan behavior of the program introduced in Beta 03.
10. Support for Darktremor Apps2SD version 2.7 and earlier has been discontinued. To upgrade correctly from one of those versions, use version 2.7.5.3 Beta 03b or earlier.
11. Finally fixed stalled boot issues (or at least my tests with several roms says so.)
See the change log for additional details.
You will notice that if the program runs repair and finds a problem, it will correct the issue and reboot. You will see a second reboot when the dalvik-cache clears (this is to fix timing issues with CyanogenMod...I can't control that startup as well as I can other roms). This only happens if repair is ran or you flash a new rom (as repair will realign all data). If you are upgrading from a previous version of Darktremor, you should not see the reboots.
Click to expand...
Click to collapse
This is Darktremor Apps2SD, a multipurpose program that primarily allows a user to execute applications created for the Android OS on their Secure Digital card (with the proper setup...more on that later). But, Darktremor Apps2SD is all about stability. The goal is to be able for all users of the Android OS to be able to take advantage of a method to run their applications from a secure digital card.
But just because the Darktremor Apps2SD is all about stability, doesn't mean it isn't packed with features:
- Move applications (both free and paid) to the Secure Digital card.
- Move Dalvik Cache to run either from your Secure Digital card or from your cache partition and clears the cache on demand.
- Boot Loop Protection: prevents the phone from boot looping in the event the SD card could not be mounted.
- Dalvik JIT for faster performance on Roms which support it.
- User selectable sizes for the Dalvik heap sizes, allowing a user to freely optimize their system.
- Activate a swap partition on your SD card and sets how often the swap partition is utilized.
- Automatically fixes configuration issues.
- Users can check the free space on their SD card and check the installation to make sure all is setup correctly.
- Runs ZipAlign on demand...this makes your programs load faster.
- Built in help system for easy reference of commands.
- All features can also be reversed without repartitioning your Secure Digital card.
- New logging features assists in troubleshooting issues.
- Commands to set the Low Memory Killer feature at boot time. Great for those people who are the "set it and forget it" type.
- And more...
Darktremor Apps2SD is not the same as Froyo Apps2SD. Froyo Apps2SD creates a secure folder on the FAT32 section of your SD card (this is the section that you see when you mount your phone to your computer) and stores the programs there. This is nice as you don't have to do anything special with the phone, but it isn't backwards compatible with older versions of Android (Cupcake, Donut, Eclair) and, because of the way Froyo works, older programs not designed for Froyo will automatically stay on your internal storage (unless you install a program that forces the move to your SD card).
Darktremor Apps2SD takes a different approach. Based on the original CyanogenMod works, Darktremor Apps2SD uses symbolic linking to force Android into moving your applications to the SD card. Because Android will not allow anything to be ran from the FAT32 partition on your SD card (and, in Froyo, it will only allow you to run programs from a special folder), Darktremor utilizes filesystems called EXT2, EXT3 and EXT4. Each one of these filesystems is native to Linux (the operating system running Android), which allows you to run programs from them (same as, say, a computer running Ubuntu). This method is completely compatible with all versions of Android, including Froyo. In fact, you can run both the Darktremor Apps2SD and Froyo Apps2SD at the same time.
Check out the list of Roms that either have Darktremor Apps2SD installed or are compatible with Darktremor Apps2SD. Click on the link labeled ROM List at the top of this message.
What?! Thanks darktremor, used this with my slide, will be testing and update this post asap with feedback.
Just curious though, is this meant for froyo based roms or should it work with gingerbread also?... guess I could test and see. Also do we still need to used the 'a2sd reinstall' and 'a2sd cachesd' commands to install it?
Sent from my T-Mobile G2 using XDA App
will this also work with sense roms?
g1junky said:
will this also work with sense roms?
Click to expand...
Click to collapse
Not sure, that's why we are testing it.
I can't get it to work on CM7 nightly 11 ( That I know of).
Used Clockworkmod to set up the ext partition (which doesn't specify which filesystem so i'm guessing either ext2 or ext3); set partition to 512mb and swap to 0mb.
Card partitioned successfully according to CWM; upon flashing the app2sd.zip the installation goes through all steps and posts that the install was successful even though the little check box by install successful is the only one that is starred. I noticed that during the install the script mounts /system and /data to write to them...not sure if that is affected by GB. I thought I read somewhere that this script was designed to check for ext4.
Hell, idk lol. I nandroided and went for it, these are my findings.
scratch that, there's a part two i missed that involves command line functions in the terminal emulator app. It looks like it's working to me.
Edit2: From what ive moved to /sd-ext so far everything seems to be working. Moved my apps, app data, dalvik cache and /data/data.
So far I havent experienced any data loss when moving /data/data.
There's no reason it shouldn't work with Gingerbread, other than the usual suspect of the rom doesn't launch scripts at boot or doesn't have EXT support.
As for the commands, you shouldn't have to rerun those commands if you are upgrading.
KCRic said:
What?! Thanks darktremor, used this with my slide, will be testing and update this post asap with feedback.
Just curious though, is this meant for froyo based roms or should it work with gingerbread also?... guess I could test and see. Also do we still need to used the 'a2sd reinstall' and 'a2sd cachesd' commands to install it?
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
Yes, it should. I'm running a Sense UI rom on my Evo and it has 2.7.5.3 Beta 02.
g1junky said:
will this also work with sense roms?
Click to expand...
Click to collapse
I can honestly say that so far everything seems to be working well on my end. Dropped ~100megs of internal space usage and sent it to the sd.
The phone does seem a bit snappier, does this style of app2sd stress the card more than usual?
hmm.
I'm running cm 7 nightly 11, set 512mb, 0mb swap and I think I got everything right. Strangely enough, I keep getting reboots every time i run a command in terminal.
edit: a2sd command*
SWEEET..........
I too can confirm that this works with CM7 Nightly "Gingerbread" sweet, installed the zip file from recovery, QUICK NOTE: Had to mount /system and mount /data in recovery before installing the zip file from sdcard. This is great apps2ext that works with any rom. Now in my titanium back ups it shows three seperate storge locations: internal, SD card and SDCard(a2sd) plus it restored apps I previously had on my ext.2 partition from when I was running Enoms Rom....sweeeeeet.
Also dont forget to run the command in adb shell:
Code:
/system/bin/a2sd cachesd
if you want to move dalvik cache to sd.
UPDATE: internal memory free reads out of 1.37GB Avail. there is 1.28GB FREE and Ive got 77 apps installed right now and about too install a lot more..........
FYI im runnning a 16gb class 10 sd card with a 1024mb ext.2 partition
Most of the code is similar to the previous version. I think the snappiness may be that your SD card is faster than internal storage.
stevencpoynter said:
I can honestly say that so far everything seems to be working well on my end. Dropped ~100megs of internal space usage and sent it to the sd.
The phone does seem a bit snappier, does this style of app2sd stress the card more than usual?
Click to expand...
Click to collapse
Did you type su before you run an a2sd command?
zarskee seven nine said:
I'm running cm 7 nightly 11, set 512mb, 0mb swap and I think I got everything right. Strangely enough, I keep getting reboots every time i run a command in terminal.
edit: a2sd command*
Click to expand...
Click to collapse
Just so everyone knows (may want to add this to the OP you know, so you don't get a million ?'s) these are the commands you HAVE to enter after flashing it in recovery.
Code:
su [ENTER]
cd /system/bin [ENTER]
sh a2sd cachesd [ENTER]
Your phone will reboot and will take a bit to complete - be patient because it's moving all your apps and the dalvik cache.
Notes: Your memory will still drop (not by much) over time because the apps will still store cached memory on the phone. To deal with this use the 'datasd' command to move that info to the sdcard also. Also, use the 'a2sd help' command to find all the functions you can perform with this. If you've used this before then all of this is irrelevant
Was so excited about this , It worked perfectly on CM7 nightly builds but when I went to update the Nightly build from 11 to 12, problems, keep getting reboot, since all my apps including titanium were on EXT, I could not access them, so the modification didn't stick from build to build, had to full data wipe, so I guess I'll be coming back to this when CM7 stable is realeased.
Yah I did. It's a beta on a nightly rom...I'm not surprised that something would be weird. I know it worked sending my dalvik cache to sd for sure, but as far as my apps being reinstalled on sd..im not sure. I followed the directions to the t and i know i didnt skip steps cause i used to use this on my nexus one
joemm said:
Was so excited about this , It worked perfectly on CM7 nightly builds but when I went to update the Nightly build from 11 to 12, problems, keep getting reboot, since all my apps including titanium were on EXT, I could not access them, so the modification didn't stick from build to build, had to full data wipe, so I guess I'll be coming back to this when CM7 stable is realeased.
Click to expand...
Click to collapse
You may have to remove the script in terminal, reinstall the rom than rerun the zip script. I think that should work if you want to keep using this on nightlies
If you change roms (including moving between different nightly builds), you will need to reflash Darktremor.
The only time you don't have to do that is if Darktremor is already added on the rom you are loading. Since CM7 doesn't have Darktremor installed as part of its package, you'll have to reflash each time you change nightly builds.
If you still don't have access to your programs, type a2sd reinstall
My apologies.
zarskee seven nine said:
You may have to remove the script in terminal, reinstall the rom than rerun the zip script. I think that should work if you want to keep using this on nightlies
Click to expand...
Click to collapse
after several days nothing new in this android development section, today i saw something new here, keep your good work, gonna try it when i get home
This is about three months overdue. Unfortunately, job, family and the holiday season got the best of me.
fajarep said:
after several days nothing new in this android development section, today i saw something new here, keep your good work, gonna try it when i get home
Click to expand...
Click to collapse
For me it seems that it doesn't stick. I tried it with cm7, flashed it in recovery and when I booted up to run the commands in terminal they weren't there. No a2sd at all. Guess I could shove all in the ROM prior to flashing and see if that works.

[GUIDE][KANG] Android Boot-From-SD w/ GAPPs and Play Store

This is a re-pack based on Catherall's own guide here: [GUIDE] Booting an Android System when only Recovery is at your disposal
The main difference from his copy (cyanogenmod 7.1):
- Google Apps (20110828) applied
- Updated to latest Google Play Store (3.7.15)
- update.zip modified to work on 4EXT Touch Recovery (ui disable)
Tested so far off of 4EXT Touch Recovery 1.0.0.5 RC5
What doesn't work and probably will never work unless someone makes new kernel modules for 2.6.35.10 (ie: the .ko files can be placed in the BootManager folder, and then have the init.d scripts edited to load those modules, but thus far none of them have worked for me because they were not built for that exact kernel, I don't know how to compile modules etc).
- Wifi [won't turn on]
- Bluetooth [won't turn on]
- everything else he mentioned in his first post regarding adb/etc
Made this as a new thread because his is quite stale, and catherall hasn't been seen in like forever. And kind of hoping that with the new progress maybe someone will take the time to write up some new gingerbread drivers for this purpose.
If I had the knowledge I would have ported an extremely lightweight Gingerbread Rom to it to be used as sort of a 'emergency-droid' rom, and recompiled kernel modules so that wifi/etc would work.
Instructions
Download the zip, unpack, copy BootManager and update.zip [zip can be renamed] to the SD card. Boot into recovery mode, run the update.zip to start up CyanogenMod 7.1 form the SD Card. (The original README is in the zip)
When you're in for the first time you'll notice the usual Google Apps setup screen, but it'll be in german. To change the language:
Press "Setup abschliben"
Press "Sprache ändern", select appropriate language
Continue the Google Apps setup as usual
It is advised that you do not allow it to automatically let it restore/install your apps as there will be no wifi connectivity and would be done over your data connectivity.
Download Boot_From_SD_wPlay.zip (~135MB)
md5sum : a352017b37bb546ffe0327bbe78304fe
Video from when I was first playing with it (after I put the 4EXT code in, but before I added gapps).
aaaaand another service from Kbeezie... you just can't stop can you?
thanks!
Is it possible to adjust the size of the internal storage? Make it 1g or larger?
Please tell me how if its possible...
Verstuurd van mijn HTC Vision
feejzor said:
Is it possible to adjust the size of the internal storage? Make it 1g or larger?
Please tell me how if its possible...
Verstuurd van mijn HTC Vision
Click to expand...
Click to collapse
You should be able to modify the the image sizes with BootManager (from the market).... as the free version doesn't see 'Rom8' (which this is mounted), you would have to copy the contents of BootManager/Rom8 to BootManager/Rom1, adjust the image size to 1gb or whatever you wanted... then boot to cwm/4ext mount usb, and use your pc to copy the contents of Rom1 to Rom8 (keep a copy of the original Rom8 somewhere as a backup if it fails)
Never tried it, but it works in my head!
Hope it helps.
Is there anyway to make this permanent so that every time i turn on or reboot the phone, it boots from SD card ?
I use
fastboot boot boot.img
from cmd and after that wifi works and bluetooth works in case anyone is interested
00sand00 said:
I use
fastboot boot boot.img
from cmd and after that wifi works and bluetooth works in case anyone is interested
Click to expand...
Click to collapse
Nice finding! Anyway, can I ask you what boot.img file did you use?
Sent from my HTC Vision using Tapatalk 2
Mehrdad96 said:
Is there anyway to make this permanent so that every time i turn on or reboot the phone, it boots from SD card ?
Click to expand...
Click to collapse
This is unlikely without also writing some kind of bootloader on the internal memory to launch from the SD... which of course would require that the internal memory were not in some way damaged. So kind of a catch-22 to what you're asking. Shouldn't be using SD booting as a permanent solution, it's more like a way of still being able to do *some* things while you work out on getting the phone replaced.
And here I thought you and all your work was gone, nice to see ya around kbeezie!
Sent from my SGH-T839 using Tapatalk 2
Can someone please re-upload zip?
Anyone?
Sent from my GT-I9105P with RESURECTION REMIX KK 5.0.8

[Q] Getting Gapps on [JUNE 17][4.2.2] PARANOIDANDROID v3.60 | HALO

A first post here, please be gentle with me, and huge thanks to everyone who has made posting here unnecessary until now.
After a long time using CynogenMod 7.1 on my Desire, when I came to switching SIMs on it, I decided to look for a new ROM too because I was having a problem with shortage of app space and I was missing a few features I have become used to on JellyBean.
A look at the options found the one in the title by WoH (development forum link). It separates out the ROM and the Google Apps. I can install the ROM, and I like it a lot. I can't get the Google Apps to install.
Tried: flashing the zip file at http://woh-roms.weebly.com/gapps.html via the recovery menu, and installing a2sd. It has the right MD5 and appears to go OK, but the apps don't appear when the phone is rebooted, or appear in the list of things moved by a2sd. I have made repeated attempts, both with wiping user data before and afterwards, and doing it before rebooting after installing the ROM and after an initial boot with it, all without success.
Tried: reading the instructions there. However I don't have adb installed and because I don't have Google Play, I can't install a file manager that unzips files (the one in the ROM doesn't appear to - no unzip option is given).
Tried: installing the ROM mentioned in the development subforum thread by timvdlinde which does have Google Play. That works, but I am not so keen on the ROM itself. This may be incredibly shallow, but I liked WoH's use of the Nexus boot animation, and the timvdlinde ROM has the Nova launcher which I am not interested in.
The phone: an unlocked, rooted, AMOLED GSM Desire. The recovery is the Clockworkmod ROM Manager one. I don't remember ever changing the hboot settings. There is a sizeable ext4 partition on the SD card and it is being used by a2sd.
lovingboth said:
A first post here, please be gentle with me, and huge thanks to everyone who has made posting here unnecessary until now.
After a long time using CynogenMod 7.1 on my Desire, when I came to switching SIMs on it, I decided to look for a new ROM too because I was having a problem with shortage of app space and I was missing a few features I have become used to on JellyBean.
A look at the options found the one in the title by WoH (development forum link). It separates out the ROM and the Google Apps. I can install the ROM, and I like it a lot. I can't get the Google Apps to install.
Tried: flashing the zip file at http://woh-roms.weebly.com/gapps.html via the recovery menu, and installing a2sd. It has the right MD5 and appears to go OK, but the apps don't appear when the phone is rebooted, or appear in the list of things moved by a2sd. I have made repeated attempts, both with wiping user data before and afterwards, and doing it before rebooting after installing the ROM and after an initial boot with it, all without success.
Tried: reading the instructions there. However I don't have adb installed and because I don't have Google Play, I can't install a file manager that unzips files (the one in the ROM doesn't appear to - no unzip option is given).
Tried: installing the ROM mentioned in the development subforum thread by timvdlinde which does have Google Play. That works, but I am not so keen on the ROM itself. This may be incredibly shallow, but I liked WoH's use of the Nexus boot animation, and the timvdlinde ROM has the Nova launcher which I am not interested in.
The phone: an unlocked, rooted, AMOLED GSM Desire. The recovery is the Clockworkmod ROM Manager one. I don't remember ever changing the hboot settings. There is a sizeable ext4 partition on the SD card and it is being used by a2sd.
Click to expand...
Click to collapse
Repartition your sd-card by using the partitioning guide in my sig.
onknope what
abaaaabbbb63 said:
Repartition your sd-card by using the partitioning guide in my sig.
Click to expand...
Click to collapse
Thanks, but I did that before starting this. I used gparted, ending up with a large FAT32 partition, followed by a smaller ext4 and finally a small swap.
lovingboth said:
Thanks, but I did that before starting this. I used gparted, ending up with a large FAT32 partition, followed by a smaller ext4 and finally a small swap.
Click to expand...
Click to collapse
Theres no need for a swap partition. If you are using PA it will just act as a waste of space, since the rom doesnt utilize it in any way.
Try doing a full wipe and reflash the rom. Then flash these gapps. I can guarantee those work, as i use the same rom with those gapps and everything is fine. After flashing run the a2sd script through terminal.
chromium96 said:
Try doing a full wipe and reflash the rom. Then flash these gapps. I can guarantee those work, as i use the same rom with those gapps and everything is fine. After flashing run the a2sd script through terminal.
Click to expand...
Click to collapse
To quote Napoleon Wilson, you can't argue with a confident man even if that's the file I've been trying - same source, same MD5
OK, I'm about to give it another go.
(And apologies if you don't identify as a man!)
lovingboth said:
To quote Napoleon Wilson, you can't argue with a confident man even if that's the file I've been trying - same source, same MD5
OK, I'm about to give it another go.
(And apologies if you don't identify as a man!)
Click to expand...
Click to collapse
Lol, weird. Im on the same rom and used the same gapps. Everything worked fine.
chromium96 said:
Lol, weird. Im on the same rom and used the same gapps. Everything worked fine.
Click to expand...
Click to collapse
Not for me. I took some photos of the process, which I can put somewhere, but it was...
Repartition the SD card
Boot into recovery
Wipe data
Wipe cache
Install ROM.zip (using the one downloaded from the right place, no reported problems)
Install Gapps.zip (ditto)
Reboot
Notice that the Google apps aren't there
Do the su / mount / a2sd install anyway
Reboot (through saying yes to the third question)
Notice that the progress of the move to the ext4 partition says its moving 59 items, none of which are Google apps
Confirm that the Google apps still aren't there
I'm about to try again with another SD card on the basis of 'why not'
lovingboth said:
Not for me. I took some photos of the process, which I can put somewhere, but it was...
Repartition the SD card
Boot into recovery
Wipe data
Wipe cache
Install ROM.zip (using the one downloaded from the right place, no reported problems)
Install Gapps.zip (ditto)
Reboot
Notice that the Google apps aren't there
Do the su / mount / a2sd install anyway
Reboot (through saying yes to the third question)
Notice that the progress of the move to the ext4 partition says its moving 59 items, none of which are Google apps
Confirm that the Google apps still aren't there
I'm about to try again with another SD card on the basis of 'why not'
Click to expand...
Click to collapse
Go to system/app. Are the google apps installed? What permissions do they have?
abaaaabbbb63 said:
Go to system/app. Are the google apps installed? What permissions do they have?
Click to expand...
Click to collapse
Ah, no they're not.
About sixty are, owned by root, with rw (owner) and r (group and global) permissions.
I am being tempted to bite the bullet, install the ADK on something and try the adb method.
What about /sd-ext/gapps/system/app. Anything there?
chromium96 said:
What about /sd-ext/gapps/system/app. Anything there?
Click to expand...
Click to collapse
Yep, they are there, with what I presume are the right permissions: as above, owned by root, rw-r-r.
Doing some more nosing around, and looking at the alternative installation instructions on woh-roms.weebly.com/gapps.html
$ adb shell ls /sd-ext/gapps/system
app etc framework lib usr
Click to expand...
Click to collapse
Yes, doing
ls /sd-ext/gapps/system
produces that.
# enable extgapps (quotes needed)
$ adb shell "echo x > /sd-ext/gapps/.extgapps"
# gapps dir should look like this (if .extgapps doesnt exist the init script wont run)
$ adb shell ls -a /sd-ext/gapps/
.extgapps system
Click to expand...
Click to collapse
Yes, doing
ls -a /sd-ext/gapps/
produces that.
.extgapps is a zero byte file, rather than one byte containing 'x' as there, but the root explorer instructions would produce a zero byte file, so presumably a) there's no touch command and b) it's the presence of the file that's important, not what it contains.
BUT...
... if I do
logcat -C
(after doing logcat -c, going oops, rebooting, and getting it right )
then the lines that are supposed to be there aren't.
I'll get the email working, email the output to myself and stick it in a pastebin or similar.
pastebin.com/Qtrps3A8 has the whole thing.
At the start, various links are possibly not set up:
I/run-parts( 75): ln: /system/etc/permissions/com.google.android.maps.xml: Out of memory
I/extgapps( 155): Created /system/etc/permissions/com.google.android.maps.xml
Click to expand...
Click to collapse
is just one example, then later
D/AlarmScheduler( 1300): No events found starting within 1 week.
I/Goo Parser( 839): GAPPS: No file, skipping item 0
I/Goo Parser( 839): GAPPS URL: http://goo.im/devs/paranoidandroid/roms/gapps/pa_gapps-full-4.2-20130702-signed.zip
I/AlarmReceiver( 839): gooVer: 3601
Click to expand...
Click to collapse
.. so what file is it looking for, and is this down to trying to do things with the card before it is ready?
What has changed:
The search 'app' has gone from the list - I can see from the logs that it is supposed to be replaced, but here it's just missing.
The browser is now very like Chrome... and I don't remember that being the case.

[ROM][STOCK][Lolipop][deodexed,resigned,zipaligned] D5503 14.5.A.0.270 Enhanced LP

Hi, just to share with you!
Whats this? In short, it is deodexed -> resigned -> zipaligned, installed busybox, supersu, dual recovery (vol up for twrp, vol down for cwm), 5way reboot menu ...and some other changes which you can read about it here -> https://github.com/munjeni/D5503_14.5.A.0.242/commits/master .
How to download rom:
- go to here -> https://github.com/munjeni/D5503_14.5.A.0.242/tree/ae7b18de7faa97eaf01eff1c2b6abeb540feaf6f and on the right side you have "Download zip"
- after downloading rom is not ready, do not flash!!!
How to install:
- after you download rom you must repack zip since git always add things into new folder inside zip so you will need repack it first before installing!
- simple open main zip and go to folder "14.5.A.0.242.master", select all files from these folder, drag and drop it to a new empty zip, you are done. Before you flash rom please read "iportant" section! Flash these new zip with any recovery. Done.
Mirrored download link (using this you no need to repack anything, just download and install!):
- https://mega.co.nz/#!Co1yERia!eJVCBjTZrjXok3KXZxM9xp_28I9Pos-LPYKjigJ6Bok
Important:
- you must fully wipe /data partition (mean delete everything from /data folder)! Or another solution, flash only userdata from any LolyPop ftf! Why? Because all old files from internal storage is not relabeled and you will encounter a lot of problems and all these files can not be accessed from android, pictures, private files... etc is not accessible than! Don't think it will work without wipe, it will not! Wioe data factory reset have no sense, I recomend installing userdata from ftf since its more a safe way!
Changelog:
- https://github.com/munjeni/D5503_14.5.A.0.242/commits/master
Enjoy!
munjeni said:
Hi, just to share with you!
Whats this? In short, it is deodexed -> resigned -> zipaligned, installed busybox, supersu, dual recovery (vol up for twrp, vol down for cwm), ...and some other changes which you can read about it here -> https://github.com/munjeni/D5503_14.5.A.0.242/commits/master . Curently I am stoped development on this rom since I am unable to solve thing like this -> lolipop have two classpaths (BOOTCKLASSPATH and SYSTEMSERVERCLASSPATH) and I not understand how to access classes from one classpath to another classpath, if you have idea how I can get this than I will probably continue development. My plan was implementing privacy guard rom cm12 but since I have problem accessing classes I am temporary stoped
How to download rom:
- go to here -> https://github.com/munjeni/D5503_14.5.A.0.242 and on the right side you have "Download zip"
- after downloading rom is not ready, do not flash!!!
How to install:
- after you download rom you must repack zip since git always add things into new folder inside zip so you will need repack it first before installing!
- simple open main zip and go to folder "14.5.A.0.242.master", select all files from these folder, drag and drop it to a new empty zip, you are done. Flash these new zip with any recovery. I have made some automated scripts so you no need to wipe anything since everything needed will be done auto so just click "install" and wait until rom get installed.
Enjoy!
Click to expand...
Click to collapse
Flashed this ROM and it is amazing.
Debloated it, installed some mods like xposed, xposed fix, modded services.jar for superuser mode, modified mixer_paths.xml for more loudness and some apps like MyAndroidTools, TitaniumBackup, Greenify.
Works like a charm and good battery life.
Only thing is the aweful toogle change by Google (no silent, vibrate toggle on quick settings) - but this depends NOT on your ROM.
Thx munjeni (one more time) for your time, work and effort.
m.
Investigated and got solution for 5 way reboot menu
Where you got moded services with superuser mod? I wanted to start porting it from cm12 but if it is allready exist I will be glad to look into it
munjeni said:
Investigated and got solution for 5 way reboot menu, you can download from here (just download android.policy.jar and replace) -> https://github.com/munjeni/D5503_14.../system/framework/android.policy.jar?raw=true enjoy
Where you got moded services with superuser mod? I wanted to start porting it from cm12 but if it is allready exist I will be glad to look into it
Click to expand...
Click to collapse
http://forum.xda-developers.com/sony-xperia-z1-compact/themes-apps/mod-accent-systemui-t3088719
moonryder said:
http://forum.xda-developers.com/sony-xperia-z1-compact/themes-apps/mod-accent-systemui-t3088719
Click to expand...
Click to collapse
I have no idea why it is caled SuperUser Mod since it have nothing related to SuperUser. It is just SignatureDisable mod, author stupidly gave these name to these mod which apsolutly have nothing related to superuser If you look into commits on my git you will notice that you no need his services.jar since my rom allready have disabled signature verification, I not guarant you how his services is patched, but I can sugest you to replace services.jar whith one from my rom since compatibility is guaranted
This http://www.androidauthority.com/cyanogenmod-12-superuser-577985/ is what I call superuser mod (I have plan to port it here), and diferencie between "wrongly named" superusermod and real superusermod like one from cm12 is like this and this
munjeni said:
...and diferencie between "wrongly named" superusermod and real superusermod like one from cm12 is like this and this
Click to expand...
Click to collapse
LOL
Ok bro will wait for a "real" PrivacyGuard for LP 5.0.2, modded by the master munjeni itself
When trying to install an app from sd card, I am getting out of space message, can't install apps from sd card
btw.. already wiped everything, and system storage shows correct info
nemphis said:
When trying to install an app from sd card, I am getting out of space message, can't install apps from sd card
btw.. already wiped everything, and system storage shows correct info
Click to expand...
Click to collapse
Hi, I have noticed the same thing, but I don't know if it is related to lolipop in general! Anybody confirm on stock unmodified rom?
I can install apps from sdcard [emoji18]
But I am unable to download some apps from playstore
munjeni said:
Hi, I have noticed the same thing, but I don't know if it is related to lolipop in general! Anybody confirm on stock unmodified rom?
Click to expand...
Click to collapse
NO problems here, i can install apps from sd card am on stock rooted lollipop with unlocked boot-loader.
I'll wait for another simplified flashable version of your rom.
Thanks @munjeni for this release !
Will give a shot tonight when everybody is sleeping
Question : Can i remove some elements ( unuseful app for my usage when repackaging rom ) regarding your install script ?
Thanks mate !
Freshly installed and everything is perfect ! Thank you very much brah !!
D5503 UB Dstriker ROM KK.157
Winb33 said:
Thanks @munjeni for this release !
Will give a shot tonight when everybody is sleeping
Question : Can i remove some elements ( unuseful app for my usage when repackaging rom ) regarding your install script ?
Thanks mate !
Click to expand...
Click to collapse
i tried that and / or replaced some things like bootanimation, fonts etc.
Flashing failed, so flash it untouched and remove / add things then.
pathaniya said:
NO problems here, i can install apps from sd card am on stock rooted lollipop with unlocked boot-loader.
I'll wait for another simplified flashable version of your rom.
Click to expand...
Click to collapse
I'm trying to solve this but have no idea how to do it, it is selinux restriction (if somebody have idea how it can be solved let me know please), but temporary solution is: via terminal emulator disable selinux, than install app, than enable selinux. To disable selinux write "setenforce 0", than install app, than enable selinux "setenforce 1"
Winb33 said:
Thanks @munjeni for this release !
Will give a shot tonight when everybody is sleeping
Question : Can i remove some elements ( unuseful app for my usage when repackaging rom ) regarding your install script ?
Thanks mate !
Click to expand...
Click to collapse
You can but only if you propertly remove lines from updater-script since it is hardcoded with our rom, instead recovery will abort installation if you missed something in updater-script ! My sugestion is, remove things manualy using an root file explorer, or at least add some lines in updater script which will remove things that you want
munjeni said:
Hi, I have noticed the same thing, but I don't know if it is related to lolipop in general! Anybody confirm on stock unmodified rom?
Click to expand...
Click to collapse
First when installed FR version same problems with SD card. Also ESexplorer had problems accessing SD card
Now on stock rooted works everything fine related to SD card.
Run also SDfix app becouse Titanium problem
Sent from my D5503 using XDA Free mobile app
EasySR said:
First when installed FR version same problems with SD card. Also ESexplorer had problems accessing SD card
Now on stock rooted works everything fine related to SD card.
Run also SDfix app becouse Titanium problem
Sent from my D5503 using XDA Free mobile app
Click to expand...
Click to collapse
No man, you no need sdcard fix. I allready included sdcard fix https://github.com/munjeni/D5503_14.5.A.0.242/commit/21b396daf721791c3675de417c543ba6184e21d1 and you can read / write any storage without problems, but we speak about problem related to the "installing apps from sdcard"! For example, if you try to install blablabla.apk which is on any storage you will get "no free space" error since selinux DENIED installing it, I don't have idea why it happen since I am not familiar with selinux, only very basic things by now. I will try to solve this problem!
munjeni said:
No man, you no need sdcard fix. I allready included sdcard fix https://github.com/munjeni/D5503_14.5.A.0.242/commit/21b396daf721791c3675de417c543ba6184e21d1 and you can read / write any storage without problems, but we speak about problem related to the "installing apps from sdcard"! For example, if you try to install blablabla.apk which is on any storage you will get "no free space" error since selinux DENIED installing it, I don't have idea why it happen since I am not familiar with selinux, only very basic things by now. I will try to solve this problem!
Click to expand...
Click to collapse
Just installed app on stock rooted lolipop (3G Watchdog) from SD card
Sent from my GT-P5110 using XDA Free mobile app
Hey guys, I'm having a hard time installing xposed installer, I get "not enough space" error. Could any of you help out a fellow user..?
D5503 UB Dstriker ROM KK.157
EasySR said:
Just installed app on stock rooted lolipop (3G Watchdog) from SD card
Sent from my GT-P5110 using XDA Free mobile app
Click to expand...
Click to collapse
Ok thanks for info. On my rom selinux must be disabled temporary before installing any app from sdcard, than enabled. I will try to understand why it happening. For sure it is related to selinux. I replaced platform key in selinux_policy.xml since all apks on our rom is resigned and zipaligned but it was not solved problem related to the installing apks from sdcard.

Categories

Resources