[PATCH]**Adoptable storage enabler** MARSHMALLOW - Samsung Galaxy Tab A series Guides, News, & Discus

As you may all know Samsung disabled the Adoptable storage function. Even the well known S7 hack doesn't work on some Samsung devices.
Well now it's back...
Thanks to some legwork (no pun intended) by @longshanks197 we now have a workable solution.
I have created this patch to fix the issue by patching the boot image and replacing sm.jar in system.
This will enable the adoptable storage feature in Settings>Storage
This should work for pretty much any Samsung device running Marshmallow
I advise making a backup with TWRP before proceeding.
NOTE: Due to Samsung's modifications the combined storage capacity may show as incorrect, ignore this and pay attention to the separate internal and external capacity which is correct.
INSTALL:
Copy the zip below to your device then install with TWRP.
adoptable_storage_enabler_ashyx
For information how to enable adoptable storage see the guide below:
how-to-use-adoptable-storage-on-android-6-0-marshmallow
This may also be worth a read for more info:
guidelines_for_marshmallow_users_formatting/
DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU
.

Nice job!
I'll flash it tomorrow.

It works!!!
Thanks!!!

ashyx said:
As you may all know Samsung disabled the Adoptable storage function. Even the well known S7 hack doesn't work on some Samsung devices.
Well now it's back...
Thanks to some legwork (no pun intended) by @longshanks197 we now have a workable solution.
I have created this patch to fix the issue by patching the boot image and replacing sm.jar in system.
This will enable the adoptable storage feature in Settings>Storage
This should work for pretty much any Samsung device running Marshmallow
I advise making a backup with TWRP before proceeding.
NOTE: Due to Samsung's modifications the combined storage capacity may show as incorrect, ignore this and pay attention to the separate internal and external capacity which is correct.
INSTALL:
Copy the zip below to your device then install with TWRP.
adoptable_storage_enabler_ashyx
For information how to enable adoptable storage see the guide below:
how-to-use-adoptable-storage-on-android-6-0-marshmallow
This may also be worth a read for more info:
guidelines_for_marshmallow_users_formatting/
DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU
.
Click to expand...
Click to collapse
Sorry to post this whole thread again, but an easier way for beginners is to use the Root Essentials tool in the Google Play Store.
The link for the Root Essentials application.
I have personally used this on my own Samsung Device which runs on Marshmallow so far.

ParadoXGodzillA said:
Sorry to post this whole thread again, but an easier way for beginners is to use the Root Essentials tool in the Google Play Store.
The link for the Root Essentials application.
I have personally used this on my own Samsung Device which runs on Marshmallow so far.
Click to expand...
Click to collapse
It doesn't work or didn't work(until I released this patch) on all Samsung devices. It also requires a rooted device.
Also how do you propose as easier, what is easier than flashing a zip in recovery?
Also please stop spamming my threads.

ashyx said:
It doesn't work or didn't work(until I released this patch) on all Samsung devices. It also requires a rooted device.
Also how do you propose as easier, what is easier than flashing a zip in recovery?
Also please stop spamming my threads.
Click to expand...
Click to collapse
Sorry if I have spammed your threads by reposting what you have already said or stuff you have released, but I have tried the Root Essentials method on about ten Samsung Devices. It does require a rooted device which is actually true. But flashing a device will require a custom recovery because Samsung Stock Recoveries cannot actually process these flash files by itself. So, one way or another, you will have a custom firmware running even though you just want to have adoptable storage.

ParadoXGodzillA said:
Sorry if I have spammed your threads by reposting what you have already said or stuff you have released, but I have tried the Root Essentials method on about ten Samsung Devices. It does require a rooted device which is actually true. But flashing a device will require a custom recovery because Samsung Stock Recoveries cannot actually process these flash files by itself. So, one way or another, you will have a custom firmware running even though you just want to have adoptable storage.
Click to expand...
Click to collapse
Here's the flow:
Root essentials - Twrp>root>install root essentials>run app
Adoptable patch - TWRP> install patch
Also as I already stated, even if it does work now(after releasing this patch), root essentials only originally worked for Samsung S7 devices and not for most other Samsung devices.

ashyx said:
Here's the flow:
Root essentials - Twrp>root>install root essentials>run app
Adoptable patch - TWRP> install patch
Also as I already stated, even if it does work now(after releasing this patch), root essentials only originally worked for Samsung S7 devices and not for most other Samsung devices.
Click to expand...
Click to collapse
Ok, I got it.
Even though the Root Essentials method is a longer way of doing it, there is a lot of features to it. I'm just saying this because the guy who made this application, actually took some time and I'm trying to get his work to be known that he at least tried to do something for Samsung users.

On my Samsung TAB A 8 with the latest patches, I was able to use the built-in GUI to choose between adopting the SD as internal memory or treating it as external storage. I was also able to use the sm commands to place in "mixed 50" mode so that I can have both internal memory and external storage.

isketerol said:
On my Samsung TAB A 8 with the latest patches, I was able to use the built-in GUI to choose between adopting the SD as internal memory or treating it as external storage. I was also able to use the sm commands to place in "mixed 50" mode so that I can have both internal memory and external storage.
Click to expand...
Click to collapse
Without using any patches or apps?

100% stock. No patches or apps

