Related
Hi everyone,
As most of you know Lenovo released the official ICS build for the Ideapad K1 today. The new bootloader will not allow me to boot into recovery partition, so no custom recovery for now. Unfortunately the build released by Lenovo also lacked Google Apps. I have added in the latest Google Apps package including Face Unlock. I have posted two versions of the Rom both rooted and not rooted. The non rooted is 100% stock with Google Apps. The rooted has the latest Superuser.apk and su binary and the latest busybox, and the boot.img has been modified to allow adb remount.
This will wipe your entire device. You will lose all apps and data. I am in no way responsible for your device, as always flash at your own risk.
Instructions
Extract .zip file
In windows:
Double click flash-windows.bat
In linux:
cd into extracted directory
chmod +x flash-linux.sh
sudo ./flash-linux.sh
Downloads
K1_ICS_120607_Rooted.zip
b7762c0c83535eea9e542c6737bd1470
Mirror
K1_ICS_120607_Stock.zip
68499815e3937b96e31dc49c1dd099b6
Mirror
Enjoy!
khanning88 said:
Hi everyone,
As most of you know Lenovo released the official ICS build for the Ideapad K1 today. The new bootloader will not allow me to boot into recovery partition, so no custom recovery for now. Unfortunately the build released by Lenovo also lacked Google Apps. I have added in the latest Google Apps package including Face Unlock. I have posted two versions of the Rom both rooted and not rooted. The non rooted is 100% stock with Google Apps. The rooted has the latest Superuser.apk and su binary and the latest busybox, and the boot.img has been modified to allow adb remount.
This will wipe your entire device. You will lose all apps and data. I am in no way responsible for your device, as always flash at your own risk.
Instructions
Extract .zip file
In windows:
Double click flash-windows.bat
In linux:
cd into extracted directory
chmod +x flash-linux.sh
sudo ./flash-linux.sh
Downloads
K1_ICS_120607_Rooted.zip
b7762c0c83535eea9e542c6737bd1470
K1_ICS_120607_Stock.zip
68499815e3937b96e31dc49c1dd099b6
Enjoy!
Click to expand...
Click to collapse
awsome great job!!!!:good:
Awesome work!! CM9/10 in the near future after kernel source? I volunteer to test if you need testers.
i was about to install this an i realized i left my data cable at work. i guess i get to sleep tonight after all
I know this is probably a dumb question but do I need the apx drivers installed? I'm having problems getting them installed with the official lenovo package ones... Maybe someone could link me to a different place to find them...
(R)EVOLTE
thank you so much khanning88 for this and all your hard work! lenovo should hire you and make you their senior dev.. awesome job! thanks again! =)
Great job man. Just installed. Looks fantastic!
Sent from my K1 using Tapatalk 2
First of all, I would like to express my gratitude to khanning88 for getting things done at this high speed.
However,I have issues on the Play Store. As a number of apps including Google Maps and Chrome cannot be downloaded directly via Play Store, which it said "Your device isn't compatible with this edition". So I have to grab them unofficially. Can we pretend the device to be a Xoom for maximum app compatibility, just like what you did in the rooted HC rom? Or is there any other solution?
Thanks in advance.
I respect your work.great share!
Thanks man ... downloaded both versions. Will flash mine with rooted version and my friend's device using unrooted version.
Recovery?
Awesome work - flashed root version - worked flawlessly.
Now, how can we reinstall CWM recovery - it seems to have disappeared? Installing the special recovery apk and opening does not reboot into recovery. Does anyone know if flashing ICS removed the recovery partition?
camera not working plus some apps dont install.
Flashed rooted version which worked OK. Camera app starts but the screen is black. Camera worked OK on HC 3.2.1. Tablet feels less responsive also.
Lots of my standard apps don't install, play store says they are not compatible. These are apps not games. Like flipboard and my banking app.
At this point I think I'll go back to HC until these items are fixed. And I guess this won't happen until Lenovo release the source and khanning can fix up all the Lenovo mistakes.
Disappointed with what Lenovo produced, given the time they spent working on it. Its a 3 out of 10 from me.
zapher67 said:
Flashed rooted version which worked OK. Camera app starts but the screen is black. Camera worked OK on HC 3.2.1. Tablet feels less responsive also.
Lots of my standard apps don't install, play store says they are not compatible. These are apps not games. Like flipboard and my banking app.
At this point I think I'll go back to HC until these items are fixed. And I guess this won't happen until Lenovo release the source and khanning can fix up all the Lenovo mistakes.
Disappointed with what Lenovo produced, given the time they spent working on it. Its a 3 out of 10 from me.
Click to expand...
Click to collapse
Camera works fine for me both pics and vids. Tablet seems much more responsive to me. I agree Lenovo did a poor job. Khanning came in in two hours and tripled their output. I have been working on modifing the build prop to get more apps to work.
Excellent work khanning. As far as overclocking goes, would something like that have to wait until the source is released? Or could a custom kernel supporting this be released without it? Just curious, I like to make things go faster...
Only downside is this came out the day before my work week (Fri-Sun) really kicks in gear, maybe by the time I get around to tinkering with this more questions will be answered.
Either way, khanning you really should be on salary by Lenovo for all the business youre saving that company. Thank you again!
These are the build Prop setting I used to get better EA and gameloft compatibility. I am not an expert on build Props and take no responsibility for your actions. Back up your build before making changes. Gmaps and chrome still do not show up in the market with theses settings.
ro.product.manufacturer=samsung
ro.product.model=GT-P7500
ro.build.fingerprint=samsung/GT-P7500/GT-P7500:3.2/HTJ85B/XWKK4:user/release-keys
ro.product.board=GT-P7500
ro.product.brand=Samsung
ro.product.device=GT-P7500
ro.product.name=GT-P7500
Awesome rom. I have ICS on my phone, but this thing really flies and is SMOOOOOTH! Hopefully someone comes up with a working build.prop to show the missing market apps and I will be one happy camper.
Thanks again, Khanning!
---------- Post added at 04:00 PM ---------- Previous post was at 03:40 PM ----------
Also does anyone know why this rom has a Messaging app?
external sd
There are a priblem with the external sd, i cant see it' its only me?
Heres the build.prop settings for the xoom. Just tested and is showing more games/apps
ro.product.manufacturer=Motorola
ro.product.model=Xoom
ro.product.brand=verizon
ro.product.name=trygon
ro.product.device=stingray
ro.product.board=ventana
ro.build.description=trygon-user 3.1 HMJ37 124251 release-keys
ro.build.fingerprint=verizon/trygon/stingray:3.1/HMJ37/124251:user/release-keys
Sent from my Xoom using Tapatalk 2
gilberthcordova said:
There are a priblem with the external sd, i cant see it' its only me?
Click to expand...
Click to collapse
Are you rooted? If you are then you can use a root file explorer and go to mnt>sdcard2
---------- Post added at 05:25 PM ---------- Previous post was at 05:24 PM ----------
dodgepot said:
Heres the build.prop settings for the xoom. Just tested and is showing more games/apps
ro.product.manufacturer=Motorola
ro.product.model=Xoom
ro.product.brand=verizon
ro.product.name=trygon
ro.product.device=stingray
ro.product.board=ventana
ro.build.description=trygon-user 3.1 HMJ37 124251 release-keys
ro.build.fingerprint=verizon/trygon/stingray:3.1/HMJ37/124251:user/release-keys
Sent from my Xoom using Tapatalk 2
Click to expand...
Click to collapse
Can you confirm if it is showing Chrome and Google Maps?
me_is_rushin said:
Are you rooted? If you are then you can use a root file explorer and go to mnt>sdcard2
---------- Post added at 05:25 PM ---------- Previous post was at 05:24 PM ----------
Can you confirm if it is showing Chrome and Google Maps?
Click to expand...
Click to collapse
It still shows incompatible
Main thread + features + install instructions + dev support
http://forum.xda-developers.com/showthread.php?t=2201860
Click to expand...
Click to collapse
PhilZ Touch is a CWM Advanced Edition that adds all the features you could ever miss in CWM
It is a well proven recovery for many phones
It also adds a full touch interface a completely configurable GUI
Please give your feedback, what works, and any bug you could encounter
Read the features, and check if you are missing something
Also, do not forget to read about the powerful aroma file manager integration and double tap shortcut
Addendum: Unified builds, in particular this one for moto_msm8960 devices:
Supposed list of unified devices: Previous RAZR HD, Photon Q, Atrix HD, etc. : xt897, xt901, xt905, xt907, xt905, xt925, xt926, mb886 are now:
Now: moto_msm8960
I'm going to put them in a list so I can get around to checking Y on known working ones, and N on known non-working ones:
- xt926 (Y)
- xt925 (Y)
- mb886 (Y)
- xt897 (Y)
- xt901 (?)
- xt905 (?)
- xt907 (Y)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Quick notes about unified devices:
Do they all work in this build? I have no idea, but am pretty sure that from feedback that xt926/5, xt907 and xt897 have been reported to work.
The bottom line is that I rely on anyone reading here (or who is directed here from their development pages) to let me know what works, what doesn't so please let me know.
----------------------------
Download links
Latest versions built by me can be found here: (currently 6.xx.* and up).
Note: 6.58.7 final/stable is the latest (see the main development thread if not understood)
Changelogs:
v6.58.7 - new code and fixes
Click to expand...
Click to collapse
6.43.6 (02.06.2014)
- fix recursive path creation bug for /data/media/0
- default to /data/media/0 unless we define BOARD_HAS_NO_MULTIUSER_SUPPORT
- use lstat to check if file exists
6.43.4 - Final, Stable
- fix text print color could persist after md5 check
6.42.9 - Final & Stable
- default again to libtar for backup/restore
6.42.7 - Stable
- default to busybox tar:
- use busybox tar by default as it now supports selinux context backup/restore
- unify libtar and busybox tar options (-p for selinux context)
- remove now deprecated external selinux container code
6.41.6 - Stable & perhaps Final
- update exfat to dorimanx 1.2.9 latest sources
- fix compile error when enabling BOARD_RECOVERY_USE_BBTAR
- repo sync latest sources
- Galaxy Tab Pro 8.4 WiFi SM-T320 (mondrianwifi)
- HTC M7 variants: use new cm kernel with exfat sources
- HTC M8 variants: use new unified recovery
6.41.5 - Stable
- libtouch_gui 1.21: auto detect BRIGHTNESS_SYS_FILE path if it is not set during compile
* search for the file in most common locations
* if found, save it to recovery settings ini file to be called on next recovery starts
* else, disable adjust brightness function to avoid error logs on recovery start
- fix various compiler warnings and errors
- enhance pre-compile setup
- dedupe: merge clean up code from @xiaolu
- merge: fix restorecon_from_file potential crash from @xiaolu (only for BOARD_RECOVERY_USE_BBTAR)
- fix 240x320 images
- merge "cwm: Honor recovery variant "
- merge "cwm: Remove hardcoded paths"
- merge "Keep 'show log' on screen until user dismisses it"
- create /data/media directory after internal storage is wiped
prevents denial to read/write from internal storage under some circumstances
- open source touch_gui library
- update licence files
Click to expand...
Click to collapse
- Unified msm8960: 6.58.7 (4.4.4): Image : http://d-h.st/2xD
- v6.43.6: Unified msm8960: http://d-h.st/HgH
- v6.43.4: Unified msm8960: http://d-h.st/sQQ
- v6.42.9: Unified msm8960: http://d-h.st/SjY
- v6.42.7: Unified msm8960: http://d-h.st/9pD
- v6.41.6: Unified msm8960: http://d-h.st/uq1
- v6.41.5: Unified msm8960: http://d-h.st/QiK
Click to expand...
Click to collapse
Note: tested only on my xt926. Aroma has a few little glitches but is not often maintained.
Older versions built by Phil (or his 'crew'):
http://goo.im/devs/philz_touch/CWM_Advanced_Edition/xt926 // oldest (and substitute your dev name for pre-unified builds)
http://goo.im/devs/philz_touch/CWM_Advanced_Edition/moto_msm8960 // newer, recent.
Click to expand...
Click to collapse
My github(just created/work-in-progress) for tracking changes on this: https://github.com/Hachamacha/philz.git
Click to expand...
Click to collapse
Note: My part in this is very minuscule. I just got (git) his source and stuck it into cm11 as a build base. I changed very little, only added the msm8960 build since I think phil is working on the source rather than many individual builds due to time. If you look at his github from the main page link, the only file I really changed was ./boardconfig/BoardConfig.mk under ./recovery.
Goal: Just to make this available and keep people out of the main thread that aren't developing. If I can help with the specific device I'd do it, but I'm really not an xt926/5 expert. Still, if you've got msm8960 questions (so: device-specific, not general philz touch) ask them here about the device and recovery since odds are better you'll get an answer here than in the main thread. I'll try to update this with latest builds each week.
Disclaimer: The usual stuff you read in all of these threads. If your mind turns into margarine after installation, please send a sample to the CDC labs in Virginia. I searched all over XDA for a thread for philz for the msm8960 but didn't find it. If you do, feel free to destroy this thread, call me names, threaten my relatives (please do this), etc.
Credits: I think all credit should go to Phil, @Orphee and the CM11 guys if you like this type of recovery.
Thanks for doing this bro. Otherwise AHD'd be on 6.0.7x..
EDIT: Great job, I can confirm, 6.22.1 flashes and screen touches work perfect, format, wipe clean new rom, install new rom, restore backup on the Atrix HD/mb886.
Who wouldn't like the best recovery of all? Right? Thanks a lot
Works with keys only on the 907. Thanks.
aviwdoowks said:
Works with keys only on the 907. Thanks.
Click to expand...
Click to collapse
I don't recall the xt907 being unified into the msm8960, at least not in the philz code, but I could be wrong. Could you try a recent (6.19.x) build from over here http://goo.im/devs/philz_touch/CWM_Advanced_Edition/xt907 and let me know if that works? I think the msm8960 so-called unified builds are still a bit confused. It looks to me like only xt926 and 5 are covered.
If the build I linked to works, then it's to do with the 'unified' setup and I might need to grab some vender ID's etc.
By saying "works with keys only": I assume you're saying that the touchscreen stuff is off-kilter or just off period?
Thanks and I'll look it over for that device.
Everyone else: Glad it's working out for you. I'll update as soon as there's another git update.
No touch function at all. The mb886, 'hd & photon Q (screen input works too, albeit mirrored) recoveries have always worked on the M.
Any can be used on the others for key only use.
The Q twrp works 100% on the m but mirrored input. Arrrghhh said he may port his version to the m.
Since we can have unified recoveries now, would it be possible to make TWRP and have it work for all the unified devices?
Sent from my ATRIX HD using Tapatalk
aviwdoowks said:
No touch function at all. The mb886, 'hd & photon Q (screen input works too, albeit mirrored) recoveries have always worked on the M.
Any can be used on the others for key only use.
The Q twrp works 100% on the m but mirrored input. Arrrghhh said he may port his version to the m.
Click to expand...
Click to collapse
Took a look at the cm11 base I'm using as a building platform for philz code and it appears xt907 isn't yet part of the unified group though it ought to be according to CM. I'll leave a note and see if that's in the works. I'll check if xt907 has it's own build over there. By the way, from your reply I wasn't sure if you'd tried the pre-unified version I linked to on goo.im? Also philz stuff is using his own touch library GUI these days, and there might be something about that and the 907. Got some stuff to figure out.
Looks like (Atrix HD, Electrify M, Photon Q, Razr HD, and Razr M) are supposed to be part of it but from the way the code looks, (boardconfig) , not sure I believe it's yet been worked out. Razr M has some 9xx x {?} resolution, right?
Edit: CM11 looks fine as far as unified for xt907, so it must be something in the philz code that's not yet ready for the full array of unified devices.
penser said:
Since we can have unified recoveries now, would it be possible to make TWRP and have it work for all the unified devices?
Sent from my ATRIX HD using Tapatalk
Click to expand...
Click to collapse
I've used TWRP and like it a lot, but haven't looked at the build requirements yet. It seems possible to do unified builds for anything especially if you can do something like build the cm11 default code with it's default recovery, then substitute TWRP recovery for the default CWM in the ./bootable/recovery code. TWRP would have to be setup for that which is something I don't know. CM11 is where the unified structure is coming from in the case of these recoveries.
The 6221 you posted works.
aviwdoowks said:
The 6221 you posted works.
Click to expand...
Click to collapse
Cool! Thanks for letting me know.
hachamacha said:
Cool! Thanks for letting me know.
Click to expand...
Click to collapse
Are you savvy enough to allow/provide a partition backup of /persist?
At least Philz no longer lets noobs format it. Why not back it up? As it gets clobbered often.
---------- Post added at 09:41 AM ---------- Previous post was at 09:22 AM ----------
Could it have been the previous presence/oversight of the fomat command the the cwmr base gave be used on the phones that is the sole cause of all the /persist hubub & it being only on the phone is not an issue?
---------- Post added at 10:17 AM ---------- Previous post was at 09:41 AM ----------
More on persist
http://forum.xda-developers.com/showthread.php?t=2589790
aviwdoowks said:
Are you savy enough to allow/provide a partition backup of /persist?
At least Philz no longer lets noobs format it. Why not back it up? As it gets clobbered often.
---------- Post added at 09:41 AM ---------- Previous post was at 09:22 AM ----------
Could it have been the previous presence/oversight of the fomat command the the cwmr base gave be used on the phones that is the sole cause of all the /persist hubub & it being only on the phone is not an issue?
Click to expand...
Click to collapse
savvy: I don't know the answer to that yet
I just took a look at a) the main thread, noticed this (http://forum.xda-developers.com/showthread.php?p=48940651&highlight=persist#post48940651) and b) the code. What I come up with is that while in recovery, I can go to 'mounts' and mounting "persist" is an option which works for me. It's not on the backup list, mounted or not, but shows up in aroma FM when it's mounted. That link I put there claims there is allowed 5 "extra" partitions for backup/restore, so I might be able to set up /persist as one of them. I'm still new to this recovery code for android so don't expect too much. Looks like if I can get it to work on mine, then it ought to on yours.
As a workaround (if ADB is working to your box in recovery) , you could yank (pull) that /persist stuff yourself, but I think a new version is coming along pretty soon and I'll try to see if I can get it to work. (Time permitting etc etc)
edit: I realized that /persist is in the recovery.fstab file when I build which is why it's a mount choice in that menu. The other stuff (make it a backup choice) appears to be hard-coded in one of the .c files so it could be added, but there's a fair amount of stuff to do to add it. Yeah, it could be modified, but I'd want to ask Phil about it before messing with it. I suspect he had some reason since I noticed you and he talked about this in the main thread. Did he ever get back to you?
Mount is ok. When I posted the now unavailable format was there.
aviwdoowks said:
Mount is ok. When I posted the now unavailable format was there.
Click to expand...
Click to collapse
I'm trying to reopen the discussion in the main thread so we'll see how that goes.
Edit: General build update.
There's a new build, same version but some fixes that I'll put up eventually here. CM11 probably has the newest API and I'm restructuring my environment, so need to sync and clobber repo, include philz as a localrepo. Might take .. all day for the syncing and building to complete. Doing this in a VM today
Fixed: Aroma now works with screen input when booted from the msm version while key only from philz.
Translation: aroma works fully while using this on a 907.
hachamacha said:
savvy: I don't know the answer to that yet
I just took a look at a) the main thread, noticed this (http://forum.xda-developers.com/showthread.php?p=48940651&highlight=persist#post48940651) and b) the code. What I come up with is that while in recovery, I can go to 'mounts' and mounting "persist" is an option which works for me. It's not on the backup list, mounted or not, but shows up in aroma FM when it's mounted. That link I put there claims there is allowed 5 "extra" partitions for backup/restore, so I might be able to set up /persist as one of them. I'm still new to this recovery code for android so don't expect too much. Looks like if I can get it to work on mine, then it ought to on yours.
As a workaround (if ADB is working to your box in recovery) , you could yank (pull) that /persist stuff yourself, but I think a new version is coming along pretty soon and I'll try to see if I can get it to work. (Time permitting etc etc)
edit: I realized that /persist is in the recovery.fstab file when I build which is why it's a mount choice in that menu. The other stuff (make it a backup choice) appears to be hard-coded in one of the .c files so it could be added, but there's a fair amount of stuff to do to add it. Yeah, it could be modified, but I'd want to ask Phil about it before messing with it. I suspect he had some reason since I noticed you and he talked about this in the main thread. Did he ever get back to you?
Click to expand...
Click to collapse
Currently, recovery doesn't allow backup/restore of all what's in fstab
It would be dangerous in my opinion as you sometimes have the bootloader there
try to edit this line:
Code:
/dev/block/platform/msm_sdcc.1/by-name/persist /preload ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1
setting the mountpoint to preload will add it to my mod as it supports that partition
However, restoring could fail if you do not add the selinux needed permissions
Also, you can follow my guide here to add extra partitions using this flag: EXTRA_PARTITIONS_PATH
Actually, without adding the flag or recompiling, you can just edit recovery.fstab to:
Code:
/dev/block/platform/msm_sdcc.1/by-name/persist /extra_part1 ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1
by default, it is enabled when you name it extra_part1 to extra_part5
That way, you can easily add support to 5 extra partitions to nandroid menu with just a repack, no recompile needed
Phil3759 said:
Currently, recovery doesn't allow backup/restore of all what's in fstab
It would be dangerous in my opinion as you sometimes have the bootloader there
try to edit this line:
Code:
/dev/block/platform/msm_sdcc.1/by-name/persist /preload ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1
setting the mountpoint to preload will add it to my mod as it supports that partition
However, restoring could fail if you do not add the selinux needed permissions
Also, you can follow my guide here to add extra partitions using this flag: EXTRA_PARTITIONS_PATH
Actually, without adding the flag or recompiling, you can just edit recovery.fstab to:
Code:
/dev/block/platform/msm_sdcc.1/by-name/persist /extra_part1 ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1
by default, it is enabled when you name it extra_part1 to extra_part5
That way, you can easily add support to 5 extra partitions to nandroid menu with just a repack, no recompile needed
Click to expand...
Click to collapse
Thanks for the tips. After I test the next version (6.23.x) I'll try these techniques out, see how it goes on mine.
hachamacha said:
Thanks for the tips. After I test the next version (6.23.x) I'll try these techniques out, see how it goes on mine.
Click to expand...
Click to collapse
also, take a look here, at the highlighted line:
https://github.com/CyanogenMod/andr...8960/blob/cm-11.0/device_moto_msm8960.mk#L121
You have also a ro property to forbid mount:
Code:
ro.cwm.forbid_mount
Both these properties affect the format/mount options in "Mounts and Storage" menu
As far as screen input for the 907 goes, are you not almost there if aroma works?
---------- Post added at 08:12 AM ---------- Previous post was at 08:10 AM ----------
It works on 6227.
Enable Native Tether for Verizon DE on [N910VVRU1BOAF]
Found it here from ----> @scrosler
Originally came from here -----> @jovy23
Instructions:
Decompile framework-res
Open /res/values/arrays.xml
Find this:
Code:
<string-array name="config_mobile_hotspot_provision_app">
<item>com.sec.tetheringprovision</item>
<item>com.sec.tetheringprovision.TetheringProvisionActivity</item>
</string-array>
Change it to this:
Code:
<array name="config_mobile_hotspot_provision_app" />
That unlocks tether by telling framework to not look for a check.
Now recompile and pat yourself on the back because it literally is that easy. I will post a flashable zip if you are not feeling adventurous enough to do it yourself. Please hit thanks if I helped in anyway.
Download:
Tether MOD
Tether MOD DEODEXED
Thanks to:
@jovy23 - Orginal author of the MOD
@scrosler - Making a clear OP and pointing at Original Thread - Sharing
@Misterxtc - For letting me use his ROM and pulling the framework to deodex
Thank you!!!
bdorr1105 said:
Enable Native Tether for Verizon DE on [N910VVRU1BOAF]
Found it here from ----> @scrosler
Originally came from here -----> @jovy23
Instructions:
Decompile framework-res
Open /res/values/arrays.xml
Find this:
Code:
<string-array name="config_mobile_hotspot_provision_app">
<item>com.sec.tetheringprovision</item>
<item>com.sec.tetheringprovision.TetheringProvisionActivity</item>
</string-array>
Change it to this:
Code:
<array name="config_mobile_hotspot_provision_app" />
That unlocks tether by telling framework to not look for a check.
Now recompile and pat yourself on the back because it literally is that easy. I will post a flashable zip if you are not feeling adventurous enough to do it yourself. Please hit thanks if I helped in anyway.
Download:
Tether MOD
Tether MOD DEODEXED
Thanks to:
@jovy23 - Orginal author of the MOD
@scrosler - Making a clear OP and pointing at Original Thread - Sharing
@Misterxtc - For letting me use his ROM and pulling the framework to deodex
Click to expand...
Click to collapse
Excellent!!!
---------- Post added at 03:57 AM ---------- Previous post was at 03:45 AM ----------
bdorr1105 said:
Enable Native Tether for Verizon DE on [N910VVRU1BOAF]
Found it here from ----> @scrosler
Originally came from here -----> @jovy23
Instructions:
Decompile framework-res
Open /res/values/arrays.xml
Find this:
Code:
<string-array name="config_mobile_hotspot_provision_app">
<item>com.sec.tetheringprovision</item>
<item>com.sec.tetheringprovision.TetheringProvisionActivity</item>
</string-array>
Change it to this:
Code:
<array name="config_mobile_hotspot_provision_app" />
That unlocks tether by telling framework to not look for a check.
Now recompile and pat yourself on the back because it literally is that easy. I will post a flashable zip if you are not feeling adventurous enough to do it yourself. Please hit thanks if I helped in anyway.
Download:
Tether MOD
Tether MOD DEODEXED
Thanks to:
@jovy23 - Orginal author of the MOD
@scrosler - Making a clear OP and pointing at Original Thread - Sharing
@Misterxtc - For letting me use his ROM and pulling the framework to deodex
Click to expand...
Click to collapse
a while back, about a week or so ago, someone had a file which was supposed to include the 4 (or 5) way re-boot menu in the de-odexed rom. I think the file was android.policy.jar. Problem was, it did not work, as it was de-odexed. I am running the odexed (normal) version. Is there a way to get a flashable 5 way reboot menu that works in the confines of a stock (odexed) version???
---------- Post added at 04:04 AM ---------- Previous post was at 03:57 AM ----------
bdorr1105 said:
Enable Native Tether for Verizon DE on [N910VVRU1BOAF]
Found it here from ----> @scrosler
Originally came from here -----> @jovy23
Instructions:
Decompile framework-res
Open /res/values/arrays.xml
Find this:
Code:
<string-array name="config_mobile_hotspot_provision_app">
<item>com.sec.tetheringprovision</item>
<item>com.sec.tetheringprovision.TetheringProvisionActivity</item>
</string-array>
Change it to this:
Code:
<array name="config_mobile_hotspot_provision_app" />
That unlocks tether by telling framework to not look for a check.
Now recompile and pat yourself on the back because it literally is that easy. I will post a flashable zip if you are not feeling adventurous enough to do it yourself. Please hit thanks if I helped in anyway.
Download:
Tether MOD
Tether MOD DEODEXED
Thanks to:
@jovy23 - Orginal author of the MOD
@scrosler - Making a clear OP and pointing at Original Thread - Sharing
@Misterxtc - For letting me use his ROM and pulling the framework to deodex
Click to expand...
Click to collapse
Do you realize - you just fixed a bug in another product with this flashable native tether "hotfix"? - there is an application, called power toggles, you may be familiar with it. Ever since Lollipop, the hotspot toggle was not working - it gets stuck on stupid, and hangs, won't turn on the hotspot - or off for that matter. flashing your native hotspot provision hotfix now allows the Power Toggle hotspot toggle to work, like it did in KK. Excellent -
I am sending the developer the link to this thread... nice...
anticloud said:
Excellent!!!
---------- Post added at 03:57 AM ---------- Previous post was at 03:45 AM ----------
a while back, about a week or so ago, someone had a file which was supposed to include the 4 (or 5) way re-boot menu in the de-odexed rom. I think the file was android.policy.jar. Problem was, it did not work, as it was de-odexed. I am running the odexed (normal) version. Is there a way to get a flashable 5 way reboot menu that works in the confines of a stock (odexed) version???
---------- Post added at 04:04 AM ---------- Previous post was at 03:57 AM ----------
Do you realize - you just fixed a bug in another product with this flashable native tether "hotfix"? - there is an application, called power toggles, you may be familiar with it. Ever since Lollipop, the hotspot toggle was not working - it gets stuck on stupid, and hangs, won't turn on the hotspot - or off for that matter. flashing your native hotspot provision hotfix now allows the Power Toggle hotspot toggle to work, like it did in KK. Excellent -
I am sending the developer the link to this thread... nice...
Click to expand...
Click to collapse
The toggle probably was not working because of the tether provision and native tethering will not work on unlimited plans. Plus it bypasses any provision check probably why the toggle works now
anticloud said:
Excellent!!!
---------- Post added at 03:57 AM ---------- Previous post was at 03:45 AM ----------
a while back, about a week or so ago, someone had a file which was supposed to include the 4 (or 5) way re-boot menu in the de-odexed rom. I think the file was android.policy.jar. Problem was, it did not work, as it was de-odexed. I am running the odexed (normal) version. Is there a way to get a flashable 5 way reboot menu that works in the confines of a stock (odexed) version???
---------- Post added at 04:04 AM ---------- Previous post was at 03:57 AM ----------
Do you realize - you just fixed a bug in another product with this flashable native tether "hotfix"? - there is an application, called power toggles, you may be familiar with it. Ever since Lollipop, the hotspot toggle was not working - it gets stuck on stupid, and hangs, won't turn on the hotspot - or off for that matter. flashing your native hotspot provision hotfix now allows the Power Toggle hotspot toggle to work, like it did in KK. Excellent -
I am sending the developer the link to this thread... nice...
Click to expand...
Click to collapse
I can try and tinker with it and implement it if you are willing to test it out
more than willing...
anticloud said:
more than willing...
Click to expand...
Click to collapse
Sorry, I have to deodex it to be able to get the smali files, can't really figure out how to odex it again, I am looking up a way to reodex a deodexed jar file
yup...
bdorr1105 said:
Sorry, I have to deodex it to be able to get the smali files, can't really figure out how to odex it again, I am looking up a way to reodex a deodexed jar file
Click to expand...
Click to collapse
that seems to be the challenge... it's ok, unimportant.. nice to have, but unimportant... someone suggested I move to the deodexed version anyway...
Stupid question
I have the Verizon Note 4 and I am wondering how I can install this mod. Since there is no root, is it possible for me to apply this mod?
Thank You
Never mind. I Just noticed it is only for developer edition.
imrutledge said:
I have the Verizon Note 4 and I am wondering how I can install this mod. Since there is no root, is it possible for me to apply this mod?
Thank You
Never mind. I Just noticed it is only for developer edition.
Click to expand...
Click to collapse
It would work for the retail note but you Def need root it's impossible any other way
Worked Great
Worked great flashing the Odexed version from TWRP on my natively BOAF Dev Edition. Thanks.
ajh16 said:
Worked great flashing the Odexed version from TWRP on my natively BOAF Dev Edition. Thanks.
Click to expand...
Click to collapse
Good glad yw
How would I go about using this mod on the Verizon note 4 retail after using kingroot to get root?
Also is there a mod I can use to open control of the sdcard for write, delete, etc on kitkat after using kingroot for rooting retail?
There is a SD card fix in the marketplace... You can manually push the files in the zip file to your phone and set permissions to the file.
Rolled the dice and installed this on the new OF1 update. Works like a charm.
Not sure if I will run into any issues down the road from changes that may have been made in the framework? Any way someone can post up a flashable OF1 version of this just to be safe?
blubyu87gt said:
Rolled the dice and installed this on the new OF1 update. Works like a charm.
Not sure if I will run into any issues down the road from changes that may have been made in the framework? Any way someone can post up a flashable OF1 version of this just to be safe?
Click to expand...
Click to collapse
Sure can, I prefer the booting into TWRP and pushing via ADB but for those that prefer a flashable ZIP I've put one together. Didn't test it but shouldn't be an issue, also have originals for going back.
adb pull /system/framework/framework-res.apk
adb shell
su
mount -o remount rw /system
adb push framework-res.apk /system/framework/
Click to expand...
Click to collapse
Is there an updated version of this for BOG5 yet (or plans for one)? If not, I may attempt one myself a bit later. Process doesn't look too hard.
Download links not working, Can I get a copy?
bdorr1105 said:
Enable Native Tether for Verizon DE on [N910VVRU1BOAF]
Found it here from ----> @scrosler
Originally came from here -----> @jovy23
Instructions:
Decompile framework-res
Open /res/values/arrays.xml
Find this:
Code:
<string-array name="config_mobile_hotspot_provision_app">
<item>com.sec.tetheringprovision</item>
<item>com.sec.tetheringprovision.TetheringProvisionActivity</item>
</string-array>
Change it to this:
Code:
<array name="config_mobile_hotspot_provision_app" />
That unlocks tether by telling framework to not look for a check.
Now recompile and pat yourself on the back because it literally is that easy. I will post a flashable zip if you are not feeling adventurous enough to do it yourself. Please hit thanks if I helped in anyway.
Download:
Tether MOD
Tether MOD DEODEXED
Thanks to:
@jovy23 - Orginal author of the MOD
@scrosler - Making a clear OP and pointing at Original Thread - Sharing
@Misterxtc - For letting me use his ROM and pulling the framework to deodex
Click to expand...
Click to collapse
Also got any tips on how to use on the retail Note 2 with temporary Root on Demand..... Kingroot?
doctor-cool said:
Also got any tips on how to use on the retail Note 2 with temporary Root on Demand..... Kingroot?
Click to expand...
Click to collapse
I get home in a couple days I will try and help you then... I am in the middle east
I tried making a BOG5 version but ended up in a bootloop and had to revert. I used apktool to decode the file with apktool d framework-res.apk. Went in, modified the arrays.xml to remove the items from the list and self-terminate it (they were some samsung apps), then I did an apktool b framework-res and copied the apk from the dist folder over to my phone and installed it using TWRP.
Restarted, let my phone try to boot for about three times the normal boot time, was running hot and seemed to be looping, so I rebooted in to TWRP and restored the original and everything worked fine on reboot.
Any ideas what I might have done wrong on the replacement? I did get a couple of warnings about no default translation for some settings and I noticed my APK was unexpectedly smaller (by about 250k), which seems a bit odd, but when I decompiled it, the only differences were the arrays.xml and the manifest.
Update: It appears that when it rebuilt in apktool, it changed the string-array to an array. That seems like it has a decent chance of being the cause of the issue, but I'm not sure how to prevent that from occurring since the build did it on its own.
---------- Post added at 12:28 PM ---------- Previous post was at 12:00 PM ----------
Never mind, I was able to figure out what I was doing wrong. Apparently for the build I needed to do "apktool build -c framework-res". It appears the -c keeps the signature from the original for the unaltered binary portion while updating the resource.
I now have a working BOG5 modified framework-res.apk. I'd love to share it with people, but I'm not sure what to use as a file host. I have a request in with android file host but not sure how long it takes to get upload access with them. Any other platforms that work well for it? Also, am I correct in my assumption that I can simply take the previous recovery zip installer and replace the framework-res.apk in it with the new version and use that as a recovery zip? I just did the install completely manually when I was doing it as I'm not particularly familiar with the zip update format.
ajh16 said:
I tried making a BOG5 version but ended up in a bootloop and had to revert. I used apktool to decode the file with apktool d framework-res.apk. Went in, modified the arrays.xml to remove the items from the list and self-terminate it (they were some samsung apps), then I did an apktool b framework-res and copied the apk from the dist folder over to my phone and installed it using TWRP.
Restarted, let my phone try to boot for about three times the normal boot time, was running hot and seemed to be looping, so I rebooted in to TWRP and restored the original and everything worked fine on reboot.
Any ideas what I might have done wrong on the replacement? I did get a couple of warnings about no default translation for some settings and I noticed my APK was unexpectedly smaller (by about 250k), which seems a bit odd, but when I decompiled it, the only differences were the arrays.xml and the manifest.
Update: It appears that when it rebuilt in apktool, it changed the string-array to an array. That seems like it has a decent chance of being the cause of the issue, but I'm not sure how to prevent that from occurring since the build did it on its own.
---------- Post added at 12:28 PM ---------- Previous post was at 12:00 PM ----------
Never mind, I was able to figure out what I was doing wrong. Apparently for the build I needed to do "apktool build -c framework-res". It appears the -c keeps the signature from the original for the unaltered binary portion while updating the resource.
I now have a working BOG5 modified framework-res.apk. I'd love to share it with people, but I'm not sure what to use as a file host. I have a request in with android file host but not sure how long it takes to get upload access with them. Any other platforms that work well for it? Also, am I correct in my assumption that I can simply take the previous recovery zip installer and replace the framework-res.apk in it with the new version and use that as a recovery zip? I just did the install completely manually when I was doing it as I'm not particularly familiar with the zip update format.
Click to expand...
Click to collapse
I usually use Dropbox, I use android file host but that requires a little effort because you need to request developer status basically and explain why you need to be able to file host... There is a great tool called Tickle My Android that you could use for decompiling... Apk tool works great as well, but takes longer in my opinion...
I am glad you figured it out.. You seem like a good reverse engineerer....
You can use the zips in this post and just replace the files inside the zip and post them as updated
Sent from my Nexus 6 using Tapatalk
Wanna Hack something with your Mobile ?
No you can't hack anything, I was just kidding hehe, Let's get into the topic.
What is Kali NetHunter?
The Kali Linux NetHunter project is the first Open Source Android penetration testing platform for Nexus devices, created as a joint effort between the Kali community member “BinkyBear” and Offensive Security. NetHunter supports Wireless 802.11 frame injection, one-click MANA Evil Access Point setups, HID keyboard (Teensy like attacks), as well as BadUSB MITM attacks – and is built upon the sturdy shoulders of the Kali Linux distribution and toolsets.
for more info visit https://www.kali.org/kali-linux-nethunter/
Right now it's only official for Nexus 5, Nexus 6, Nexus 7, Nexus 9, Nexus 10 or OnePlus One. So I just made a Unofficial one for our P2. Let's start....
Prerequisite:
¥ Root access.
¥ 100 to 500 mb minimum free storage according to your Chroot preference.
¥ Terminal emulator
¥ Meefik Busybox
Installation Procedure:
# Install Meefik busybox
# Download the zip file from the link below and extract it to internal storage
# Open Terminal emulator app and type su and grant root access
# Now type" sh /sdcard/install_nh/nethunter.sh"
# Now wait for installation process to complete [11 success]
# Now the nethunter app will open automatically
# Don't do anything or touch anything [1 or 2,3 mins]
# Wait until the app closes automatically and shows "Done"
# Now type "exit" in the Terminal emulator app, it will close it.
# Open the NetHunter app and install Chroot [full recommended ~400mb]
# After install Chroot Full go the Terminal and type "apt-get update" and after that "apt-get upgrade".
# In case you install Chroot minimal type "apt-get install kali-linux-nethunter" then type "apt-get update" and finally "apt-get upgrade" .
# Or you could install manually each desired package after installing minimal Chroot if you don't want all the NetHunter package
# You are done, Have fun
Disclaimer:
I'm not responsible for any harm you make to your device, Proceed at your own Risk. Hit like if you like my work.
Download link:
https://mega.nz/#!5bZBEDgB!5RbIvQeXLUHM_S7qDa-YE8J0UJWfRLAFezfFzmts_z8
Credits
Offensive security team
Source
https://github.com/offensive-security/kali-nethunter
Thread closed cuz Chroot server seems to be down all time. Thread will be open once chroot server is up.
Thanks bro..
For making I am waiting for so long..
And u made it.. :good:
---------- Post added at 02:58 PM ---------- Previous post was at 02:56 PM ----------
Link not working
Shreyash01 said:
Thanks bro..
For making I am waiting for so long..
And u made it.. :good:
Click to expand...
Click to collapse
My Pleasure, Have fun ✌
Shreyash01 said:
Thanks bro..
For making I am waiting for so long..
And u made it.. :good:
---------- Post added at 02:58 PM ---------- Previous post was at 02:56 PM ----------
Link not working
Click to expand...
Click to collapse
I will check it out now. I too got the error, I will upload it to mega and share the link.
Shreyash01 said:
Thanks bro..
For making I am waiting for so long..
And u made it.. :good:
---------- Post added at 02:58 PM ---------- Previous post was at 02:56 PM ----------
Link not working
Click to expand...
Click to collapse
updated link
https://mega.nz/#!5bZBEDgB!5RbIvQeXLUHM_S7qDa-YE8J0UJWfRLAFezfFzmts_z8
Its showing error while installing chroot
Shreyash01 said:
Its showing error while installing chroot
Click to expand...
Click to collapse
I guess your network speed is slow, try again later with high speed network connection.
Same error for me. With lte and with wifi
---------- Post added at 07:47 PM ---------- Previous post was at 07:04 PM ----------
I will try installing from here...
https://build.nethunter.com
iniro said:
Same error for me. With lte and with wifi
---------- Post added at 07:47 PM ---------- Previous post was at 07:04 PM ----------
I will try installing from here...
https://build.nethunter.com
Click to expand...
Click to collapse
only reason can be server down or network speed slow. that's great try it.
Chroot not downloading..
I tried from data and WiFi..
Shreyash01 said:
Chroot not downloading..
I tried from data and WiFi..
Click to expand...
Click to collapse
not sure with what is causing this error.
Can u provide chroot link
Shreyash01 said:
Can u provide chroot link
Click to expand...
Click to collapse
I don't have any link for downloading chroot, I made it with the NetHunter app itself.
Chroot is not downloading so is there any way to uninstall all Kali files
Shreyash01 said:
Chroot is not downloading so is there any way to uninstall all Kali files
Click to expand...
Click to collapse
Uninstall the app one by one (kali nethunter apps)✌
Attention guys,
Request any app, theme or Mod thread moved to guides and discussion page.
F U C K Y O U A L L said:
**** hack
Click to expand...
Click to collapse
#### ✌
Thread will be closed cuz Chroot server seems to be down all time. Thread will be open once chroot server is up.
Thread closed as per OP request
TWRP Recovery
This thread, and all current work were @Eliminater74's. He has moved on, so I am going to pick up where he left off. He will be missed in the LG community.
Downloads:
H872
US997
H870
TWRP Version: 3.2.3-1:
Updated:
Replaced compressed kernel, so boot times are much lower.
Verified not working:
Clock
Verified Working,
Flashing ZIP/IMAGES
Needs Testing:
encryption
Wipe LG Lockscreen
kdzwriter (imported: said to possibly work for g6 and v30)
I am sure many more things.. Just give me time to work on it all..
XDA:DevDB Information
[RECOVERY] [TWRP - V3.2.3-1 For H870, H872, US997] [unofficial], ROM for the LG G6
Contributors
runningnak3d, Eliminater74
Source Code: https://github.com/runningnak3d/android_bootable_recovery
ROM OS Version: 8.x Oreo
Version Information
Status: Testing
Current Beta Version: 3.2.3-1
Created 2019-02-13
Last Updated 2019-02-13
Note: You must flash the 'IMG' File to install recovery, then reboot into recovery.
I want to give a huge thanks to: @zefie for much code and custom changes he made to TWRP that allowed me to use:
@zefie, Since much of your code was a huge mess, I picked out only a few things, Like the LG lockscreen wipe.........
Most of the rest I used Omni's gerrit and added in things..
as for device tree, I used yours as a ref, then updated to see what fits.. I managed to get TIME to work on AOSP/LOS not sure how well on stock..
but im next to sure it will.......
I added kdzwriter for peepz that wanna flash parts of kdz file to device.. but even know I was told that it should work for the G6 and V30, it still gives me a error on the kdz files when it test to see if its
compatible with device, which it is.. guess from looking at the code it analyzes your current GPT on your device and matches it to the one in KDZ, if no match it wont allow you to write anything..
so I emailed author and waiting to see if I get a response back one day..........
reserved #2
1st haha
---------- Post added at 03:29 AM ---------- Previous post was at 03:27 AM ----------
What's the kdz writer do?
jimbomodder said:
1st haha
---------- Post added at 03:29 AM ---------- Previous post was at 03:27 AM ----------
What's the kdz writer do?
Click to expand...
Click to collapse
plug her in or drop to a terminal and type kdzwriter
it will give you clear instructions........
I think it needs updating to allow for G6 and v30, and I already emailed the author on that............
Eliminater74 said:
plug her in or drop to a terminal and type kdzwriter
it will give you clear instructions........
I think it needs updating to allow for G6 and v30, and I already emailed the author on that............
Click to expand...
Click to collapse
Ah ok and yeah takes ages to boot up haha
Sent from my [device_name] using XDA-Developers Legacy app
h872, work!!! :good:
on older twrp can't mount /data in stok oreo rom
this version work perfectly for me
jimbomodder said:
Ah ok and yeah takes ages to boot up haha
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
when I re compile my kernels, I will remove that compile for size setting. cause that is why it takes so long to boot...... its gota de compress the kernel image...
Eliminater74 said:
when I re compile my kernels, I will remove that compile for size setting. cause that is why it takes so long to boot...... its gota de compress the kernel image...
Click to expand...
Click to collapse
Good good, it makes you think it's failed haha
Sent from my [device_name] using XDA-Developers Legacy app
---------- Post added at 01:11 PM ---------- Previous post was at 12:38 PM ----------
Also noticed vendor partition no longer shows up in mount settings
Sent from my [device_name] using XDA-Developers Legacy app
jimbomodder said:
Good good, it makes you think it's failed haha
Sent from my [device_name] using XDA-Developers Legacy app
---------- Post added at 01:11 PM ---------- Previous post was at 12:38 PM ----------
Also noticed vendor partition no longer shows up in mount settings
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
There is no vendor partition yet, at least not with my AEX ROM and device tree that I use...
the only vendor is system/vendor and /vendor that symlinks to system/vendor .................
vendor partition is for Treble devices which we are not yet setup for......
I was going to convert my G6 to Treble and allow for vendor partition which is like 500+ megs.. minus the same amount from system.........
But till that project is verified to work, I have yet to do it..........
Building another Update Recovery Package: Trying a few new things to see if I can get all to work like it should.
Vendor was added to backups for the ones that have 'VENDOR' partition, Its marked as removable so that peepz without it dont get errors:
misc is added to backup, so you dont lose your network mac stuff.....
data can also be backed up in whole with internal Storage added
laf partition can now also be backed up, Just in case peepz.................
At some point I will be removing the extra_sd partition section.. I see no need for it.. and its just a waste.. unless others can tell me otherwise..
it was only a good idea back when MultiROM was a thing.. Which today its not....... and no longer updated or maintained.......
So having that is not needed................
Great job @Eliminater74
I remember you from the G3. Glad to see you on the G6 as well.
TWRP Update:
V3.2.3 20180812:Grab in Downloads:
Changes: peepz that have a separate vendor partition can now back it up and mount it:
LAF partition is now backupable......
data now has a FULL Data Image backup, which also means internal storage:
Played with a few other things too, but nothing big.. I still need everything tested by others who are willing to take the plunge..
The above changes for the partition was only fstab flags changes to make that happen..... No biggie there......
I also added un official changes to twrp recovery it self,
meaning, They are on their gerrit, but not official merged yet..........
Check out my DevG6 github page under android_bootable_recovery repo for commit history I made and added.........
NOTICE:
I will fix the Mouse showing in next build, I removed the blacklist by mistake and that is why its showing.. as soon as I add the blacklist back
the mouse will be no more....... SORRY Peepz.............
Eliminater74 said:
@zefie, Since much of your code was a huge mess
Click to expand...
Click to collapse
So rude. But also so incredibly true. Haha.
Great work though. Obviously I haven't tried it since I can't, but just happy to see work still being done on it, and glad to be of some help.
Edit: That said, your way, which is probably more proper, is a mess to me. I couldn't find the fstab, so apologies if you already know this, but I also dabbled with /vendor support. Make sure you set it as removable otherwise users who do not have /vendor will get an error when backing up (even if they uncheck vendor, at least when I tried it).
zefie said:
So rude. But also so incredibly true. Haha.
Great work though. Obviously I haven't tried it since I can't, but just happy to see work still being done on it, and glad to be of some help.
Edit: That said, your way, which is probably more proper, is a mess to me. I couldn't find the fstab, so apologies if you already know this, but I also dabbled with /vendor support. Make sure you set it as removable otherwise users who do not have /vendor will get an error when backing up (even if they uncheck vendor, at least when I tried it).
Click to expand...
Click to collapse
sorry man, Didnt mean it to sound rude, you do great work.. and everyone has their own way to do things, as im so used to doing steps by steps because I have to reuse alot of things on my projects and need everything to be separated from other things.. But in all. your work is great............
and yeah, I used your fstab and just made some changes and its marked as removable.. I seen your comment on that in the fstab.. I do like that you left many comments for people to understand your work.
I am not building a test AEX Rom with the vendor create script added.. so ill see how that pans out............
thanks again for your help and work........
Eliminater74 said:
sorry man, Didnt mean it to sound rude
Click to expand...
Click to collapse
I was just kidding (if you think that code is a mess you should see my older code that even I have a hard time understanding. That is where the commenting came from haha)
@zefie,
Question, How are your coding skills on twrp? Mine are not that great and I dont understand the recovery stuff as much as it seems you do,
Here is the thing, a script was made that will create a vendor partition for you. what this script does is checks to see if you have one first..
if not then it checks to see if your system in correct size, then it creates the vendor partition and resizes the system..........
and yes it can be reversed,
the script was designed for twrp originally then LOS added to lge_msm8996-common device tree, but will only work on LOS, that once you install ROM it runs that script and checks everything..
I took that script as well as the Android.mk mods that allow for building the needed tools for the script to run in twrp........
I need an option made that will have a checkbox when you install a ROM, that lets you put a check int the box to pre run the script before installing the rom...........
that way.. people can convert their devices from twrp........
the script and needed tools are already added to the TWRP, not in current one I released yesterday.. but in the one I havent released yet...
so it can be ran manually.. I had to make alot of mods to get it to build the tools and all with twrp..
biggest tool needed was sgdisk............
but if you could help me out with the coding of that option for pre installs of rom.. that would be great........
btw again, that script checks if you already have the partition and if you do, it aborts the rest of the script and goes on to installing rom..........
Let me know if you can help me out here... thanks ..
good job.
surport the project treble?
Eliminater74 said:
WOW !!!
Backing up LAF/Download partition is the first for me on any TWRP for any devices :good:
Great job. Thanks for your hard work.
Click to expand...
Click to collapse