Anyone can use overclock on G2? - myTouch 3G, Magic Android Development

Is G2 have same overclock files as G1?
If not sure, please try the following commands on super terminal.
ls -l /sys/devices/system/cpu/cpu0/cpufreq/
Then post the output here, please.
Great thanks.

# ls -l /sys/devices/system/cpu/cpu0/cpufreq
ls -l /sys/devices/system/cpu/cpu0/cpufreq
-r--r--r-- root root 4096 2009-06-04 10:09 cpuinfo_min_freq
-r--r--r-- root root 4096 2009-06-04 10:09 cpuinfo_max_freq
-rw-r--r-- root root 4096 2009-06-04 10:09 scaling_min_freq
-rw-r--r-- root root 4096 2009-06-04 10:09 scaling_max_freq
-r--r--r-- root root 4096 2009-06-04 10:09 affected_cpus
-r--r--r-- root root 4096 2009-06-04 10:09 related_cpus
-rw-r--r-- root root 4096 2009-06-04 10:09 scaling_governor
-r--r--r-- root root 4096 2009-06-04 10:09 scaling_driver
-r--r--r-- root root 4096 2009-06-04 10:09 scaling_available_governors
-rw-r--r-- root root 4096 2009-06-04 10:09 scaling_setspeed
-r--r--r-- root root 4096 2009-06-04 10:09 scaling_cur_freq
drwxr-xr-x root root 2009-06-04 10:09 ondemand

Thanks dude, it helps me a lot!

Related

[Q] No /efs in new Samsung Models ??

Hi guys,
I few days back i rooted my samsung galaxy gio S5660 (froyo 2.2.1) and explored its file system. I was surprised to know that there wasn't any /efs directory unlike most of the galaxy s variants. Here's how it looked
PHP:
drwxr-xr-x root root 2011-05-19 11:20 acct
dr-x------ root root 2011-05-19 11:20 config
drwxrwx--- system cache 2011-05-19 11:20 cache
drwxrwx--x system system 2011-05-19 11:20 data
drwxr-xr-x root root 2011-05-19 13:42 dev
drwxr-xr-x root root 1970-01-01 12:03 lib
drwxrwxr-x root system 2011-05-19 11:20 mnt
lrwxrwxrwx root root 2011-05-19 11:20 d -> /sys/kernel/debug
lrwxrwxrwx root root 2011-05-19 11:20 etc -> /system/etc
drwxrwx--x system system 2011-05-19 11:20 persist
drwxr-xr-x root root 2011-05-19 11:20 system
drwxr-xr-x root root 1970-01-01 12:03 sys
drwxr-x--- root root 1970-01-01 12:03 sbin
lrwxrwxrwx root root 2011-05-19 11:20 sdcard -> /mnt/sdcard
dr-xr-xr-x root root 1970-01-01 12:03 proc
drwx------ root root 2011-03-18 13:19 root
-rwxr-x--- root root 17250 1970-01-01 12:03 init.rc
-rwxr-x--- root root 3301 1970-01-01 12:03 init.qcom.sh
-rwxr-x--- root root 1116 1970-01-01 12:03 init.qcom.rc
-rwxr-x--- root root 2016 1970-01-01 12:03 init.qcom.post_boot.sh
-rwxr-x--- root root 1512 1970-01-01 12:03 init.goldfish.rc
-rwxr-x--- root root 101828 1970-01-01 12:03 init
-rw-r--r-- root root 224 1970-01-01 12:03 default.prop
-rw-r--r-- root root 10014 1970-01-01 12:03 GIO.rle
Does any body has some insights into it ?? It seems like playing with the nv_data.bin file is not an option any more !!!

[system] 9.2.1.17 US system dump