isketerol said:
100% stock. No patches or apps
Click to expand...
Click to collapse
So you're saying Samsung are now including adoptable storage as standard?
I have not seen this news posted anywhere. [emoji55]
What is the build number of this firmware?

Is this true they added adoptable storage in the stock firmware??

Only certain stock Tab As have this capability. The T580 for example does not have it.

OK. Here are the details:
Model: SM-T350
Version: Android 6.0.1
Security Patch: November, 2016
Kernel: 3.10.49-9331721
Build: MMB29M.T350XXu1BPL1
SE: SEPF_SECMOBILE_6.0.1_0030
Security Software: ASKS v1.2_161011
KNOX 2.6
This is a completely stock Samsung TAB A 8 that I bought within the last three weeks. It received all of the updates as OTA.
I have inserted a Sandisk Ultra 128 GB micro-SDXC card. I used the "sm" tools to split it into 64 GB Internal storage and 64 GB external storage. The storage wizard recognized this as "new" cards and allowed me to manage the storage.
To test this, I have downloaded all of the TellTales games I have bought with all of their episodes. They are starting to fill the adopted SD partition. All of them are running fine.

isketerol said:
OK. Here are the details:
Model: SM-T350
Version: Android 6.0.1
Security Patch: November, 2016
Kernel: 3.10.49-9331721
Build: MMB29M.T350XXu1BPL1
SE: SEPF_SECMOBILE_6.0.1_0030
Security Software: ASKS v1.2_161011
KNOX 2.6
This is a completely stock Samsung TAB A 8 that I bought within the last three weeks. It received all of the updates as OTA.
I have inserted a Sandisk Ultra 128 GB micro-SDXC card. I used the "sm" tools to split it into 64 GB Internal storage and 64 GB external storage. The storage wizard recognized this as "new" cards and allowed me to manage the storage.
To test this, I have downloaded all of the TellTales games I have bought with all of their episodes. They are starting to fill the adopted SD partition. All of them are running fine.
Click to expand...
Click to collapse
Does the combined storage report correctly?
Can you post a couple of screen shots?

if you have root, then Link2SD seems just about as good as adoptable.
My options without rooting? (T580) I am reluctant to root as I will lose updates.

chemie99 said:
if you have root, then Link2SD seems just about as good as adoptable.
My options without rooting? (T580) I am reluctant to root as I will lose updates.
Click to expand...
Click to collapse
You can still install updates via odin.

ashyx said:
You can still install updates via odin.
Click to expand...
Click to collapse
Except there is no source I have found of the stock firmwares.

chemie99 said:
Except there is no source I have found of the stock firmwares.
Click to expand...
Click to collapse
It's EVERYWHERE, sammobile, Samsung updates, samfirmware, updato to name a few!

Related

[APP] WhisperCore: Device and data security for Android

WhisperCore
WhisperCore integrates with the underlying Android OS to protect everything you keep on your phone. This initial beta tech-demo features full disk encryption and basic platform management tools for Nexus S phones. WhisperCore presents a simple and unobstrusive interface to users, while providing powerful security and management APIs for developers.​
anyone tried this?
tempted to give it a go now!
Edit:
Just flashed it... BEWARE.. will erase all data / system / user data and 'unroot' your phone. When i rebooted, the padlock had gone and the phone was unrooted. Had to reflash cwm and restore backup.
and when rooting it back, it will ERASE SD CARD... so
BACKUP EVERYTHING FIRST =)
Not bad though, runs vanilla 2.3.3 with disk encryption and option to encrypt 'sd card', no other mods I could tell.
phrag said:
anyone tried this?
tempted to give it a go now!
Click to expand...
Click to collapse
I've tried. Not bad.
Anyone else tried this that can provide some more information?
Is it a new rom?
After using this for a week I have to say I'm impressed.
Its fast, battery is good and has been completely stable so far.
Hopefully there will be more modules coming soon. I dont think it would work using Netarchy kernel or similar.
Anyone know how I can get a tun.ko file that will work?

The benefits and disadvantages of rooting Samsung Galaxy S 5 (Specifically)