I made a 9.2.1.17 system from the US OTA update and tarred it up. It should preserve permissions and owners if you extract it with "tar xpf"
Edit: file are also hosted on xda.servebeer.com Please thank Kuromera for hosting the files on a speedy server and check out the other files hosted there. See his thread here - http://forum.xda-developers.com/showthread.php?t=1549055
system_92117.tar.gz
MD5(system_92117.tar.gz)= d598650ef1f4225996f7867ba11d335b
https://rapidshare.com/files/1499332156/system_92117_d598650ef1.tar.gz
As far as I can tell, the OTA removes AsusBackup and PlusOne.apk
Here are the additions and patches:
Code:
system/:
total 8
drwxr-xr-x 3 root root 4096 2012-03-13 20:30 etc
drwxr-xr-x 2 root root 4096 2012-03-13 20:30 lib
system/etc:
total 4
drwxr-xr-x 2 root root 4096 2012-03-13 20:30 power_profile
system/etc/power_profile:
total 12
-rw-r--r-- 1 root root 2707 2011-03-22 11:21 00_power_profile.xml
-rw-r--r-- 1 root root 2707 2011-03-22 11:21 01_power_profile.xml
-rw-r--r-- 1 root root 2707 2011-03-22 11:21 08_power_profile.xml
system/lib:
total 4
-rw-r--r-- 1 root root 20 2011-03-22 11:21 libbcc.so.sha1
[email protected]:/android/transform/roms/stock/ota_92117/work# ls patch/ -lR
patch/:
total 4
drwxr-xr-x 8 root root 4096 2012-03-13 20:30 system
patch/system:
total 28
drwxr-xr-x 2 root root 4096 2012-03-13 20:30 app
drwxr-xr-x 2 root root 4096 2012-03-13 20:30 bin
-rw-r--r-- 1 root root 205 2011-03-22 11:21 build.prop.p
drwxr-xr-x 2 root root 4096 2012-03-13 20:30 data
drwxr-xr-x 3 root root 4096 2012-03-13 20:30 etc
drwxr-xr-x 2 root root 4096 2012-03-13 20:30 framework
drwxr-xr-x 4 root root 4096 2012-03-13 20:30 lib
patch/system/app:
total 2184
-rw-r--r-- 1 root root 1909 2011-03-22 11:21 ApplicationsProvider.apk.p
-rw-r--r-- 1 root root 268 2011-03-22 11:21 ApplicationsProvider.odex.p
-rw-r--r-- 1 root root 270 2011-03-22 11:21 AppLocker.odex.p
-rw-r--r-- 1 root root 266 2011-03-22 11:21 AsusDayScene.odex.p
-rw-r--r-- 1 root root 35602 2011-03-22 11:21 AsusReader.apk.p
-rw-r--r-- 1 root root 127666 2011-03-22 11:21 AsusReader.odex.p
-rw-r--r-- 1 root root 266 2011-03-22 11:21 AsusSetupWizard.odex.p
-rw-r--r-- 1 root root 758572 2011-03-22 11:21 AWS.apk.p
-rw-r--r-- 1 root root 1913 2011-03-22 11:21 BackupRestoreConfirmation.apk.p
-rw-r--r-- 1 root root 259 2011-03-22 11:21 BackupRestoreConfirmation.odex.p
-rw-r--r-- 1 root root 2471 2011-03-22 11:21 Bluetooth.apk.p
-rw-r--r-- 1 root root 265 2011-03-22 11:21 Bluetooth.odex.p
-rw-r--r-- 1 root root 128035 2011-03-22 11:21 Browser.apk.p
-rw-r--r-- 1 root root 357 2011-03-22 11:21 Browser.odex.p
-rw-r--r-- 1 root root 1900 2011-03-22 11:21 Calculator.apk.p
-rw-r--r-- 1 root root 266 2011-03-22 11:21 Calculator.odex.p
-rw-r--r-- 1 root root 2153 2011-03-22 11:21 Calendar.apk.p
-rw-r--r-- 1 root root 288 2011-03-22 11:21 Calendar.odex.p
-rw-r--r-- 1 root root 1912 2011-03-22 11:21 CalendarProvider.apk.p
-rw-r--r-- 1 root root 264 2011-03-22 11:21 CalendarProvider.odex.p
-rw-r--r-- 1 root root 14038 2011-03-22 11:21 Camera.odex.p
-rw-r--r-- 1 root root 1920 2011-03-22 11:21 CertInstaller.apk.p
-rw-r--r-- 1 root root 263 2011-03-22 11:21 CertInstaller.odex.p
-rw-r--r-- 1 root root 1928 2011-03-22 11:21 CMClient.apk.p
-rw-r--r-- 1 root root 269 2011-03-22 11:21 CMClient.odex.p
-rw-r--r-- 1 root root 3023 2011-03-22 11:21 Contacts.apk.p
-rw-r--r-- 1 root root 29602 2011-03-22 11:21 Contacts.odex.p
-rw-r--r-- 1 root root 1891 2011-03-22 11:21 ContactsProvider.apk.p
-rw-r--r-- 1 root root 323 2011-03-22 11:21 ContactsProvider.odex.p
-rw-r--r-- 1 root root 24403 2011-03-22 11:21 DataBackup.apk.p
-rw-r--r-- 1 root root 55305 2011-03-22 11:21 DataBackup.odex.p
-rw-r--r-- 1 root root 1901 2011-03-22 11:21 DefaultContainerService.apk.p
-rw-r--r-- 1 root root 264 2011-03-22 11:21 DefaultContainerService.odex.p
-rw-r--r-- 1 root root 2441 2011-03-22 11:21 DeskClock.apk.p
-rw-r--r-- 1 root root 268 2011-03-22 11:21 DeskClock.odex.p
-rw-r--r-- 1 root root 268 2011-03-22 11:21 Dictionary.odex.p
-rw-r--r-- 1 root root 1967 2011-03-22 11:21 DMClient.apk.p
-rw-r--r-- 1 root root 275 2011-03-22 11:21 DMClient.odex.p
-rw-r--r-- 1 root root 1897 2011-03-22 11:21 DownloadProvider.apk.p
-rw-r--r-- 1 root root 270 2011-03-22 11:21 DownloadProvider.odex.p
-rw-r--r-- 1 root root 1941 2011-03-22 11:21 DownloadProviderUi.apk.p
-rw-r--r-- 1 root root 267 2011-03-22 11:21 DownloadProviderUi.odex.p
-rw-r--r-- 1 root root 1896 2011-03-22 11:21 DrmProvider.apk.p
-rw-r--r-- 1 root root 264 2011-03-22 11:21 DrmProvider.odex.p
-rw-r--r-- 1 root root 86451 2011-03-22 11:21 Email.apk.p
-rw-r--r-- 1 root root 183275 2011-03-22 11:21 Email.odex.p
-rw-r--r-- 1 root root 3644 2011-03-22 11:21 EmailWidget.apk.p
-rw-r--r-- 1 root root 263 2011-03-22 11:21 EmailWidget.odex.p
-rw-r--r-- 1 root root 272 2011-03-22 11:21 Exchange.odex.p
-rw-r--r-- 1 root root 1892 2011-03-22 11:21 FacebookPoster.apk.p
-rw-r--r-- 1 root root 264 2011-03-22 11:21 FacebookPoster.odex.p
-rw-r--r-- 1 root root 2742 2011-03-22 11:21 FileManager2.apk.p
-rw-r--r-- 1 root root 311 2011-03-22 11:21 FileManager2.odex.p
-rw-r--r-- 1 root root 268 2011-03-22 11:21 Galaxy4.odex.p
-rw-r--r-- 1 root root 272 2011-03-22 11:21 Gallery2.odex.p
-rw-r--r-- 1 root root 1939 2011-03-22 11:21 HoloSpiralWallpaper.apk.p
-rw-r--r-- 1 root root 269 2011-03-22 11:21 HoloSpiralWallpaper.odex.p
-rw-r--r-- 1 root root 1892 2011-03-22 11:21 HTMLViewer.apk.p
-rw-r--r-- 1 root root 264 2011-03-22 11:21 HTMLViewer.odex.p
-rw-r--r-- 1 root root 268 2011-03-22 11:21 Keyboard.odex.p
-rw-r--r-- 1 root root 1904 2011-03-22 11:21 KeyChain.apk.p
-rw-r--r-- 1 root root 268 2011-03-22 11:21 KeyChain.odex.p
-rw-r--r-- 1 root root 1971 2011-03-22 11:21 Launcher2.apk.p
-rw-r--r-- 1 root root 264 2011-03-22 11:21 Launcher2.odex.p
-rw-r--r-- 1 root root 4329 2011-03-22 11:21 LiveWallpapers.apk.p
-rw-r--r-- 1 root root 269 2011-03-22 11:21 LiveWallpapers.odex.p
-rw-r--r-- 1 root root 1932 2011-03-22 11:21 LiveWallpapersPicker.apk.p
-rw-r--r-- 1 root root 265 2011-03-22 11:21 LiveWallpapersPicker.odex.p
-rw-r--r-- 1 root root 1907 2011-03-22 11:21 MediaProvider.apk.p
-rw-r--r-- 1 root root 262 2011-03-22 11:21 MediaProvider.odex.p
-rw-r--r-- 1 root root 2086 2011-03-22 11:21 Mms.apk.p
-rw-r--r-- 1 root root 309 2011-03-22 11:21 Mms.odex.p
-rw-r--r-- 1 root root 270 2011-03-22 11:21 MusicFX.odex.p
-rw-r--r-- 1 root root 37800 2011-03-22 11:21 MyNet.apk.p
-rw-r--r-- 1 root root 15130 2011-03-22 11:21 MyNet.odex.p
-rw-r--r-- 1 root root 269 2011-03-22 11:21 MyWater2.odex.p
-rw-r--r-- 1 root root 270 2011-03-22 11:21 MyWater.odex.p
-rw-r--r-- 1 root root 10567 2011-03-22 11:21 MyZine.apk.p
-rw-r--r-- 1 root root 265 2011-03-22 11:21 MyZine.odex.p
-rw-r--r-- 1 root root 1931 2011-03-22 11:21 PackageInstaller.apk.p
-rw-r--r-- 1 root root 261 2011-03-22 11:21 PackageInstaller.odex.p
-rw-r--r-- 1 root root 267 2011-03-22 11:21 PCSyncLauncher.odex.p
-rw-r--r-- 1 root root 3630 2011-03-22 11:21 Phone.apk.p
-rw-r--r-- 1 root root 268 2011-03-22 11:21 Phone.odex.p
-rw-r--r-- 1 root root 261 2011-03-22 11:21 QuickSearch.odex.p
-rw-r--r-- 1 root root 175652 2011-03-22 11:21 Settings.apk.p
-rw-r--r-- 1 root root 111608 2011-03-22 11:21 Settings.odex.p
-rw-r--r-- 1 root root 2232 2011-03-22 11:21 SettingsProvider.apk.p
-rw-r--r-- 1 root root 1991 2011-03-22 11:21 SettingsProvider.odex.p
-rw-r--r-- 1 root root 1930 2011-03-22 11:21 SharedStorageBackup.apk.p
-rw-r--r-- 1 root root 260 2011-03-22 11:21 SharedStorageBackup.odex.p
-rw-r--r-- 1 root root 2483 2011-03-22 11:21 SoundRecorder.apk.p
-rw-r--r-- 1 root root 265 2011-03-22 11:21 SoundRecorder.odex.p
-rw-r--r-- 1 root root 8741 2011-03-22 11:21 SystemUI.apk.p
-rw-r--r-- 1 root root 7036 2011-03-22 11:21 SystemUI.odex.p
-rw-r--r-- 1 root root 1974 2011-03-22 11:21 TaskManager.apk.p
-rw-r--r-- 1 root root 264 2011-03-22 11:21 TaskManager.odex.p
-rw-r--r-- 1 root root 1911 2011-03-22 11:21 TelephonyProvider.apk.p
-rw-r--r-- 1 root root 269 2011-03-22 11:21 TelephonyProvider.odex.p
-rw-r--r-- 1 root root 2143 2011-03-22 11:21 UpdateLauncher.apk.p
-rw-r--r-- 1 root root 11699 2011-03-22 11:21 UpdateLauncher.odex.p
-rw-r--r-- 1 root root 1883 2011-03-22 11:21 UserDictionaryProvider.apk.p
-rw-r--r-- 1 root root 262 2011-03-22 11:21 UserDictionaryProvider.odex.p
-rw-r--r-- 1 root root 260 2011-03-22 11:21 Vibe2.odex.p
-rw-r--r-- 1 root root 1906 2011-03-22 11:21 VpnDialogs.apk.p
-rw-r--r-- 1 root root 265 2011-03-22 11:21 VpnDialogs.odex.p
-rw-r--r-- 1 root root 267 2011-03-22 11:21 Weather.odex.p
-rw-r--r-- 1 root root 268 2011-03-22 11:21 XT9IME.odex.p
-rw-r--r-- 1 root root 255 2011-03-22 11:21 YoutubeSearch.odex.p
patch/system/bin:
total 4
-rw-r--r-- 1 root root 166 2011-03-22 11:21 debuggerd.p
patch/system/data:
total 8
-rw-r--r-- 1 root root 307 2011-03-22 11:21 srs_processing.cfg.p
-rw-r--r-- 1 root root 246 2011-03-22 11:21 srs_processing_SL101.cfg.p
patch/system/etc:
total 8
-rw-r--r-- 1 root root 718 2011-03-22 11:21 NOTICE.html.gz.p
drwxr-xr-x 2 root root 4096 2012-03-13 20:30 security
patch/system/etc/security:
total 4
-rw-r--r-- 1 root root 189 2011-03-22 11:21 otacerts.zip.p
patch/system/framework:
total 1192
-rw-r--r-- 1 root root 199 2011-03-22 11:21 am.jar.p
-rw-r--r-- 1 root root 268 2011-03-22 11:21 am.odex.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 android.policy.jar.p
-rw-r--r-- 1 root root 11108 2011-03-22 11:21 android.policy.odex.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 android.test.runner.jar.p
-rw-r--r-- 1 root root 276 2011-03-22 11:21 android.test.runner.odex.p
-rw-r--r-- 1 root root 411 2011-03-22 11:21 apache-xml.jar.p
-rw-r--r-- 1 root root 283 2011-03-22 11:21 apache-xml.odex.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 bmgr.jar.p
-rw-r--r-- 1 root root 270 2011-03-22 11:21 bmgr.odex.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 bouncycastle.jar.p
-rw-r--r-- 1 root root 179 2011-03-22 11:21 bouncycastle.odex.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 bu.jar.p
-rw-r--r-- 1 root root 272 2011-03-22 11:21 bu.odex.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 com.android.location.provider.jar.p
-rw-r--r-- 1 root root 270 2011-03-22 11:21 com.android.location.provider.odex.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 com.google.widevine.software.drm.jar.p
-rw-r--r-- 1 root root 263 2011-03-22 11:21 com.google.widevine.software.drm.odex.p
-rw-r--r-- 1 root root 320 2011-03-22 11:21 core.jar.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 core-junit.jar.p
-rw-r--r-- 1 root root 176 2011-03-22 11:21 core-junit.odex.p
-rw-r--r-- 1 root root 183 2011-03-22 11:21 core.odex.p
-rw-r--r-- 1 root root 13341 2011-03-22 11:21 ext.jar.p
-rw-r--r-- 1 root root 180 2011-03-22 11:21 ext.odex.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 filterfw.jar.p
-rw-r--r-- 1 root root 280 2011-03-22 11:21 filterfw.odex.p
-rw-r--r-- 1 root root 213 2011-03-22 11:21 framework.jar.p
-rw-r--r-- 1 root root 663348 2011-03-22 11:21 framework.odex.p
-rw-r--r-- 1 root root 148892 2011-03-22 11:21 framework-res.apk.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 ime.jar.p
-rw-r--r-- 1 root root 269 2011-03-22 11:21 ime.odex.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 input.jar.p
-rw-r--r-- 1 root root 270 2011-03-22 11:21 input.odex.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 javax.obex.jar.p
-rw-r--r-- 1 root root 275 2011-03-22 11:21 javax.obex.odex.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 monkey.jar.p
-rw-r--r-- 1 root root 270 2011-03-22 11:21 monkey.odex.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 pm.jar.p
-rw-r--r-- 1 root root 274 2011-03-22 11:21 pm.odex.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 services.jar.p
-rw-r--r-- 1 root root 217221 2011-03-22 11:21 services.odex.p
-rw-r--r-- 1 root root 199 2011-03-22 11:21 svc.jar.p
-rw-r--r-- 1 root root 272 2011-03-22 11:21 svc.odex.p
patch/system/lib:
total 336
drwxr-xr-x 2 root root 4096 2012-03-13 20:30 hw
-rw-r--r-- 1 root root 239 2011-03-22 11:21 libbcc.so.p
-rw-r--r-- 1 root root 884 2011-03-22 11:21 libbluedroid.so.p
-rw-r--r-- 1 root root 176 2011-03-22 11:21 libchromium_net.so.p
-rw-r--r-- 1 root root 184714 2011-03-22 11:21 libereader.so.p
-rw-r--r-- 1 root root 780 2011-03-22 11:21 libext4_utils.so.p
-rw-r--r-- 1 root root 39312 2011-03-22 11:21 libjSebring.so.p
-rw-r--r-- 1 root root 20744 2011-03-22 11:21 libnvmm_camera.so.p
-rw-r--r-- 1 root root 170 2011-03-22 11:21 libnvodm_imager.so.p
-rw-r--r-- 1 root root 192 2011-03-22 11:21 libsrsprocessing.so.p
-rw-r--r-- 1 root root 52051 2011-03-22 11:21 libwebcore.so.p
-rw-r--r-- 1 root root 169 2011-03-22 11:21 libwebrtc_audio_preprocessing.so.p
drwxr-xr-x 2 root root 4096 2012-03-13 20:30 modules
patch/system/lib/hw:
total 8
-rw-r--r-- 1 root root 1359 2011-03-22 11:21 gralloc.tegra.so.p
-rw-r--r-- 1 root root 1143 2011-03-22 11:21 hwcomposer.tegra.so.p
patch/system/lib/modules:
total 16
-rw-r--r-- 1 root root 249 2011-03-22 11:21 battery_rvsd.ko.p
-rw-r--r-- 1 root root 286 2011-03-22 11:21 bcm4329.ko.p
-rw-r--r-- 1 root root 322 2011-03-22 11:21 bcmdhd.ko.p
-rw-r--r-- 1 root root 236 2011-03-22 11:21 scsi_wait_scan.ko.p
Here are the symlinks and permissions from the updater script in case anyone wants to make something a little more flashable.
Code:
ui_print("Symlinks and permissions...");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(0, 0, 0644, "/system/etc/bluetooth/bdaddr");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware/bcm4329");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-r0-ri30.4a/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-rn30-ri30.5/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-rp30-ri30.5/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/recognition/face.face.y0-y0-22-b-N/full_model.bin");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 0700, "/system/xbin/ps3bttest");
I moved the files to xda.servebeer.com - updated links are in the original post.
It should be faster than Rapidshare - be sure to thank Kuromera

[request] certain files needed (root required)

hi,
could someone please send me the following files of FW 10.4.4.25 WW. i've lost root, don't want to unlock and need to take a look at those config/startup files:
Code:
-rw-r----- root root 616 1970-01-01 01:00 fstab.cardhu
-rwxr-x--- root root 109284 1970-01-01 01:00 init
-rwxr-x--- root root 3012 1970-01-01 01:00 init.00.rc
-rwxr-x--- root root 3012 1970-01-01 01:00 init.01.rc
-rwxr-x--- root root 3012 1970-01-01 01:00 init.02.rc
-rwxr-x--- root root 4020 1970-01-01 01:00 init.03.rc
-rwxr-x--- root root 3046 1970-01-01 01:00 init.04.rc
-rwxr-x--- root root 4136 1970-01-01 01:00 init.05.rc
-rwxr-x--- root root 3012 1970-01-01 01:00 init.07.rc
-rwxr-x--- root root 3012 1970-01-01 01:00 init.0b.rc
-rwxr-x--- root root 3012 1970-01-01 01:00 init.0c.rc
-rwxr-x--- root root 3012 1970-01-01 01:00 init.0d.rc
-rwxr-x--- root root 16632 1970-01-01 01:00 init.cardhu.rc
-rwxr-x--- root root 2344 1970-01-01 01:00 init.goldfish.rc
-rwxr-x--- root root 17081 1970-01-01 01:00 init.rc
-rwxr-x--- root root 244 1970-01-01 01:00 init.tf.rc
-rwxr-x--- root root 1637 1970-01-01 01:00 init.trace.rc
-rwxr-x--- root root 4150 1970-01-01 01:00 init.usb.rc
furthermore, also please a standard directory listing (one level is enough, not recursive) of:
/data/
tx!
I don't know what you want to do with the kernel's initramfs files, but anyway, here they are:
View attachment ramdisk.tar.gz
And a fairly fresh /data directory contains:
Code:
app
app-asec
app-private
backup
cal.bin
dalvik-cache
data
dontpanic
drm
fw_update_progress
gps
lightsensor
local
lost+found
media
misc
modem
nvcam
property
resource-cache
sensors
ssh
system
tf
user
thanks very much! i want to take a look at how parts of the boot process work.