// Sorry, wrong sub-forum.
Some of you may know the new policy of Google about SD cards support since the release of ICS, but some OEMs (namely Samsung) have gone against that and continue to include an SD slot for expandable storage.
However, it seems Google have new policy too for SD cards, for security purpose KitKat does not allowed 3rd party apps to access others folder (they are only allowed to access com.3rdpartyappsname) which is a good thing but I also heard that preinstalled file manager is considered as a system apps and can access the SD (Exporitng and importing), but my Samsung Galaxy S 5 said different things, my File Manager could paste file from MicroSD to Internal Storage but my File Manager could not paste file form Internal Storage to MicroSD and also could not create new folder/file in MicroSD.
I've found SDFix apps for this problem but it required rooted device and I am not thinking to root my own device for security purpose and I am also afraid to lose "unkown" things when I am rooting my Samsung Galaxy S 5. I know there's several topics discussing about the benefits and disadvantages of rooting Android devices, but what I am looking for is, the benefits and disadvantages of rooting Samsung Galaxy S 5, specifically, for example breaking Samsung ToS, voids the warranty.
Is there anyway I could transfer the file from Internal Storage to the MicroSD card without the need of uploading it to the internet and downloading it via computer and using adapter for the MicroSD and manually transfer the file? I am not a geek computer so honestly it kinda annoying for myself because I can't using my WiFi direct to transfer file between Windows 8.1 (Laptop) to my Samsung Galaxy S 5.
As a note, there's no way for myself to transfer file to my Samsung Galaxy S 5 without remove the MicroSD card and install it to the adapter and transfer the file manually because when I am using connecting my Samsung Galaxy S 5 via usb port to the laptop, it does connect but it refused me to transfer file (to MicroSD or to Internal Storage), so there's only 2 way to transfer file to my Samsung Galaxy S5 that I know, upload it to the internet and let my Samsung Galaxy S 5 download it or using MicroSD adapter and transfer it manually, both of them are inefficient, do you know how to fix these problems?
As a second note, my File Manager seems does not have full access to the MicroSD, is that normal?
big.LITTLE said:
about the benefits and disadvantages of rooting Android devices
Click to expand...
Click to collapse
Disadvantages: only one, knox incremented so garanty void.
Advantages: million reasons to root your phone (backup, theming, total control of your S5).
For your sdcard write pb, root, xposed then xposed modules (several fixes exist now).
Best regards
Franky
fgth90 said:
Disadvantages: only one, knox incremented so garanty void.
Advantages: million reasons to root your phone (backup, theming, total control of your S5).
For your sdcard write pb, root, xposed then xposed modules (several fixes exist now).
Best regards
Franky
Click to expand...
Click to collapse
Disandvatages are two... the knox and the ota updates
Salim.Keady said:
Disandvatages are two... the knox and the ota updates
Click to expand...
Click to collapse
Right, thanks to add.
But no need OTA when flashing custom ROMs
I wouldn't say that a disadvantage is the Knox counter. I'm rooted and running Dynamic Kat and my Knox is still 0x0. I'm also on AT&T with locked bootloader though.
Is there a way to avoid the warranty void when rooting the devices?
big.LITTLE said:
Is there a way to avoid the warranty void when rooting the devices?
Click to expand...
Click to collapse
My *guess* is - Root isn't inherently the issue, but replacing the boot loader could be, as would changing any number of system apps or the kernel to an unsupported version - whichever ones KNOX are validating.
I also have a rooted G900A, am current on all OTA, and was able to get/maintain root safely via TowelRoot ( thanks to http://forum.xda-developers.com/att-galaxy-s5/general/g900and3tong3keeprootota-zip-t2862299 ). I have a number of apps frozen with Titanium Backup (as in all bloatware and almost everything Samsung), knox is not tripped, etc. *all* I would need to do to clean up behind myself would be to un-root, should I need warranty support. Should I need that I would refer to this guide ( http://forum.xda-developers.com/showpost.php?p=53454972&postcount=1 )
Cheers.
As long as rooted properly, and status of the phone is official there is no issue.
Although some root apps will change the status to custom. Simple solution there too. Install Xposed framework and Wanam module, and change the status to Official. Done and dusted.
fgth90 said:
Right, thanks to add.
But no need OTA when flashing custom ROMs
Click to expand...
Click to collapse
You are right... however people with poor download speed consider this ...
big.LITTLE said:
Is there a way to avoid the warranty void when rooting the devices?
Click to expand...
Click to collapse
No. They patched the exploit
---------- Post added at 03:45 PM ---------- Previous post was at 03:43 PM ----------
C0derbear said:
My *guess* is - Root isn't inherently the issue, but replacing the boot loader could be, as would changing any number of system apps or the kernel to an unsupported version - whichever ones KNOX are validating.
I also have a rooted G900A, am current on all OTA, and was able to get/maintain root safely via TowelRoot ( thanks to http://forum.xda-developers.com/att-galaxy-s5/general/g900and3tong3keeprootota-zip-t2862299 ). I have a number of apps frozen with Titanium Backup (as in all bloatware and almost everything Samsung), knox is not tripped, etc. *all* I would need to do to clean up behind myself would be to un-root, should I need warranty support. Should I need that I would refer to this guide ( http://forum.xda-developers.com/showpost.php?p=53454972&postcount=1 )
Cheers.
Click to expand...
Click to collapse
The reason Knox isn't tripped by towelroot is because it is an exploit. It is an unintended effect. Running any other root method even if it only installs the su binary still trips Knox.

problems after flashing - 4.4.4 / odin / SU SUPER / SD-RAM not recognized

I have bought a S3 –LTE to replace my old S3 – LTE with spider web and broken frame.
OLD: GT-I9305 with Android 4.4.4, Build: KTU84P.I9305XXUFNL1
NEW: GT-I9305 with Android 4.4.4, Build: KTU84P.I9305XXUFOB2
I use the S3 for business and partially private but not for videos/music or games.
I use the phone / contacts / calender
I use gmail
I use whatsapp
I use the camera / dropbox
That’s it 99%
I copied the OLD data / apps to the NEW and added all whatsapp files/pictures …. IT WORKED !! - I should have stopped here......
But: Leaving me with 13 GB of 16GB in use (like with the OLD S3) and leaving the 64GB of SDRAM-card unused.
So I tried to install and use SDK Manager from REBELLOS / KINGO SUPER USER from KING SOFT / FOLDER MOUNT (ROOT) from MADMACK.
The KINGO SU was installed with no problems and no messages but it seemed as if it did not work.
The FOLDER MOUNT therefore did not work and I got regular system messages that google play store had to be stopped.
So I RESET TO FACTORY DEFAULT.
Then I tried CF-AUTO ROOT with Version I9305XXUFNL1_I9305VD2FNL1_VD2 together with ODIN.
This worked directly with no problems and no error messages.
But here I had the same problem I get error messages from GOOGLE PLAY STORE STOPPED. Even if I disable KNOX as SU-SUPER says.
Plus: the NEW S3 does not recognize my 64GB SDRAM anymore. I tried the 64 GB in three different SAMSUNG phones and it displayed 59 GB free there but not in my NEW S3 there it says 0.
So maybe someone can help me .
First: Do I need to get rid of the SU / ROOTed Version of my system or do I need to add additional apps and software ? What should I do ?
Second: I would like to move my old apps and data to the NEW S3
Third: I would like to move my apps and data to the unused SDRAM card.
And then there is still the question regarding the "custom binary counter: 2" and "KNOX Warranty void : 1"
What is the best way to go forward (or better backward...) ?
Best regards, Erich
First off, i want to clarify some terminology:
1. SDRAM =/= SD-Card. SDRAM = Synchronous dynamic random-access memory and SD-Card = Secure Digital Card.
2. It is SuperSU not SU-SUPER
3. custom binary counter is the number of flashes the phone underwent
4. KNOX warranty void bit is useless since i imagine your phone is out off warranty. 0x0 is not triggered, 0x1 is triggered. Think of it as a fuse in electronics and electricity.
Onwards to the actual steps i say you should do (beware, you have the newer bootloader, so i'm not that well-informed about what you can do, so bear with me):
[-find a way to downgrade to the pre-KK bootloader, if not go bellow
-flash through ODIN a KK firmware I9305XXUFOL2_I9305TPLFOL2_TPL, the region doesn't matter, then re-root it and try to force install the latest version of Play Store by uninstalling it and reinstalling it manually;] not really recommended;
- my recommended way:
1. flash a recovery through ODIN using the thread HERE;
2. get yourself a ROM from HERE, whichever you fancy, it doesn't matter.
3. get yourself the latest modem from HERE just to be safe;
4. get yourself AGNi PureSTOCK from HERE for a more customisable device;
5. or as an alternative, check out THIS thread for a stock 4.1.2 ROM with 4.1.2 GOOD bootloader. Then, if you succeed in installing and reverting to the old bootloader, then follow the steps above from 1 to 4.
6. ??? PROFIT.
If you successfully finished the above steps and have a working and stable device, use Samsung's Smart Switch app to transfer all of your stuff from the old S3 to the new one.
On the way, you may actually repair the SD card detection on the new S3.
I do not recommend using the External SD Card for applications because it is way slower than the internal one. I recommend using it as just storage. Make sure to clear cache (Settings-General-Storage, tap on Cached data and then on OK) every week.
Some apps use the external SD card as data storage, although it depends how the app is written. For the apps that support it, just go to Settings-General-Application Manager and swipe from the right to the left and then check whatever app you want to move the data to the external SD card
SDK Manager from REBELLOS is useful for developers only
Folder Mount is useful only if you have games that require you install their massive data to the internal SD card and you don't have enough space.
And as a small piece of advice, clarify stuff; "13 GB of 16GB in use" might mean two things: 13/16gb used or 13/16gb free.
Hope my 'small' post helps you.
thank you for your time and help - Alexander
Alexander_the_B0ss said:
First off, i want to clarify some terminology:
1. SDRAM =/= SD-Card. SDRAM = Synchronous dynamic random-access memory and SD-Card = Secure Digital Card.
2. It is SuperSU not SU-SUPER
3. custom binary counter is the number of flashes the phone underwent
4. KNOX warranty void bit is useless since i imagine your phone is out off warranty. 0x0 is not triggered, 0x1 is triggered. Think of it as a fuse in electronics and electricity.
Onwards to the actual steps i say you should do (beware, you have the newer bootloader, so i'm not that well-informed about what you can do, so bear with me):
[-find a way to downgrade to the pre-KK bootloader, if not go bellow
-flash through ODIN a KK firmware I9305XXUFOL2_I9305TPLFOL2_TPL, the region doesn't matter, then re-root it and try to force install the latest version of Play Store by uninstalling it and reinstalling it manually;] not really recommended;
- my recommended way:
1. flash a recovery through ODIN using the thread HERE;
2. get yourself a ROM from HERE, whichever you fancy, it doesn't matter.
3. get yourself the latest modem from HERE just to be safe;
4. get yourself AGNi PureSTOCK from HERE for a more customisable device;
5. or as an alternative, check out THIS thread for a stock 4.1.2 ROM with 4.1.2 GOOD bootloader. Then, if you succeed in installing and reverting to the old bootloader, then follow the steps above from 1 to 4.
6. ??? PROFIT.
If you successfully finished the above steps and have a working and stable device, use Samsung's Smart Switch app to transfer all of your stuff from the old S3 to the new one.
On the way, you may actually repair the SD card detection on the new S3.
I do not recommend using the External SD Card for applications because it is way slower than the internal one. I recommend using it as just storage. Make sure to clear cache (Settings-General-Storage, tap on Cached data and then on OK) every week.
Some apps use the external SD card as data storage, although it depends how the app is written. For the apps that support it, just go to Settings-General-Application Manager and swipe from the right to the left and then check whatever app you want to move the data to the external SD card
SDK Manager from REBELLOS is useful for developers only
Folder Mount is useful only if you have games that require you install their massive data to the internal SD card and you don't have enough space.
And as a small piece of advice, clarify stuff; "13 GB of 16GB in use" might mean two things: 13/16gb used or 13/16gb free.
Hope my 'small' post helps you.
Click to expand...
Click to collapse
Hi Alexander , "small post" ..... => thank you :good:
Clarify 1 to 3 = ok.
Clarify 4 = This S3 is brand new with 2 years of warranty.
Thank you for the rest, but I will give my two S3-LTE to a pro - he will do the job. It have already spend too much time for this.
There are so many "if", "maybe", "test this" and "be aware off" so that I think that someone with knowledge will to the job over an evening.
But one last thing I would like to add: "Profit ???"
- I bought an S3 because I have a crandle for the S3 in my car.
- I bought an LTE because I use it very often as hotspot with my laptop. (this works perfect). In this aspect the S3-LTE is much faster than the standard S3.
- I could not find any S3-LTE with an internal memory bigger than 16 GB.
I already use the "Settings-General-Application Manager " and switched all apps to external memory card - if possible. But this does not really do a lot.
My internal memory uses 13 GB from 16 GB available (read directly after reboot) so there is only 3GB available and I get error messages that there is not enough memory available if I have too many programs open.
=> Therefore I would like to use the external memory card (64GB SD-CARD) for whatsapp, dropbox,... with app and data. And for this I need the SuperSU or something similar.
Thank you for your help and clarification.
Erich

How to? 7.0 Stock ROM Kernel with Mass Storage Gadget & FUSE support

Hi all,
my Huawei P9 is running Android 7.0 (EMUI 5.0.1) rooted.
As "Build" is shown "NRD90M test-keys", but as this doesn't correspond to any of what I have seen as valid build numbers so far, I guess this is wrong and somehow related to the Nandroid backup restore I did after upgrading this phone from Android 6 to 7... Anyway, my question is this:
What's the best option for me now to make this phone mass storage mode compatible?
The USB Mass Storage Enabler app claims that the current kernel does not support Mass Storage Gadget & FUSE and thus the app won't function.
So it seems that I need a new kernel.
- Is there a kernel available that I can use to simply substitute my current kernel?
- Can / should I easily compile my own one? (I have done that 15 years ago with Linux kernels, since then no kernel compilation experience anymore). If so, where do I start?
- Do I have to use a custom ROM? Which one do you recommend for that feature to work and for a lightweight system with high performance, flashable without muhc hassles from my current status?
Thanks a lot!
i think you updated to a beta firmware,
this thread may help,
good luck
Du you mean, a non-beta will contain the necessary kernel options?
daniel908 said:
Du you mean, a non-beta will contain the necessary kernel options?
Click to expand...
Click to collapse
not sure, but some had similar issues with the nougat beta.
[Post deleted] - sorry, didn't find a delete button, so just deleted the content.
On another P9 with Android 7.0 / EMUI 5.0.1 (Build-Nr EVA-L09C432B394) the USB Mass Storage Enabler app also doesn't work for the same reason.
So I think that beta (if it really is one - the Nandroid backup title of the system with build number shown above has the same string in its directory name - maybe when restoring the Nandroid backup, that string is written into the "Build" field?) is NOT the reason for the mode not working.
Anyone here who uses that app and has USB storage mode support on a (rooted) stock Android 7.0 / EMUI 5.0.1 on a P9?
The app says (Google Play) that it works only on "selected" Samsung and Sony devices (btw, it"s rated only 3.5)
I just tried (Magic zRainbow v3 which is based on v394 and rooted Magisk), it says it doesn't find the lun file and not compatible with the kernel. IMO, it can't work here (I don"t know would it work with AOSP firmwares instead of stock).
Btw if you really restored TWRP backup from MM (EMUI 4.1) to N (EMUI 5), you are lucky that you didn't (soft) brick the phone
The app worked very well on my older P9... so it's not really limited to "selected Samsung and Sony devices".
I didn't get a notice about missing LUN file, but kernel incompatibility message was shown here, too. However, as far as I know the kernel can be replaced easily by flashing a new kernel? Question is then only, how to get my hands on a compatible kernel. Compile my own one? I have never done this with Android.
Or is there any other method to enable mass storage mode for the microSD card, so I can sync my stuff easily with the Mac on a daily schedule without having to remove the card from the phone everytime?
I tried other (e.g. MTP-based) sync solutions, but they all fail badly (either crash or take ages) when keeping those about 2.000.000 small JPEG files in sync that I need on the phone's microSD card. Those files are virtual tours / gigapixel image tiles, that I host on the phone to be able to present those virtual tours to clients without carrying a computer with me).

[ROM][Pie] Unofficial LineageOS 16.0

This is an unofficial build of LineageOS 16.0 for the Motorola razr I, (XT890/SMI).
Lots of thanks to Hazou. This rom is based on his los-14 rom and I got help from him with los-16.
This rom has full hardware support and should run stable. It has been tested by me in daily use. I'm using the rom without google apps, but with microg. Installing google apps requires some apps to move to data partition because of limited system size. See install description for more info.
Special Features
-All features of Hazous 14.1 rom
-MicroG signature spoofing patch is included.
-Adaptive icons can be disabled in homescreen settings.
I can include more features if requested
Known Bugs
-The camera preview image sometimes shakes at random
Download
https://mega.nz/#F!5fBWlIAQ!Jlq9Bj789iJ0iIIptK00tg
Update
If you already run an earlier version of this rom, just boot to twrp and install the latest flashable zip file
Install
1. Backup everything you don't want to loose.
2. Download and install TWRP 3.2.3 (download in attachments. Can be flashed with fastboot or with another recovery)
3. If you come from another rom do a full wipe with twrp
4. Download and install the rom flashable zip (download from mega.nz link is in section download)
5. If you want to install opengapps or need system partition space for other things. Install the move_to_data.zip file from the attachments. This will move the Webview and the LatinIME app to data partition.
6. Choose one of the following options:
-either install google apps (download form https://opengapps.org/. Choose x86 9.0 nano or pico)
-or install MicroG (can be installed with the unofficial installer https://forum.xda-developers.com/android/development/microg-unofficial-installer-t3432360) this is lighter in ram and cpu usage but you will get problems with google chrome and other apps
7. If you want root access install the addonsu-16.0-x86.zip (download in the attachments)
8. Reboot the phone. First reboot will take some time
Changelog
Code:
20191018:
fixed problem with sms receiving
20191012:
mobile network connection works now after boot
Fixed problems with network switching
Show taps option is working now
intel art extension enabled
Call recording enabled
text relocation warnings disbaled
(untested) encryption. Needs special configuration (see below)
20190819:
SELinux is now enforcing
Notification access feature enabled
solved crashes with houdini emulated apps
20190713:
usb configuration works properly
battery light works now
July security patches
20190704:
first stable release of this rom
DATA Encryption
If you want to enable data encryption this would break the pds partition backup. To prevent this, the cache partition can be used as backup location:
-edit /system/bin/pdsbackup.sh
-change PDS_FILE=/data/misc/pds/pdsdata.img to PDS_FILE=/cache/misc/pds/pdsdata.img
-resize data partition in TWRP:
Code:
umount /data
umount /sdcard
e2fsck -f /dev/block/mmcblk0p17
resize2fs /dev/block/mmcblk0p17 1367079
-reboot the phone
XDA:DevDB Information
unonfficial LineageOS 16.0, ROM for the Motorola RAZR i
Contributors
julianwi, Hazou
Source Code: https://github.com/julianwi/android_device_motorola_smi/tree/lineage-16.0
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.0.x
Based On: LineageOS
Version Information
Status: Stable
Stable Release Date: 2019-08-19
Created 2019-07-04
Last Updated 2019-08-19
This if I did not expect it, I'll try to see how it goes. Thank you.
Download links and install description are up now. Download from mega.nz because xda download section is broken at the moment. I'm waiting for your test reports
It's really great works, thank you!!
I quickly tried and found several points.
- USB connection with PC
All USB connection option including File Transfer, USB tethering, PTP are grayed out.
Disabling/Enabling android debug in setting didn't work.
- Wifi with storage encryption
When you enable storage encryption, WiFi always become disabled, not be able to enable.
Just FYI, it required deleting /system/bin/pdsbackup.sh AND reducing partition size of 'data' (/dev/block/mmcblk0p17).
- SElinux
Although it is designated as permissive in device.mk, it's actually worked as "disabled".
I'm not sure it's related or not, however, when building "user build", it's failed with "ERROR: permissive domains not allowed in user builds".
I know "user build" is not officially supported in Lineage release, however, it's really helpful if we can do it for AFW usage.
Previously I could use Lineage 14.1 smi build for AFW and safetynet app with user build.
BTW, performance is really great, seems to be almost same as Lineage 11.
dumkm said:
It's really great works, thank you!!
I quickly tried and found several points.
- USB connection with PC
All USB connection option including File Transfer, USB tethering, PTP are grayed out.
Disabling/Enabling android debug in setting didn't work.
Click to expand...
Click to collapse
I also noticed that. Will see how this can be fixed. It is just a problem with the option dialog. Usb connection works fine. As a workaround you can set a default USB configuration in developer options
dumkm said:
- Wifi with storage encryption
When you enable storage encryption, WiFi always become disabled, not be able to enable.
Just FYI, it required deleting /system/bin/pdsbackup.sh AND reducing partition size of 'data' (/dev/block/mmcblk0p17).
Click to expand...
Click to collapse
I have not tested storage encryption yet. Will have a look at it later
dumkm said:
- SElinux
Although it is designated as permissive in device.mk, it's actually worked as "disabled".
I'm not sure it's related or not, however, when building "user build", it's failed with "ERROR: permissive domains not allowed in user builds".
I know "user build" is not officially supported in Lineage release, however, it's really helpful if we can do it for AFW usage.
Previously I could use Lineage 14.1 smi build for AFW and safetynet app with user build.
Click to expand...
Click to collapse
I think lineage trust doesn't differentiate between permissive and disabled. Selinux support is planned for future releases
Thank you for quick check.
Regarding USB connection, I also confirmed that Ubuntu can recognize as external storage with above option, besides Windows still does not recognize. Maybe depending on my environment.
Also I noticed that Chrome, Chrome Beta and Chrome Canary (therefore another Chrome based apps such as Maps Go) always crash. This is also maybe my environment only, though. BTW, I could install MicroG, besides couldn't install OpenGapps 9.0 pico due to partition size limit.
Additionally, I couldn't find any LED settings, currently LED is always off during charge or any notification.
dumkm said:
Thank you for quick check.
Regarding USB connection, I also confirmed that Ubuntu can recognize as external storage with above option, besides Windows still does not recognize. Maybe depending on my environment.
Also I noticed that Chrome, Chrome Beta and Chrome Canary (therefore another Chrome based apps such as Maps Go) always crash. This is also maybe my environment only, though. BTW, I could install MicroG, besides couldn't install OpenGapps 9.0 pico due to partition size limit.
Additionally, I couldn't find any LED settings, currently LED is always off during charge or any notification.
Click to expand...
Click to collapse
Notification Led should work. Can be configured under settings->apps and notifications->notifications->notification light. I don't know what happened with the battery light. It will hopefully come back if I upgrade the driver to hidl.
Google Chrome is a known problem with MicroG. It requires official gapps. I will check if some of the unprivileged lineage apps can be moved to data partition to make place for google apps
Newbie question
Hi all, I know someone who's selling her old RAZR i XT890 and I'm interested (for experimental reasons but also the oddity that it's Intel powered). I've never owned a RAZR i so I've got some questions:
-The phone is from 2012 so quite old and has 1GB RAM, does it work well with this Lineage 16? Because usually newer software would perform bad on older SoC (I used to have iOS 7 on iPhone 4 back in the day and it was painfully slow compared to 6).
-On Lineage 16, can it run any Android app as a standard new Android Pie phone? I ask because this is an Intel x86 CPU, so can it still run Android apps as normal or are most of them only designed for ARM and therefore unusable?
If I get the good news, I may buy the phone and try this Lineage OS custom ROM.
Regarding LED, maybe it became working after modifying some option of notification light. Battery connection light is still always off.
Regarding opengapps, I moved webview and LatinIME from app directory to external SD in TWRP, then installed as normal app after system boot. Webview worked fine besides LatinIME always crash. I'm using different IME, so it's no problem. With this environment, opengapps nano can be installed, then Chrome, Maps and other google apps worked.
dumkm said:
Regarding LED, maybe it became working after modifying some option of notification light. Battery connection light is still always off.
Regarding opengapps, I moved webview and LatinIME from app directory to external SD in TWRP, then installed as normal app after system boot. Webview worked fine besides LatinIME always crash. I'm using different IME, so it's no problem. With this environment, opengapps nano can be installed, then Chrome, Maps and other google apps worked.
Click to expand...
Click to collapse
That's good. Than we can make a flashable zip to automatically move and symlink them to data partition.
I will provide a new build till end of the week with improved usb and notification LED implementation. I already got it working in my local setup
flameseewa said:
Hi all, I know someone who's selling her old RAZR i XT890 and I'm interested (for experimental reasons but also the oddity that it's Intel powered). I've never owned a RAZR i so I've got some questions:
-The phone is from 2012 so quite old and has 1GB RAM, does it work well with this Lineage 16? Because usually newer software would perform bad on older SoC (I used to have iOS 7 on iPhone 4 back in the day and it was painfully slow compared to 6).
-On Lineage 16, can it run any Android app as a standard new Android Pie phone? I ask because this is an Intel x86 CPU, so can it still run Android apps as normal or are most of them only designed for ARM and therefore unusable?
If I get the good news, I may buy the phone and try this Lineage OS custom ROM.
Click to expand...
Click to collapse
Newer android versions have been designed while keeping low ram devices in mind. Ram hungry special features like the picture in picture mode are excluded from builds for older device. So the situation is much better then on iOS. But a newer phone would run better thought.
Most android apps are available for x86. But some are still arm only and get automatically emulated. The intel houdini emulator integrates these apps natively into the system but they are a bit slower then x86 apps. These are for example Skype and a few unity based games
julianwi said:
Newer android versions have been designed while keeping low ram devices in mind. Ram hungry special features like the picture in picture mode are excluded from builds for older device. So the situation is much better then on iOS. But a newer phone would run better thought.
Most android apps are available for x86. But some are still arm only and get automatically emulated. The intel houdini emulator integrates these apps natively into the system but they are a bit slower then x86 apps. These are for example Skype and a few unity based games
Click to expand...
Click to collapse
Thanks for the response. So I should be alright with it then, hopefully. I just hope it won't lag on that old SoC. I'd love if you could upload a quick video of it in action.
TWRP error 70
julianwi said:
This is an unofficial build of LineageOS 16.0 for the Motorola razr I, (XT890/SMI).
Lots of thanks to Hazou. This rom is based on his los-14 rom and I got help from him with los-16.
This rom has full hardware support and should run stable. It has been tested by me in daily use. I'm using the rom without google apps, but with microg. I don't know how smooth it runs with official gapps.
Special Features
-All features of Hazous 14.1 rom
-MicroG signature spoofing patch is included.
-Adaptive icons can be disabled in homescreen settings.
I can include more features if requested
Known Bugs
-Mobile cell connection doesn't connect after boot. You have to turn airplane mode on and off to let it work.
-selinux is set to permissive for now (reduced security)
Please report more bugs if you test this rom
Install
1. Backup everything you don't want to loose.
2. Download and install TWRP 3.2.3 (download in attachments. Can be flashed with fastboot or with another recovery)
3. If you come from another rom do a full wipe with twrp
4. Download and install the rom flashable zip (download from mega.nz https://mega.nz/#!ICwXRC6D!VZqe3o5zeWbmMiZvka_BtUTW5T_V7_OdMS57Oe9CbMk)
5. Choose one of the following options:
-either install MicroG (can be installed with the unofficial installer https://forum.xda-developers.com/android/development/microg-unofficial-installer-t3432360)
-or install google apps (download form https://opengapps.org/. Choose x86 9.0 pico)
6. If you want root access install the addonsu-16.0-x86.zip (download in the attachments)
7. Reboot the phone. First reboot will take some time
XDA:DevDB Information
unonfficial LineageOS 16.0, ROM for the Motorola RAZR i
Contributors
julianwi, Hazou
Source Code: https://github.com/julianwi/android_device_motorola_smi/tree/lineage-16.0
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.0.x
Based On: LineageOS
Version Information
Status: Stable
Stable Release Date: 2019-07-04
Created 2019-07-04
Last Updated 2019-07-05
Click to expand...
Click to collapse
I've installed the OS without problems, but when i try to get GApps Pico or any other version TWRP prompt error 70. How should i proceed? There is any additional configuration needed?
Kazvko said:
I've installed the OS without problems, but when i try to get GApps Pico or any other version TWRP prompt error 70. How should i proceed? There is any additional configuration needed?
Click to expand...
Click to collapse
Yes, system partition size is limited on this phone. To install GApps some files need to be moved to data partition.
I created a flashable zip to automate this process. Take a look at the modified install description in the first post
New build is up now.
flameseewa said:
Thanks for the response. So I should be alright with it then, hopefully. I just hope it won't lag on that old SoC. I'd love if you could upload a quick video of it in action.
Click to expand...
Click to collapse
Sorry don't have enough time to make a video in the near future. Maybe someone else can record a video of it
I could confirm that notification LED and USB storage works fine with lineage-16.0-20190713-UNOFFICIAL-smi. Thanks.
Still WiFi with storage encryption does not work.
julianwi said:
New build is up now.
Sorry don't have enough time to make a video in the near future. Maybe someone else can record a video of it
Click to expand...
Click to collapse
Alright, thanks. I bought my friend's RAZR i and I am planning to use it as a daily driver with this ROM (I'm a light user anyway), I can't thank you enough for making this LineageOS for such an old device. I wonder if such a recent Lineage has been developed for the 2011 Atrix, haven't seen one.
I have questions though, firstly I've never used a custom ROM before, can I simply follow the instructions on this thread to get it working, or is there anything that has to be done beforehand like rooting? Secondly, are any other OSs successfully booting on this x86 phone, as I can't find it on XDA? (it surprisingly hasn't gotten much attention as a hackable device like HTC HD2 or Nokia N900 got).
dumkm said:
I could confirm that notification LED and USB storage works fine with lineage-16.0-20190713-UNOFFICIAL-smi. Thanks.
Still WiFi with storage encryption does not work.
Click to expand...
Click to collapse
I know, haven't looked at the storage encryption for now. It will maybe be in the next update next month
flameseewa said:
Alright, thanks. I bought my friend's RAZR i and I am planning to use it as a daily driver with this ROM (I'm a light user anyway), I can't thank you enough for making this LineageOS for such an old device. I wonder if such a recent Lineage has been developed for the 2011 Atrix, haven't seen one.
I have questions though, firstly I've never used a custom ROM before, can I simply follow the instructions on this thread to get it working, or is there anything that has to be done beforehand like rooting? Secondly, are any other OSs successfully booting on this x86 phone, as I can't find it on XDA? (it surprisingly hasn't gotten much attention as a hackable device like HTC HD2 or Nokia N900 got).
Click to expand...
Click to collapse
If the phone never had a custom rom yet, you have to unlock the bootloader first. Description is in this thread: https://forum.xda-developers.com/showthread.php?t=1928551
julianwi said:
If the phone never had a custom rom yet, you have to unlock the bootloader first. Description is in this thread: https://forum.xda-developers.com/showthread.php?t=1928551
Click to expand...
Click to collapse
That's an old guide, will everything still work?
flameseewa said:
That's an old guide, will everything still work?
Click to expand...
Click to collapse
Yes, it should still work the same. If some links are outdated you can google them yourself
Thank you for bringing my old RAZR i back to life! I really appreciate the time and effort you spent for this obselete phone. Looking forward for more updates and for a bug free ROM. Using it now
dumkm said:
- Wifi with storage encryption
When you enable storage encryption, WiFi always become disabled, not be able to enable.
Just FYI, it required deleting /system/bin/pdsbackup.sh AND reducing partition size of 'data' (/dev/block/mmcblk0p17).
Click to expand...
Click to collapse
I'm not sure if I misunderstood but when you said "it required deleting....." and "reducing partition size of data", did you mean you can get WiFi to work if you do those things? I'm no expert at these but I can atleast apply the "fix" (if it really is) given that you guide me, if it's okay with you. Thanks!

Categories

Resources