[Q] [Asus me301t] Symlinking removable devices to /mnt/sdcard

Hi to all!
I post my question here hoping it is the correct place.
I would like to create a link in the /mnt/sdcard directory of my tablet to the place where usb and sdcard are mounted (namely the /Removable directory).
I've tried to create the link using adb shell but with no result at the moment.
This is the situation on my Asus me301t tablet:
Code:
ls -all
drwxr-xr-x root system 2013-12-08 15:49 Removable
drwxr-xr-x root root 2013-12-08 15:49 acct
drwxrwx--- system cache 2013-12-08 16:54 cache
dr-x------ root root 2013-12-08 15:49 config
lrwxrwxrwx root root 2013-12-08 15:49 d -> /sys/kernel/debug
drwxrwx--x system system 2013-12-08 15:49 data
-rw-r--r-- root root 116 1970-01-01 01:00 default.prop
drwxr-xr-x root root 2013-12-08 15:49 dev
lrwxrwxrwx root root 2013-12-08 15:49 etc -> /system/etc
-rw-r----- root root 718 1970-01-01 01:00 fstab.cardhu
-rwxr-x--- root root 113524 1970-01-01 01:00 init
-rwxr-x--- root root 3012 1970-01-01 01:00 init.0b.rc
-rwxr-x--- root root 15918 1970-01-01 01:00 init.cardhu.rc
-rwxr-x--- root root 2487 1970-01-01 01:00 init.goldfish.rc
-rwxr-x--- root root 18247 1970-01-01 01:00 init.rc
-rwxr-x--- root root 244 1970-01-01 01:00 init.tf.rc
-rwxr-x--- root root 1795 1970-01-01 01:00 init.trace.rc
-rwxr-x--- root root 4150 1970-01-01 01:00 init.usb.rc
drwxrwxr-x root system 2013-12-08 15:49 mnt
dr-xr-xr-x root root 1970-01-01 01:00 proc
drwx------ root root 2013-04-19 08:42 root
drwxr-x--- root root 1970-01-01 01:00 sbin
lrwxrwxrwx root root 2013-12-08 15:49 sdcard -> /storage/emulated/legacy
d---r-x--- root sdcard_r 2013-12-08 15:49 storage
drwxr-xr-x root root 2013-12-08 15:49 sys
drwxr-xr-x root root 1970-01-01 01:00 system
-rw-r--r-- root root 2520 1970-01-01 01:00 ueventd.cardhu.rc
-rw-r--r-- root root 272 1970-01-01 01:00 ueventd.goldfish.rc
-rw-r--r-- root root 4024 1970-01-01 01:00 ueventd.rc
lrwxrwxrwx root root 2013-12-08 15:49 vendor -> /system/vendor
So /Removable is a directory.
The same is not true for the /mnt/sdcard
Code:
[email protected]:/mnt $ ls -all
drwxr-xr-x root system 2013-12-08 15:49 asec
drwxr-xr-x root system 2013-12-08 15:49 obb
lrwxrwxrwx root root 2013-12-08 15:49 sdcard -> /storage/emulated/legacy
drwx------ root root 2013-12-08 15:49 secure
drwx------ shell shell 2013-12-08 15:49 shell
Moreover also /storage/emulated/legacy is a link
Code:
[email protected]:/storage/emulated $ ls -all
lrwxrwxrwx root root 2013-12-08 15:49 legacy -> /mnt/shell/emulated/0
The /mnt/shell/emulated/0 is a real directory and these are the owner and permission of the directory which constitute that path:
Code:
[email protected]:/mnt/shell/emulated/0 $ cd ..
[email protected]:/mnt/shell/emulated $ ls -all
drwxrwxr-x root sdcard_rw 2013-12-08 16:17 0
drwxrwxr-x root sdcard_rw 2013-08-29 12:55 legacy
drwxrwxr-x root sdcard_rw 2013-08-29 12:54 obb
[email protected]:/mnt/shell/emulated $ cd ..
[email protected]:/mnt/shell $ ls -all
drwxrwxr-x root sdcard_rw 2013-08-29 12:55 emulated
[email protected]:/mnt/shell $ cd ..
[email protected]:/mnt $ ls -all
drwxr-xr-x root system 2013-12-08 15:49 asec
drwxr-xr-x root system 2013-12-08 15:49 obb
lrwxrwxrwx root root 2013-12-08 15:49 sdcard -> /storage/emulated/legacy
drwx------ root root 2013-12-08 15:49 secure
drwx------ shell shell 2013-12-08 15:49 shell
I've tried to create the link and I obtain the following error:
Code:
ln -s /Removable/ /mnt/shell/emulated/0/Removable
link failed Function not implemented
Is it possible to create such a link without being root?
Otherwise is it possible to get root access only temporarily so that to create such a link or whichever is required to obtain the same functionality (removable sdcard and usb should be visible under /mnt/sdcard).
Thank you for your help,
Xwang
UP, please.
Xwang
UP!
Can anybody help me, please?
Xwang

Help with Root on Moto E6

Greetings All,
I have a confusion about root usage with Magisk that maybe someone can help me with.
I would like to change some files on the /system directory in the Moto E6.
Using TWRP would make this change trivial.
Alas, there does not appear to be a functional TWRP available for this device.
So I am using the next best thing, Magisk rooted.
Booting up with the Magisk patched recovery, I can adb shell from a Linux terminal,
and execute 'su' for root privileges.
Attempting to remount /system rw results in '/system not in /proc/mounts' message (which is true).
If I attempt to mount /dev/block/by-name/system, I get a 'device or resource busy' message.
I CAN remount '/', and the /system directory can then be modified.
However, when the system is booted normally, those changes do not show in the 'normal' /system directory.
I suspect that Magisk is creating it's own /system directory for the recovery boot.
Is there any way to access/update the REAL /system image on this phone?
Thanx
Richard Rosa
Here is another mystery:
Boot with Magisk recovery.
adb shell
su
mount -o rw,remount /oem
cd oem
touch junk_file
ls -a
(file created is there)
(wait 10 seconds)
ls -a
(the file has disappeared).
Can someone enlighten me as to why?
Thanx.
Richard Rosa
It happens on my XT2005-5, as well.
Once the file is gone, I could not make any other file, either.
Right after mounting:
surfna:/ # ls -altr /oem
total 52
drwxr-xr-x 21 root root 4096 2009-01-01 01:00 ..
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 usc
-rw-r--r-- 1 root root 272 2021-01-27 16:15 oem.prop
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 comcast
drwxr-xr-x 9 root root 4096 2021-01-27 16:16 .
drwxr-xr-x 6 root root 4096 2021-01-27 16:16 app
drwxr-xr-x 7 root root 4096 2021-01-27 16:16 overlay
drwxr-xr-x 12 root root 4096 2021-01-27 16:16 priv-app
drwxr-xr-x 7 root root 4096 2021-01-27 16:17 etc
drwx------ 2 root root 16384 2021-01-27 16:17 lost+found
Creating a file (TTT):
surfna:/ # touch /oem/TTT
surfna:/ # ls -altr /oem/
total 52
drwxr-xr-x 21 root root 4096 2009-01-01 01:00 ..
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 usc
-rw-r--r-- 1 root root 272 2021-01-27 16:15 oem.prop
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 comcast
drwxr-xr-x 6 root root 4096 2021-01-27 16:16 app
drwxr-xr-x 7 root root 4096 2021-01-27 16:16 overlay
drwxr-xr-x 12 root root 4096 2021-01-27 16:16 priv-app
drwxr-xr-x 7 root root 4096 2021-01-27 16:17 etc
drwx------ 2 root root 16384 2021-01-27 16:17 lost+found
-rw-r--r-- 1 root root 0 2021-05-30 03:58 TTT
drwxr-xr-x 9 root root 4096 2021-05-30 03:58 .
And it disappered:
surfna:/ # ls -altr /oem/
total 52
drwxr-xr-x 21 root root 4096 2009-01-01 01:00 ..
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 usc
-rw-r--r-- 1 root root 272 2021-01-27 16:15 oem.prop
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 comcast
drwxr-xr-x 6 root root 4096 2021-01-27 16:16 app
drwxr-xr-x 7 root root 4096 2021-01-27 16:16 overlay
drwxr-xr-x 12 root root 4096 2021-01-27 16:16 priv-app
drwxr-xr-x 7 root root 4096 2021-01-27 16:17 etc
drwx------ 2 root root 16384 2021-01-27 16:17 lost+found
drwxr-xr-x 9 root root 4096 2021-05-30 03:58 .
I did touch and then chmod 700, without error.
But no TTT. The time stamp of oem stayed unchanged.
surfna:/ # touch /oem/TTT
surfna:/ # chmod 700 /oem/TTT
surfna:/ # ls -altr /oem/
total 52
drwxr-xr-x 21 root root 4096 2009-01-01 01:00 ..
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 usc
-rw-r--r-- 1 root root 272 2021-01-27 16:15 oem.prop
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 comcast
drwxr-xr-x 6 root root 4096 2021-01-27 16:16 app
drwxr-xr-x 7 root root 4096 2021-01-27 16:16 overlay
drwxr-xr-x 12 root root 4096 2021-01-27 16:16 priv-app
drwxr-xr-x 7 root root 4096 2021-01-27 16:17 etc
drwx------ 2 root root 16384 2021-01-27 16:17 lost+found
drwxr-xr-x 9 root root 4096 2021-05-30 03:58 .
Same thing, but without delay. No effect.
surfna:/ # touch /oem/TTT; chmod 700 /oem/TTT
surfna:/ # ls -altr /oem/
total 52
drwxr-xr-x 21 root root 4096 2009-01-01 01:00 ..
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 usc
-rw-r--r-- 1 root root 272 2021-01-27 16:15 oem.prop
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 comcast
drwxr-xr-x 6 root root 4096 2021-01-27 16:16 app
drwxr-xr-x 7 root root 4096 2021-01-27 16:16 overlay
drwxr-xr-x 12 root root 4096 2021-01-27 16:16 priv-app
drwxr-xr-x 7 root root 4096 2021-01-27 16:17 etc
drwx------ 2 root root 16384 2021-01-27 16:17 lost+found
drwxr-xr-x 9 root root 4096 2021-05-30 03:58 .
Trying to create more files ==> I/O error.
surfna:/ # touch /oem/TTT2
touch: '/oem/TTT2': I/O error
1|surfna:/ # touch /oem/123
touch: '/oem/123': I/O error
Repeating same thing. This time, time stamp of oem changed!
surfna:/ # touch /oem/TTT23
touch: '/oem/TTT23': I/O error
1|surfna:/ # touch /oem/TTT23
surfna:/ # touch /oem/T12
touch: '/oem/T12': I/O error
1|surfna:/ # touch /oem/TDD
touch: '/oem/TDD': I/O error
1|surfna:/ # ls -altr /oem/
total 52
drwxr-xr-x 21 root root 4096 2009-01-01 01:00 ..
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 usc
-rw-r--r-- 1 root root 272 2021-01-27 16:15 oem.prop
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 comcast
drwxr-xr-x 6 root root 4096 2021-01-27 16:16 app
drwxr-xr-x 7 root root 4096 2021-01-27 16:16 overlay
drwxr-xr-x 12 root root 4096 2021-01-27 16:16 priv-app
drwxr-xr-x 7 root root 4096 2021-01-27 16:17 etc
drwx------ 2 root root 16384 2021-01-27 16:17 lost+found
drwxr-xr-x 9 root root 4096 2021-05-30 04:03 .
Using echo instead of touch to create a file.
Error for TDD, but no error for TTT, the original file, somehow.
But it doesn't show up is ls.
surfna:/ # echo 123 > /oem/TDD
/system/bin/sh: can't create /oem/TDD: I/O error
1|surfna:/ # echo 123 > /oem/TTT
surfna:/ # ls -altr /oem/
total 52
drwxr-xr-x 21 root root 4096 2009-01-01 01:00 ..
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 usc
-rw-r--r-- 1 root root 272 2021-01-27 16:15 oem.prop
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 comcast
drwxr-xr-x 6 root root 4096 2021-01-27 16:16 app
drwxr-xr-x 7 root root 4096 2021-01-27 16:16 overlay
drwxr-xr-x 12 root root 4096 2021-01-27 16:16 priv-app
drwxr-xr-x 7 root root 4096 2021-01-27 16:17 etc
drwx------ 2 root root 16384 2021-01-27 16:17 lost+found
drwxr-xr-x 9 root root 4096 2021-05-30 04:03 .
But it shows up with full path.
surfna:/ # ls -altr /oem/TTT
-rwx------ 1 root root 4 2021-05-30 04:03 /oem/TTT
I rebooted (recoverly) and checked original mount parameters.
surfna:/ # mount |grep oem
/dev/block/dm-1 on /oem type ext4 (ro,context=ubject_remfs:s0,nosuid,nodev,relatime,block_validity,delalloc,barrier,user_xattr)
Remounting as "rw" doesn't change other parameters.
surfna:/ # mount -o rw,remount /oem
surfna:/ # mount |grep oem
/dev/block/dm-1 on /oem type ext4 (rw,context=ubject_remfs:s0,nosuid,nodev,relatime,block_validity,delalloc,barrier,user_xattr)
This time, the file didn't stay.
surfna:/ # touch /oem/TTT;chmod 700 /oem/TTT;ls -altr /oem/;mount |grep oem
total 52
drwxr-xr-x 21 root root 4096 2009-01-01 01:00 ..
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 usc
-rw-r--r-- 1 root root 272 2021-01-27 16:15 oem.prop
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 comcast
drwxr-xr-x 6 root root 4096 2021-01-27 16:16 app
drwxr-xr-x 7 root root 4096 2021-01-27 16:16 overlay
drwxr-xr-x 12 root root 4096 2021-01-27 16:16 priv-app
drwxr-xr-x 7 root root 4096 2021-01-27 16:17 etc
drwx------ 2 root root 16384 2021-01-27 16:17 lost+found
drwxr-xr-x 9 root root 4096 2021-05-30 04:40 .
/dev/block/dm-1 on /oem type ext4 (rw,context=ubject_remfs:s0,nosuid,nodev,relatime,block_validity,delalloc,barrier,user_xattr)
But it's there when I used full path, again.
surfna:/ # touch /oem/TTT;chmod 700 /oem/TTT;ls -altr /oem/TTT ;mount |grep oem
-rwx------ 1 root root 0 2021-05-30 04:41 /oem/TTT
Writing to the file did not change the time stamp of oem, but touching it changed.
surfna:/ # touch /oem; ls -altr /oem/
total 52
drwxr-xr-x 21 root root 4096 2009-01-01 01:00 ..
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 usc
-rw-r--r-- 1 root root 272 2021-01-27 16:15 oem.prop
drwxr-xr-x 3 root root 4096 2021-01-27 16:15 comcast
drwxr-xr-x 6 root root 4096 2021-01-27 16:16 app
drwxr-xr-x 7 root root 4096 2021-01-27 16:16 overlay
drwxr-xr-x 12 root root 4096 2021-01-27 16:16 priv-app
drwxr-xr-x 7 root root 4096 2021-01-27 16:17 etc
drwx------ 2 root root 16384 2021-01-27 16:17 lost+found
drwxr-xr-x 9 root root 4096 2021-05-30 04:53 .
It's a block device (rw) and special block.
It's small. Too small to contain all directories.
surfna:/ # ls -al /dev/block/dm-1
brw------- 1 root root 252, 1 1970-01-27 08:20 /dev/block/dm-1
surfna:/ # file /dev/block/dm-1
/dev/block/dm-1: block special

Categories

Resources